/* ================================================
   style50-53.css — Bundle p50-53
   79期 [淨土宗妙喻] 彌陀的救度：靈丹妙藥喻 / 釋慧淨
   來源：仿照 78期 style56-57.css 生成
   ================================================ */

/* 主容器 */
.bundle-50-53 .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, 35.6pt, #77ab42）*/
.bundle-50-53 .title {
    text-align: center;
    color: #77ab42;
    margin-bottom: 10px;
    font-size: 2.6rem;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.03em;
}

/* 作者樣式 */
.bundle-50-53 .author {
    text-align: center;
    margin: 15px 0;
    font-size: 1rem;
}

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

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

/* 內容段落 */
.bundle-50-53 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
    color: #231f20;
}

/* 圖片容器 */
.bundle-50-53 .page-figure {
    margin: 0 0 20px 0;
    text-align: center;
}

.bundle-50-53 .page-figure img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

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

/* 上方裝飾橫幅 */
.bundle-50-53 .top-decorative-image {
    margin-bottom: 25px;
}

.bundle-50-53 .top-decorative-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* 下方裝飾圖 / 第二張圖 */
.bundle-50-53 .bottom-decorative-image {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.bundle-50-53 .bottom-decorative-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

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

.bundle-50-53 .page-text {
    font-size: 14px;
    color: #666;
}

.bundle-50-53 .page-circle {
    background: #77ab42;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

/* 結束標記 */
.bundle-50-53 .end-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-left: 5px;
    vertical-align: middle;
    background-image: url('../common/logo-notext.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* fixed-vertical-label（淨土宗妙喻 #77AB42）*/
.bundle-50-53-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #77ab42;
    color: white;
    padding: 10px 8px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 1rem;
    font-weight: bold;
}

/* ========================================
   Page 50 專屬樣式
   ======================================== */
.bundle-50-53 .page-50 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ========================================
   Page 51 專屬樣式：內容圖 + 繼文
   ======================================== */
.bundle-50-53 .page-51 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ========================================
   Page 52 專屬樣式：全圖片頁
   ======================================== */
.bundle-50-53 .page-52 {
    padding: 0;
}

.bundle-50-53 .page-52 .content {
    max-width: 100%;
    padding: 0;
}

.bundle-50-53 .page-52 .page-figure {
    margin: 0;
}

.bundle-50-53 .page-52 .page-figure img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-50-53 .page-52 figcaption {
    padding: 8px 20px 12px 20px;
    color: #806856;
    font-size: 0.9rem;
    text-align: center;
}

/* ========================================
   Page 53 專屬樣式：【經典依據】附錄頁
   ======================================== */

/* 大章節標題：【經典依據】CHei3HK-Bold #4b8044 */
.bundle-50-53 .page-53 .section-heading {
    font-size: 1.1rem;
    font-weight: bold;
    color: #4b8044;
    margin: 20px 0 10px 0;
}

/* 五項小節標題：MElleHK-Medium #77ab42 */
.bundle-50-53 .page-53 .sub-title {
    font-size: 1rem;
    font-weight: bold;
    color: #77ab42;
    margin: 16px 0 8px 0;
}

/* 引文段落：DFKaiShuStd-W7 粗體 */
.bundle-50-53 .page-53 .quote-block {
    margin: 6px 0 14px 0;
    line-height: 1.9;
    color: #231f20;
    font-weight: bold;
    padding-left: 1em;
}

.bundle-50-53 .page-53 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 14px;
    line-height: 1.8;
}



/* ========================================
   響應式設計 (RWD)
   ======================================== */

@media (max-width: 1024px) {
    .bundle-50-53 .container {
        padding: 20px 60px;
    }

    .bundle-50-53 .title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .bundle-50-53 .container {
        padding: 15px 30px;
        margin-bottom: 2rem;
    }

    .bundle-50-53 .title {
        font-size: 1.9rem;
    }

    .bundle-50-53 .author {
        font-size: 0.9rem;
    }

    .bundle-50-53 .content-paragraph {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .bundle-50-53 .dotted-line {
        margin: 20px 0;
    }

    .bundle-50-53 .top-decorative-image {
        margin-bottom: 20px;
    }

    .bundle-50-53 .bottom-decorative-image {
        margin-top: 15px;
    }

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

@media (max-width: 480px) {
    .bundle-50-53 .container {
        padding: 15px 20px;
        margin-bottom: 1.5rem;
    }

    .bundle-50-53 .title {
        font-size: 1.6rem;
    }

    .bundle-50-53 .author {
        font-size: 0.85rem;
        margin: 10px 0;
    }

    .bundle-50-53 .content-paragraph {
        font-size: 0.9rem;
        line-height: 1.6;
        text-indent: 1.5em;
        margin-bottom: 12px;
    }

    .bundle-50-53 .dotted-line {
        height: 6px;
        margin: 15px 0;
        background-size: 6px 6px;
    }

    .bundle-50-53 .page-number {
        margin-top: 20px;
        gap: 6px;
    }

    .bundle-50-53 .page-text {
        font-size: 12px;
    }

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

    .bundle-50-53 .top-decorative-image {
        margin-bottom: 15px;
    }

    .bundle-50-53 .bottom-decorative-image {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}
