@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #0b4da2;
    --sky: #19aee8;
    --ink: #132a42;
    --muted: #62758a;
    --line: #d8e4ee;
    --paper: #f5f9fc
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'Noto Sans Thai', sans-serif;
    color: var(--ink);
    line-height: 1.85;
    background: #fff
}

.skip {
    position: absolute;
    left: -9999px
}

.skip:focus {
    left: 10px;
    top: 10px;
    z-index: 99;
    background: #fff;
    padding: 8px
}

.mast {
    height: 82px;
    max-width: 1220px;
    margin: auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 30px
}

.mast img {
    display: block
}

.mast span {
    margin: auto;
    font-weight: 700;
    color: #61758a
}

.official {
    color: var(--blue);
    text-decoration: none;
    font-weight: 800;
    border-bottom: 2px solid var(--sky)
}

header>nav {
    background: #fff;
    border-block: 1px solid var(--line)
}

header>nav>div {
    max-width: 1220px;
    margin: auto;
    display: flex;
    overflow: auto;
    padding: 0 15px;
    white-space: nowrap
}

header nav a {
    color: #435b72;
    text-decoration: none;
    padding: 15px 13px;
    font-weight: 600;
    border-bottom: 4px solid transparent
}

header nav a.on {
    color: var(--blue);
    border-color: var(--sky)
}

.hero {
    height: 610px;
    position: relative;
    overflow: hidden;
    background: #dceffc
}

.hero>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f7fbfffa 0, #f2f9ffed 37%, transparent 68%);
    clip-path: polygon(0 0, 82% 0, 67% 100%, 0 100%)
}

.hero-in {
    max-width: 1220px;
    height: 100%;
    margin: auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2
}

.hero-in>div {
    width: 52%
}

.home-hero .hero-in>div{
width: 100%;
}

.home-hero .hero-in {
padding-top: 10%;
 
}
.home-hero{
    height: 700px;
}

.home-hero:after{ 
    background: linear-gradient(0deg, #f7fbffe1 0, #f2f9ffd8 50%, #f2f9ff5d 68%);
    clip-path: none;
}
.issue {
    font-size: .78rem;
    letter-spacing: .18em;
    font-weight: 800;
    color: #0a79b3
}

.hero h1 {
    font-size: clamp(2.1rem, 3.5vw, 3.7rem);
    line-height: 1.18;
    color: #082f6d;
    margin: 16px 0
}

.hero p {
    font-size: 1.06rem;
    color: #49657e
}

.ticker {
    max-width: 1160px;
    margin: -29px auto 70px;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    background: var(--blue);
    color: #fff;
    box-shadow: 0 14px 35px #0b4da233;
    overflow: auto;
    white-space: nowrap
}

.ticker b {
    background: var(--sky);
    padding: 16px 25px
}

.ticker span {
    padding: 16px 25px;
    border-right: 1px solid #ffffff30
}

.wrap {
    max-width: 1160px;
    margin: 0 auto 90px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 50px
}

article h2 {
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    line-height: 1.35;
    color: var(--blue);
    margin: 2.8rem 0 1rem;
    padding-top: 18px;
    border-top: 1px solid var(--line)
}

article h2:before {
    content: '●';
    color: var(--sky);
    font-size: .7rem;
    margin-right: 12px
}

article h3 {
    font-size: 1.3rem;
    color: #127aad
}

article p {
    margin: 0 0 1.15rem
}

article ul {
    background: var(--paper);
    padding: 20px 24px 20px 48px;
    border-radius: 3px;
    border-left: 5px solid var(--sky)
}

article li {
    margin: .5rem 0
}

article a {
    color: #0875bd
}

.aside-box {
    position: sticky;
    top: 20px;
    border: 1px solid var(--line);
    border-top: 6px solid var(--blue);
    padding: 22px;
    background: #fff
}

#toc {
    margin-top: 12px
}

#toc a {
    display: block;
    color: #52697e;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    line-height: 1.4;
    font-size: .91rem
}

footer {
    background: #08264e;
    color: #cbdced;
    padding: 58px 5vw 0
}

.foot {
    max-width: 1160px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 55px
}

.foot h2 {
    font-size: 1.1rem;
    color: #fff
}

.foot ul {
    list-style: none;
    padding: 0
}

.foot li {
    margin: .5rem 0
}

.foot a {
    color: #d5e8fa
}

.copy {
    max-width: 1160px;
    margin: 38px auto 0;
    border-top: 1px solid #ffffff20;
    text-align: center;
    padding: 22px 0;
    font-size: .86rem
}

@media(max-width:900px) {
    .hero {
        height: 650px
    }

    .hero:after {
        clip-path: none;
        background: linear-gradient(180deg, #f7fbfff5, #eef8ffbf 62%, transparent)
    }

    .hero-in>div {
        width: 100%;
        padding-bottom: 240px
    }

    .ticker {
        margin-inline: 18px
    }

    .wrap {
        grid-template-columns: 1fr
    }

    aside {
        display: none
    }
}

@media(max-width:620px) {
    .mast {
        height: 68px
    }

    .mast span,
    .official {
        display: none
    }

    .hero {
        height: 630px
    }

    .hero h1 {
        font-size: 2rem
    }

    .hero-in>div {
        padding-bottom: 190px
    }

    .foot {
        grid-template-columns: 1fr;
        gap: 25px
    }
}