:root{
      --theme:#0B3D91;
      --ink:#12233f;
      --muted:#64748b;
      --line:#dbe4ef;
      --surface:#f5f8fc;
      --white:#fff;
      --accent:#f59e0b;
      --shadow:0 18px 45px rgba(11,61,145,.10);
      --radius:18px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:#fff;
      font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
      line-height:1.6;
    }
    a{color:inherit;text-decoration:none}
    img{max-width:100%;display:block}
    button{font:inherit}
    .container{width:min(1180px,calc(100% - 40px));margin:0 auto}

    .topbar{
      background:#071d42;
      color:#dbeafe;
      font-size:13px;
      padding:9px 0;
    }
    .topbar .container{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar-links{display:flex;gap:20px}
    .topbar a:hover{color:#fff}

    .header{
      position:relative;
      z-index:20;
      background:#fff;
      border-bottom:1px solid #e7edf5;
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:28px;
    }
    .logo{
      display:flex;
      align-items:center;
      gap:10px;
      min-width:max-content;
      color:var(--theme);
      font-size:19px;
      font-weight:800;
      letter-spacing:-.03em;
    }
    .logo img{
      width:38px;
      height:38px;
      object-fit:contain;
      border-radius:10px;
    }
    .main-nav{margin-left:auto}
    .nav-list{
      display:flex;
      align-items:center;
      gap:4px;
      list-style:none;
      margin:0;
      padding:0;
    }
    .nav-item{position:relative}
    .nav-link{
      display:inline-flex;
      align-items:center;
      gap:7px;
      padding:27px 12px;
      color:#334155;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
    }
    .nav-link:hover,.nav-link:focus{color:var(--theme)}
    .has-arrow:after{
      content:"";
      width:6px;
      height:6px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
    }
    .dropdown-panel,.mega-menu{
      position:absolute;
      top:calc(100% - 1px);
      left:50%;
      transform:translateX(-50%) translateY(8px);
      width:310px;
      padding:20px;
      border:1px solid var(--line);
      border-radius:0 0 16px 16px;
      background:#fff;
      box-shadow:var(--shadow);
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transition:.2s ease;
    }
    .mega-menu{width:650px}
    .nav-item:after{
      content:"";
      position:absolute;
      left:0;
      right:0;
      top:100%;
      height:14px;
    }
    .nav-item:hover .dropdown-panel,
    .nav-item:focus-within .dropdown-panel,
    .nav-item:hover .mega-menu,
    .nav-item:focus-within .mega-menu{
      opacity:1;
      visibility:visible;
      pointer-events:auto;
      transform:translateX(-50%) translateY(0);
    }
    .panel-title{
      margin:0 0 14px;
      color:var(--theme);
      font-size:14px;
      font-weight:800;
    }
    .panel-list{display:grid;gap:8px}
    .panel-list a{
      padding:8px 0;
      border-bottom:1px solid #edf2f7;
      color:#334155;
      font-size:13px;
    }
    .panel-list a:hover{color:var(--theme)}
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:10px;
    }
    .mega-card{
      display:grid;
      grid-template-columns:40px 1fr;
      gap:8px;
      padding:10px;
      border:1px solid #e5ebf3;
      border-radius:12px;
      transition:.2s ease;
    }
    .mega-card:hover{
      border-color:#9bb5db;
      background:#f7faff;
    }
    .mega-card img{
      width:40px;
      height:40px;
      border-radius:8px;
      object-fit:cover;
      background:#eaf1fb;
    }
    .mega-card strong{
      display:block;
      overflow:hidden;
      color:#1e293b;
      font-size:12px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card small{
      grid-column:1/-1;
      color:var(--muted);
      font-size:11px;
      line-height:1.45;
    }
    .mega-footer{
      display:block;
      margin-top:14px;
      color:var(--theme);
      font-size:13px;
      font-weight:800;
    }
    .header-btns{
      display:flex;
      align-items:center;
      gap:9px;
      min-width:max-content;
    }
    .member-btn,.account-btn{
      padding:10px 14px;
      border-radius:9px;
      font-size:13px;
      font-weight:800;
    }
    .member-btn{color:var(--theme);border:1px solid #b9cbe4}
    .account-btn{color:#fff;background:var(--theme)}
    .member-btn:hover{background:#f1f6fd}
    .account-btn:hover{background:#092f70}
    .hamburger{
      display:none;
      width:42px;
      height:40px;
      padding:9px;
      border:1px solid var(--line);
      border-radius:9px;
      background:#fff;
      cursor:pointer;
    }
    .hamburger span{
      display:block;
      width:21px;
      height:2px;
      margin:4px auto;
      background:var(--theme);
      transition:.2s;
    }
    .hamburger.active span:nth-child(1){transform:translateY(6px) rotate(45deg)}
    .hamburger.active span:nth-child(2){opacity:0}
    .hamburger.active span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

    .drawer-overlay{
      position:fixed;
      inset:0;
      z-index:40;
      background:rgba(2,12,30,.48);
      opacity:0;
      visibility:hidden;
      transition:.25s;
    }
    .drawer-overlay.open{opacity:1;visibility:visible}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:50;
      width:min(390px,88vw);
      padding:20px;
      overflow:auto;
      background:#fff;
      box-shadow:-15px 0 40px rgba(0,0,0,.15);
      transform:translateX(105%);
      transition:.28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      display:flex;
      align-items:center;
      gap:12px;
      padding-bottom:18px;
      border-bottom:1px solid var(--line);
      color:var(--theme);
      font-weight:800;
    }
    .drawer-head>a{
      margin-left:auto;
      padding:7px 11px;
      border-radius:7px;
      color:#fff;
      background:var(--theme);
      font-size:12px;
    }
    .drawer-close{
      border:0;
      background:transparent;
      color:#334155;
      font-size:28px;
      line-height:1;
      cursor:pointer;
    }
    .drawer-menu{padding-top:12px}
    .drawer-link,.drawer-toggle{
      display:block;
      width:100%;
      padding:13px 3px;
      border:0;
      border-bottom:1px solid #edf2f7;
      background:none;
      color:#1e293b;
      text-align:left;
      font-weight:700;
      cursor:pointer;
    }
    .drawer-submenu{
      display:grid;
      max-height:0;
      overflow:hidden;
      padding-left:13px;
      transition:max-height .25s ease;
    }
    .drawer-submenu.open{max-height:500px}
    .drawer-submenu a{
      padding:9px 0;
      color:var(--muted);
      font-size:14px;
    }
    .drawer-toggle:after{
      content:"+";
      float:right;
      color:var(--theme);
      font-size:20px;
      font-weight:400;
    }
    .drawer-toggle.active:after{content:"−"}

    .category-page{
      min-height:650px;
      background:
        radial-gradient(circle at 5% 0%,#eaf2ff 0,transparent 30%),
        linear-gradient(180deg,#f8fbff 0,#fff 390px);
    }
    .category-hero{
      padding:72px 0 42px;
      text-align:center;
    }
    .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:12px;
      color:var(--theme);
      font-size:12px;
      font-weight:900;
      letter-spacing:.13em;
      text-transform:uppercase;
    }
    .eyebrow:before{
      content:"";
      width:28px;
      height:2px;
      background:var(--accent);
    }
    .category-hero h1{
      max-width:760px;
      margin:0 auto 13px;
      color:#0b2450;
      font-size:clamp(34px,5vw,58px);
      line-height:1.08;
      letter-spacing:-.055em;
    }
    .category-hero p{
      max-width:680px;
      margin:0 auto;
      color:var(--muted);
      font-size:17px;
    }
    .category-tools{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:20px;
      margin:16px 0 25px;
      padding:15px 18px;
      border:1px solid #dce7f4;
      border-radius:14px;
      background:#fff;
      box-shadow:0 8px 24px rgba(19,61,120,.06);
    }
    .result-label{color:#475569;font-size:14px;font-weight:700}
    .filter-pills{display:flex;flex-wrap:wrap;gap:8px}
    .filter-pills span{
      padding:6px 11px;
      border-radius:99px;
      color:var(--theme);
      background:#edf4ff;
      font-size:12px;
      font-weight:800;
    }
    .article-list{display:grid;gap:18px;padding-bottom:45px}
    .article-card{
      display:grid;
      grid-template-columns:300px 1fr;
      min-height:220px;
      overflow:hidden;
      border:1px solid #dfe8f3;
      border-radius:var(--radius);
      background:#fff;
      box-shadow:0 8px 24px rgba(16,54,105,.06);
      transition:.22s ease;
    }
    .article-card:hover{
      border-color:#9db7dd;
      box-shadow:var(--shadow);
      transform:translateY(-2px);
    }
    .article-cover{
      min-height:220px;
      background:#dbeafe;
    }
    .article-cover img{
      width:100%;
      height:100%;
      min-height:220px;
      object-fit:cover;
    }
    .article-body{
      display:flex;
      flex-direction:column;
      padding:25px 28px 22px;
      min-width:0;
    }
    .article-category{
      margin-bottom:8px;
      color:var(--theme);
      font-size:11px;
      font-weight:900;
      letter-spacing:.12em;
      text-transform:uppercase;
    }
    .article-body h2{
      margin:0 0 9px;
      color:#102b58;
      font-size:24px;
      line-height:1.25;
      letter-spacing:-.025em;
    }
    .article-body h2 a:hover{color:var(--theme)}
    .article-summary{
      display:block;
      margin:0 0 15px;
      color:#64748b;
      font-size:14px;
      line-height:1.7;
    }
    .article-meta{
      display:flex;
      flex-wrap:wrap;
      gap:9px 17px;
      margin-top:auto;
      color:#718096;
      font-size:12px;
    }
    .article-meta span{display:inline-flex;align-items:center;gap:4px}
    .article-tags{
      display:flex;
      flex-wrap:wrap;
      gap:6px;
      margin-top:13px;
    }
    .article-tags span{
      padding:4px 9px;
      border-radius:6px;
      color:#466388;
      background:#f0f5fb;
      font-size:11px;
    }
    .read-more{
      align-self:flex-start;
      margin-top:16px;
      color:var(--theme);
      font-size:13px;
      font-weight:900;
    }
    .read-more:hover{color:#082b68}
    .pagination{
      display:flex;
      justify-content:center;
      flex-wrap:wrap;
      gap:7px;
      padding:12px 0 76px;
    }
    .pagination a{
      min-width:38px;
      padding:8px 12px;
      border:1px solid #d8e3f0;
      border-radius:8px;
      color:#4b6381;
      text-align:center;
      font-size:13px;
      font-weight:700;
      background:#fff;
    }
    .pagination a:hover,.pagination a.active{
      border-color:var(--theme);
      color:#fff;
      background:var(--theme);
    }

    .footer{
      padding:52px 0 20px;
      color:#cbd8ec;
      background:#071d42;
    }
    .footer-main{
      display:grid;
      grid-template-columns:1.5fr 1fr 1fr 1.15fr;
      gap:36px;
      padding-bottom:35px;
    }
    .footer-brand strong{
      color:#fff;
      font-size:20px;
    }
    .footer p{margin:12px 0;color:#aebed7;font-size:13px}
    .footer h3{
      margin:0 0 14px;
      color:#fff;
      font-size:14px;
    }
    .footer-links{display:grid;gap:8px}
    .footer-links a{
      color:#aebed7;
      font-size:13px;
    }
    .footer-links a:hover{color:#fff}
    .footer-bottom{
      display:flex;
      justify-content:space-between;
      gap:20px;
      padding-top:20px;
      border-top:1px solid rgba(203,216,236,.18);
      color:#91a6c5;
      font-size:12px;
    }

    @media(max-width:1050px){
      .main-nav{display:none}
      .hamburger{display:block}
      .header-btns{margin-left:auto}
      .article-card{grid-template-columns:250px 1fr}
    }
    @media(max-width:720px){
      .container{width:min(100% - 28px,1180px)}
      .topbar .container{align-items:flex-start;flex-direction:column;gap:3px}
      .topbar-links{gap:12px;flex-wrap:wrap}
      .header-inner{min-height:68px;gap:10px}
      .member-btn{display:none}
      .category-hero{padding:50px 0 30px}
      .category-hero h1{font-size:39px}
      .category-hero p{font-size:15px}
      .category-tools{align-items:flex-start;flex-direction:column}
      .article-card{display:block}
      .article-cover,.article-cover img{height:210px;min-height:210px}
      .article-body{padding:21px}
      .article-body h2{font-size:21px}
      .footer-main{grid-template-columns:1fr 1fr;gap:28px 18px}
      .footer-bottom{align-items:flex-start;flex-direction:column;gap:7px}
    }
    @media(max-width:450px){
      .account-btn{display:none}
      .footer-main{grid-template-columns:1fr}
      .mega-grid{grid-template-columns:1fr}
    }