:root{
      --brand:#0B3D91;
      --brand-dark:#07285f;
      --brand-light:#eaf1ff;
      --accent:#c99736;
      --ink:#142033;
      --muted:#647087;
      --line:#dce3ee;
      --surface:#ffffff;
      --soft:#f4f7fb;
      --theme-template:"{主题色}";
      --shadow:0 16px 40px rgba(15,35,70,.1);
      --radius:18px;
    }

    *{
      box-sizing:border-box;
    }

    html{
      scroll-behavior:smooth;
    }

    body{
      margin:0;
      color:var(--ink);
      background:var(--soft);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang TC","Noto Sans TC","Microsoft JhengHei",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;
    }

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

    .topbar{
      color:#dce7ff;
      background:#071b3d;
      font-size:13px;
    }

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

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

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

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

    .header{
      position:relative;
      z-index:40;
      border-bottom:1px solid rgba(11,61,145,.1);
      background:rgba(255,255,255,.98);
      box-shadow:0 7px 24px rgba(18,39,73,.05);
    }

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

    .logo{
      min-width:0;
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--brand-dark);
      font-weight:850;
      letter-spacing:.01em;
    }

    .logo img{
      width:42px;
      height:42px;
      flex:0 0 42px;
      border-radius:11px;
      object-fit:contain;
      background:#ffffff;
    }

    .logo span{
      max-width:170px;
      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:relative;
      display:flex;
      align-items:stretch;
    }

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

    .nav-link::after{
      content:"";
      position:absolute;
      right:13px;
      bottom:15px;
      left:13px;
      height:2px;
      border-radius:2px;
      background:var(--brand);
      transform:scaleX(0);
      transition:transform .2s ease;
    }

    .nav-link.has-arrow{
      padding-right:27px;
    }

    .nav-link.has-arrow::before{
      content:"";
      position:absolute;
      right:12px;
      top:50%;
      width:6px;
      height:6px;
      margin-top:-5px;
      border-right:2px solid currentColor;
      border-bottom:2px solid currentColor;
      transform:rotate(45deg);
      transition:transform .2s ease;
    }

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

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

    .nav-item:hover .nav-link.has-arrow::before,
    .nav-item:focus-within .nav-link.has-arrow::before{
      transform:rotate(225deg);
      margin-top:0;
    }

    .dropdown-panel,
    .mega-menu{
      position:absolute;
      top:100%;
      z-index:50;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      border:1px solid var(--line);
      background:#ffffff;
      box-shadow:0 24px 60px rgba(14,35,68,.16);
      transform:translateY(8px);
      transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
    }

    .dropdown-panel::before,
    .mega-menu::before{
      content:"";
      position:absolute;
      right:0;
      bottom:100%;
      left:0;
      height:12px;
    }

    .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{
      left:0;
      width:330px;
      padding:20px;
      border-radius:0 0 16px 16px;
    }

    .dropdown-title{
      margin:0 0 12px;
      color:var(--brand);
      font-size:13px;
      font-weight:850;
      letter-spacing:.08em;
    }

    .dropdown-article{
      display:block;
      padding:10px 0;
      border-bottom:1px solid #edf1f6;
      color:#29364b;
      font-size:14px;
      font-weight:650;
    }

    .dropdown-article:hover{
      color:var(--brand);
    }

    .dropdown-more{
      display:inline-flex;
      margin-top:15px;
      color:var(--brand);
      font-size:14px;
      font-weight:800;
    }

    .mega-menu{
      left:50%;
      width:min(920px,calc(100vw - 40px));
      padding:24px;
      border-radius:0 0 20px 20px;
      transform:translate(-50%,8px);
    }

    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu{
      transform:translate(-50%,0);
    }

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

    .mega-head strong{
      color:var(--brand-dark);
      font-size:20px;
    }

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

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

    .mega-card{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:12px;
      padding:12px;
      border:1px solid #e6ebf3;
      border-radius:13px;
      background:#ffffff;
      transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
    }

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

    .mega-card > img{
      width:48px;
      height:48px;
      flex:0 0 48px;
      border-radius:10px;
      object-fit:cover;
      background:#edf2f8;
    }

    .mega-card-body{
      min-width:0;
      display:block;
    }

    .mega-card-body strong,
    .mega-card-body small,
    .mega-card-body p{
      display:block;
    }

    .mega-card-body strong{
      overflow:hidden;
      color:#1b2940;
      font-size:14px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

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

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

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

    .mega-categories{
      display:flex;
      flex-direction:column;
      gap:7px;
      padding-right:18px;
      border-right:1px solid var(--line);
    }

    .mega-categories a{
      padding:8px 10px;
      border-radius:8px;
      color:#3b4960;
      font-size:13px;
      font-weight:700;
    }

    .mega-categories a:hover{
      color:var(--brand);
      background:var(--brand-light);
    }

    .mega-footer{
      display:flex;
      align-items:center;
      justify-content:center;
      margin-top:18px;
      padding:11px;
      border-radius:10px;
      color:#ffffff;
      background:var(--brand);
      font-size:14px;
      font-weight:800;
    }

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

    .member-entry{
      display:inline-flex;
      align-items:center;
      color:var(--brand);
      font-size:14px;
      font-weight:800;
      white-space:nowrap;
    }

    .member-entry a{
      color:inherit;
    }

    .open-account{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 18px;
      border-radius:10px;
      color:#ffffff;
      background:var(--brand);
      font-size:14px;
      font-weight:850;
      box-shadow:0 8px 20px rgba(11,61,145,.2);
    }

    .open-account:hover{
      background:var(--brand-dark);
    }

    .hamburger{
      width:42px;
      height:42px;
      display:none;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      padding:0;
      border:1px solid var(--line);
      border-radius:10px;
      color:var(--ink);
      background:#ffffff;
      cursor:pointer;
    }

    .hamburger span{
      width:20px;
      height:2px;
      border-radius:2px;
      background:currentColor;
      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(4,14,33,.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:90;
      width:min(390px,92vw);
      overflow-y:auto;
      background:#ffffff;
      box-shadow:-20px 0 50px rgba(0,0,0,.2);
      transform:translateX(105%);
      transition:transform .25s ease;
    }

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

    .drawer-head{
      min-height:72px;
      display:flex;
      align-items:center;
      gap:12px;
      padding:14px 20px;
      border-bottom:1px solid var(--line);
      color:var(--brand);
      font-weight:800;
    }

    .drawer-head > a{
      padding:8px 13px;
      border-radius:8px;
      color:#ffffff;
      background:var(--brand);
    }

    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      padding:0;
      border:0;
      color:#26344a;
      background:transparent;
      font-size:30px;
      line-height:1;
      cursor:pointer;
    }

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

    .drawer-link,
    .drawer-toggle{
      width:100%;
      min-height:48px;
      display:flex;
      align-items:center;
      padding:10px 4px;
      border:0;
      border-bottom:1px solid #edf1f5;
      color:#223149;
      background:transparent;
      font-weight:800;
      text-align:left;
      cursor:pointer;
    }

    .drawer-toggle{
      position:relative;
      padding-right:30px;
    }

    .drawer-toggle::after{
      content:"+";
      position:absolute;
      right:5px;
      color:var(--brand);
      font-size:22px;
      font-weight:500;
    }

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

    .drawer-submenu{
      display:none;
      padding:8px 0 10px 15px;
      border-bottom:1px solid #edf1f5;
    }

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

    .drawer-submenu a{
      display:block;
      padding:9px 8px;
      border-radius:7px;
      color:#5a6679;
      font-size:14px;
    }

    .drawer-submenu a:hover{
      color:var(--brand);
      background:var(--brand-light);
    }

    .category-page{
      min-height:70vh;
      padding-bottom:76px;
    }

    .category-page .category-hero{
      position:relative;
      overflow:hidden;
      padding:72px 0 66px;
      color:#ffffff;
      background:
        radial-gradient(circle at 12% 18%,rgba(201,151,54,.2),transparent 28%),
        radial-gradient(circle at 88% 80%,rgba(65,123,222,.35),transparent 30%),
        linear-gradient(130deg,#06172f 0%,#0B3D91 58%,#06285f 100%);
    }

    .category-page .category-hero::before,
    .category-page .category-hero::after{
      content:"";
      position:absolute;
      border:1px solid rgba(255,255,255,.12);
      border-radius:50%;
    }

    .category-page .category-hero::before{
      width:420px;
      height:420px;
      top:-280px;
      right:8%;
    }

    .category-page .category-hero::after{
      width:250px;
      height:250px;
      bottom:-185px;
      left:8%;
    }

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

    .category-page .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:15px;
      color:#f0ca73;
      font-size:13px;
      font-weight:850;
      letter-spacing:.12em;
    }

    .category-page .eyebrow::before{
      content:"";
      width:28px;
      height:2px;
      background:#f0ca73;
    }

    .category-page .category-hero h1{
      margin:0;
      font-size:clamp(36px,6vw,66px);
      line-height:1.08;
      letter-spacing:-.035em;
    }

    .category-page .category-hero p{
      max-width:720px;
      margin:20px 0 0;
      color:#dbe7fb;
      font-size:17px;
    }

    .category-page .category-path{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-top:24px;
      color:#dce8fc;
      font-size:13px;
    }

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

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

    .category-page .toolbar-inner{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
      min-height:66px;
      padding:13px 18px;
      border:1px solid rgba(11,61,145,.1);
      border-radius:16px;
      background:#ffffff;
      box-shadow:var(--shadow);
    }

    .category-page .toolbar-title{
      color:var(--brand-dark);
      font-weight:850;
    }

    .category-page .toolbar-tags{
      display:flex;
      flex-wrap:wrap;
      justify-content:flex-end;
      gap:8px;
    }

    .category-page .toolbar-tags a{
      padding:7px 12px;
      border:1px solid var(--line);
      border-radius:999px;
      color:#536077;
      background:#ffffff;
      font-size:13px;
      font-weight:700;
    }

    .category-page .toolbar-tags a:hover{
      border-color:var(--brand);
      color:var(--brand);
      background:var(--brand-light);
    }

    .category-page .content-section{
      padding-top:48px;
    }

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

    .category-page .section-head h2{
      margin:0;
      color:var(--brand-dark);
      font-size:30px;
      line-height:1.2;
    }

    .category-page .section-head p{
      margin:6px 0 0;
      color:var(--muted);
      font-size:14px;
    }

    .category-page .section-mark{
      color:var(--brand);
      font-size:13px;
      font-weight:850;
      letter-spacing:.08em;
      white-space:nowrap;
    }

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

    .category-page .article-card{
      min-width:0;
      display:grid;
      grid-template-columns:320px minmax(0,1fr);
      overflow:hidden;
      border:1px solid #e0e6ef;
      border-radius:var(--radius);
      background:#ffffff;
      box-shadow:0 8px 28px rgba(16,36,68,.06);
      transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
    }

    .category-page .article-card:hover{
      border-color:rgba(11,61,145,.35);
      box-shadow:0 18px 44px rgba(11,61,145,.11);
      transform:translateY(-3px);
    }

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

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

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

    .category-page .article-category{
      position:absolute;
      top:16px;
      left:16px;
      max-width:calc(100% - 32px);
      padding:7px 12px;
      overflow:hidden;
      border-radius:999px;
      color:#ffffff;
      background:rgba(6,25,60,.84);
      box-shadow:0 6px 16px rgba(0,0,0,.15);
      font-size:12px;
      font-weight:850;
      text-overflow:ellipsis;
      white-space:nowrap;
      backdrop-filter:blur(8px);
    }

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

    .category-page .article-title{
      margin:0;
      color:#17253a;
      font-size:24px;
      line-height:1.35;
    }

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

    .category-page .article-summary{
      margin:13px 0 0;
      overflow:hidden;
      color:#5e6a7e;
      font-size:15px;
      line-height:1.75;
      display:-webkit-box;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }

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

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

    .category-page .article-tags{
      margin-top:12px;
      color:#536580;
      font-size:13px;
      line-height:1.7;
      overflow-wrap:anywhere;
    }

    .category-page .article-tags strong{
      color:var(--brand);
    }

    .category-page .article-actions{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      margin-top:auto;
      padding-top:20px;
    }

    .category-page .read-more{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:42px;
      padding:0 18px;
      border-radius:10px;
      color:#ffffff;
      background:var(--brand);
      font-size:14px;
      font-weight:850;
    }

    .category-page .read-more:hover{
      background:var(--brand-dark);
    }

    .category-page .read-hint{
      color:#8b94a4;
      font-size:12px;
    }

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

    .category-page .pagination a{
      min-width:42px;
      min-height:42px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:7px 13px;
      border:1px solid var(--line);
      border-radius:10px;
      color:#47556c;
      background:#ffffff;
      font-size:14px;
      font-weight:800;
      transition:all .2s ease;
    }

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

    .category-page .newsletter-panel{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:30px;
      margin-top:54px;
      padding:32px;
      border-radius:20px;
      color:#ffffff;
      background:linear-gradient(125deg,#071b3d,#0B3D91);
      box-shadow:var(--shadow);
    }

    .category-page .newsletter-panel h2{
      margin:0;
      font-size:25px;
    }

    .category-page .newsletter-panel p{
      max-width:680px;
      margin:7px 0 0;
      color:#d6e3f8;
      font-size:14px;
    }

    .category-page .newsletter-panel a{
      flex:0 0 auto;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:46px;
      padding:0 20px;
      border-radius:11px;
      color:#172238;
      background:#e7bd62;
      font-weight:850;
    }

    .footer{
      color:#cbd7e9;
      background:#06172f;
    }

    .footer-main{
      display:grid;
      grid-template-columns:1.4fr repeat(3,1fr);
      gap:44px;
      padding-top:58px;
      padding-bottom:44px;
    }

    .footer .logo{
      color:#ffffff;
    }

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

    .social-links{
      color:#ffffff;
    }

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

    .footer-links,
    .footer-contact{
      display:flex;
      flex-direction:column;
      gap:10px;
      color:#adbbcf;
      font-size:14px;
    }

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

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

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

    @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:1.3fr 1fr 1fr;
      }

      .footer-main > div:last-child{
        grid-column:2 / 4;
      }
    }

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

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

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

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

      .header .logo img{
        width:36px;
        height:36px;
        flex-basis:36px;
      }

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

      .member-entry{
        display:none;
      }

      .open-account{
        min-height:38px;
        padding:0 14px;
      }

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

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

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

      .category-page .toolbar-tags{
        justify-content:flex-start;
      }

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

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

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

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

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

      .category-page .newsletter-panel{
        align-items:flex-start;
        flex-direction:column;
        padding:26px;
      }

      .footer-main{
        grid-template-columns:1fr 1fr;
        gap:34px 24px;
      }

      .footer-main > div:last-child{
        grid-column:auto;
      }

      .footer-brand{
        grid-column:1 / -1;
      }
    }

    @media (max-width:520px){
      .header .logo span{
        max-width:100px;
        font-size:14px;
      }

      .open-account{
        padding:0 11px;
        font-size:13px;
      }

      .hamburger{
        width:39px;
        height:39px;
      }

      .category-page .category-hero h1{
        font-size:38px;
      }

      .category-page .content-section{
        padding-top:38px;
      }

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

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

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

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

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

      .footer-main{
        grid-template-columns:1fr;
      }

      .footer-brand,
      .footer-main > div:last-child{
        grid-column:auto;
      }

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