@charset "UTF-8";

/* ========================================
   整合說明 / Integration Notes
   ========================================
   此檔案整合了以下頁面的共用 CSS：
   This file integrates shared CSS from:
   - home_page.hbs
   - category_page.hbs
   - section_page.hbs
   - article_page.hbs
   - search_results.hbs
   
   整合原則 / Integration Principles:
   1. 移除重複的基礎樣式 / Remove duplicate base styles
   2. 統一命名規範 / Unify naming conventions
   3. 保持響應式設計 / Maintain responsive design
   4. 按功能模塊組織 / Organize by functional modules
   ======================================== */

/* ========================================
   CSS Variables - 全局顏色與尺寸變數
   用於整個系統的色彩與尺寸標準
   ======================================== */
:root {
    --primary-orange: #FF6400;
    --primary-orange-hover: #E55A00;
    --text-dark: #1A1A1A;
    --text-gray: #6C757D;
    --text-light: #999999;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-gray: #E0E0E0;
    --border-orange-light: #FFC199;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(255, 100, 0, 0.15);
}

/* ========================================
   Reset & Base Styles - 基礎重置樣式
   統一各頁面的基礎樣式設定
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 15px;
}

a {
    color: var(--primary-orange);
    text-decoration: none;
}

a:visited {
    color: #E35800;
}

a:hover, 
a:focus {
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* ========================================
   Accessibility - 無障礙輔助樣式
   隱藏但保留給螢幕閱讀器的內容
   ======================================== */
.visibility-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================================
   Breadcrumbs - 麵包屑導航
   所有頁面共用的麵包屑樣式
   ======================================== */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--primary-orange);
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li + li::before {
    content: ">";
    margin: 0 8px;
    color: var(--primary-orange);
}

.breadcrumbs li a {
    color: var(--primary-orange);
    text-decoration: none;
}

.breadcrumbs li a:visited {
    color: var(--primary-orange);
}

.breadcrumbs li a:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

.breadcrumbs li:last-child {
    color: var(--primary-orange);
}

/* Article page 特殊樣式：最後一項為灰色 */
.article-sub-nav .breadcrumbs li:last-child {
    color: var(--text-gray);
}

/* ========================================
   Sub Navigation - 副導航區塊
   包含麵包屑與搜尋框的頂部導航
   ======================================== */
.category-sub-nav,
.section-sub-nav,
.article-sub-nav {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-color: var(--bg-white);
}

/* ========================================
   Header Sections - 頁面標題區塊
   Category 和 Section 頁面的標題樣式
   ======================================== */
.category-header-section,
.section-header-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;
    background-color: var(--bg-white);
}

.category-header-block,
.section-header-block {
    width: 460px;
    height: 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

/* 主標題樣式 */
.category-main-title,
.section-main-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 900;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: left;
    color: var(--primary-orange);
    margin: 0;
}

/* 副標題樣式 */
.category-sub-title,
.section-sub-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0px;
    text-align: left;
    color: #333333;
    margin: 0;
}

/* ========================================
   Content Containers - 內容容器
   各頁面的主要內容區域
   ======================================== */
.category-sections,
.section-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px 40px 60px;
    background-color: var(--bg-white);
}

/* ========================================
   Section Links - Section 連結樣式
   Category 頁面的 Section 連結卡片
   ======================================== */
.sections-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-link {
    display: block;
    width: 100%;
    max-width: 1080px;
    text-decoration: none;
}

.section-link-inner {
    width: 100%;
    height: 70px;
    padding: 20px 40px;
    background-color: var(--bg-white);
    border: 2px solid var(--primary-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.section-link:hover .section-link-inner {
    background-color: #FFF5F0;
    box-shadow: 0 4px 12px rgba(255, 100, 0, 0.15);
    text-decoration: none;
}

.section-link:hover {
    text-decoration: none;
}

.section-link-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0px;
    color: var(--text-dark);
}

.section-link-arrow {
    width: 24px;
    height: 24px;
    color: var(--primary-orange);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.section-link:hover .section-link-arrow {
    transform: translateX(4px);
}

/* ========================================
   Sub Sections - 子分類列表
   Section 頁面的子分類樣式
   ======================================== */
.sub-sections-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-orange);
}

.sub-sections-list {
    margin-bottom: 40px;
}

.sub-section-item {
    border-bottom: 1px solid var(--border-gray);
}

.sub-section-item:last-child {
    border-bottom: none;
}

.sub-section-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sub-section-link:hover {
    color: var(--primary-orange);
    text-decoration: none;
    padding-left: 10px;
}

.sub-section-link svg {
    color: #87929D;
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sub-section-link:hover svg {
    color: var(--primary-orange);
    transform: translateX(5px);
}

/* ========================================
   Articles List - 文章列表
   Section 和 Article 頁面的文章列表樣式
   ======================================== */
.articles-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-orange);
}

.articles-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-item {
    border-bottom: 1px solid var(--border-orange-light);
}

.article-item:last-child {
    border-bottom: none;
}

.article-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s ease;
    gap: 12px;
}

.article-link:hover {
    color: var(--primary-orange);
    text-decoration: none;
    padding-left: 8px;
}

/* 文章標記圓點 */
.article-marker {
    width: 6px;
    height: 6px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    flex-shrink: 0;
}

.article-title-text {
    flex: 1;
}

.article-arrow {
    width: 16px;
    height: 16px;
    color: #87929D;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.article-link:hover .article-arrow {
    color: var(--primary-orange);
    transform: translateX(5px);
}

/* 置頂文章圖示 */
.article-item.is-promoted {
    border-bottom-color: var(--primary-orange);
}

.icon-star {
    width: 12px;
    height: 12px;
    color: var(--primary-orange);
    flex-shrink: 0;
}

/* ========================================
   Pagination - 分頁導航
   所有列表頁面的分頁樣式
   ======================================== */
.pagination-wrapper {
    margin-top: 32px;
}

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

.pagination li {
    margin: 0;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination li a:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background-color: #FFF5F0;
    text-decoration: none;
}

.pagination li.pagination-current span,
.pagination .current {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

/* ========================================
   Category Banner - Category 橫幅圖片
   Category 頁面的橫幅區塊
   ======================================== */
.category-banner-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px 40px 60px;
    background-color: var(--bg-white);
}

.category-banner-wrapper {
    width: 100%;
    max-width: 1080px;
    height: 278px;
    overflow: hidden;
}

.category-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.category-banner-section.hidden {
    display: none;
}

/* ========================================
   Empty States - 空狀態提示
   當沒有內容時顯示的提示訊息
   ======================================== */
.category-empty,
.section-empty {
    display: block;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
    font-size: 16px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 2px dashed #ddd;
}

.category-empty a,
.section-empty a {
    color: var(--primary-orange);
    font-weight: 600;
}

/* ========================================
   Article Sidebar - 文章側邊欄
   Article 頁面的側邊導航欄
   ======================================== */
.article-sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.collapsible-sidebar {
    background: #FAFAFA;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--border-gray);
}

.sidenav-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-orange);
}

.collapsible-sidebar-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.collapsible-sidebar-body li {
    margin-bottom: 4px;
}

.sidenav-item {
    display: block;
    padding: 10px 12px;
    color: var(--text-dark);
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.sidenav-item:hover {
    background-color: #FFF5F0;
    color: var(--primary-orange);
    text-decoration: none;
}

.sidenav-item.current-article {
    background-color: var(--primary-orange);
    color: white;
    font-weight: 500;
}

.sidenav-see-more {
    display: block;
    margin-top: 12px;
    padding: 8px 12px;
    color: var(--primary-orange);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sidenav-see-more:hover {
    background-color: #FFF5F0;
    text-decoration: none;
}

/* ========================================
   Article Content - 文章內容區塊
   Article 頁面的主要內容樣式
   ======================================== */
.article-main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px 60px;
    display: flex;
    gap: 40px;
}

.article {
    flex: 1;
    min-width: 0;
}

.article-header {
    margin-bottom: 24px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
}

.article-divider {
    border: none;
    border-top: 2px solid var(--border-gray);
    margin: 24px 0;
}

.article-info {
    margin-bottom: 40px;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--text-dark);
}

.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-dark);
}

.article-body p {
    margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body code {
    background-color: #F5F5F5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.article-body pre {
    background-color: #F5F5F5;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 16px 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* ========================================
   Article Footer - 文章頁腳
   投票與相關文章區塊
   ======================================== */
.article-footer {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--border-gray);
}

.article-votes {
        display: flex;
      		margin: 0 auto;
        flex-direction: column;
        align-items: center;      /* 水平置中 */
        justify-content: center;  /* 垂直置中 */
        text-align: center;
        padding: 32px 0;
        max-width: 100%;
}

.article-votes-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.article-votes-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.article-vote {
    padding: 10px 24px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-vote:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background-color: #FFF5F0;
}

.article-vote.button-primary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.article-votes-count {
    color: var(--text-gray);
    font-size: 14px;
}

/* ========================================
   Related Articles - 相關文章
   文章頁面底部的相關文章列表
   ======================================== */
.article-relatives {
    margin-top: 40px;
}

.article-relatives-section {
    margin-bottom: 32px;
}

/* 統一所有標題樣式 - 包括自訂的和 Zendesk 產生的 */
.article-relatives-section h3,
.article-relatives-title,
.recent-articles h3,
.related-articles h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    padding: 0 0 12px 0;
    border-bottom: 2px solid var(--primary-orange);
}

/* 確保第一個標題在橘線上方 */
.article-relatives-section > h3:first-child,
.recent-articles > h3:first-child,
.related-articles > h3:first-child {
    margin-top: 0;
}

/* 隱藏 Zendesk helper 可能產生的重複標題 */
.recent-articles > h3:not(:first-child),
.related-articles > h3:not(:first-child) {
    display: none;
}

.related-articles,
.recent-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 如果 helper 自己產生了標題，調整容器樣式 */
.related-articles:has(h3),
.recent-articles:has(h3) {
    display: block;
}

.related-article-item,
.recent-article-item {
    padding: 16px;
    background-color: #FAFAFA;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.related-article-item:hover,
.recent-article-item:hover {
    border-color: var(--primary-orange);
    background: #FFF5F0;
}

.related-article-item a,
.recent-article-item a {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    display: block;
    line-height: 1.4;
}

.related-article-item:hover a,
.recent-article-item:hover a {
    color: var(--primary-orange);
    text-decoration: none;
}
.related-articles-title {
    display: none;
}
/* ========================================
   Sidebar Toggle (Mobile) - 手機版側邊欄控制
   手機版的側邊欄開關按鈕與遮罩
   ======================================== */
.sidebar-toggle-mobile {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-toggle-mobile:hover {
    background-color: var(--primary-orange-hover);
    transform: scale(1.05);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.sidebar-overlay.active {
    display: block;
}

/* ========================================
   Content Tags - 內容標籤
   文章內容標籤區塊
   ======================================== */
.content-tags {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-gray);
}

.content-tags-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.content-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-tag-item a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #F5F5F5;
    border-radius: 16px;
    color: var(--text-dark);
    font-size: 13px;
    transition: all 0.2s ease;
}

.content-tag-item a:hover {
    background-color: #FFF5F0;
    color: var(--primary-orange);
    text-decoration: none;
}

/* ========================================
   Attachments - 附件列表
   文章附件下載區塊
   ======================================== */
.article-attachments {
    margin-top: 32px;
    padding: 20px;
    background-color: #FAFAFA;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.article-attachments-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.attachments {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
}

.attachment-item:last-child {
    border-bottom: none;
}

.attachment-icon {
    color: var(--text-gray);
    flex-shrink: 0;
}

.attachment-item a {
    flex: 1;
    color: var(--primary-orange);
    font-size: 14px;
}

.attachment-meta {
    color: var(--text-gray);
    font-size: 12px;
}

/* ========================================
   Search Results - 搜尋結果頁面
   搜尋結果的特殊樣式
   ======================================== */
.search-results {
    display: flex;
    justify-content: center;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 5%;
}

.search-results-column {
    width: 100%;
    max-width: 900px;
}

.search-results-subheading {
    color: #2B2D42;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-orange);
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-result {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-gray);
}

.search-result:last-child {
    border-bottom: none;
}

.search-result-link {
    display: block;
    margin-bottom: 12px;
}

.search-result-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 8px;
}

.search-result-breadcrumbs {
    font-size: 13px;
    margin-bottom: 8px;
}

.search-result-description {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results .headline {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 20px 0;
}

.no-results .action-prompt {
    color: var(--text-gray);
    font-size: 16px;
    margin: 12px 0;
}

/* ========================================
   Responsive Design - 響應式設計
   各裝置尺寸的適配樣式
   ======================================== */

/* Tablet - 平板尺寸 (1024px 以下) */
@media (max-width: 1024px) {
    .category-sub-nav,
    .section-sub-nav,
    .article-sub-nav {
        padding: 20px 40px;
        flex-wrap: wrap;
    }

    .category-header-section,
    .section-header-section {
        padding: 32px 40px;
    }

    .category-header-block,
    .section-header-block {
        width: 100%;
        height: auto;
    }

    .category-sections,
    .section-content {
        padding: 0 40px 32px 40px;
    }

    .category-banner-section {
        padding: 0 40px 32px 40px;
    }

    .category-banner-wrapper {
        height: 220px;
    }

    .article-sidebar {
        flex: 0 0 240px;
    }

    .article-main {
        padding: 0 20px 40px;
    }
}

/* Mobile Large - 大手機尺寸 (768px 以下) */
@media (max-width: 768px) {
    .category-sub-nav,
    .section-sub-nav,
    .article-sub-nav {
        padding: 16px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .breadcrumbs {
        font-size: 13px;
    }

    .category-header-section,
    .section-header-section {
        padding: 24px 20px;
    }

    .category-main-title,
    .section-main-title {
        font-size: 28px;
    }

    .category-sub-title,
    .section-sub-title {
        font-size: 16px;
        line-height: 24px;
    }

    .category-sections,
    .section-content {
        padding: 0 20px 24px 20px;
    }

    .section-link-inner {
        height: auto;
        min-height: 60px;
        padding: 16px 20px;
    }

    .section-link-title {
        font-size: 16px;
        line-height: 24px;
    }

    .category-banner-section {
        padding: 0 20px 24px 20px;
    }

    .category-banner-wrapper {
        height: 180px;
        border-radius: 8px;
    }

    .sub-sections-title,
    .articles-title {
        font-size: 18px;
    }

    .sub-section-link {
        font-size: 15px;
        padding: 14px 0;
    }

    .article-link {
        font-size: 14px;
        padding: 12px 0;
    }

    .pagination li a,
    .pagination li span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .article-main {
        flex-direction: column;
        gap: 20px;
    }

    .article-sidebar {
        display: none;
    }

    .article-sidebar.mobile-open {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 1000;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        padding: 20px;
        max-height: 100vh;
    }

    .sidebar-toggle-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .article-title {
        font-size: 26px;
    }

    .article-body {
        font-size: 15px;
    }
}

/* Mobile Small - 小手機尺寸 (480px 以下) */
@media (max-width: 480px) {
    .category-sub-nav,
    .section-sub-nav,
    .article-sub-nav {
        padding: 12px 16px;
    }

    .breadcrumbs {
        font-size: 12px;
    }

    .category-header-section,
    .section-header-section {
        padding: 20px 16px;
    }

    .category-main-title,
    .section-main-title {
        font-size: 24px;
    }

    .category-sub-title,
    .section-sub-title {
        font-size: 14px;
        line-height: 22px;
    }

    .category-sections,
    .section-content {
        padding: 0 16px 20px 16px;
    }

    .sections-list {
        gap: 12px;
    }

    .section-link-inner {
        padding: 14px 16px;
        border-radius: 8px;
    }

    .section-link-title {
        font-size: 15px;
    }

    .section-link-arrow {
        width: 20px;
        height: 20px;
    }

    .category-banner-section {
        padding: 0 16px 20px 16px;
    }

    .category-banner-wrapper {
        height: 150px;
    }

    .sub-sections-title,
    .articles-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .sub-section-link {
        font-size: 14px;
        padding: 12px 0;
    }

    .article-link {
        font-size: 13px;
        padding: 10px 0;
        gap: 8px;
    }

    .article-marker {
        width: 5px;
        height: 5px;
    }

    .article-arrow {
        width: 14px;
        height: 14px;
    }

    .pagination {
        gap: 4px;
    }

    .pagination li a,
    .pagination li span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }

    .article-title {
        font-size: 22px;
    }

    .article-body {
        font-size: 14px;
    }

    .article-body h2 {
        font-size: 20px;
    }

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