:root{
      --primary:#0B3D91;
      --primary-dark:#07285f;
      --primary-soft:#eaf2ff;
      --accent:#1b73e8;
      --ink:#101b33;
      --muted:#66728a;
      --line:#dfe6f0;
      --surface:#ffffff;
      --surface-soft:#f5f8fc;
      --success:#0c8f72;
      --shadow:0 18px 48px rgba(11,61,145,.10);
      --radius:18px;
      --container:1200px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:#fff;
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
      line-height:1.7;
      -webkit-font-smoothing:antialiased;
    }
    body.drawer-lock{overflow:hidden}
    img{display:block;max-width:100%;height:auto}
    a{color:inherit;text-decoration:none}
    button,input,textarea,select{font:inherit}
    button{cursor:pointer}
    .container{width:min(calc(100% - 40px),var(--container));margin:0 auto}

    .topbar{
      color:#dce8ff;
      background:var(--primary-dark);
      font-size:13px;
    }
    .topbar-inner{
      min-height:38px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar-contact{display:flex;align-items:center;gap:20px}
    .topbar a{transition:color .2s ease}
    .topbar a:hover{color:#fff}

    .header{
      position:relative;
      z-index:100;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 4px 18px rgba(16,27,51,.04);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:24px;
    }
    .logo{
      flex:0 0 auto;
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--primary-dark);
      font-weight:800;
      letter-spacing:-.02em;
    }
    .logo img{
      width:40px;
      height:40px;
      object-fit:contain;
      border-radius:10px;
    }
    .main-nav{align-self:stretch;margin-left:auto}
    .nav-list{
      height:100%;
      display:flex;
      align-items:stretch;
      gap:2px;
      margin:0;
      padding:0;
      list-style:none;
    }
    .nav-item{
      position:relative;
      display:flex;
      align-items:center;
    }
    .nav-link{
      min-height:78px;
      display:flex;
      align-items:center;
      padding:0 12px;
      color:#25324a;
      font-size:15px;
      font-weight:700;
      white-space:nowrap;
      transition:color .2s ease,background .2s ease;
    }
    .nav-link:hover,
    .nav-item:focus-within>.nav-link{
      color:var(--primary);
      background:var(--primary-soft);
    }
    .has-arrow::after{
      content:"";
      width:6px;
      height:6px;
      margin-left:7px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
    }
    .dropdown-panel,
    .mega-menu{
      position:absolute;
      top:100%;
      left:0;
      z-index:120;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      transform:translateY(10px);
      transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 18px 18px;
      box-shadow:0 24px 60px rgba(7,40,95,.16);
    }
    .dropdown-panel::before,
    .mega-menu::before{
      content:"";
      position:absolute;
      left:0;
      right:0;
      top:-10px;
      height:10px;
    }
    .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:330px;
      padding:18px;
    }
    .dropdown-title{
      display:block;
      padding:0 8px 10px;
      color:var(--primary-dark);
      font-size:15px;
    }
    .dropdown-article{
      display:block;
      padding:10px 8px;
      border-top:1px solid #edf1f7;
      color:#36445e;
      font-size:14px;
      line-height:1.5;
    }
    .dropdown-article:hover{color:var(--primary)}
    .dropdown-more{
      display:block;
      margin-top:10px;
      padding:10px 12px;
      color:#fff;
      background:var(--primary);
      border-radius:10px;
      text-align:center;
      font-size:14px;
      font-weight:800;
    }
    .mega-menu{
      left:50%;
      width:min(960px,calc(100vw - 40px));
      padding:24px;
      transform:translate(-50%,10px);
    }
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{transform:translate(-50%,0)}
    .mega-menu-title{
      display:flex;
      justify-content:space-between;
      align-items:end;
      gap:16px;
      margin-bottom:18px;
      padding-bottom:14px;
      border-bottom:1px solid var(--line);
    }
    .mega-menu-title strong{color:var(--primary-dark);font-size:20px}
    .mega-menu-title 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:block;
      padding:14px;
      background:var(--surface-soft);
      border:1px solid transparent;
      border-radius:14px;
      transition:transform .2s ease,border-color .2s ease,background .2s ease;
    }
    .mega-card:hover{
      transform:translateY(-2px);
      background:#fff;
      border-color:#bfd2f4;
    }
    .mega-card-head{display:flex;align-items:center;gap:10px}
    .mega-card-head img{
      width:34px;
      height:34px;
      object-fit:contain;
      border-radius:9px;
      background:#fff;
    }
    .mega-card strong{
      display:block;
      color:#17243b;
      font-size:14px;
      line-height:1.4;
    }
    .mega-card p{
      margin:8px 0 0;
      color:var(--muted);
      font-size:12px;
      line-height:1.55;
    }
    .mega-stats{
      display:flex;
      flex-wrap:wrap;
      gap:6px;
      margin-top:10px;
    }
    .mega-stats span,
    .video-duration,
    .product-meta{
      color:var(--primary);
      font-size:11px;
      font-weight:800;
    }
    .mega-footer{
      display:block;
      margin-top:18px;
      padding:11px 14px;
      color:#fff;
      background:var(--primary);
      border-radius:10px;
      text-align:center;
      font-size:14px;
      font-weight:800;
    }
    .mega-split{
      display:grid;
      grid-template-columns:190px minmax(0,1fr);
      gap:20px;
    }
    .mega-categories{
      display:flex;
      flex-direction:column;
      gap:5px;
      padding-right:18px;
      border-right:1px solid var(--line);
    }
    .mega-categories a{
      padding:9px 10px;
      color:#42506a;
      background:var(--surface-soft);
      border-radius:9px;
      font-size:13px;
      font-weight:700;
    }
    .mega-categories a:hover{color:var(--primary);background:var(--primary-soft)}
    .video-mega-card,
    .product-mega-card{
      display:grid;
      grid-template-columns:74px minmax(0,1fr);
      gap:11px;
    }
    .video-mega-card>img,
    .product-mega-card>img{
      width:74px;
      height:60px;
      object-fit:cover;
      border-radius:9px;
      background:#e9eef6;
    }
    .video-mega-copy,
    .product-mega-copy{min-width:0}
    .video-mega-copy p,
    .product-mega-copy p{
      display:-webkit-box;
      overflow:hidden;
      -webkit-line-clamp:2;
      -webkit-box-orient:vertical;
    }
    .header-btns{
      flex:0 0 auto;
      display:flex;
      align-items:center;
      gap:10px;
    }
    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border:1px solid transparent;
      border-radius:10px;
      font-weight:800;
      transition:transform .2s ease,background .2s ease;
    }
    .btn:hover{transform:translateY(-1px)}
    .btn-primary{color:#fff;background:var(--primary)}
    .btn-primary:hover{background:var(--primary-dark)}
    .btn-small{min-height:40px;padding:0 16px;font-size:14px}
    .hamburger{
      width:44px;
      height:42px;
      display:none;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      padding:0;
      color:var(--primary);
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
    }
    .hamburger span{
      width:20px;
      height: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:190;
      visibility:hidden;
      opacity:0;
      background:rgba(7,18,40,.58);
      transition:opacity .25s ease,visibility .25s ease;
    }
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      z-index:200;
      width:min(390px,90vw);
      height:100dvh;
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 60px rgba(7,40,95,.18);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      min-height:72px;
      display:flex;
      align-items:center;
      gap:12px;
      padding:14px 18px;
      color:#fff;
      background:var(--primary-dark);
    }
    .drawer-head>a{font-weight:800}
    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      padding:0;
      color:#fff;
      background:rgba(255,255,255,.12);
      border:1px solid rgba(255,255,255,.22);
      border-radius:10px;
      font-size:26px;
      line-height:1;
    }
    .drawer-menu{padding:14px 18px 30px}
    .drawer-link,
    .drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:14px 4px;
      color:#1a2943;
      background:transparent;
      border:0;
      border-bottom:1px solid var(--line);
      text-align:left;
      font-weight:800;
    }
    .drawer-toggle::after{
      content:"+";
      color:var(--primary);
      font-size:20px;
      font-weight:500;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      display:none;
      padding:8px 0 8px 14px;
      border-bottom:1px solid var(--line);
    }
    .drawer-submenu.open{display:block}
    .drawer-submenu a{
      display:block;
      padding:9px 8px;
      color:var(--muted);
      border-left:2px solid #dce7f8;
      font-size:14px;
    }
    .drawer-submenu a:hover{color:var(--primary);border-left-color:var(--primary)}

    .article-page{
      min-width:0;
      padding:44px 0 76px;
      background:
        radial-gradient(circle at 50% 0,rgba(27,115,232,.08),transparent 34%),
        linear-gradient(180deg,#f8fbff 0,#fff 420px);
    }
    .article-page .article-shell{
      width:min(calc(100% - 40px),960px);
      margin:0 auto;
    }
    .article-page .breadcrumb{
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      gap:8px;
      margin-bottom:24px;
      color:var(--muted);
      font-size:14px;
    }
    .article-page .breadcrumb a{color:var(--primary);font-weight:700}
    .article-page .article-card{
      min-width:0;
      overflow:hidden;
      background:#fff;
      border:1px solid var(--line);
      border-radius:26px;
      box-shadow:var(--shadow);
    }
    .article-page .article-header{
      padding:48px 56px 34px;
      text-align:center;
      border-bottom:1px solid var(--line);
    }
    .article-page .article-kicker{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:18px;
      padding:7px 13px;
      color:var(--primary);
      background:var(--primary-soft);
      border-radius:999px;
      font-size:13px;
      font-weight:800;
    }
    .article-page .article-kicker::before{
      content:"";
      width:7px;
      height:7px;
      background:var(--accent);
      border-radius:50%;
      box-shadow:0 0 0 5px rgba(27,115,232,.11);
    }
    .article-page h1{
      margin:0;
      color:#0d1c37;
      font-size:clamp(32px,5vw,54px);
      line-height:1.16;
      letter-spacing:-.035em;
      overflow-wrap:anywhere;
    }
    .article-page .article-meta{
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      justify-content:center;
      gap:10px 22px;
      margin-top:22px;
      color:var(--muted);
      font-size:14px;
    }
    .article-page .article-meta span{
      display:inline-flex;
      align-items:center;
      gap:7px;
    }
    .article-page .article-meta span::before{
      content:"";
      width:6px;
      height:6px;
      background:#9eb3d5;
      border-radius:50%;
    }
    .article-page .article-tags{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:8px;
      margin-top:20px;
      color:var(--primary);
      font-size:13px;
      font-weight:700;
    }
    .article-page .article-tags::before{
      content:"主題標籤";
      color:var(--muted);
      font-weight:600;
    }
    .article-page .article-content{
      min-width:0;
      max-width:100%;
      overflow-x:auto;
      padding:46px 56px 52px;
      color:#273750;
      font-size:17px;
      line-height:1.9;
      overflow-wrap:anywhere;
    }
    .article-page .article-content>*:first-child{margin-top:0}
    .article-page .article-content>*:last-child{margin-bottom:0}
    .article-page .article-content h2,
    .article-page .article-content h3,
    .article-page .article-content h4{
      color:#10213f;
      line-height:1.35;
      scroll-margin-top:24px;
    }
    .article-page .article-content h2{
      margin:2.2em 0 .8em;
      padding-left:15px;
      border-left:4px solid var(--primary);
      font-size:29px;
    }
    .article-page .article-content h3{margin:1.8em 0 .7em;font-size:23px}
    .article-page .article-content p{margin:0 0 1.35em}
    .article-page .article-content a{
      color:var(--primary);
      text-decoration:underline;
      text-underline-offset:3px;
    }
    .article-page .article-content img{
      max-width:100%;
      height:auto;
      margin:28px auto;
      border-radius:16px;
    }
    .article-page .article-content table{
      width:100%;
      max-width:100%;
      border-collapse:collapse;
      margin:26px 0;
      font-size:15px;
    }
    .article-page .article-content th,
    .article-page .article-content td{
      padding:12px 14px;
      border:1px solid var(--line);
      text-align:left;
    }
    .article-page .article-content th{
      color:var(--primary-dark);
      background:var(--primary-soft);
    }
    .article-page .article-content blockquote{
      margin:28px 0;
      padding:20px 24px;
      color:#29446f;
      background:#f2f7ff;
      border-left:4px solid var(--accent);
      border-radius:0 14px 14px 0;
    }
    .article-page .article-content pre{
      max-width:100%;
      overflow-x:auto;
      padding:20px;
      color:#dbe9ff;
      background:#071a3b;
      border-radius:14px;
    }
    .article-page .article-content iframe,
    .article-page .article-content video{
      max-width:100%;
    }
    .article-page .article-navigation{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:16px;
      margin-top:24px;
    }
    .article-page .article-navigation a{
      min-width:0;
      display:flex;
      flex-direction:column;
      justify-content:center;
      min-height:112px;
      padding:20px 22px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:16px;
      box-shadow:0 8px 28px rgba(11,61,145,.06);
      transition:transform .2s ease,border-color .2s ease;
    }
    .article-page .article-navigation a:hover{
      transform:translateY(-2px);
      border-color:#a9c3ec;
    }
    .article-page .article-navigation span{
      margin-bottom:5px;
      color:var(--muted);
      font-size:13px;
      font-weight:700;
    }
    .article-page .article-navigation strong{
      overflow:hidden;
      color:#162640;
      font-size:16px;
      line-height:1.55;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .article-page .next-article{text-align:right}
    .article-page .related-section{margin-top:52px}
    .article-page .section-heading{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:20px;
      margin-bottom:20px;
    }
    .article-page .section-heading h2{
      margin:0;
      color:#10213f;
      font-size:28px;
      letter-spacing:-.02em;
    }
    .article-page .section-heading p{margin:0;color:var(--muted);font-size:14px}
    .article-page .related-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:18px;
    }
    .article-page .related-card{
      min-width:0;
      overflow:hidden;
      background:#fff;
      border:1px solid var(--line);
      border-radius:16px;
      box-shadow:0 9px 30px rgba(11,61,145,.06);
      transition:transform .2s ease,box-shadow .2s ease;
    }
    .article-page .related-card:hover{
      transform:translateY(-4px);
      box-shadow:0 16px 36px rgba(11,61,145,.12);
    }
    .article-page .related-card img{
      width:100%;
      aspect-ratio:16/9;
      object-fit:cover;
      background:#e9eef6;
    }
    .article-page .related-card-body{padding:17px}
    .article-page .related-card h3{
      display:-webkit-box;
      min-height:3em;
      margin:0;
      overflow:hidden;
      color:#172640;
      font-size:17px;
      line-height:1.5;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
    .article-page .related-card p{
      display:-webkit-box;
      min-height:4.8em;
      margin:10px 0 14px;
      overflow:hidden;
      color:var(--muted);
      font-size:13px;
      line-height:1.6;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }
    .article-page .related-meta{
      display:flex;
      flex-wrap:wrap;
      justify-content:space-between;
      gap:8px;
      color:#758198;
      font-size:12px;
    }

    .footer{
      color:#c8d5e9;
      background:#071a3b;
    }
    .footer-main{
      display:grid;
      grid-template-columns:1.5fr repeat(3,1fr);
      gap:42px;
      padding-top:60px;
      padding-bottom:46px;
    }
    .footer .logo{color:#fff}
    .footer .logo img{background:#fff}
    .footer-brand p{
      max-width:390px;
      margin:20px 0 0;
      color:#9fb0c8;
      font-size:14px;
      line-height:1.8;
    }
    .footer-title{
      margin:0 0 17px;
      color:#fff;
      font-size:16px;
    }
    .footer-links,
    .footer-contact{
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      gap:10px;
    }
    .footer-links a,
    .footer-contact a{
      color:#aebdd1;
      font-size:14px;
      transition:color .2s ease,transform .2s ease;
    }
    .footer-links a:hover,
    .footer-contact a:hover{
      color:#fff;
      transform:translateX(2px);
    }
    .social-link{
      margin-top:8px;
      color:#8eb8ff!important;
      font-weight:800;
    }
    .footer-bottom{
      min-height:68px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      padding-top:16px;
      padding-bottom:16px;
      border-top:1px solid rgba(255,255,255,.1);
      color:#8394ad;
      font-size:13px;
    }

    @media (max-width:1120px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-btns{margin-left:auto}
      .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media (max-width:760px){
      .container{width:min(calc(100% - 28px),var(--container))}
      .topbar-inner{
        min-height:52px;
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        gap:2px;
        padding-top:7px;
        padding-bottom:7px;
      }
      .topbar-contact{flex-wrap:wrap;gap:4px 14px}
      .header-inner{min-height:68px;gap:12px}
      .header .logo span{max-width:128px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
      .header-btns>.btn{display:none}
      .article-page{padding:28px 0 56px}
      .article-page .article-shell{width:min(calc(100% - 28px),960px)}
      .article-page .article-header{padding:34px 22px 27px}
      .article-page .article-content{padding:30px 22px 36px;font-size:16px}
      .article-page .article-content h2{font-size:24px}
      .article-page .article-content h3{font-size:20px}
      .article-page .article-navigation{grid-template-columns:1fr}
      .article-page .next-article{text-align:left}
      .article-page .related-grid{grid-template-columns:1fr}
      .article-page .section-heading{align-items:flex-start;flex-direction:column;gap:5px}
      .footer-main{grid-template-columns:1fr;gap:30px;padding-top:46px}
      .footer-bottom{align-items:flex-start;flex-direction:column;justify-content:center}
    }
    @media (max-width:430px){
      .topbar-contact{font-size:12px}
      .logo img{width:36px;height:36px}
      .header-btns{gap:6px}
      .article-page h1{font-size:31px}
      .article-page .article-meta{align-items:flex-start;flex-direction:column;gap:6px}
      .article-page .article-tags{justify-content:flex-start}
    }