/* ======================================== */
/* 第79期雙月刊 p23-31 樣式檔案 */
/* 生成時間：2026-04-19 */
/* 功能描述：page23-31 的樣式規則 */
/* 來源：仿照 78期 style39-41.css 生成 */
/* 文章：學佛人到底應該是什麼樣子的？（中英對照） */
/* ======================================== */

/* 基本容器樣式 */
.bundle-23-31 .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: #fff;
}

/* 標題樣式 (CHei3HK-Bold, 38pt, #4b8044) */
.bundle-23-31 .title {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: #4b8044;
}

/* 英文副標題 (TimesNewRomanPS-BoldMT, 24pt, #4b8044) */
.bundle-23-31 .title-en {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    color: #4b8044;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-style: italic;
}

/* 作者樣式 */
.bundle-23-31 .author {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
}

/* 分隔線樣式 */
.bundle-23-31 .dotted-line {
    height: 8px;
    width: 100%;
    margin: 25px 0;
    background-image: radial-gradient(circle, #767E77 2px, transparent 2px);
    background-size: 8px 8px;
    background-position: center;
}

/* 內容樣式 */
.bundle-23-31 .content {
    max-width: 600px;
    margin: 0 auto;
}

/* 內容段落樣式 */
.bundle-23-31 .content-paragraph {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    text-indent: 2em;
    font-size: 1rem;
    color: #231f20;
}

/* 無縮排段落 */
.bundle-23-31 .content-paragraph.no-indent {
    text-indent: 0;
}

/* 小標題樣式 (CHei3HK-Bold, 16pt, #4b8044) */
.bundle-23-31 .subtitle {
    font-size: 1.1rem;
    font-weight: bold;
    color: #4b8044;
    margin: 1.5rem 0 1rem 0;
    line-height: 1.5;
}

/* ========================================
   Q&A 問答格式樣式
   ======================================== */

/* 問/答 標籤（中文）DFHeiStd-W9, #4b8044 */
.bundle-23-31 .qa-label {
    font-weight: bold;
    color: #4b8044;
    display: inline;
}

/* Q:/A: 英文標籤（TimesNewRomanPS-BoldMT, #4b8044）*/
.bundle-23-31 .qa-label-en {
    font-weight: bold;
    color: #4b8044;
    font-style: italic;
    display: inline;
}

/* Q&A 段落（整個問或答區塊）*/
.bundle-23-31 .qa-block {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 1rem;
    color: #231f20;
    text-indent: 2em;
}

/* 頁碼樣式 */
.bundle-23-31 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.bundle-23-31 .page-text {
    font-size: 0.9rem;
    color: #666;
}

.bundle-23-31 .page-circle {
    background-color: #767E77;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Figure/Image Styles */
.bundle-23-31 figure {
    margin-bottom: 1rem;
}

.bundle-23-31 figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-23-31 figcaption {
    font-size: 0.9em;
    color: #806856;
    text-align: center;
    margin-top: 5px;
}

/* ========================================
   Page 25 & 29 專屬樣式：文繞圖（右側浮動）
   ======================================== */

.bundle-23-31 .float-image-right {
    float: right;
    margin: 0 0 15px 20px;
    width: 42%;
}

.bundle-23-31 .float-image-right img {
    width: 100%;
    height: auto;
    display: block;
}

.bundle-23-31 .float-image-right figcaption {
    font-size: 0.85em;
    color: #806856;
    text-align: center;
    margin-top: 6px;
}

.bundle-23-31 .clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ========================================
   Page 30 專屬樣式：全圖片排版
   ======================================== */

.bundle-23-31 .page-30 {
    padding: 0;
    overflow: hidden;
}

.bundle-23-31 .page-30.full-page-image .content {
    max-width: 100%;
    padding: 0;
}

.bundle-23-31 .page-30.full-page-image figure {
    margin: 0;
}

.bundle-23-31 .page-30.full-page-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-23-31 .page-30.full-page-image figcaption {
    padding: 10px 20px 20px 20px;
    color: #806856;
    font-size: 0.9rem;
    text-align: center;
}

/* ========================================
   Page 31 專屬樣式：譯者說明
   ======================================== */

.bundle-23-31 .translator-note {
    text-align: center;
    font-size: 0.95rem;
    color: #555;
    margin-top: 2rem;
    font-style: italic;
}

/* ========================================
   響應式設計
   ======================================== */

@media (max-width: 768px) {
    .bundle-23-31 .container {
        margin: 0 auto 2rem auto;
        padding: 15px;
    }

    .bundle-23-31 .title {
        font-size: 1.8rem;
    }

    .bundle-23-31 .content-paragraph {
        text-indent: 1.5em;
        font-size: 0.95rem;
    }

    .bundle-23-31 .float-image-right {
        width: 40%;
        margin: 0 0 10px 12px;
    }
}

@media (max-width: 480px) {
    .bundle-23-31 .title {
        font-size: 1.6rem;
    }

    .bundle-23-31 .content-paragraph {
        text-indent: 1em;
        font-size: 0.9rem;
    }

    .bundle-23-31 .float-image-right {
        float: none;
        width: 100%;
        margin: 0 0 15px 0;
    }
}

/* Bundle 23-31 專屬 fixed-vertical-label 樣式 */
.bundle-23-31-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #767E77;
    color: white;
    padding: 10px 8px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 1rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .bundle-23-31-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0px;
        left: 0px;
        line-height: 1.2;
    }
}
