:root {
      --primary: #0B3D91;
      --primary-dark: #072b68;
      --primary-soft: #eaf1fc;
      --accent: #d4a536;
      --ink: #142033;
      --muted: #667085;
      --line: #e5e9f0;
      --surface: #ffffff;
      --background: #f5f7fb;
      --shadow: 0 18px 45px rgba(17, 35, 67, .10);
      --radius: 18px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--background);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", Arial, sans-serif;
      line-height: 1.65;
    }

    body.drawer-locked {
      overflow: hidden;
    }

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

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

    button,
    input {
      font: inherit;
    }

    button {
      color: inherit;
    }

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

    .topbar {
      color: #dce7fb;
      background: #071a39;
      font-size: 13px;
    }

    .topbar-inner {
      min-height: 36px;
      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: #ffffff;
    }

    .header {
      position: relative;
      z-index: 50;
      color: var(--ink);
      background: rgba(255, 255, 255, .98);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 5px 22px rgba(17, 35, 67, .05);
    }

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

    .logo {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      color: var(--primary);
    }

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

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

    .main-nav {
      margin-left: auto;
      align-self: stretch;
    }

    .nav-list {
      height: 100%;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: stretch;
      list-style: none;
    }

    .nav-item {
      position: static;
      display: flex;
      align-items: stretch;
    }

    .nav-link {
      position: relative;
      display: flex;
      align-items: center;
      padding: 0 12px;
      font-size: 15px;
      font-weight: 700;
      white-space: nowrap;
      transition: color .2s ease;
    }

    .nav-link::after {
      position: absolute;
      right: 12px;
      bottom: 14px;
      left: 12px;
      height: 2px;
      content: "";
      background: var(--primary);
      transform: scaleX(0);
      transition: transform .2s ease;
    }

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

    .nav-link:hover::after,
    .nav-item:focus-within > .nav-link::after {
      transform: scaleX(1);
    }

    .nav-link.has-arrow {
      gap: 6px;
    }

    .nav-link.has-arrow::before {
      width: 6px;
      height: 6px;
      margin-top: -4px;
      order: 2;
      content: "";
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      z-index: 80;
      top: 100%;
      right: 0;
      left: 0;
      padding: 16px 0 0;
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
      transform: translateY(8px);
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .dropdown-panel::before,
    .mega-menu::before {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: calc(100% + 18px);
      content: "";
      z-index: -1;
    }

    .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-shell,
    .mega-shell {
      width: min(1120px, calc(100% - 40px));
      margin: 0 auto;
      padding: 24px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 0 0 20px 20px;
      box-shadow: 0 25px 55px rgba(12, 30, 61, .16);
    }

    .dropdown-head,
    .mega-heading-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--line);
    }

    .dropdown-head strong,
    .mega-heading-row strong {
      font-size: 18px;
    }

    .dropdown-head a,
    .mega-heading-row a {
      color: var(--primary);
      font-size: 14px;
      font-weight: 700;
    }

    .dropdown-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }

    .dropdown-story {
      min-width: 0;
      display: grid;
      grid-template-columns: 72px minmax(0, 1fr);
      align-items: center;
      gap: 12px;
      padding: 10px;
      background: #f8faff;
      border: 1px solid #edf1f7;
      border-radius: 12px;
    }

    .dropdown-story img {
      width: 72px;
      height: 58px;
      object-fit: cover;
      border-radius: 9px;
    }

    .dropdown-story span {
      overflow: hidden;
      font-size: 14px;
      font-weight: 700;
      line-height: 1.45;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

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

    .mega-categories {
      display: flex;
      flex-direction: column;
      gap: 7px;
      padding: 16px;
      background: var(--primary-soft);
      border-radius: 14px;
    }

    .mega-categories-title {
      margin-bottom: 5px;
      color: var(--primary);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .08em;
    }

    .mega-categories a {
      padding: 7px 9px;
      border-radius: 8px;
      font-size: 14px;
    }

    .mega-categories a:hover {
      color: var(--primary);
      background: #ffffff;
    }

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

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

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

    .mega-card > img {
      width: 100%;
      height: 86px;
      margin-bottom: 10px;
      object-fit: cover;
      border-radius: 9px;
    }

    .mega-card > img.mega-logo,
    .mega-card > img.mega-icon {
      width: 42px;
      height: 42px;
      object-fit: contain;
      background: #f6f8fc;
    }

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

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

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

    .mega-footer {
      margin-top: 18px;
      padding: 11px 15px;
      display: block;
      color: #ffffff;
      background: var(--primary);
      border-radius: 10px;
      text-align: center;
      font-size: 14px;
      font-weight: 800;
    }

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

    .header-member {
      font-size: 14px;
      font-weight: 700;
    }

    .account-btn {
      padding: 10px 15px;
      color: #ffffff;
      background: var(--primary);
      border-radius: 10px;
      font-size: 14px;
      font-weight: 800;
      box-shadow: 0 8px 18px rgba(11, 61, 145, .18);
    }

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

    .hamburger span {
      width: 100%;
      height: 2px;
      display: block;
      background: var(--ink);
      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;
      z-index: 90;
      inset: 0;
      visibility: hidden;
      opacity: 0;
      background: rgba(5, 16, 35, .62);
      backdrop-filter: blur(3px);
      transition: opacity .25s ease, visibility .25s ease;
    }

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

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

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

    .drawer-head {
      min-height: 76px;
      padding: 15px 18px;
      display: flex;
      align-items: center;
      gap: 12px;
      color: #ffffff;
      background: var(--primary);
    }

    .drawer-head > a {
      padding: 8px 10px;
      border: 1px solid rgba(255, 255, 255, .35);
      border-radius: 8px;
      font-size: 13px;
      font-weight: 800;
    }

    .drawer-close {
      width: 40px;
      height: 40px;
      margin-left: auto;
      color: #ffffff;
      background: rgba(255, 255, 255, .12);
      border: 0;
      border-radius: 50%;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
    }

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

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

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

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

    .drawer-submenu {
      max-height: 0;
      padding: 0 10px;
      overflow: hidden;
      background: #f7f9fd;
      border-radius: 0 0 10px 10px;
      transition: max-height .3s ease, padding .3s ease;
    }

    .drawer-submenu.open {
      max-height: 800px;
      padding: 8px 10px;
    }

    .drawer-submenu a {
      padding: 9px 8px;
      display: block;
      color: var(--muted);
      border-bottom: 1px dashed #dce2ec;
      font-size: 14px;
    }

    .category-page {
      min-height: 65vh;
    }

    .category-page .category-intro {
      position: relative;
      overflow: hidden;
      color: #ffffff;
      background:
        radial-gradient(circle at 82% 20%, rgba(212, 165, 54, .28), transparent 24%),
        linear-gradient(135deg, #061a3e, var(--primary));
    }

    .category-page .category-intro::after {
      position: absolute;
      right: -80px;
      bottom: -150px;
      width: 360px;
      height: 360px;
      content: "";
      border: 1px solid rgba(255, 255, 255, .13);
      border-radius: 50%;
      box-shadow:
        0 0 0 45px rgba(255, 255, 255, .035),
        0 0 0 90px rgba(255, 255, 255, .025);
    }

    .category-page .category-intro-inner {
      position: relative;
      z-index: 1;
      padding: 64px 0 58px;
    }

    .category-page .breadcrumb {
      margin-bottom: 18px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      color: #cbd9f1;
      font-size: 14px;
    }

    .category-page .breadcrumb a:hover {
      color: #ffffff;
    }

    .category-page .category-kicker {
      margin: 0 0 10px;
      color: #f0c867;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .12em;
    }

    .category-page .category-title {
      max-width: 850px;
      margin: 0;
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.12;
      letter-spacing: -.025em;
    }

    .category-page .category-description {
      max-width: 760px;
      margin: 18px 0 0;
      color: #d7e2f5;
      font-size: 17px;
    }

    .category-page .category-summary {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 25px;
    }

    .category-page .summary-chip {
      padding: 7px 13px;
      color: #edf4ff;
      background: rgba(255, 255, 255, .09);
      border: 1px solid rgba(255, 255, 255, .17);
      border-radius: 999px;
      font-size: 13px;
    }

    .category-page .category-content {
      padding: 58px 0 76px;
    }

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

    .category-page .section-heading h2 {
      margin: 0;
      font-size: clamp(25px, 3vw, 34px);
      line-height: 1.25;
    }

    .category-page .section-heading p {
      margin: 7px 0 0;
      color: var(--muted);
    }

    .category-page .section-mark {
      padding: 6px 11px;
      color: var(--primary);
      background: var(--primary-soft);
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

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

    .category-page .article-card {
      min-width: 0;
      overflow: hidden;
      display: grid;
      grid-template-columns: minmax(270px, 33%) minmax(0, 1fr);
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 9px 28px rgba(17, 35, 67, .055);
      transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
    }

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

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

    .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;
      padding: 6px 11px;
      color: #ffffff;
      background: rgba(11, 61, 145, .93);
      border: 1px solid rgba(255, 255, 255, .28);
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
      backdrop-filter: blur(5px);
    }

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

    .category-page .article-title {
      margin: 0;
      font-size: clamp(21px, 2.5vw, 27px);
      line-height: 1.35;
    }

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

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

    .category-page .article-summary {
      margin: 13px 0 0;
      overflow: hidden;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.8;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
    }

    .category-page .article-meta {
      margin-top: 17px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px 17px;
      color: #798395;
      font-size: 13px;
    }

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

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

    .category-page .article-tags {
      margin-top: 13px;
      color: var(--primary);
      font-size: 13px;
      overflow-wrap: anywhere;
    }

    .category-page .article-actions {
      margin-top: auto;
      padding-top: 19px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

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

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

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

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

    .category-page .pagination a {
      min-width: 42px;
      height: 42px;
      padding: 0 13px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--ink);
      background: #ffffff;
      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;
    }

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

    .category-page .category-note {
      margin-top: 46px;
      padding: 22px 25px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      background: #eef3fc;
      border: 1px solid #dce6f7;
      border-radius: 16px;
    }

    .category-page .category-note p {
      margin: 0;
      color: #536079;
      font-size: 14px;
    }

    .category-page .category-note a {
      padding: 10px 15px;
      color: #ffffff;
      background: var(--primary);
      border-radius: 9px;
      font-size: 14px;
      font-weight: 800;
      white-space: nowrap;
    }

    .footer {
      color: #c7d2e4;
      background: #07162f;
    }

    .footer-main {
      padding: 60px 0 45px;
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 42px;
    }

    .footer .logo {
      color: #ffffff;
    }

    .footer-brand p {
      max-width: 390px;
      margin: 18px 0 0;
      color: #9eadc4;
      font-size: 14px;
    }

    .footer h3 {
      margin: 5px 0 17px;
      color: #ffffff;
      font-size: 16px;
    }

    .footer-links,
    .footer-contact {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 9px;
      font-size: 14px;
    }

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

    .footer-links a:hover,
    .footer-contact a:hover {
      color: #ffffff;
    }

    .footer-social {
      margin-top: 7px;
      color: #ffffff;
    }

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

    .footer-bottom p {
      margin: 0;
    }

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

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

      .hamburger {
        display: flex;
      }

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

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

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

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

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

      .topbar-contact {
        width: 100%;
        flex-wrap: wrap;
        gap: 2px 14px;
      }

      .logo span {
        max-width: 135px;
      }

      .header-member {
        display: none;
      }

      .account-btn {
        padding: 9px 11px;
      }

      .category-page .category-intro-inner {
        padding: 45px 0;
      }

      .category-page .category-description {
        font-size: 15px;
      }

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

      .category-page .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
      }

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

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

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

      .footer-main {
        padding: 45px 0 35px;
        grid-template-columns: 1fr;
        gap: 30px;
      }

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

    @media (max-width: 430px) {
      .account-btn {
        display: none;
      }

      .category-page .category-title {
        font-size: 34px;
      }

      .category-page .article-cover {
        min-height: 190px;
      }

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