:root{
      --primary:#0B3D91;
      --primary-dark:#072b68;
      --primary-soft:#eaf1ff;
      --cyan:#0891B2;
      --cyan-soft:#ecfeff;
      --ink:#172033;
      --muted:#667085;
      --line:#dce5ef;
      --surface:#ffffff;
      --surface-soft:#f5f8fc;
      --success:#0f9f6e;
      --shadow:0 18px 48px rgba(11,61,145,.11);
      --radius:18px;
      --container:1240px;
    }

    *{
      box-sizing:border-box;
    }

    html{
      scroll-behavior:smooth;
    }

    body{
      margin:0;
      color:var(--ink);
      background:var(--surface-soft);
      font-family:"Noto Sans Thai","Tahoma","Arial",sans-serif;
      line-height:1.65;
      overflow-x:hidden;
    }

    body.drawer-lock{
      overflow:hidden;
    }

    img{
      display:block;
      max-width:100%;
    }

    a{
      color:inherit;
      text-decoration:none;
    }

    button,
    input,
    select,
    textarea{
      font:inherit;
    }

    button{
      color:inherit;
    }

    .container{
      width:min(calc(100% - 40px),var(--container));
      margin-inline:auto;
    }

    .topbar{
      color:#dce9ff;
      background:var(--primary-dark);
      font-size:13px;
    }

    .topbar-inner{
      min-height:38px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }

    .topbar-welcome{
      margin:0;
    }

    .topbar-contact{
      display:flex;
      align-items:center;
      gap:22px;
    }

    .topbar-contact a{
      transition:color .2s ease;
    }

    .topbar-contact a:hover{
      color:#fff;
    }

    .header{
      position:relative;
      z-index:50;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 5px 20px rgba(16,24,40,.04);
    }

    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:24px;
    }

    .logo{
      flex:0 0 auto;
      display:inline-flex;
      align-items:center;
      gap:11px;
      color:var(--primary);
      font-size:19px;
      font-weight:800;
      letter-spacing:-.2px;
    }

    .logo img{
      width:42px;
      height:42px;
      object-fit:contain;
      border-radius:10px;
    }

    .main-nav{
      min-width:0;
      margin-left:auto;
    }

    .nav-list{
      display:flex;
      align-items:center;
      gap:2px;
      margin:0;
      padding:0;
      list-style:none;
    }

    .nav-item{
      position:relative;
    }

    .nav-link{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:6px;
      padding:0 11px;
      color:#344054;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
      transition:color .2s ease,background .2s ease;
    }

    .nav-link:hover,
    .nav-item:focus-within > .nav-link{
      color:var(--primary);
      background:var(--primary-soft);
    }

    .has-arrow::after{
      width:6px;
      height:6px;
      content:"";
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
      transition:transform .2s ease;
    }

    .nav-item:hover .has-arrow::after,
    .nav-item:focus-within .has-arrow::after{
      transform:rotate(225deg) translate(-1px,-1px);
    }

    .dropdown-panel,
    .mega-menu{
      position:absolute;
      top:100%;
      left:50%;
      z-index:60;
      width:340px;
      padding:20px;
      visibility:hidden;
      opacity:0;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 18px 18px;
      box-shadow:var(--shadow);
      transform:translate(-50%,10px);
      transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
    }

    .mega-menu{
      width:680px;
    }

    .mega-wide{
      width:880px;
    }

    .dropdown-panel::before,
    .mega-menu::before{
      position:absolute;
      right:0;
      bottom:100%;
      left:0;
      height:12px;
      content:"";
    }

    .nav-item:hover > .dropdown-panel,
    .nav-item:focus-within > .dropdown-panel,
    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu{
      visibility:visible;
      opacity:1;
      transform:translate(-50%,0);
    }

    .nav-item:nth-last-child(-n+3) .mega-menu{
      right:0;
      left:auto;
      transform:translate(0,10px);
    }

    .nav-item:nth-last-child(-n+3):hover > .mega-menu,
    .nav-item:nth-last-child(-n+3):focus-within > .mega-menu{
      transform:translate(0,0);
    }

    .dropdown-title,
    .mega-title{
      margin:0 0 13px;
      color:var(--primary);
      font-size:13px;
      font-weight:800;
      letter-spacing:.03em;
    }

    .dropdown-list{
      display:grid;
      gap:6px;
    }

    .dropdown-list a{
      padding:9px 10px;
      color:#344054;
      background:#f8fafc;
      border-radius:9px;
      font-size:14px;
      transition:color .2s ease,background .2s ease;
    }

    .dropdown-list a:hover{
      color:var(--primary);
      background:var(--primary-soft);
    }

    .dropdown-all,
    .mega-footer{
      display:flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      margin-top:15px;
      color:#fff;
      background:var(--primary);
      border-radius:10px;
      font-size:13px;
      font-weight:800;
      transition:background .2s ease,transform .2s ease;
    }

    .dropdown-all:hover,
    .mega-footer:hover{
      background:var(--primary-dark);
      transform:translateY(-1px);
    }

    .mega-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
    }

    .mega-card{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:11px;
      padding:11px;
      background:#f8fafc;
      border:1px solid transparent;
      border-radius:12px;
      transition:border-color .2s ease,background .2s ease,transform .2s ease;
    }

    .mega-card:hover{
      background:var(--primary-soft);
      border-color:#c9d9f8;
      transform:translateY(-1px);
    }

    .mega-card > img{
      flex:0 0 auto;
      width:48px;
      height:48px;
      object-fit:cover;
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
    }

    .mega-card-body{
      min-width:0;
      display:block;
    }

    .mega-card-body strong{
      display:block;
      overflow:hidden;
      color:#1d2939;
      font-size:14px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

    .mega-card-body small{
      display:block;
      color:var(--muted);
      font-size:11px;
    }

    .mega-card-body p{
      display:-webkit-box;
      overflow:hidden;
      margin:3px 0 0;
      color:var(--muted);
      font-size:12px;
      line-height:1.45;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }

    .mega-category-list{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:14px;
    }

    .mega-category-list a{
      padding:6px 11px;
      color:var(--primary);
      background:var(--primary-soft);
      border:1px solid #d4e2fb;
      border-radius:999px;
      font-size:12px;
      font-weight:700;
    }

    .header-btns{
      flex:0 0 auto;
      display:flex;
      align-items:center;
      gap:10px;
    }

    .account-link{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:42px;
      padding:0 17px;
      color:#fff;
      background:var(--primary);
      border-radius:10px;
      font-size:14px;
      font-weight:800;
      box-shadow:0 8px 20px rgba(11,61,145,.2);
      transition:background .2s ease,transform .2s ease;
    }

    .account-link:hover{
      background:var(--primary-dark);
      transform:translateY(-1px);
    }

    .hamburger{
      width:44px;
      height:44px;
      display:none;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      padding:0;
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
      cursor:pointer;
    }

    .hamburger span{
      width:20px;
      height:2px;
      background:var(--ink);
      border-radius:9px;
      transition:transform .2s ease,opacity .2s ease;
    }

    .hamburger.active span:nth-child(1){
      transform:translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2){
      opacity:0;
    }

    .hamburger.active span:nth-child(3){
      transform:translateY(-7px) rotate(-45deg);
    }

    .drawer-overlay{
      position:fixed;
      inset:0;
      z-index:90;
      visibility:hidden;
      opacity:0;
      background:rgba(15,23,42,.55);
      backdrop-filter:blur(3px);
      transition:opacity .25s ease,visibility .25s ease;
    }

    .drawer-overlay.open{
      visibility:visible;
      opacity:1;
    }

    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:100;
      width:min(390px,92vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 50px rgba(15,23,42,.18);
      transform:translateX(105%);
      transition:transform .28s ease;
    }

    .mobile-drawer.open{
      transform:translateX(0);
    }

    .drawer-head{
      position:sticky;
      top:0;
      z-index:2;
      min-height:70px;
      display:flex;
      align-items:center;
      gap:10px;
      padding:12px 18px;
      background:#fff;
      border-bottom:1px solid var(--line);
    }

    .drawer-head > a{
      padding:8px 12px;
      color:#fff;
      background:var(--primary);
      border-radius:8px;
      font-size:13px;
      font-weight:700;
    }

    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      padding:0;
      color:#475467;
      background:#f2f4f7;
      border:0;
      border-radius:9px;
      font-size:26px;
      line-height:1;
      cursor:pointer;
    }

    .drawer-menu{
      padding:14px 18px 30px;
    }

    .drawer-link,
    .drawer-toggle{
      width:100%;
      min-height:48px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:10px 4px;
      color:#1d2939;
      background:transparent;
      border:0;
      border-bottom:1px solid #edf1f5;
      font-weight:750;
      text-align:left;
      cursor:pointer;
    }

    .drawer-toggle::after{
      width:8px;
      height:8px;
      content:"";
      border-right:2px solid var(--primary);
      border-bottom:2px solid var(--primary);
      transform:rotate(45deg);
      transition:transform .2s ease;
    }

    .drawer-toggle.active::after{
      transform:rotate(225deg);
    }

    .drawer-submenu{
      display:none;
      padding:8px 0 10px 14px;
      border-bottom:1px solid #edf1f5;
    }

    .drawer-submenu.open{
      display:grid;
      gap:4px;
    }

    .drawer-submenu a{
      padding:8px 10px;
      color:#475467;
      background:#f8fafc;
      border-radius:8px;
      font-size:14px;
    }

    .tag-page{
      min-height:620px;
    }

    .tag-page .tag-hero{
      position:relative;
      overflow:hidden;
      padding:72px 0 64px;
      color:#fff;
      background:
        radial-gradient(circle at 12% 20%,rgba(8,145,178,.38),transparent 30%),
        radial-gradient(circle at 88% 5%,rgba(255,255,255,.13),transparent 25%),
        linear-gradient(135deg,var(--primary-dark),var(--primary) 56%,#075b78);
    }

    .tag-page .tag-hero::before,
    .tag-page .tag-hero::after{
      position:absolute;
      content:"";
      border:1px solid rgba(255,255,255,.16);
      border-radius:50%;
    }

    .tag-page .tag-hero::before{
      top:-90px;
      right:8%;
      width:280px;
      height:280px;
    }

    .tag-page .tag-hero::after{
      bottom:-150px;
      left:5%;
      width:360px;
      height:360px;
    }

    .tag-page .tag-hero-inner{
      position:relative;
      z-index:1;
      max-width:850px;
      text-align:center;
    }

    .tag-page .tag-kicker{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin:0 0 14px;
      padding:7px 13px;
      color:#d9fbff;
      background:rgba(8,145,178,.22);
      border:1px solid rgba(185,245,255,.28);
      border-radius:999px;
      font-size:13px;
      font-weight:800;
    }

    .tag-page .tag-kicker::before{
      width:8px;
      height:8px;
      content:"";
      background:#67e8f9;
      border-radius:50%;
      box-shadow:0 0 0 5px rgba(103,232,249,.13);
    }

    .tag-page .tag-hero h1{
      margin:0;
      font-size:clamp(34px,5vw,60px);
      line-height:1.16;
      letter-spacing:-1px;
    }

    .tag-page .tag-hero p{
      max-width:720px;
      margin:17px auto 0;
      color:#dce9ff;
      font-size:17px;
    }

    .tag-page .tag-stats{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      margin-top:24px;
    }

    .tag-page .tag-stat{
      display:inline-flex;
      align-items:center;
      gap:7px;
      padding:9px 14px;
      background:rgba(255,255,255,.1);
      border:1px solid rgba(255,255,255,.18);
      border-radius:10px;
      font-size:14px;
    }

    .tag-page .tag-stat strong{
      color:#fff;
      font-size:17px;
    }

    .tag-page .tag-content{
      padding:60px 0 76px;
    }

    .tag-page .content-heading{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:20px;
      margin-bottom:24px;
    }

    .tag-page .content-heading h2{
      margin:0;
      color:#101828;
      font-size:30px;
      line-height:1.3;
    }

    .tag-page .content-heading p{
      margin:5px 0 0;
      color:var(--muted);
    }

    .tag-page .tag-index-link{
      flex:0 0 auto;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:43px;
      padding:0 16px;
      color:var(--primary);
      background:#fff;
      border:1px solid #bfd0ef;
      border-radius:10px;
      font-size:14px;
      font-weight:800;
      transition:color .2s ease,background .2s ease;
    }

    .tag-page .tag-index-link:hover{
      color:#fff;
      background:var(--primary);
    }

    .tag-page .article-list{
      display:grid;
      gap:20px;
    }

    .tag-page .article-card{
      min-width:0;
      display:grid;
      grid-template-columns:310px minmax(0,1fr);
      overflow:hidden;
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:0 10px 28px rgba(16,24,40,.055);
      transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
    }

    .tag-page .article-card:hover{
      border-color:#b6caec;
      box-shadow:var(--shadow);
      transform:translateY(-2px);
    }

    .tag-page .article-cover{
      position:relative;
      min-height:250px;
      overflow:hidden;
      background:#dfe8f5;
    }

    .tag-page .article-cover img{
      width:100%;
      height:100%;
      object-fit:cover;
      transition:transform .35s ease;
    }

    .tag-page .article-card:hover .article-cover img{
      transform:scale(1.035);
    }

    .tag-page .article-tag-badge{
      position:absolute;
      top:16px;
      left:16px;
      max-width:calc(100% - 32px);
      padding:7px 11px;
      overflow:hidden;
      color:#fff;
      background:rgba(11,61,145,.92);
      border:1px solid rgba(255,255,255,.3);
      border-radius:999px;
      font-size:12px;
      font-weight:800;
      text-overflow:ellipsis;
      white-space:nowrap;
      backdrop-filter:blur(6px);
    }

    .tag-page .article-body{
      min-width:0;
      display:flex;
      flex-direction:column;
      padding:25px 28px;
    }

    .tag-page .article-meta{
      display:flex;
      flex-wrap:wrap;
      gap:8px 16px;
      margin-bottom:10px;
      color:var(--muted);
      font-size:13px;
    }

    .tag-page .article-meta span{
      display:inline-flex;
      align-items:center;
      gap:6px;
    }

    .tag-page .article-meta span::before{
      width:6px;
      height:6px;
      content:"";
      background:var(--cyan);
      border-radius:50%;
    }

    .tag-page .article-title{
      margin:0;
      color:#101828;
      font-size:24px;
      line-height:1.38;
      letter-spacing:-.25px;
    }

    .tag-page .article-title a{
      transition:color .2s ease;
    }

    .tag-page .article-title a:hover{
      color:var(--primary);
    }

    .tag-page .article-summary{
      display:-webkit-box;
      overflow:hidden;
      margin:12px 0 16px;
      color:#58657a;
      font-size:15px;
      line-height:1.75;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }

    .tag-page .article-labels{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-top:auto;
      color:#344054;
      font-size:13px;
    }

    .tag-page .article-labels span{
      padding:5px 10px;
      background:var(--cyan-soft);
      border:1px solid #c8f1f6;
      border-radius:999px;
    }

    .tag-page .article-actions{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:15px;
      margin-top:18px;
      padding-top:17px;
      border-top:1px solid #edf1f5;
    }

    .tag-page .article-author{
      color:var(--muted);
      font-size:13px;
    }

    .tag-page .read-more{
      display:inline-flex;
      align-items:center;
      gap:8px;
      color:var(--primary);
      font-size:14px;
      font-weight:800;
    }

    .tag-page .read-more::after{
      content:"→";
      font-size:18px;
      transition:transform .2s ease;
    }

    .tag-page .read-more:hover::after{
      transform:translateX(4px);
    }

    .tag-page .pagination{
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      justify-content:center;
      gap:8px;
      margin-top:38px;
    }

    .tag-page .pagination a{
      min-width:42px;
      min-height:42px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:7px 12px;
      color:#344054;
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
      font-size:14px;
      font-weight:750;
      transition:color .2s ease,background .2s ease,border-color .2s ease;
    }

    .tag-page .pagination a:hover,
    .tag-page .pagination a.active,
    .tag-page .pagination a.current{
      color:#fff;
      background:var(--primary);
      border-color:var(--primary);
    }

    .tag-page .decision-note{
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      align-items:center;
      gap:24px;
      margin-top:50px;
      padding:30px;
      color:#fff;
      background:linear-gradient(135deg,#10213e,var(--primary-dark));
      border-radius:22px;
      box-shadow:var(--shadow);
    }

    .tag-page .decision-note h2{
      margin:0 0 7px;
      font-size:24px;
    }

    .tag-page .decision-note p{
      max-width:760px;
      margin:0;
      color:#d5e1f3;
    }

    .tag-page .decision-note a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:46px;
      padding:0 18px;
      color:var(--primary-dark);
      background:#fff;
      border-radius:10px;
      font-weight:800;
      white-space:nowrap;
    }

    .footer{
      color:#d7e0ee;
      background:#0c1628;
    }

    .footer-grid{
      display:grid;
      grid-template-columns:1.5fr 1fr 1fr 1fr;
      gap:44px;
      padding:62px 0 46px;
    }

    .footer .logo{
      color:#fff;
    }

    .footer-brand p{
      max-width:430px;
      margin:17px 0;
      color:#aebbd0;
      font-size:14px;
    }

    .footer-social{
      display:flex;
      flex-wrap:wrap;
      gap:9px;
    }

    .footer h3{
      margin:4px 0 16px;
      color:#fff;
      font-size:16px;
    }

    .footer-links,
    .footer-contact{
      display:grid;
      gap:10px;
      color:#aebbd0;
      font-size:14px;
    }

    .footer-links a,
    .footer-contact a{
      transition:color .2s ease,transform .2s ease;
    }

    .footer-links a:hover,
    .footer-contact a:hover{
      color:#fff;
      transform:translateX(2px);
    }

    .footer-bottom{
      min-height:66px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#93a3bb;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:13px;
    }

    @media (max-width:1180px){
      .main-nav{
        display:none;
      }

      .hamburger{
        display:flex;
      }

      .header-inner{
        min-height:70px;
      }

      .header-btns{
        margin-left:auto;
      }
    }

    @media (max-width:900px){
      .tag-page .article-card{
        grid-template-columns:260px minmax(0,1fr);
      }

      .tag-page .article-title{
        font-size:21px;
      }

      .footer-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
    }

    @media (max-width:720px){
      .container{
        width:min(calc(100% - 28px),var(--container));
      }

      .topbar-inner{
        min-height:48px;
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        gap:2px;
        padding:6px 0;
      }

      .topbar-contact{
        flex-wrap:wrap;
        gap:4px 14px;
      }

      .header-btns > .account-link{
        display:none;
      }

      .logo span{
        max-width:155px;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
      }

      .tag-page .tag-hero{
        padding:55px 0 50px;
      }

      .tag-page .tag-hero p{
        font-size:15px;
      }

      .tag-page .tag-stats{
        align-items:stretch;
        flex-direction:column;
      }

      .tag-page .tag-stat{
        justify-content:center;
      }

      .tag-page .tag-content{
        padding:42px 0 58px;
      }

      .tag-page .content-heading{
        align-items:flex-start;
        flex-direction:column;
      }

      .tag-page .article-card{
        grid-template-columns:1fr;
      }

      .tag-page .article-cover{
        min-height:220px;
        aspect-ratio:16/9;
      }

      .tag-page .article-body{
        padding:21px;
      }

      .tag-page .article-title{
        font-size:20px;
      }

      .tag-page .article-actions{
        align-items:flex-start;
        flex-direction:column;
      }

      .tag-page .decision-note{
        grid-template-columns:1fr;
        padding:24px;
      }

      .tag-page .decision-note a{
        width:100%;
      }

      .footer-grid{
        grid-template-columns:1fr;
        gap:30px;
        padding:46px 0 34px;
      }

      .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        padding:18px 0;
      }
    }

    @media (max-width:430px){
      .logo img{
        width:38px;
        height:38px;
      }

      .tag-page .tag-hero h1{
        font-size:34px;
      }

      .tag-page .content-heading h2{
        font-size:25px;
      }

      .tag-page .article-meta{
        align-items:flex-start;
        flex-direction:column;
        gap:5px;
      }
    }