:root {
    --blue: #0756d9;
    --navy: #071d3f;
    --sky: #eaf4ff;
    --ink: #14243c;
    --muted: #5f718a;
    --line: #d9e5f2;
    --cyan: #18bfe5;
    --green: #21b77b;
    --paper: #fbfdff;
    --white: #fff;
    --shadow: 0 18px 50px rgba(8, 42, 89, .1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: linear-gradient(90deg, #eef6ff 0 4px, #f8fbff 4px 100%);
    color: var(--ink);
    font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
    line-height: 1.82
}

a {
    color: var(--blue)
}

img {
    max-width: 100%;
    height: auto
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 99;
    background: #fff;
    padding: .7rem 1rem;
    border-radius: .5rem
}

.skip-link:focus {
    top: 1rem
}

.site-header {
    height: 82px;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 10
}

.header-inner {
    max-width: 1240px;
    height: 100%;
    margin: auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex
}

.brand img {
    display: block
}

.edition {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--blue);
    padding: .45rem .75rem;
    border: 1px solid #b8d5f4;
    border-radius: 999px
}

.hero {
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(24, 191, 229, .28), transparent 30%), linear-gradient(120deg, transparent 50%, rgba(255, 255, 255, .045) 50%)
}

.hero-grid {
    position: relative;
    max-width: 1240px;
    margin: auto;
    padding: 70px 28px 74px;
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 60px;
    align-items: center
}

.eyebrow {
    display: inline-flex;
    margin: 0 0 18px;
    padding: 7px 12px;
    border-left: 4px solid var(--green);
    background: rgba(255, 255, 255, .08);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em
}

.hero-title {
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.7rem);
    line-height: .9;
    font-weight: 950;
    letter-spacing: -.06em
}

.hero-title span {
    color: var(--cyan)
}

.hero-copy {
    max-width: 650px;
    margin: 28px 0 0;
    color: #c9dbef;
    font-size: 1.05rem
}

.score-card {
    display: grid;
    grid-template-columns: 1fr auto;
    background: #fff;
    color: var(--navy);
    border-radius: 8px;
    box-shadow: 12px 12px 0 var(--green);
    overflow: hidden
}

.score-card span,
.score-card strong {
    padding: 13px 18px;
    border-bottom: 1px solid var(--line)
}

.score-card span {
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em
}

.score-card strong {
    font-size: 1.4rem;
    color: var(--blue)
}

.layout {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px minmax(0, 820px);
    gap: 56px;
    padding: 70px 28px 90px
}

.contents {
    position: sticky;
    top: 28px;
    align-self: start;
    max-height: calc(100vh - 56px);
    overflow: auto;
    border-top: 5px solid var(--blue);
    background: #fff;
    box-shadow: var(--shadow)
}

.contents-title {
    margin: 0;
    padding: 17px 20px 10px;
    font-weight: 900;
    font-size: 1.15rem
}

.contents ul {
    list-style: none;
    margin: 0;
    padding: 0 18px 18px
}

.contents li {
    border-top: 1px solid var(--line)
}

.contents a {
    display: block;
    padding: 10px 2px;
    color: #425774;
    text-decoration: none;
    font-size: .82rem;
    line-height: 1.45
}

.contents a:hover,
.contents a.active {
    color: var(--blue);
    font-weight: 800
}

.article {
    min-width: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: clamp(28px, 5vw, 64px);
    border-top: 8px solid var(--cyan)
}

.article h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.18;
    letter-spacing: -.035em;
    margin: 0 0 28px;
    color: var(--navy)
}

.article h2 {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.28;
    margin: 72px 0 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--navy);
    scroll-margin-top: 24px
}

.article h2:before {
    content: "";
    display: block;
    width: 52px;
    height: 7px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    margin-bottom: 18px
}

.article h3 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin: 38px 0 12px;
    color: #0a4baf
}

.article p {
    margin: 0 0 1.25em;
    font-size: 1.02rem
}

.article>p:first-of-type {
    font-size: 1.2rem;
    line-height: 1.85;
    color: #344b68;
    border-left: 5px solid var(--green);
    padding-left: 22px
}

.article ul {
    margin: 1rem 0 1.8rem;
    padding: 18px 24px 18px 48px;
    background: var(--sky);
    border-radius: 4px
}

.article li {
    padding: .25rem 0
}

.intro-action {
    margin: 24px 0 38px
}

.primary-button { 
    transition: .2s
}

.primary-button  img{
    max-width: 100%;
    height: auto;
}


.primary-button:hover {
    transform: translate(-2px, -2px); 
}

.article-figure {
    margin: 35px 0 44px
}

.article-figure img {
    display: block;
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 16px 34px rgba(7, 29, 63, .16)
}

.article-figure figcaption {
    font-size: .82rem;
    color: var(--muted);
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
}

.site-footer {
    background: var(--navy);
    color: #d9e7f7;
    padding: 58px 28px 22px
}

.footer-grid {
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px
}

.footer-grid>div>p {
    color: #94abc5
}

.footer-grid img {
    filter: brightness(0) invert(1)
}

address {
    font-style: normal;
    border-left: 1px solid #2a4364;
    padding-left: 36px
}

address p {
    display: grid;
    grid-template-columns: 110px 1fr;
    margin: .45rem 0
}

address span {
    color: #8eabc8
}

address a {
    color: #fff;
    text-decoration: none
}

address strong {
    color: #fff
}

.copyright {
    max-width: 1180px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #29415f;
    color: #8ea6c0;
    font-size: .85rem
}

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 8px 22px rgba(0, 47, 120, .3);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: .2s
}

.to-top.show {
    opacity: 1;
    pointer-events: auto
}

@media(max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .score-card {
        max-width: 420px
    }

    .layout {
        grid-template-columns: 1fr;
        padding-top: 34px
    }

    .contents {
        position: relative;
        top: auto;
        max-height: 240px
    }

    .article {
        padding: 32px 24px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    address {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid #29415f;
        padding-top: 24px
    }
}

@media(max-width:560px) {
    .edition {
        display: none
    }

    .header-inner {
        padding: 0 18px
    }

    .hero-grid {
        padding: 48px 20px 56px;
        gap: 38px
    }

    .layout {
        padding: 24px 12px 64px;
        gap: 24px
    }

    .article h2 {
        margin-top: 54px
    }

    .footer-grid {
        gap: 25px
    }

    address p {
        grid-template-columns: 90px 1fr;
        overflow-wrap: anywhere
    }

    .site-footer {
        padding-left: 20px;
        padding-right: 20px
    }
}