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

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--page);
      font-family:"Noto Sans Thai","Tahoma",system-ui,-apple-system,sans-serif;
      line-height:1.65;
      overflow-wrap:anywhere;
    }
    body.drawer-lock{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input,textarea,select{font:inherit}
    button{cursor:pointer}
    .container{width:min(calc(100% - 40px),var(--container));margin-inline:auto}

    .topbar{
      color:#dbeafe;
      background:#071a35;
      border-bottom:1px solid rgba(255,255,255,.09);
      font-size:13px;
    }
    .topbar-inner{
      min-height:38px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }
    .topbar-welcome{margin:0}
    .topbar-contact{display:flex;align-items:center;gap:20px}
    .topbar-contact a{transition:color .2s ease}
    .topbar-contact a:hover{color:#67e8f9}

    .header{
      position:sticky;
      top:0;
      z-index:50;
      background:rgba(255,255,255,.97);
      border-bottom:1px solid var(--line);
      box-shadow:0 8px 24px rgba(15,23,42,.05);
      backdrop-filter:blur(14px);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:24px;
    }
    .logo{
      min-width:0;
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--theme);
      font-weight:800;
      letter-spacing:-.02em;
    }
    .logo img{
      width:42px;
      height:42px;
      object-fit:contain;
      border-radius:10px;
    }
    .logo span{
      max-width:190px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .main-nav{margin-left:auto;align-self:stretch}
    .nav-list{
      height:100%;
      display:flex;
      align-items:stretch;
      gap:2px;
      margin:0;
      padding:0;
      list-style:none;
    }
    .nav-item{
      position:relative;
      display:flex;
      align-items:center;
    }
    .nav-link{
      min-height:100%;
      display:flex;
      align-items:center;
      gap:7px;
      padding:0 12px;
      color:#26344d;
      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(--theme);
      background:var(--theme-soft);
    }
    .has-arrow::after{
      width:7px;
      height:7px;
      content:"";
      border-right:2px solid currentColor;
      border-bottom:2px 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:70;
      visibility:hidden;
      opacity:0;
      transform:translate(-50%,10px);
      transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 18px 18px;
      box-shadow:var(--shadow);
    }
    .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);
    }
    .dropdown-panel{
      width:330px;
      padding:20px;
    }
    .dropdown-title,
    .mega-title{
      margin:0 0 13px;
      color:var(--theme);
      font-size:13px;
      font-weight:800;
      letter-spacing:.04em;
    }
    .dropdown-list{display:grid;gap:5px}
    .dropdown-list a{
      padding:9px 10px;
      border-radius:9px;
      color:#344054;
      font-size:14px;
    }
    .dropdown-list a:hover{color:var(--theme);background:var(--theme-soft)}
    .dropdown-all,
    .mega-footer{
      display:block;
      margin-top:14px;
      padding-top:13px;
      color:var(--theme);
      border-top:1px solid var(--line);
      font-size:14px;
      font-weight:800;
    }
    .mega-menu{
      width:min(760px,calc(100vw - 40px));
      padding:22px;
    }
    .mega-wide{width:min(980px,calc(100vw - 40px))}
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:10px;
    }
    .mega-card{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:11px;
      padding:12px;
      background:#f8fafc;
      border:1px solid #e8eef6;
      border-radius:13px;
      transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
    }
    .mega-card:hover{
      transform:translateY(-2px);
      border-color:#a8c4ef;
      box-shadow:0 10px 24px rgba(11,61,145,.09);
    }
    .mega-card img{
      width:45px;
      height:45px;
      flex:0 0 45px;
      object-fit:cover;
      border-radius:10px;
      background:#fff;
    }
    .mega-card-body{min-width:0;display:block}
    .mega-card-body strong{
      display:block;
      color:#172033;
      font-size:14px;
      line-height:1.45;
    }
    .mega-card-body small{
      display:block;
      margin-top:3px;
      color:var(--muted);
      font-size:11px;
      line-height:1.45;
    }
    .mega-card-body p{
      display:-webkit-box;
      margin:4px 0 0;
      overflow:hidden;
      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:15px;
    }
    .mega-category-list a{
      padding:7px 11px;
      color:var(--theme);
      background:var(--theme-soft);
      border:1px solid #cbdcf8;
      border-radius:999px;
      font-size:12px;
      font-weight:700;
    }
    .header-btns{
      display:flex;
      align-items:center;
      gap:10px;
      white-space:nowrap;
    }
    .account-link{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:42px;
      padding:0 17px;
      color:#fff;
      background:var(--theme);
      border-radius:11px;
      font-size:14px;
      font-weight:800;
      box-shadow:0 10px 22px rgba(11,61,145,.2);
    }
    .account-link:hover{background:var(--theme-dark)}
    .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:11px;
    }
    .hamburger span{
      width:20px;
      height:2px;
      background:var(--ink);
      border-radius:99px;
      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:80;
      visibility:hidden;
      opacity:0;
      background:rgba(3,12,28,.64);
      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:90;
      width:min(390px,92vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 50px rgba(2,12,27,.25);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      position:sticky;
      top:0;
      z-index:2;
      display:flex;
      align-items:center;
      gap:10px;
      min-height:72px;
      padding:14px 18px;
      background:#fff;
      border-bottom:1px solid var(--line);
    }
    .drawer-head>a{
      color:var(--theme);
      font-size:14px;
      font-weight:800;
    }
    .drawer-close{
      width:40px;
      height:40px;
      margin-left:auto;
      color:#344054;
      background:#f2f5f9;
      border:0;
      border-radius:10px;
      font-size:27px;
      line-height:1;
    }
    .drawer-menu{padding:14px 18px 28px}
    .drawer-link,
    .drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:14px 5px;
      color:#24324a;
      background:transparent;
      border:0;
      border-bottom:1px solid var(--line);
      text-align:left;
      font-weight:800;
    }
    .drawer-toggle::after{
      content:"+";
      color:var(--theme);
      font-size:20px;
      font-weight:500;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      max-height:0;
      display:grid;
      gap:4px;
      overflow:hidden;
      opacity:0;
      transition:max-height .3s ease,opacity .25s ease,padding .25s ease;
    }
    .drawer-submenu.open{
      max-height:900px;
      padding:8px 0 12px;
      opacity:1;
    }
    .drawer-submenu a{
      padding:9px 12px;
      color:#58667d;
      background:#f7f9fc;
      border-radius:8px;
      font-size:14px;
    }

    .article-page{
      min-width:0;
      padding:38px 0 76px;
    }
    .article-page .article-breadcrumb{
      display:flex;
      align-items:center;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:20px;
      color:var(--muted);
      font-size:14px;
    }
    .article-page .article-breadcrumb a{color:var(--theme);font-weight:700}
    .article-page .article-breadcrumb span+span::before,
    .article-page .article-breadcrumb a+span::before{
      margin-right:8px;
      color:#98a2b3;
      content:"/";
    }
    .article-page .article-layout{
      display:grid;
      grid-template-columns:minmax(0,1fr) 320px;
      align-items:start;
      gap:28px;
    }
    .article-page .article-shell{
      min-width:0;
      overflow:hidden;
      background:#fff;
      border:1px solid var(--line);
      border-radius:24px;
      box-shadow:0 16px 44px rgba(22,34,55,.07);
    }
    .article-page .article-head{
      position:relative;
      padding:38px 42px 30px;
      background:
        radial-gradient(circle at 95% 10%,rgba(8,145,178,.16),transparent 32%),
        linear-gradient(145deg,#f7fbff,#eef5ff);
      border-bottom:1px solid var(--line);
    }
    .article-page .article-label{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:17px;
      padding:7px 12px;
      color:#07657c;
      background:#cffafe;
      border:1px solid #a5f3fc;
      border-radius:999px;
      font-size:13px;
      font-weight:800;
    }
    .article-page .article-label::before{
      width:8px;
      height:8px;
      content:"";
      background:var(--cyan);
      border-radius:50%;
      box-shadow:0 0 0 4px rgba(8,145,178,.13);
    }
    .article-page h1{
      margin:0;
      color:#101828;
      font-size:clamp(30px,4vw,48px);
      line-height:1.25;
      letter-spacing:-.035em;
    }
    .article-page .article-meta{
      display:flex;
      align-items:center;
      flex-wrap:wrap;
      gap:10px 18px;
      margin-top:21px;
      color:#5e6b80;
      font-size:14px;
    }
    .article-page .article-meta span{
      display:inline-flex;
      align-items:center;
      gap:7px;
    }
    .article-page .meta-dot{
      width:7px;
      height:7px;
      background:var(--cyan);
      border-radius:50%;
    }
    .article-page .article-body{
      min-width:0;
      max-width:100%;
      padding:38px 42px 42px;
      overflow-x:auto;
      color:#28364d;
      font-size:17px;
      line-height:1.9;
    }
    .article-page .article-body>*:first-child{margin-top:0}
    .article-page .article-body>*:last-child{margin-bottom:0}
    .article-page .article-body h2,
    .article-page .article-body h3,
    .article-page .article-body h4{
      margin:1.7em 0 .7em;
      color:#14213a;
      line-height:1.4;
    }
    .article-page .article-body h2{
      padding-left:14px;
      border-left:4px solid var(--cyan);
      font-size:28px;
    }
    .article-page .article-body h3{font-size:22px}
    .article-page .article-body p{margin:0 0 1.25em}
    .article-page .article-body a{
      color:var(--theme);
      text-decoration:underline;
      text-underline-offset:3px;
    }
    .article-page .article-body img{
      width:auto;
      height:auto;
      max-width:100%;
      margin:26px auto;
      border-radius:16px;
    }
    .article-page .article-body table{
      width:100%;
      max-width:100%;
      margin:24px 0;
      border-collapse:collapse;
    }
    .article-page .article-body th,
    .article-page .article-body td{
      min-width:130px;
      padding:12px 14px;
      border:1px solid var(--line);
      text-align:left;
    }
    .article-page .article-body th{color:#fff;background:var(--theme)}
    .article-page .article-body blockquote{
      margin:26px 0;
      padding:20px 22px;
      color:#174b62;
      background:var(--cyan-soft);
      border-left:4px solid var(--cyan);
      border-radius:0 14px 14px 0;
    }
    .article-page .article-tags{
      display:flex;
      align-items:flex-start;
      flex-wrap:wrap;
      gap:9px;
      padding:0 42px 34px;
    }
    .article-page .article-tags strong{
      padding:7px 0;
      color:#344054;
      font-size:14px;
    }
    .article-page .article-tags a{
      padding:7px 11px;
      color:var(--theme);
      background:var(--theme-soft);
      border:1px solid #ccdcf4;
      border-radius:999px;
      font-size:13px;
      font-weight:700;
    }
    .article-page .article-notice{
      margin:0 42px 36px;
      padding:16px 18px;
      color:#4b5565;
      background:#f8fafc;
      border:1px solid var(--line);
      border-radius:13px;
      font-size:14px;
    }
    .article-page .article-pager{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:14px;
      margin-top:22px;
    }
    .article-page .pager-card{
      min-width:0;
      display:block;
      padding:18px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:16px;
      box-shadow:0 10px 30px rgba(22,34,55,.05);
      transition:transform .2s ease,border-color .2s ease;
    }
    .article-page .pager-card:hover{
      transform:translateY(-2px);
      border-color:#9bbbe8;
    }
    .article-page .pager-card.next{text-align:right}
    .article-page .pager-card small{
      display:block;
      margin-bottom:5px;
      color:var(--cyan);
      font-weight:800;
    }
    .article-page .pager-card strong{
      display:block;
      overflow:hidden;
      color:#24324a;
      font-size:15px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .article-page .article-sidebar{
      position:sticky;
      top:104px;
      display:grid;
      gap:18px;
    }
    .article-page .side-card{
      padding:22px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:18px;
      box-shadow:0 12px 34px rgba(22,34,55,.06);
    }
    .article-page .side-card h2{
      margin:0 0 8px;
      color:#172033;
      font-size:20px;
    }
    .article-page .side-card>p{
      margin:0 0 16px;
      color:var(--muted);
      font-size:14px;
    }
    .article-page .side-actions{display:grid;gap:9px}
    .article-page .side-actions a{
      display:flex;
      align-items:center;
      justify-content:center;
      min-height:44px;
      padding:0 14px;
      border-radius:11px;
      font-size:14px;
      font-weight:800;
    }
    .article-page .side-actions .primary{color:#fff;background:var(--theme)}
    .article-page .side-actions .secondary{
      color:var(--theme);
      background:var(--theme-soft);
      border:1px solid #cbdcf8;
    }
    .article-page .risk-list{
      display:grid;
      gap:10px;
      margin:15px 0 0;
      padding:0;
      list-style:none;
    }
    .article-page .risk-list li{
      position:relative;
      padding-left:20px;
      color:#4b5a70;
      font-size:14px;
    }
    .article-page .risk-list li::before{
      position:absolute;
      top:.58em;
      left:0;
      width:8px;
      height:8px;
      content:"";
      background:var(--success);
      border-radius:50%;
    }
    .article-page .related-section{margin-top:44px}
    .article-page .section-heading{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:20px;
      margin-bottom:18px;
    }
    .article-page .section-heading h2{
      margin:0;
      color:#14213a;
      font-size:28px;
    }
    .article-page .section-heading p{margin:0;color:var(--muted)}
    .article-page .related-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:18px;
    }
    .article-page .related-card{
      min-width:0;
      overflow:hidden;
      background:#fff;
      border:1px solid var(--line);
      border-radius:18px;
      box-shadow:0 12px 32px rgba(22,34,55,.06);
      transition:transform .2s ease,box-shadow .2s ease;
    }
    .article-page .related-card:hover{
      transform:translateY(-4px);
      box-shadow:0 18px 38px rgba(11,61,145,.11);
    }
    .article-page .related-card img{
      width:100%;
      height:178px;
      object-fit:cover;
      background:#e8eef6;
    }
    .article-page .related-body{padding:17px}
    .article-page .related-body small{
      display:block;
      margin-bottom:8px;
      color:var(--cyan);
      font-weight:700;
    }
    .article-page .related-body h3{
      display:-webkit-box;
      margin:0;
      overflow:hidden;
      color:#1b2940;
      font-size:17px;
      line-height:1.55;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
    .article-page .related-body p{
      display:-webkit-box;
      margin:9px 0 0;
      overflow:hidden;
      color:var(--muted);
      font-size:14px;
      line-height:1.65;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }

    .footer{
      color:#cbd5e1;
      background:#071a35;
      border-top:4px solid var(--cyan);
    }
    .footer-grid{
      display:grid;
      grid-template-columns:1.5fr 1fr 1fr 1fr;
      gap:42px;
      padding:58px 0 42px;
    }
    .footer .logo{color:#fff}
    .footer .logo img{background:#fff}
    .footer-brand p{
      max-width:470px;
      margin:18px 0;
      color:#aebbd0;
      font-size:14px;
    }
    .footer-social{margin-top:16px}
    .footer h3{
      margin:6px 0 17px;
      color:#fff;
      font-size:16px;
    }
    .footer-links,
    .footer-contact{display:grid;gap:10px}
    .footer-links a,
    .footer-contact a{
      color:#bdc9da;
      font-size:14px;
      transition:color .2s ease,transform .2s ease;
    }
    .footer-links a:hover,
    .footer-contact a:hover{
      color:#67e8f9;
      transform:translateX(3px);
    }
    .footer-contact span{color:#94a3b8;font-size:13px}
    .footer-bottom{
      min-height:68px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#93a4ba;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:13px;
    }

    @media (max-width:1180px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-btns{margin-left:auto}
      .article-page .article-layout{grid-template-columns:minmax(0,1fr) 290px}
      .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }

    @media (max-width:900px){
      .article-page .article-layout{grid-template-columns:1fr}
      .article-page .article-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
      .article-page .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }

    @media (max-width:700px){
      .container{width:min(calc(100% - 28px),var(--container))}
      .topbar-inner{
        min-height:50px;
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        gap:2px;
        padding:6px 0;
      }
      .topbar-contact{flex-wrap:wrap;gap:4px 14px}
      .header-inner{min-height:68px;gap:12px}
      .logo img{width:37px;height:37px}
      .logo span{max-width:130px}
      .header-btns{gap:7px}
      .account-link{min-height:39px;padding:0 12px;font-size:13px}
      .article-page{padding:24px 0 54px}
      .article-page .article-head{padding:28px 22px 24px}
      .article-page h1{font-size:30px}
      .article-page .article-body{padding:28px 22px;font-size:16px}
      .article-page .article-tags{padding:0 22px 26px}
      .article-page .article-notice{margin:0 22px 28px}
      .article-page .article-pager{grid-template-columns:1fr}
      .article-page .pager-card.next{text-align:left}
      .article-page .article-sidebar{grid-template-columns:1fr}
      .article-page .related-grid{grid-template-columns:1fr}
      .article-page .section-heading{align-items:flex-start;flex-direction:column;gap:4px}
      .article-page .related-card{display:grid;grid-template-columns:120px minmax(0,1fr)}
      .article-page .related-card img{height:100%;min-height:150px}
      .footer-grid{grid-template-columns:1fr;gap:28px;padding:44px 0 34px}
      .footer-bottom{align-items:flex-start;flex-direction:column;justify-content:center;padding:18px 0}
    }

    @media (max-width:430px){
      .topbar-contact{display:grid}
      .logo span{max-width:100px}
      .article-page .related-card{display:block}
      .article-page .related-card img{height:190px}
    }