/* style123-127.css */
/* 基於分析報告的頁面樣式 - 環保慈善主題：海上「巨獸」有四個日本那麼大 */

/* ============================================ */
/* 主容器 */
/* ============================================ */
.bundle-123-127 .container {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 100px 20px 100px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background-color: #F1F7DE; /* 環保慈善主題背景色 */
    position: relative;
}

/* ============================================ */
/* 標題樣式 (Page 123) - 基於字體分析報告 */
/* 字體：DFMingStd-W9，字級：38.0，顏色：#ea8a70 */
/* ============================================ */
.bundle-123-127 .title.page-123-title {
    text-align: center;
    color: #EA8A70; /* 基於分析報告的顏色 */
    margin: 10px 0 5px 0;
    font-size: 2.8rem; /* 對應38.0字級 */
    font-weight: bold;
    line-height: 1.4;
    font-family: 'DFMingStd-W9', 'GenJyuuGothic-Bold', sans-serif;
}

/* 作者樣式 - 基於字體分析報告 */
/* 字體：DFKaiShu-SB-Estd-BF，字級：12.0，顏色：#231f20 */
.bundle-123-127 .author {
    text-align: right;
    color: #231F20;
    font-size: 1rem;
    font-family: 'DFKaiShu-SB-Estd-BF', 'KaiTi', serif;
    margin-bottom: 20px;
}

/* ============================================ */
/* 內容樣式 */
/* ============================================ */
.bundle-123-127 .content {
    max-width: 100%;
    margin: 0 auto;
}

.bundle-123-127 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
    color: #231F20; /* 基於分析報告的文字顏色 */
    font-family: 'DFMingStd-W5', serif;
}

/* 圓形點點的虛線 */
.bundle-123-127 .dotted-line {
    height: 8px;
    width: 100%;
    margin: 25px 0;
    background-image: radial-gradient(circle, #EA8A70 2px, transparent 2px);
    background-size: 8px 8px;
    background-position: center;
}

/* ============================================ */
/* Figure/Image Styles - 基於圖片排版分析報告 */
/* ============================================ */
.bundle-123-127 figure {
    margin-bottom: 1rem;
}

.bundle-123-127 figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee;
    border-radius: 4px;
}

.bundle-123-127 figcaption {
    font-size: 0.9em;
    color: #806856;
    font-family: 'DFHeiStd-W3', sans-serif;
    text-align: center;
    margin-top: 5px;
    line-height: 1.6;
}

/* 下方排版圖片 (Page 123, 124, 125) - 基於分析報告 */
.bundle-123-127 .figure-bottom {
    text-align: center;
    margin: 30px auto 20px auto;
    max-width: 80%;
    clear: both;
}

/* ============================================ */
/* Page 123 專屬樣式 */
/* ============================================ */
.bundle-123-127 .page-123 .content-paragraph {
    text-indent: 2em;
}

/* ============================================ */
/* Page 124-125 專屬樣式 - 中央置中文字頁面 */
/* ============================================ */
.bundle-123-127 .page-124,
.bundle-123-127 .page-125 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.bundle-123-127 .page-124 .centered-text,
.bundle-123-127 .page-125 .centered-text {
    text-align: center;
    font-size: 1.2rem; /* 對應14.0字級 */
    color: #231F20;
    margin: 20px 0;
}

/* Page 124 - Namo Amitābha (TimesNewRomanPSMT) */
.bundle-123-127 .page-124 .centered-text {
    font-family: 'Times New Roman', TimesNewRomanPSMT, serif;
    font-style: italic;
}

/* Page 125 - 南無阿彌陀佛 (GenJyuuGothicL-Monospace) */
.bundle-123-127 .page-125 .centered-text {
    font-family: 'GenJyuuGothicL-Monospace', 'Noto Sans TC', sans-serif;
}

/* Page 124-125 圖片容器 */
.bundle-123-127 .page-124 .figure-center,
.bundle-123-127 .page-125 .figure-center {
    text-align: center;
    margin: 20px auto;
    max-width: 80%;
}

/* ============================================ */
/* Page 126-127 專屬樣式 - 純文字頁面（無圖片） */
/* ============================================ */
.bundle-123-127 .page-126 .content-paragraph,
.bundle-123-127 .page-127 .content-paragraph {
    text-indent: 2em;
}

/* 右對齊文字 */
.bundle-123-127 .text-right {
    text-align: right;
    text-indent: 0;
}

/* ============================================ */
/* 頁碼 */
/* ============================================ */
.bundle-123-127 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding: 8px 0;
    clear: both;
}

.bundle-123-127 .page-text {
    font-size: 0.9em;
    color: #555;
}

.bundle-123-127 .page-circle {
    background: #90B744; /* 環保慈善主題色 */
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* 清除浮動 */
.bundle-123-127 .container::after,
.bundle-123-127 .content::after {
    content: "";
    display: table;
    clear: both;
}

/* 固定垂直標籤 */
.bundle-123-127-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #90B744; /* 環保慈善主題色 */
    color: white;
    padding: 10px 8px;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 5px;
    z-index: 1000;
    font-weight: bold;
}

/* ============================================ */
/* 響應式設計 (RWD) */
/* ============================================ */
@media (max-width: 992px) {
    .bundle-123-127 .container {
        padding: 20px 40px;
    }

    .bundle-123-127 .figure-bottom,
    .bundle-123-127 .page-124 .figure-center,
    .bundle-123-127 .page-125 .figure-center {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .bundle-123-127 .container {
        padding: 15px 20px;
    }

    .bundle-123-127 .title.page-123-title {
        font-size: 1.8rem;
    }

    .bundle-123-127 .content {
        max-width: 100%;
    }

    .bundle-123-127-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0;
        left: 0;
        line-height: 1.2;
    }

    .bundle-123-127 .page-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .bundle-123-127 .figure-bottom,
    .bundle-123-127 .page-124 .figure-center,
    .bundle-123-127 .page-125 .figure-center {
        max-width: 95%;
        margin: 20px auto;
    }

    .bundle-123-127 .page-124,
    .bundle-123-127 .page-125 {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .bundle-123-127 .container {
        padding: 10px 15px;
    }

    .bundle-123-127 .title.page-123-title {
        font-size: 1.5rem;
    }

    .bundle-123-127 .content-paragraph {
        font-size: 0.95rem;
    }

    .bundle-123-127 .figure-bottom,
    .bundle-123-127 .page-124 .figure-center,
    .bundle-123-127 .page-125 .figure-center {
        max-width: 100%;
        margin: 15px auto;
    }

    .bundle-123-127 figcaption {
        font-size: 0.85em;
    }

    .bundle-123-127 .page-124 .centered-text,
    .bundle-123-127 .page-125 .centered-text {
        font-size: 1rem;
    }
}

