.banner{
    background: linear-gradient(135deg, #003366 0%, #004a99 100%);
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-position: 50% 70% !important;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 80px 0;
}

.banner p{
    color: #f1e9e9;
}

.banner h1{
    color: #fff;
    font-weight: 600;
    margin-top: 20px;
}

.banner-content {
    position: absolute;
}

.banner-content p {
    text-align: center;
    color: #fff;
}

.w3-content {
    padding-bottom: 0 !important;
}

a {
    width: 100%;
    display: contents;

}

h2 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    text-align: left;
}


                /* 基礎變數設定 (Faceholic 風格：大量呼吸感留白、優雅碳灰字體、微米暖白背景) */
        :root {
            --bg-body: #faf9f6;
            --bg-card: #ffffff;
            --bg-card-hover: #fdfdfc;
            --bg-accent-soft: #f2efe9;
            
            --text-main: #1d2127;
            --text-heading: #12161a;
            --text-muted: #6b7280;
            --text-light: #9ca3af;
            
            --border-light: #e8e5df;
            --border-subtle: #f0ede8;
            
            --brand-primary: #1e3a8a;
            --brand-accent: #0284c7;
            --brand-gold: #b48c5a;

            --font-serif: 'Noto Serif TC', Georgia, serif;
            --font-sans: 'Plus Jakarta Sans', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            
            --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
            --shadow-hover: 0 12px 32px -4px rgba(0, 0, 0, 0.08);
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-pill: 9999px;
        }

        /* 全域重設與字型設定 */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: #f8fafc;
            color: var(--text-main);
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.8;
            letter-spacing: 0.02em;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition-smooth);
        }

        img {
            /*max-width: 100%;*/
            height: auto;
            display: block;
        }

        /* 頂部預覽模式切換控制器 (方便直接檢視列表與內頁) */
        .site-header {
            background-color: rgba(250, 249, 246, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-subtle);
            position: relative;
            z-index: 99;
        }

        .header-container {
            max-width: 1240px;
            margin: 0 auto;
            padding: 24px 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            align-items: center;
            gap: 36px;
        }

        .nav-item a {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-muted);
            letter-spacing: 0.05em;
            position: relative;
            padding: 6px 0;
        }

        .nav-item a:hover,
        .nav-item.active a {
            color: var(--text-heading);
        }

        .nav-item.active a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1.5px;
            background-color: var(--text-heading);
        }

        .nav-cta-btn {
            background-color: transparent;
            border: 1px solid var(--text-heading);
            color: var(--text-heading);
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 0.06em;
            padding: 10px 22px;
            border-radius: var(--radius-pill);
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .nav-cta-btn:hover {
            background-color: var(--text-heading);
            color: #ffffff;
        }

        /* 視圖切換容器 */
        .view-section {
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .view-section.active-view {
            display: block;
            opacity: 1;
        }


        /* 列表分頁樣式 */
        .article-view-wrap {
            max-width: 900px;
            margin: 0 auto;
            padding: 60px 24px 100px;
        }

        /* 麵包屑導航 */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 32px;
        }

        .breadcrumb-sep {
            color: var(--text-light);
        }

        .breadcrumb a:hover {
            color: var(--text-heading);
        }

        .back-to-list-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.05em;
            color: var(--text-muted);
            margin-bottom: 30px;
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .back-to-list-btn:hover {
            color: var(--text-heading);
            transform: translateX(-3px);
        }

        /* 文章標題區塊 */
        .article-detail-header {
            text-align: center;
            margin-bottom: 48px;
        }

        .article-main-title {
            font-size: 40px;
            line-height: 1.4;
            font-weight: 700;
            color: var(--text-heading);
            letter-spacing: 0.01em;
            margin-bottom: 24px;
        }

        .article-meta-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 18px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .author-box {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 500;
            color: var(--text-heading);
        }

        .author-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--brand-primary);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
        }


        /* 規格書樣式 */
        @keyframes techFadeIn {
            0% { opacity: 0; transform: translateY(15px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        .docu {
            margin: 40px 0;
            overflow-x: auto;
            position: relative;
            border-radius: 8px; 
            overflow: hidden; /* 確保圓角能完美包覆表格 */
            
            /* [新增] 加上細緻的灰藍色外框，提升表格的邊界感 */
            border: 1px solid #cbd5e1; 
            
            /* [保留] 乾淨明亮的純白底，與柔和的彌散陰影 */
            background-color: #ffffff;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 0 10px rgba(59, 130, 246, 0.03); 
            
            /* 觸發進場動畫 */
            animation: techFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        .docu table {
            width: 100%;
            border-collapse: collapse; 
            text-align: left;
            font-size: 15px;
            color: #334155; 
        }

        /* 表頭設定：底部保留鮮明的品牌藍色線條，維持專業感 */
        .docu thead tr {
            background-color: #f8fafc; 
            border-bottom: 2px solid #2563eb; 
        }

        .docu th {
            padding: 16px; 
            color: #000; 
            font-weight: 600;
            letter-spacing: 1px;
            /* 內部直線改得更淡，避免與外框搶視覺 */
            border-right: 1px solid rgba(0, 0, 0, 0.03); 
        }

        .docu td {
            padding: 14px 16px; 
            border-bottom: 1px solid #e2e8f0; 
        }

        /* 第一欄文字高亮 */
        .docu tbody td:first-child {
            font-weight: bold;
            color: #1d4ed8; 
        }

        /* 斑馬紋底色 */
        .docu tbody tr:nth-child(even) {
            background-color: #f8fafc; 
        }

        /* =========================================
        2. 左側鎖定 Hover 互動特效 (Radar Lock Hover)
        ========================================= */
        .docu tbody tr {
            position: relative;
            transition: all 0.25s ease; 
        }

        .docu tbody tr:hover {
            background-color: #eff6ff; 
        }

        .docu tbody tr:hover td {
            color: #0f172a; 
        }

        /* 滑鼠經過時，左側浮現藍色指示線 (保留此高級感互動) */
        .docu tbody tr:hover td:first-child {
            box-shadow: inset 4px 0 0 0 #2563eb; 
            color: #1e40af; 
        }

        /* 主圖視覺 */
        .article-featured-media {
            margin-bottom: 56px;
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-soft);
        }

        .article-featured-media img {
            width: 100%;
            max-height: 520px;
            object-fit: cover;
        }

        .media-caption {
            text-align: center;
            font-size: 12px;
            color: var(--text-light);
            margin-top: 10px;
            font-style: italic;
        }

        .article-body-content {
            font-size: 17px;
            line-height: 2.05;
            color: #2b313a;
        }

        .article-lead {
            font-size: 19px;
            line-height: 1.9;
            color: #1f2937;
            font-weight: 400;
            padding: 24px 28px;
            background-color: var(--bg-card);
            border-left: 3px solid var(--brand-accent);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            margin-bottom: 40px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.02);
        }

        .article-body-content p {
            margin-bottom: 28px;
            letter-spacing: 0.02em;
        }

        .article-body-content ul {
            padding: 0 20px;
        }

        .article-body-content h2 {
            font-size: 26px;
            font-weight: 600;
            color: var(--text-heading);
            margin: 54px 0 22px;
            line-height: 1.45;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border-light);
        }

        .article-body-content h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-heading);
            margin: 36px 0 16px;
            line-height: 1.5;
        }

        .article-quote {
            margin: 44px 0;
            padding: 32px 36px;
            background: #ffffff;
            border-left: 4px solid var(--text-heading);
            border-radius: var(--radius-sm);
            font-family: var(--font-serif);
            font-size: 20px;
            line-height: 1.7;
            color: var(--text-heading);
            box-shadow: var(--shadow-soft);
        }

        .article-quote-author {
            margin-top: 14px;
            font-family: var(--font-sans);
            font-size: 13px;
            color: var(--text-muted);
            letter-spacing: 0.05em;
            text-align: right;
        }

        /* 專題亮點資訊方塊 */
        .feature-infobox {
            background-color: #ffffff;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-md);
            padding: 30px;
            margin: 38px 0;
        }

        .feature-infobox-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--brand-primary);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .feature-list {
            list-style: none;
            padding: 0;
        }

        .feature-list li {
            position: relative;
            padding-left: 24px;
            margin-bottom: 12px;
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-main);
        }

        .feature-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            top: 0;
            color: var(--brand-accent);
            font-weight: bold;
        }

        /* 內文圖片 */
        .in-article-figure {
            margin: 40px 0;
            border-radius: var(--radius-sm);
            overflow: hidden;
        }

        .in-article-figure img {
            width: 100%;
            border-radius: var(--radius-sm);
        } 

        .related-articles-section {
            margin-top: 60px;
            padding: 30px;
            background-color: #fff;
            border-radius: 8px;
            border-left: 4px solid var(--brand-primary, #0056b3);
        }

        .related-articles-section h3 {
            margin-top: 0;
            font-size: 1.25rem;
            color: var(--text-dark, #333333);
        }

        .related-articles-list {
            /*list-style-type: none;*/
            padding-left: 0;
            margin-bottom: 0;
        }

        .related-articles-item {
           /* margin-bottom: 15px;*/
        }

        /* 利用 :last-child 偽類，自動移除最後一個 li 的底部間距，不需寫死在 HTML 裡 */
        .related-articles-item:last-child {
            margin-bottom: 0;
        }

        .related-articles-link {
            display: block;
            font-size: 1rem;
            font-weight: bold;
            color: var(--brand-primary, #0056b3);
            text-decoration: none;
            transition: color 0.2s ease, transform 0.2s ease;
        }

        /* 增加滑鼠懸停效果，提升使用者點擊意願 (UI/UX 強化) */
        .related-articles-link:hover {
            color: #003d82; /* 較深的品牌主色 */
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .header-container {
                padding: 18px 20px;
            }
            .nav-menu {
                display: none; /* 行動版可折疊 */
            }
            .article-view-wrap {
                padding: 100px 24px 60px;
            }
            .article-main-title {
                font-size: 26px;
            }
            .article-body-content {
                font-size: 16px;
                line-height: 1.95;
            }
            .footer-container {
                flex-direction: column;
            }
        }