:root {
      --primary: #0B3D91;
      --primary-dark: #06265d;
      --primary-soft: #eaf1ff;
      --accent: #d79b2b;
      --accent-soft: #fff4d8;
      --ink: #172033;
      --muted: #647087;
      --line: #dfe5ef;
      --surface: #ffffff;
      --surface-soft: #f5f7fb;
      --footer: #071a38;
      --shadow: 0 18px 45px rgba(13, 35, 72, .10);
      --radius: 18px;
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--surface-soft);
      font-family: Inter, "Segoe UI", Arial, sans-serif;
      line-height: 1.65;
    }

    body.drawer-lock {
      overflow: hidden;
    }

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

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

    button,
    input {
      font: inherit;
    }

    button {
      color: inherit;
    }

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

    .skip-link {
      position: fixed;
      top: 12px;
      left: 12px;
      z-index: 5000;
      padding: 10px 16px;
      color: #fff;
      background: var(--primary);
      border-radius: 8px;
      transform: translateY(-160%);
      transition: transform .2s ease;
    }

    .skip-link:focus {
      transform: translateY(0);
    }

    .topbar {
      color: #e5edff;
      background: var(--primary-dark);
      font-size: .84rem;
    }

    .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: 20px;
    }

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

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

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

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

    .logo {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--primary-dark);
      font-weight: 800;
      letter-spacing: -.02em;
    }

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

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

    .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: static;
      display: flex;
      align-items: center;
    }

    .nav-link {
      height: 100%;
      display: inline-flex;
      align-items: center;
      padding: 0 12px;
      color: #26344d;
      font-size: .94rem;
      font-weight: 700;
      border-bottom: 3px solid transparent;
      transition: color .2s ease, border-color .2s ease;
    }

    .nav-link:hover,
    .nav-item:focus-within > .nav-link,
    .nav-item:hover > .nav-link {
      color: var(--primary);
      border-bottom-color: var(--accent);
    }

    .has-arrow::after {
      width: 7px;
      height: 7px;
      margin: -4px 0 0 8px;
      content: "";
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      z-index: 1100;
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
      transform: translateY(10px);
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .dropdown-panel::before,
    .mega-menu::before {
      position: absolute;
      right: 0;
      bottom: 100%;
      left: 0;
      height: 8px;
      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;
      pointer-events: auto;
      transform: translateY(0);
    }

    .dropdown-panel {
      width: 310px;
      margin-left: -60px;
      padding: 14px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 0 0 16px 16px;
      box-shadow: var(--shadow);
    }

    .dropdown-heading {
      padding: 5px 10px 10px;
      color: var(--muted);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .dropdown-panel a {
      display: block;
      padding: 10px;
      color: #33415b;
      font-size: .91rem;
      font-weight: 650;
      border-radius: 8px;
    }

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

    .mega-menu {
      right: 0;
      left: 0;
      width: 100%;
      padding: 24px max(24px, calc((100vw - var(--container)) / 2));
      background: #fff;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

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

    .mega-side {
      padding: 20px;
      color: #fff;
      background: linear-gradient(145deg, var(--primary), var(--primary-dark));
      border-radius: 16px;
    }

    .mega-side h3 {
      margin: 0 0 8px;
      font-size: 1.12rem;
    }

    .mega-side p {
      margin: 0;
      color: #dce7ff;
      font-size: .88rem;
    }

    .mega-side-links {
      display: grid;
      gap: 7px;
      margin-top: 16px;
    }

    .mega-side-links a {
      padding: 7px 0;
      color: #fff;
      font-size: .88rem;
      font-weight: 700;
      border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

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

    .mega-card {
      min-width: 0;
      padding: 13px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 13px;
      transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    }

    .mega-card:hover {
      border-color: #a9bbe0;
      box-shadow: 0 10px 25px rgba(11, 61, 145, .10);
      transform: translateY(-2px);
    }

    .mega-card img {
      width: 42px;
      height: 42px;
      margin-bottom: 9px;
      object-fit: contain;
      border-radius: 9px;
    }

    .mega-card.video-card img,
    .mega-card.product-card img {
      width: 100%;
      height: 78px;
      object-fit: cover;
    }

    .mega-card strong {
      display: block;
      overflow: hidden;
      color: #15223a;
      font-size: .9rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card p {
      display: -webkit-box;
      margin: 6px 0;
      overflow: hidden;
      color: var(--muted);
      font-size: .78rem;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .mega-card-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 5px 9px;
      margin-top: 6px;
      color: var(--muted);
      font-size: .72rem;
    }

    .mega-footer {
      display: block;
      margin-top: 18px;
      padding-top: 14px;
      color: var(--primary);
      font-weight: 800;
      text-align: right;
      border-top: 1px solid var(--line);
    }

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

    .header-btns > a {
      display: inline-flex;
      min-height: 40px;
      align-items: center;
      justify-content: center;
      padding: 8px 14px;
      color: #fff;
      background: var(--primary);
      border-radius: 9px;
      font-size: .86rem;
      font-weight: 800;
    }

    .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;
      display: block;
      background: var(--primary-dark);
      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: 1900;
      visibility: hidden;
      opacity: 0;
      background: rgba(4, 14, 32, .62);
      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: 2000;
      width: min(390px, 92vw);
      overflow-y: auto;
      background: #fff;
      box-shadow: -20px 0 50px rgba(0, 0, 0, .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: 72px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 14px 18px;
      background: #fff;
      border-bottom: 1px solid var(--line);
    }

    .drawer-head > a {
      padding: 8px 10px;
      color: #fff;
      background: var(--primary);
      border-radius: 8px;
      font-size: .84rem;
      font-weight: 800;
    }

    .drawer-close {
      width: 40px;
      height: 40px;
      margin-left: auto;
      padding: 0;
      color: var(--primary-dark);
      background: var(--surface-soft);
      border: 0;
      border-radius: 50%;
      font-size: 1.7rem;
      line-height: 1;
      cursor: pointer;
    }

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

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 4px;
      background: transparent;
      border: 0;
      border-bottom: 1px solid var(--line);
      font-weight: 800;
      text-align: left;
      cursor: pointer;
    }

    .drawer-toggle::after {
      content: "+";
      color: var(--primary);
      font-size: 1.2rem;
    }

    .drawer-toggle.active::after {
      content: "−";
    }

    .drawer-submenu {
      max-height: 0;
      display: grid;
      gap: 3px;
      overflow: hidden;
      transition: max-height .3s ease, padding .3s ease;
    }

    .drawer-submenu.open {
      max-height: 900px;
      padding: 8px 0 12px 14px;
    }

    .drawer-submenu a {
      padding: 9px 10px;
      color: var(--muted);
      font-size: .9rem;
      border-radius: 7px;
    }

    .drawer-submenu a:hover {
      color: var(--primary);
      background: var(--primary-soft);
    }

    .category-page {
      min-height: 650px;
    }

    .category-page .category-hero {
      position: relative;
      overflow: hidden;
      padding: 78px 0 72px;
      color: #fff;
      background:
        radial-gradient(circle at 14% 20%, rgba(215, 155, 43, .32), transparent 25%),
        radial-gradient(circle at 88% 40%, rgba(75, 131, 224, .35), transparent 30%),
        linear-gradient(135deg, #061d49, #0B3D91 58%, #092d6a);
    }

    .category-page .category-hero::after {
      position: absolute;
      right: -90px;
      bottom: -160px;
      width: 430px;
      height: 430px;
      content: "";
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: 50%;
      box-shadow:
        0 0 0 55px rgba(255, 255, 255, .035),
        0 0 0 110px rgba(255, 255, 255, .025);
    }

    .category-page .category-hero-inner {
      position: relative;
      z-index: 1;
      max-width: 840px;
    }

    .category-page .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
      padding: 7px 12px;
      color: #ffe6a9;
      background: rgba(255, 255, 255, .09);
      border: 1px solid rgba(255, 255, 255, .16);
      border-radius: 999px;
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .category-page .eyebrow::before {
      width: 8px;
      height: 8px;
      content: "";
      background: var(--accent);
      border-radius: 50%;
      box-shadow: 0 0 0 5px rgba(215, 155, 43, .18);
    }

    .category-page .category-hero h1 {
      margin: 0;
      font-size: clamp(2.35rem, 6vw, 4.7rem);
      line-height: 1.04;
      letter-spacing: -.045em;
    }

    .category-page .category-hero p {
      max-width: 700px;
      margin: 22px 0 0;
      color: #dbe7ff;
      font-size: 1.05rem;
    }

    .category-page .category-toolbar {
      margin-top: -28px;
      position: relative;
      z-index: 3;
    }

    .category-page .toolbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding: 20px 24px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 16px;
      box-shadow: var(--shadow);
    }

    .category-page .toolbar-title {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
    }

    .category-page .toolbar-icon {
      width: 42px;
      height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      background: var(--primary-soft);
      border-radius: 11px;
      font-size: 1.2rem;
    }

    .category-page .toolbar-note {
      color: var(--muted);
      font-size: .9rem;
      text-align: right;
    }

    .category-page .article-section {
      padding: 58px 0 80px;
    }

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

    .category-page .section-heading h2 {
      margin: 0;
      color: var(--primary-dark);
      font-size: clamp(1.55rem, 3vw, 2.15rem);
      letter-spacing: -.025em;
    }

    .category-page .section-heading p {
      max-width: 560px;
      margin: 0;
      color: var(--muted);
      font-size: .94rem;
      text-align: right;
    }

    .category-page .article-list {
      display: grid;
      gap: 22px;
    }

    .category-page .article-card {
      min-width: 0;
      display: grid;
      grid-template-columns: 330px minmax(0, 1fr);
      overflow: hidden;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 8px 28px rgba(13, 35, 72, .06);
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .category-page .article-card:hover {
      border-color: #b9c8e3;
      box-shadow: var(--shadow);
      transform: translateY(-3px);
    }

    .category-page .article-cover {
      position: relative;
      min-height: 270px;
      overflow: hidden;
      background: #dfe7f4;
    }

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

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

    .category-page .article-category {
      position: absolute;
      top: 16px;
      left: 16px;
      max-width: calc(100% - 32px);
      padding: 7px 11px;
      overflow: hidden;
      color: #4a3004;
      background: #ffd984;
      border-radius: 999px;
      box-shadow: 0 5px 16px rgba(0, 0, 0, .12);
      font-size: .75rem;
      font-weight: 900;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

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

    .category-page .article-body h3 {
      margin: 0;
      color: #11213d;
      font-size: clamp(1.25rem, 2.2vw, 1.62rem);
      line-height: 1.28;
      letter-spacing: -.02em;
    }

    .category-page .article-body h3 a:hover {
      color: var(--primary);
    }

    .category-page .article-summary {
      display: -webkit-box;
      margin: 13px 0 17px;
      overflow: hidden;
      color: #56647a;
      font-size: .96rem;
      line-height: 1.75;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .category-page .article-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 17px;
      margin-bottom: 13px;
      color: #6d788a;
      font-size: .82rem;
    }

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

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

    .category-page .article-tags {
      min-height: 28px;
      margin-bottom: 18px;
      color: var(--primary);
      font-size: .83rem;
      font-weight: 700;
    }

    .category-page .article-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-top: auto;
      padding-top: 16px;
      border-top: 1px solid var(--line);
    }

    .category-page .read-more {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--primary);
      font-weight: 850;
    }

    .category-page .read-more::after {
      content: "→";
      transition: transform .2s ease;
    }

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

    .category-page .article-source {
      color: var(--muted);
      font-size: .78rem;
    }

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

    .category-page .pagination a {
      min-width: 42px;
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 13px;
      color: #34425c;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
      font-weight: 750;
      box-shadow: 0 4px 14px rgba(13, 35, 72, .04);
    }

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

    .category-page .category-note {
      margin-top: 54px;
      padding: 28px;
      color: #fff;
      background: linear-gradient(120deg, var(--primary-dark), var(--primary));
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .category-page .category-note h2 {
      margin: 0 0 8px;
      font-size: 1.45rem;
    }

    .category-page .category-note p {
      max-width: 850px;
      margin: 0;
      color: #dbe7ff;
    }

    .footer {
      color: #c8d5ec;
      background: var(--footer);
    }

    .footer-main {
      display: grid;
      grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
      gap: 42px;
      padding-top: 62px;
      padding-bottom: 45px;
    }

    .footer .logo {
      color: #fff;
    }

    .footer-brand p {
      max-width: 350px;
      margin: 18px 0 0;
      color: #9fb0cc;
      font-size: .9rem;
    }

    .footer h3 {
      margin: 5px 0 17px;
      color: #fff;
      font-size: 1rem;
    }

    .footer-links,
    .footer-contact {
      display: grid;
      gap: 10px;
    }

    .footer-links a,
    .footer-contact a {
      color: #aebed8;
      font-size: .88rem;
      transition: color .2s ease, transform .2s ease;
    }

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

    .footer-social {
      margin-top: 6px;
    }

    .footer-bottom {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding-top: 16px;
      padding-bottom: 16px;
      color: #8fa1bf;
      border-top: 1px solid rgba(255, 255, 255, .11);
      font-size: .82rem;
    }

    .footer-bottom-links {
      display: flex;
      gap: 18px;
    }

    .footer-bottom-links a:hover {
      color: #fff;
    }

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

      .hamburger {
        display: flex;
      }

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

      .category-page .article-card {
        grid-template-columns: 290px minmax(0, 1fr);
      }

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

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

      .topbar-inner {
        padding: 8px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
      }

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

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

      .header .logo span {
        max-width: 125px;
      }

      .header-btns > a {
        display: none;
      }

      .category-page .category-hero {
        padding: 58px 0 62px;
      }

      .category-page .category-hero h1 {
        font-size: clamp(2.1rem, 12vw, 3.5rem);
      }

      .category-page .toolbar-inner,
      .category-page .section-heading {
        align-items: flex-start;
        flex-direction: column;
      }

      .category-page .toolbar-note,
      .category-page .section-heading p {
        text-align: left;
      }

      .category-page .article-section {
        padding: 46px 0 64px;
      }

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

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

      .category-page .article-body {
        padding: 22px;
      }

      .category-page .article-summary {
        -webkit-line-clamp: 3;
      }

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

      .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 48px;
      }

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
      }
    }

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

      .category-page .article-body {
        padding: 19px;
      }

      .category-page .article-meta {
        flex-direction: column;
        gap: 6px;
      }

      .category-page .category-note {
        padding: 22px;
      }
    }