﻿@charset "utf-8";

/* 峰林牛樟芝知識頁面 - 完整CSS樣式表（修護版 v3） */

/* 防止整體頁面水平溢出 */
.botry-v2-content-text {
    max-width: 100%;
    overflow-x: hidden;
}

/* 基礎重置 */
.fenglin-v2-knowledge-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 主容器 */
.fenglin-v2-knowledge-section {
    background: linear-gradient(135deg, #f8faf9 0%, #ffffff 100%);
    padding: 60px 0 80px;
    min-height: 100vh;
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 100%;
    overflow-x: hidden;
}

.fenglin-v2-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* 標題樣式 */
.fenglin-v2-text-center {
    text-align: center;
}

.fenglin-v2-knowledge-section h1 {
    font-size: 2.8rem;
    color: #1a472a;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(135deg, #1a472a 0%, #2c5c3e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fenglin-v2-knowledge-section h2 {
    font-size: 2.2rem;
    color: #2c5c3e;
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f5a623;
    font-weight: 600;
    position: relative;
}

.fenglin-v2-knowledge-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #2c5c3e;
}

.fenglin-v2-knowledge-section h3 {
    font-size: 1.6rem;
    color: #2c5c3e;
    margin: 35px 0 20px;
    font-weight: 600;
}

.fenglin-v2-knowledge-section h4 {
    font-size: 1.3rem;
    color: #1a472a;
    margin: 25px 0 15px;
    font-weight: 600;
}

/* 段落和文本 */
.fenglin-v2-lead {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.fenglin-v2-knowledge-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.fenglin-v2-keyword-highlight {
    color: #2c5c3e;
    font-weight: 700;
    background: rgba(44, 92, 62, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border-left: 3px solid #f5a623;
}

/* GEO標籤 */
.fenglin-v2-geo-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0 40px;
}

.fenglin-v2-geo-badge {
    display: inline-block;
    padding: 10px 22px;
    background: white;
    color: #2c5c3e;
    border: 2px solid #2c5c3e;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(44, 92, 62, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.fenglin-v2-geo-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c5c3e 0%, #1a472a 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.fenglin-v2-geo-badge:hover {
    color: white;
    border-color: #2c5c3e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 92, 62, 0.2);
}

.fenglin-v2-geo-badge:hover::before {
    transform: translateX(0);
}

/* 文章卡片 */
.fenglin-v2-knowledge-article {
    background: white;
    border-radius: 20px;
    padding: 45px 50px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(44, 92, 62, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fenglin-v2-knowledge-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2c5c3e, #f5a623);
}

.fenglin-v2-knowledge-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* 特徵網格 */
.fenglin-v2-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 35px 0;
    width: 100%;
}

@media (min-width: 768px) {
    .fenglin-v2-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .fenglin-v2-feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.fenglin-v2-feature-item {
    background: linear-gradient(135deg, rgba(44, 92, 62, 0.03) 0%, rgba(245, 166, 35, 0.03) 100%);
    border-radius: 15px;
    padding: 30px;
    border-left: 5px solid #f5a623;
    transition: all 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.fenglin-v2-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(44, 92, 62, 0.1);
    background: linear-gradient(135deg, rgba(44, 92, 62, 0.06) 0%, rgba(245, 166, 35, 0.06) 100%);
}

/* 特徵列表 */
.fenglin-v2-feature-list {
    list-style: none;
    margin: 25px 0 30px;
    padding-left: 0;
    width: 100%;
}

.fenglin-v2-feature-list li {
    padding: 15px 0 15px 40px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.fenglin-v2-feature-list li:last-child {
    border-bottom: none;
}

.fenglin-v2-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f5a623;
    font-size: 1.2rem;
    font-weight: bold;
    background: rgba(245, 166, 35, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 專業解析 */
.fenglin-v2-citation {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.08) 0%, rgba(44, 92, 62, 0.08) 100%);
    border-left: 5px solid #f5a623;
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 15px 15px 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.fenglin-v2-citation::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: rgba(245, 166, 35, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.fenglin-v2-citation strong {
    color: #2c5c3e;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.fenglin-v2-citation strong::before {
    content: '💡';
    position: absolute;
    left: 0;
    font-size: 1.3rem;
}

/* CTA行動框 */
.fenglin-v2-cta-box {
    background: linear-gradient(135deg, rgba(44, 92, 62, 0.05) 0%, rgba(245, 166, 35, 0.05) 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 50px 0;
    border: 2px dashed rgba(44, 92, 62, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

.fenglin-v2-cta-box h3 {
    color: #2c5c3e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.fenglin-v2-cta-box h3::before {
    content: '🏆';
    font-size: 1.5em;
}

.fenglin-v2-company-intro {
    background: linear-gradient(135deg, rgba(44, 92, 62, 0.08) 0%, rgba(44, 92, 62, 0.02) 100%);
    border: 1px solid rgba(44, 92, 62, 0.15);
    text-align: left;
}

.fenglin-v2-company-intro h3 {
    justify-content: flex-start;
}

/* ===== 比較表格 - 桌面版 ===== */
.fenglin-v2-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    table-layout: fixed;
}

.fenglin-v2-comparison-table thead {
    background: linear-gradient(135deg, #2c5c3e 0%, #1a472a 100%);
    color: white;
}

.fenglin-v2-comparison-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    word-break: break-word;
    /* 桌面版明確宣告 display */
    display: table-cell;
}

.fenglin-v2-comparison-table th:last-child {
    border-right: none;
}

.fenglin-v2-comparison-table tbody {
    display: table-row-group;
}

.fenglin-v2-comparison-table tbody tr {
    display: table-row;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fenglin-v2-comparison-table tbody tr:hover {
    background: rgba(44, 92, 62, 0.04);
}

.fenglin-v2-comparison-table td {
    display: table-cell;
    padding: 18px 15px;
    vertical-align: top;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    word-break: break-word;
}

.fenglin-v2-comparison-table td:first-child {
    font-weight: 600;
    color: #2c5c3e;
    background: rgba(44, 92, 62, 0.02);
    border-left: 4px solid #f5a623;
}

.fenglin-v2-comparison-table td:last-child {
    border-right: none;
}

/* ===== 比較表格 - 手機版卡片式（僅 640px 以下生效）===== */
@media (max-width: 640px) {

    /* 隱藏標題列（此表格標題在第一個 tbody 的 th 裡） */
    .fenglin-v2-comparison-table tbody:first-child {
        display: none;
    }

    /* table 本體改 block，讓卡片正常堆疊 */
    .fenglin-v2-comparison-table {
        display: block;
        table-layout: auto;
        overflow: visible;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        margin: 30px 0;
    }

    /* 資料 tbody 改 block */
    .fenglin-v2-comparison-table tbody:last-child {
        display: block;
    }

    /* 每一 tr 變獨立卡片 */
    .fenglin-v2-comparison-table tbody:last-child tr {
        display: block;
        width: 100%;
        margin-bottom: 18px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(44, 92, 62, 0.1);
        border: 1px solid rgba(44, 92, 62, 0.15);
    }

    /* 第一欄（比較項目）當卡片標題列 */
    .fenglin-v2-comparison-table tbody:last-child td:first-child {
        display: block;
        background: linear-gradient(135deg, #2c5c3e 0%, #1a472a 100%);
        color: #ffffff;
        font-size: 1rem;
        padding: 13px 16px;
        text-align: center;
        border-left: none;
        border-bottom: none;
    }

    .fenglin-v2-comparison-table tbody:last-child td:first-child strong {
        color: #ffffff;
    }

    /* 第二、三欄：左標籤 + 右內容並排 */
    .fenglin-v2-comparison-table tbody:last-child td:not(:first-child) {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 11px 16px;
        border-bottom: 1px solid rgba(44, 92, 62, 0.08);
        background: white;
        font-size: 0.95rem;
        text-align: right;
        gap: 12px;
        border-right: none;
    }

    /* data-label 顯示為左側欄名 */
    .fenglin-v2-comparison-table tbody:last-child td:not(:first-child)::before {
        content: attr(data-label);
        font-weight: 600;
        color: #2c5c3e;
        text-align: left;
        flex-shrink: 0;
        min-width: 70px;
        font-size: 0.88rem;
        padding-top: 1px;
    }

    .fenglin-v2-comparison-table tbody:last-child td:last-child {
        border-bottom: none;
    }
}

/* 時間線 */
.fenglin-v2-timeline {
    margin: 35px 0;
    position: relative;
    padding-left: 30px;
    box-sizing: border-box;
    width: 100%;
}

.fenglin-v2-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #f5a623, #2c5c3e);
}

.fenglin-v2-timeline-item {
    margin-bottom: 30px;
    position: relative;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #f5a623;
    box-sizing: border-box;
}

.fenglin-v2-timeline-item:last-child {
    margin-bottom: 0;
}

.fenglin-v2-timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 28px;
    width: 16px;
    height: 16px;
    background: #2c5c3e;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #f5a623;
}

/* 編號列表 */
.fenglin-v2-numbered-list {
    list-style: none;
    margin: 30px 0;
    padding-left: 0;
    counter-reset: item;
    width: 100%;
    box-sizing: border-box;
}

.fenglin-v2-numbered-list li {
    counter-increment: item;
    padding: 20px 20px 20px 70px;
    margin-bottom: 15px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #f5a623;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.fenglin-v2-numbered-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.fenglin-v2-numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: 15px;
    top: 20px;
    background: linear-gradient(135deg, #2c5c3e 0%, #1a472a 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(44, 92, 62, 0.2);
}

/* 注意事項列表 */
.fenglin-v2-notice-list {
    list-style: none;
    margin: 30px 0;
    padding: 25px;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    box-sizing: border-box;
    width: 100%;
}

.fenglin-v2-notice-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: #d35400;
    margin-bottom: 8px;
}

.fenglin-v2-notice-list li:last-child {
    margin-bottom: 0;
}

.fenglin-v2-notice-list li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    background: rgba(211, 84, 0, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 相關連結網格 */
.fenglin-v2-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 30px 0 50px;
    width: 100%;
}

@media (min-width: 768px) {
    .fenglin-v2-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.fenglin-v2-related-card {
    display: block;
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.fenglin-v2-related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5c3e, #f5a623);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.fenglin-v2-related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #f5a623;
}

.fenglin-v2-related-card:hover::before {
    transform: translateX(0);
}

.fenglin-v2-card-content {
    padding: 0;
}

.fenglin-v2-card-content h4 {
    color: #2c5c3e;
    margin-top: 0;
    position: relative;
    padding-right: 25px;
}

.fenglin-v2-card-content h4::after {
    content: '→';
    position: absolute;
    right: 0;
    color: #f5a623;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.fenglin-v2-related-card:hover .fenglin-v2-card-content h4::after {
    opacity: 1;
    transform: translateX(0);
}

.fenglin-v2-card-content p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

/* 按鈕樣式 */
.fenglin-v2-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.fenglin-v2-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.fenglin-v2-btn:hover::before {
    left: 100%;
}

/* 按鈕顏色（深綠底白字，清晰可讀） */
.fenglin-v2-btn-primary,
.fenglin-v2-btn-secondary {
    background: linear-gradient(135deg, #2c5c3e 0%, #1a472a 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(44, 92, 62, 0.3);
}

.fenglin-v2-btn-primary:hover,
.fenglin-v2-btn-secondary:hover {
    background: linear-gradient(135deg, #1a472a 0%, #0f2d18 100%);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 92, 62, 0.4);
}

.fenglin-v2-btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* 按鈕間距 */
.fenglin-v2-text-center .fenglin-v2-mt-4 .fenglin-v2-btn + .fenglin-v2-btn {
    margin-left: 20px;
}

/* 工具類 */
.fenglin-v2-mb-3 { margin-bottom: 15px !important; }
.fenglin-v2-mb-4 { margin-bottom: 20px !important; }
.fenglin-v2-mb-5 { margin-bottom: 25px !important; }
.fenglin-v2-mb-6 { margin-bottom: 40px !important; }
.fenglin-v2-mt-3 { margin-top: 15px !important; }
.fenglin-v2-mt-4 { margin-top: 20px !important; }
.fenglin-v2-mt-5 { margin-top: 25px !important; }
.fenglin-v2-mt-6 { margin-top: 40px !important; }
.fenglin-v2-ml-3 { margin-left: 15px !important; }

.fenglin-v2-small-text {
    font-size: 0.9rem;
    color: #777;
    display: block;
    margin-top: 8px;
    font-style: italic;
}

/* 動畫效果 */
.fenglin-v2-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fenglin-v2-delay-1 { animation-delay: 0.2s; }
.fenglin-v2-delay-2 { animation-delay: 0.4s; }
.fenglin-v2-delay-3 { animation-delay: 0.6s; }
.fenglin-v2-delay-4 { animation-delay: 0.8s; }
.fenglin-v2-delay-5 { animation-delay: 1.0s; }

/* image-text-block 文字大小 */
.image-text-block p {
    font-size: 1rem !important;
    line-height: 1.8;
}

.image-text-block h3 {
    font-size: 1.3rem !important;
}

/* ===== 響應式設計 ===== */
@media (max-width: 768px) {

    .fenglin-v2-knowledge-section {
        padding: 40px 0 60px;
    }

    .fenglin-v2-container {
        padding: 0 15px;
    }

    .fenglin-v2-knowledge-section h1 {
        font-size: 2.2rem;
    }

    .fenglin-v2-knowledge-section h2 {
        font-size: 1.8rem;
        margin-top: 40px;
    }

    .fenglin-v2-knowledge-article {
        padding: 30px 20px;
        margin-bottom: 40px;
        border-radius: 15px;
    }

    .fenglin-v2-feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fenglin-v2-geo-badge-container {
        gap: 10px;
    }

    .fenglin-v2-geo-badge {
        padding: 8px 18px;
        font-size: 0.9rem;
    }

    .fenglin-v2-cta-box {
        padding: 30px 20px;
        margin: 40px 0;
    }

    .fenglin-v2-btn-large {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
        display: block;
    }

    .fenglin-v2-ml-3 {
        margin-left: 0 !important;
    }

    .fenglin-v2-text-center .fenglin-v2-mt-4 .fenglin-v2-btn + .fenglin-v2-btn {
        margin-left: 0;
        margin-top: 15px;
    }

    .fenglin-v2-numbered-list li {
        padding: 15px 15px 15px 60px;
    }

    .fenglin-v2-timeline {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {

    .fenglin-v2-knowledge-section h1 {
        font-size: 1.8rem;
    }

    .fenglin-v2-knowledge-section h2 {
        font-size: 1.5rem;
    }

    .fenglin-v2-knowledge-section h3 {
        font-size: 1.3rem;
    }

    .fenglin-v2-knowledge-article {
        padding: 25px 15px;
    }

    .fenglin-v2-feature-item {
        padding: 25px 20px;
    }

    .fenglin-v2-related-grid {
        grid-template-columns: 1fr;
    }

    .fenglin-v2-cta-box {
        padding: 25px 15px;
    }

    .fenglin-v2-citation {
        padding: 20px 15px 20px 20px;
    }
}

/* 打印樣式 */
@media print {

    .fenglin-v2-knowledge-section {
        background: white !important;
        padding: 20px 0 !important;
    }

    .fenglin-v2-knowledge-article {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid !important;
    }

    .fenglin-v2-btn,
    .fenglin-v2-geo-badge,
    .fenglin-v2-related-card {
        display: none !important;
    }
}

/* ===== image-text-block 左圖右文修護 ===== */

/* 外層 experience-badge 確保不截斷 */
.experience-badge {
    background: rgba(255, 107, 53, 0.15);
    border-left: 4px solid #ff6b35;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: visible;
}

.experience-badge h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* 左圖右文主容器 */
.image-text-block {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 30px !important;
    margin: 20px 0 !important;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    padding: 25px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* 圖片容器：左側，固定約45%寬 */
.image-text-block .image-container {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    min-width: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    align-self: stretch !important;
}

.image-text-block .image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
    min-height: 200px !important;
}

.image-text-block .image-container:hover img {
    transform: scale(1.05) !important;
}

/* 圖片說明文字 */
.image-caption {
    text-align: center !important;
    font-style: italic !important;
    color: #718096 !important;
    margin-top: 8px !important;
    font-size: 0.75rem !important;
    padding: 5px 10px !important;
    background-color: rgba(0, 0, 0, 0.03) !important;
    border-radius: 0 0 5px 5px !important;
}

/* 文字容器：右側，佔剩餘空間 */
.image-text-block .text-container {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    padding: 10px 5px !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

/* 文字區塊標題 */
.image-text-block .text-container h3 {
    color: #1a365d !important;
    font-size: 1.3rem !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* 文字區塊段落 */
.image-text-block .text-container p {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    margin-bottom: 12px !important;
    color: #444 !important;
}

/* 淡入動畫（配合 JS IntersectionObserver） */
.image-text-block.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.image-text-block.fade-in.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===== 手機版：改為上圖下文 ===== */
@media (max-width: 640px) {
    .image-text-block {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
        padding: 20px !important;
    }

    .image-text-block .image-container {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        max-height: 260px !important;
        width: 100% !important;
    }

    .image-text-block .text-container {
        flex: 0 0 100% !important;
        width: 100% !important;
        padding: 5px 0 !important;
    }
}