/* ================================================
   style32-47.css — Bundle p32-47
   79期 超神祕的電波（一）釋道晟
   ================================================ */

/* ========================================
   基本容器樣式（同 p23-31 結構規範）
   ======================================== */

.bundle-32-47 .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;
}

/* 內容區 */
.bundle-32-47 .content {
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   頁碼樣式
   ======================================== */

.bundle-32-47 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

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

.bundle-32-47 .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;
}

/* ========================================
   分隔線
   ======================================== */

.bundle-32-47 .dotted-line {
    height: 8px;
    width: 100%;
    margin: 20px 0;
    background-image: radial-gradient(circle, #767E77 2px, transparent 2px);
    background-size: 8px 8px;
    background-position: center;
}

/* ========================================
   圖片基礎樣式
   ======================================== */

.bundle-32-47 figure {
    margin-bottom: 1rem;
}

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

.bundle-32-47 figcaption {
    font-size: 0.9em;
    color: #806856;
    text-align: center;
    margin-top: 5px;
    line-height: 1.6;
}

/* ========================================
   內文段落（一般文章正文）
   ======================================== */

.bundle-32-47 .content-paragraph {
    color: #231f20;
    line-height: 1.9;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.bundle-32-47 .content-paragraph.indent {
    text-indent: 2em;
}

/* ========================================
   文章標題區塊（p32 大標）
   ======================================== */

.bundle-32-47 .article-title-block {
    text-align: center;
    margin-bottom: 1rem;
}

.bundle-32-47 .article-main-title {
    font-family: 'CHei3HK-Bold', 'PingFang TC', 'Noto Sans TC', sans-serif;
    font-size: 2.2rem;
    color: #4b8044;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.05em;
    margin: 1.5rem 0 0.3rem 0;
    text-align: center;
}

.bundle-32-47 .article-main-subtitle {
    font-family: 'CHei3HK-Bold', 'PingFang TC', 'Noto Sans TC', sans-serif;
    font-size: 1.4rem;
    color: #4b8044;
}

/* 作者行 */
.bundle-32-47 .article-author {
    text-align: center;
    color: #333;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

/* ========================================
   CHei3HK-Bold 綠色章節標題（一、前言 / 二、光明）
   ======================================== */

.bundle-32-47 .article-subtitle {
    font-family: 'CHei3HK-Bold', 'PingFang TC', 'Noto Sans TC', sans-serif;
    font-size: 1.1rem;
    color: #4b8044;
    font-weight: bold;
    margin: 1.8rem 0 0.6rem 0;
}

/* ========================================
   第二層標題（（一）一般的光 / （二）諸佛光明）
   ======================================== */

.bundle-32-47 .sub-section-heading {
    font-size: 1rem;
    color: #77ab42;
    font-weight: 600;
    margin: 1.2rem 0 0.5rem 0;
}

/* ========================================
   感應故事標題（DFHeiStd-W9 #b87969）
   ======================================== */

.bundle-32-47 .story-heading {
    font-size: 1.05rem;
    color: #b87969;
    font-weight: bold;
    margin: 1.5rem 0 0.4rem 0;
}

/* 感應故事 meta（DFHeiStd-W5 #b87969）*/
.bundle-32-47 .story-meta {
    font-size: 0.85rem;
    color: #b87969;
    margin-bottom: 0.8rem;
    font-style: italic;
}

/* ========================================
   道晟法師案語
   ======================================== */

/* 案語標題 */
.bundle-32-47 .commentary-heading {
    font-size: 1.05rem;
    color: #b87969;
    font-weight: bold;
    margin: 1.8rem 0 0.6rem 0;
    padding: 0.4rem 0.8rem;
    border-left: 4px solid #b87969;
    background: rgba(184, 121, 105, 0.05);
}

/* 案語文字（DFYuanStd-W3 #665344）*/
.bundle-32-47 .commentary-text {
    color: #665344;
    line-height: 1.9;
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.bundle-32-47 .commentary-text.indent {
    text-indent: 2em;
}

/* ========================================
   引經文（左側綠線 blockquote 風格）
   ======================================== */

.bundle-32-47 .quote-text {
    font-style: italic;
    color: #231f20;
    background: rgba(75, 128, 68, 0.04);
    border-left: 2px solid #77ab42;
    padding: 0.4rem 0.8rem;
    margin: 0.6rem 0 0.6rem 0;
    line-height: 1.85;
    display: block;
}

/* ========================================
   章節大標籤（A、B、C、D、E、F）
   ======================================== */

.bundle-32-47 .section-label {
    font-weight: bold;
    color: #231f20;
    margin: 1.2rem 0 0.4rem 0;
    line-height: 1.8;
}

/* ========================================
   編號列點項目（1、2、3...）
   ======================================== */

.bundle-32-47 .numbered-item {
    color: #231f20;
    line-height: 1.9;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* ========================================
   圖片：上方排版（p37、p41、p47）
   ======================================== */

.bundle-32-47 .page-image-top {
    text-align: center;
    margin-bottom: 1.5rem;
}

.bundle-32-47 .page-image-top img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-32-47 .page-image-top figcaption {
    font-size: 0.82rem;
    color: #806856;
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* ========================================
   全圖片頁面（p44）
   ======================================== */

.bundle-32-47 .page-44.full-page-image {
    padding: 0;
}

.bundle-32-47 .page-44.full-page-image .content {
    max-width: 100%;
    padding: 0;
}

.bundle-32-47 .page-44.full-page-image figure {
    margin: 0;
    padding: 0;
    text-align: center;
}

.bundle-32-47 .page-44.full-page-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-32-47 .page-44.full-page-image figcaption {
    font-size: 0.82rem;
    color: #806856;
    text-align: center;
    padding: 0.5rem 0;
    line-height: 1.6;
}

/* ========================================
   文章結尾資訊（日期、地點）
   ======================================== */

.bundle-32-47 .article-footer {
    text-align: right;
    color: #231f20;
    font-size: 0.92rem;
    margin-top: 2rem;
    line-height: 1.8;
}

/* ========================================
   fixed-vertical-label（bundle 顏色）
   ======================================== */

.bundle-32-47-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-32-47 .container {
        margin: 0 auto 2rem auto;
        padding: 15px;
    }

    .bundle-32-47 .article-main-title {
        font-size: 1.8rem;
    }

    .bundle-32-47 .content-paragraph.indent,
    .bundle-32-47 .commentary-text.indent {
        text-indent: 1.5em;
    }

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

@media (max-width: 480px) {
    .bundle-32-47 .article-main-title {
        font-size: 1.5rem;
    }

    .bundle-32-47 .content-paragraph.indent,
    .bundle-32-47 .commentary-text.indent {
        text-indent: 1em;
    }

    .bundle-32-47 .quote-text {
        padding: 0.3rem 0.5rem;
    }
}
