:root {
      --theme: #0B3D91;
      --theme-dark: #082b66;
      --ink: #182235;
      --muted: #68758a;
      --line: #dfe5ee;
      --soft: #f4f7fb;
      --white: #ffffff;
      --shadow: 0 18px 48px rgba(13, 35, 72, .1);
      --radius: 8px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: #f6f8fc;
      font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
      line-height: 1.7;
    }

    body.drawer-locked {
      overflow: hidden;
    }

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

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

    button,
    input {
      font: inherit;
    }

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

    .topbar {
      color: #d8e4f7;
      background: #101a2d;
      font-size: 13px;
    }

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

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

    .topbar a:hover {
      color: #ffffff;
    }

    .header {
      position: relative;
      z-index: 20;
      background: rgba(255, 255, 255, .97);
      border-bottom: 1px solid var(--line);
    }

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

    .logo {
      display: inline-flex;
      align-items: center;
      flex: 0 0 auto;
      gap: 10px;
      color: var(--ink);
      font-size: 18px;
      font-weight: 800;
      letter-spacing: 0;
    }

    .logo img {
      width: 34px;
      height: 34px;
      object-fit: contain;
    }

    .main-nav {
      flex: 1;
    }

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

    .nav-item {
      position: relative;
    }

    .nav-link {
      display: inline-flex;
      align-items: center;
      min-height: 76px;
      padding: 0 13px;
      color: #36445b;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

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

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

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

    .mega-menu {
      width: min(760px, 80vw);
      padding: 22px;
    }

    .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 a {
      display: block;
      padding: 9px 2px;
      color: #3c4960;
      font-size: 14px;
      border-bottom: 1px solid #edf0f5;
    }

    .dropdown-panel a:hover {
      color: var(--theme);
    }

    .dropdown-panel .dropdown-all {
      margin-top: 8px;
      color: var(--theme);
      font-weight: 800;
      border: 0;
    }

    .mega-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 15px;
    }

    .mega-head strong {
      color: var(--ink);
      font-size: 16px;
    }

    .mega-head span {
      color: var(--muted);
      font-size: 12px;
    }

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

    .mega-card {
      display: flex;
      min-width: 0;
      gap: 10px;
      padding: 10px;
      background: #f7f9fc;
      border: 1px solid #e9edf4;
      border-radius: 6px;
    }

    .mega-card:hover {
      border-color: #aabfdf;
      background: #eef4fd;
    }

    .mega-card > img {
      width: 40px;
      height: 40px;
      flex: 0 0 40px;
      object-fit: cover;
      border-radius: 5px;
    }

    .mega-card-body {
      min-width: 0;
      display: grid;
      gap: 2px;
    }

    .mega-card-body strong,
    .mega-card-body small {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card-body strong {
      color: var(--ink);
      font-size: 13px;
    }

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

    .mega-categories {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-bottom: 15px;
    }

    .mega-categories a {
      padding: 5px 10px;
      color: var(--theme);
      background: #edf3fc;
      border-radius: 4px;
      font-size: 12px;
    }

    .mega-footer {
      display: inline-block;
      margin-top: 16px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
    }

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

    .header-btns > a:first-child {
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }

    .account-btn {
      padding: 9px 16px;
      color: #ffffff;
      background: var(--theme);
      border-radius: 5px;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

    .account-btn:hover {
      background: var(--theme-dark);
    }

    .hamburger {
      display: none;
      width: 42px;
      height: 42px;
      padding: 9px;
      cursor: pointer;
      background: transparent;
      border: 1px solid var(--line);
      border-radius: 5px;
    }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      margin: 5px auto;
      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;
      inset: 0;
      z-index: 40;
      visibility: hidden;
      opacity: 0;
      background: rgba(8, 18, 36, .56);
      transition: opacity .2s ease, visibility .2s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 50;
      width: min(360px, 88vw);
      height: 100vh;
      overflow-y: auto;
      visibility: hidden;
      transform: translateX(100%);
      background: #ffffff;
      box-shadow: -14px 0 40px rgba(5, 18, 42, .18);
      transition: transform .25s ease, visibility .25s ease;
    }

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

    .drawer-head {
      min-height: 76px;
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px 20px;
      border-bottom: 1px solid var(--line);
    }

    .drawer-head > :first-child {
      flex: 1;
      color: var(--theme);
      font-weight: 800;
    }

    .drawer-head a {
      color: var(--theme);
      font-size: 14px;
      font-weight: 800;
    }

    .drawer-close {
      width: 34px;
      height: 34px;
      padding: 0;
      color: var(--ink);
      cursor: pointer;
      background: var(--soft);
      border: 0;
      border-radius: 50%;
      font-size: 25px;
      line-height: 1;
    }

    .drawer-menu {
      padding: 12px 20px 32px;
    }

    .drawer-link,
    .drawer-toggle {
      display: block;
      width: 100%;
      padding: 14px 0;
      color: var(--ink);
      text-align: left;
      background: transparent;
      border: 0;
      border-bottom: 1px solid #edf0f5;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
    }

    .drawer-toggle::after {
      content: "+";
      float: right;
      color: var(--theme);
      font-size: 20px;
      font-weight: 400;
    }

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

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

    .drawer-submenu.open {
      display: block;
    }

    .drawer-submenu a {
      display: block;
      padding: 8px 0;
      color: var(--muted);
      font-size: 13px;
    }

    .drawer-submenu a:hover {
      color: var(--theme);
    }

    .tag-page {
      min-height: 620px;
      padding: 68px 0 90px;
    }

    .tag-hero {
      position: relative;
      overflow: hidden;
      padding: 48px;
      color: #ffffff;
      background:
        linear-gradient(120deg, rgba(11, 61, 145, .98), rgba(24, 34, 53, .94)),
        linear-gradient(135deg, #0B3D91, #182235);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .tag-hero::after {
      content: "";
      position: absolute;
      right: -70px;
      bottom: -100px;
      width: 300px;
      height: 300px;
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 50%;
      box-shadow: 0 0 0 34px rgba(255, 255, 255, .04), 0 0 0 68px rgba(255, 255, 255, .03);
    }

    .tag-kicker {
      position: relative;
      z-index: 1;
      margin: 0 0 10px;
      color: #a9c9fb;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 1px;
    }

    .tag-hero h1 {
      position: relative;
      z-index: 1;
      max-width: 720px;
      margin: 0;
      font-size: clamp(30px, 5vw, 54px);
      line-height: 1.2;
    }

    .tag-hero p {
      position: relative;
      z-index: 1;
      max-width: 660px;
      margin: 16px 0 0;
      color: #dbe7f9;
      font-size: 16px;
    }

    .tag-count {
      position: relative;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 25px;
      padding: 8px 13px;
      color: #ffffff;
      background: rgba(255, 255, 255, .12);
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 4px;
      font-size: 13px;
    }

    .tag-content {
      margin-top: 42px;
    }

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

    .section-heading h2 {
      margin: 0;
      color: var(--ink);
      font-size: 25px;
      line-height: 1.3;
    }

    .section-heading span {
      color: var(--muted);
      font-size: 13px;
    }

    .tag-articles {
      display: grid;
      gap: 16px;
    }

    .tag-article {
      display: grid;
      grid-template-columns: 230px minmax(0, 1fr);
      min-width: 0;
      overflow: hidden;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 8px 26px rgba(25, 47, 82, .05);
    }

    .tag-article-image {
      min-height: 170px;
      background: #e9eef6;
    }

    .tag-article-image img {
      width: 100%;
      height: 100%;
      min-height: 170px;
      object-fit: cover;
    }

    .tag-article-body {
      min-width: 0;
      padding: 22px 25px;
    }

    .article-label {
      display: inline-block;
      margin-bottom: 8px;
      color: var(--theme);
      font-size: 12px;
      font-weight: 800;
    }

    .tag-article h3 {
      margin: 0;
      color: var(--ink);
      font-size: 20px;
      line-height: 1.4;
    }

    .tag-article h3 a:hover {
      color: var(--theme);
    }

    .tag-article-summary {
      display: -webkit-box;
      overflow: hidden;
      margin: 10px 0 13px;
      color: var(--muted);
      font-size: 14px;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .article-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 18px;
      color: #7b8798;
      font-size: 12px;
    }

    .article-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 12px;
      color: var(--theme);
      font-size: 12px;
    }

    .article-read {
      display: inline-flex;
      margin-top: 14px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
    }

    .article-read::after {
      content: "→";
      margin-left: 7px;
    }

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

    .pagination a {
      min-width: 38px;
      padding: 7px 12px;
      color: var(--muted);
      text-align: center;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 4px;
      font-size: 13px;
    }

    .pagination a:hover,
    .pagination a.active {
      color: #ffffff;
      background: var(--theme);
      border-color: var(--theme);
    }

    .footer {
      color: #c6d1e1;
      background: #101a2d;
    }

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

    .footer .logo {
      color: #ffffff;
    }

    .footer-brand p {
      max-width: 320px;
      margin: 18px 0 0;
      color: #93a2b8;
      font-size: 13px;
    }

    .footer h3 {
      margin: 2px 0 15px;
      color: #ffffff;
      font-size: 14px;
    }

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

    .footer-links a,
    .footer-contact a {
      color: #aab8cc;
      font-size: 13px;
    }

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

    .footer-social {
      color: #aab8cc;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding: 18px 0 22px;
      color: #7f8da3;
      border-top: 1px solid rgba(255, 255, 255, .1);
      font-size: 12px;
    }

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

      .hamburger {
        display: block;
      }

      .header-inner {
        justify-content: space-between;
      }

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

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

      .topbar-inner {
        min-height: 34px;
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        padding: 6px 0;
      }

      .topbar-contact {
        gap: 12px;
      }

      .header-inner {
        min-height: 68px;
        gap: 12px;
      }

      .header-btns {
        gap: 8px;
      }

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

      .account-btn {
        padding: 8px 11px;
        font-size: 12px;
      }

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

      .tag-hero {
        padding: 32px 24px;
      }

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

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

      .section-heading {
        display: block;
      }

      .section-heading span {
        display: block;
        margin-top: 6px;
      }

      .tag-article {
        display: block;
      }

      .tag-article-image,
      .tag-article-image img {
        min-height: 190px;
        height: 190px;
      }

      .tag-article-body {
        padding: 19px;
      }

      .tag-article h3 {
        font-size: 18px;
      }

      .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 42px 0 34px;
      }

      .footer-bottom {
        display: block;
      }

      .footer-bottom span {
        display: block;
        margin-top: 5px;
      }
    }