/* 第76期 page5-29 樣式 */
/**
 * 生成時間：2025-11-05 06:48:00
 * 功能描述：第76期雙月刊 page5-29 頁面樣式
 * 包含頁面：page5-29（阿彌陀佛四十八題──以四十八題略解「阿彌陀佛是怎樣一尊佛？」（二十．上））
 */

/* 主容器 */
.bundle-5-29 .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;
    position: relative;
}

/* ============ 標題樣式 ============ */

/* Page 5-29: 阿彌陀佛四十八題 - 使用 #86633A 色系 */
.bundle-5-29 .page-5 .title,
.bundle-5-29 .page-5 .subtitle,
.bundle-5-29 .page-5 .chapter {
    color: #86633A;
}

/* Page 14: 輪迴諸趣眾生類 - 標題字級38.0pt */
.bundle-5-29 .page-14 .title {
    font-size: 3.167rem; /* 38.0pt / 12pt = 3.167rem */
}

/* Page 14: 副標題字級23.9pt */
.bundle-5-29 .page-14 .subtitle {
    font-size: 1.992rem; /* 23.9pt / 12pt = 1.992rem */
}

.bundle-5-29 .title {
    text-align: center;
    color: #806856;
    margin: 10px 0 5px 0;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.3;
}

.bundle-5-29 .subtitle {
    text-align: center;
    color: #806856;
    font-size: 1.2rem;
    margin: 0 auto 10px auto;
    max-width: 90%;
}

.bundle-5-29 .chapter {
    text-align: center;
    color: #806856;
    margin: 5px 0 20px 0;
    font-size: 1.2rem;
}

/* ============ 作者樣式 ============ */
.bundle-5-29 .author {
    text-align: center;
    margin: 15px 0;
    font-size: 1rem;
    color: #231f20;
}

/* ============ 圓形點點的虛線 ============ */
.bundle-5-29 .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-5-29 .content {
    max-width: 600px;
    margin: 0 auto;
}

/* 頁面 6-29 使用全寬 */
.bundle-5-29 .page-6 .content,
.bundle-5-29 .page-7 .content,
.bundle-5-29 .page-8 .content,
.bundle-5-29 .page-9 .content,
.bundle-5-29 .page-10 .content,
.bundle-5-29 .page-11 .content,
.bundle-5-29 .page-12 .content,
.bundle-5-29 .page-13 .content,
.bundle-5-29 .page-14 .content,
.bundle-5-29 .page-15 .content,
.bundle-5-29 .page-16 .content,
.bundle-5-29 .page-17 .content,
.bundle-5-29 .page-18 .content,
.bundle-5-29 .page-19 .content,
.bundle-5-29 .page-20 .content,
.bundle-5-29 .page-21 .content,
.bundle-5-29 .page-22 .content,
.bundle-5-29 .page-23 .content,
.bundle-5-29 .page-24 .content,
.bundle-5-29 .page-25 .content,
.bundle-5-29 .page-26 .content,
.bundle-5-29 .page-27 .content,
.bundle-5-29 .page-28 .content,
.bundle-5-29 .page-29 .content {
    max-width: none;
}

/* ============ 小標題樣式 ============ */

/* 一般小標題 */
.bundle-5-29 .content-title {
    text-align: left;
    color: #86633A;
    margin: 30px 0 20px;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Page 15: 小標題字級16.0pt */
.bundle-5-29 .page-15 .content-title {
    font-size: 1.333rem; /* 16.0pt / 12pt = 1.333rem */
}

/* Page 16: 小標題字級16.0pt */
.bundle-5-29 .page-16 .content-title {
    font-size: 1.333rem; /* 16.0pt / 12pt = 1.333rem */
}

/* Page 18: 小標題字級16.0pt */
.bundle-5-29 .page-18 .content-title {
    font-size: 1.333rem; /* 16.0pt / 12pt = 1.333rem */
}

/* Page 24: 小標題字級16.0pt */
.bundle-5-29 .page-24 .content-title {
    font-size: 1.333rem; /* 16.0pt / 12pt = 1.333rem */
}

/* Page 26: 小標題字級16.0pt */
.bundle-5-29 .page-26 .content-title {
    font-size: 1.333rem; /* 16.0pt / 12pt = 1.333rem */
}

/* Page 27: 小標題字級16.0pt */
.bundle-5-29 .page-27 .content-title {
    font-size: 1.333rem; /* 16.0pt / 12pt = 1.333rem */
}

/* Page 28: 小標題字級16.0pt */
.bundle-5-29 .page-28 .content-title {
    font-size: 1.333rem; /* 16.0pt / 12pt = 1.333rem */
}

/* Page 29: 小標題字級16.0pt */
.bundle-5-29 .page-29 .content-title {
    font-size: 1.333rem; /* 16.0pt / 12pt = 1.333rem */
}

/* ============ 段落樣式 ============ */
.bundle-5-29 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem; /* 12.0pt / 12pt = 1rem */
    color: #231f20;
}

/* 粗體文字 */
.bundle-5-29 .content-paragraph .fw-bold {
    font-weight: 700;
    color: #231f20;
}

/* Page 24: 段落中的粗體文字顏色 */
.bundle-5-29 .page-24 .content-paragraph .fw-bold {
    color: #231f20;
    font-weight: 700;
}

/* Page 26-29: 段落中只有 fw-bold 的小標題樣式（14.0pt, #86633a, medium weight） */
.bundle-5-29 .page-26 .content-paragraph:has(> .fw-bold:only-child) .fw-bold,
.bundle-5-29 .page-27 .content-paragraph:has(> .fw-bold:only-child) .fw-bold,
.bundle-5-29 .page-28 .content-paragraph:has(> .fw-bold:only-child) .fw-bold,
.bundle-5-29 .page-29 .content-paragraph:has(> .fw-bold:only-child) .fw-bold {
    font-size: 1.167rem; /* 14.0pt / 12pt = 1.167rem */
    color: #86633a;
    font-weight: 500; /* medium weight */
    display: block; /* 確保獨佔一行 */
}

/* Page 26-29: 段落中混合文字的粗體（在段落中間的 fw-bold）保持原樣 */
.bundle-5-29 .page-26 .content-paragraph:not(:has(> .fw-bold:only-child)) .fw-bold,
.bundle-5-29 .page-27 .content-paragraph:not(:has(> .fw-bold:only-child)) .fw-bold,
.bundle-5-29 .page-28 .content-paragraph:not(:has(> .fw-bold:only-child)) .fw-bold,
.bundle-5-29 .page-29 .content-paragraph:not(:has(> .fw-bold:only-child)) .fw-bold {
    font-size: 1rem; /* 12.0pt */
    color: #231f20;
    font-weight: 700;
}

/* 14.0字級、#86633a顏色的文字（用於page6的重點文字） */
.bundle-5-29 .content-paragraph .font-medium-14 {
    font-size: 1.17rem; /* 14.0px / 12px = 1.17rem */
    color: #86633a;
    font-weight: 500;
}

/* 縮排5.5個半形字元（用於page6的第二段重點文字） */
.bundle-5-29 .content-paragraph.indent-5em {
    text-indent: 5.5em;
}

/* ============ 頁碼樣式 ============ */
.bundle-5-29 .page-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.bundle-5-29 .page-number .page-text {
    color: #666;
}

.bundle-5-29 .page-number .page-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #806856;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.bundle-5-29 .page-7 figcaption {
	color: #806856;
	font-size: 0.9rem;
	margin-top: 15px;
}

.bundle-5-29 .page-11 figcaption {
	color: #806856;
	font-size: 0.9rem;
	margin-top: 15px;
}

.bundle-5-29 .page-25 figcaption {
	color: #806856;
	font-size: 0.9rem;
	margin-top: 15px;
}

/* ============ 響應式設計 ============ */
@media (max-width: 768px) {
    .bundle-5-29 .container {
        padding: 15px 30px;
    }

    .bundle-5-29 .title {
        font-size: 1.8rem;
    }

    /* Page 14 標題響應式 */
    .bundle-5-29 .page-14 .title {
        font-size: 2.4rem;
    }

    .bundle-5-29 .subtitle {
        font-size: 1rem;
    }

    /* Page 14 副標題響應式 */
    .bundle-5-29 .page-14 .subtitle {
        font-size: 1.5rem;
    }

    .bundle-5-29 .content-title {
        font-size: 1.1rem;
    }

    /* Page 15 小標題響應式 */
    .bundle-5-29 .page-15 .content-title {
        font-size: 1.2rem;
    }

    /* Page 16 小標題響應式 */
    .bundle-5-29 .page-16 .content-title {
        font-size: 1.2rem;
    }

    /* Page 18 小標題響應式 */
    .bundle-5-29 .page-18 .content-title {
        font-size: 1.2rem;
    }

    /* Page 24-29 小標題響應式 */
    .bundle-5-29 .page-24 .content-title,
    .bundle-5-29 .page-26 .content-title,
    .bundle-5-29 .page-27 .content-title,
    .bundle-5-29 .page-28 .content-title,
    .bundle-5-29 .page-29 .content-title {
        font-size: 1.2rem;
    }

    /* Page 26-29 粗體小標題響應式 */
    .bundle-5-29 .page-26 .content-paragraph:has(> .fw-bold:only-child) .fw-bold,
    .bundle-5-29 .page-27 .content-paragraph:has(> .fw-bold:only-child) .fw-bold,
    .bundle-5-29 .page-28 .content-paragraph:has(> .fw-bold:only-child) .fw-bold,
    .bundle-5-29 .page-29 .content-paragraph:has(> .fw-bold:only-child) .fw-bold {
        font-size: 1.1rem;
    }

    /* Page 18 文繞圖響應式 */
    .bundle-5-29 .page-18-text-wrap-image {
        margin: 0 0 15px 20px;
    }

    .bundle-5-29 .page-18-text-wrap-image figcaption {
        font-size: 0.8em;
    }

    /* Page 22 文繞圖響應式 */
    .bundle-5-29 .page-22-text-wrap-image {
        margin: 15px 0 15px 20px;
    }

    .bundle-5-29 .page-22-text-wrap-image figcaption {
        font-size: 0.8em;
    }

    /* Page 24 文繞圖響應式 */
    .bundle-5-29 .page-24-text-wrap-image {
        margin: 15px 0 15px 20px;
    }

    .bundle-5-29 .page-24-text-wrap-image figcaption {
        font-size: 0.8em;
    }
}

/* Page 19: 圖片頁樣式 */
.bundle-5-29 .page-19 .full-page-image {
    margin: 0 auto;
    text-align: center;
}

.bundle-5-29 .page-19 .full-page-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-5-29 .page-19 figcaption {
    color: #806856;
    font-size: 0.9rem;
    margin-top: 15px;
    text-align: center;
}

/* Page 25: 圖片頁樣式 */
.bundle-5-29 .page-25 .full-page-image {
    margin: 0 auto;
    text-align: center;
}

.bundle-5-29 .page-25 .full-page-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-5-29 .page-25 figcaption {
    color: #806856;
    font-size: 0.9rem;
    margin-top: 15px;
    text-align: center;
}

/* Page 18: 文繞圖排版樣式 */
.bundle-5-29 .page-18-text-wrap-image {
    margin: 0 0 15px 40px;
}

.bundle-5-29 .page-18-text-wrap-image img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 4px;
    display: block;
}

.bundle-5-29 .page-18-text-wrap-image figcaption {
    font-size: 0.85em;
    color: #806856;
    text-align: center;
    margin-top: 5px;
    line-height: 1.3;
    padding: 0 5px;
}

/* 確保第18頁內容容器 */
.bundle-5-29 .page-18 .content {
    overflow: hidden;
}

/* Page 22: 文繞圖排版樣式 */
.bundle-5-29 .page-22-text-wrap-image {
    margin: 20px 0 15px 40px;
}

.bundle-5-29 .page-22-text-wrap-image img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 4px;
    display: block;
}

.bundle-5-29 .page-22-text-wrap-image figcaption {
    font-size: 0.85em;
    color: #806856;
    text-align: center;
    margin-top: 5px;
    line-height: 1.3;
    padding: 0 5px;
}

/* 確保第22頁內容容器 */
.bundle-5-29 .page-22 .content {
    overflow: hidden;
}

/* Page 24: 文繞圖排版樣式 */
.bundle-5-29 .page-24-text-wrap-image {
    margin: 20px 0 15px 40px;
}

.bundle-5-29 .page-24-text-wrap-image img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 4px;
    display: block;
}

.bundle-5-29 .page-24-text-wrap-image figcaption {
    font-size: 0.85em;
    color: #806856;
    text-align: center;
    margin-top: 5px;
    line-height: 1.3;
    padding: 0 5px;
}

/* 確保第24頁內容容器 */
.bundle-5-29 .page-24 .content {
    overflow: hidden;
}

@media (max-width: 480px) {
    .bundle-5-29 .container {
        padding: 10px 20px;
    }

    .bundle-5-29 .title {
        font-size: 1.5rem;
    }

    .bundle-5-29 .content-paragraph {
        text-indent: 1.5em;
    }

    /* Page 19 響應式 */
    .bundle-5-29 .page-19 figcaption {
        font-size: 0.8rem;
        margin-top: 10px;
    }

    /* Page 25 響應式 */
    .bundle-5-29 .page-25 figcaption {
        font-size: 0.8rem;
        margin-top: 10px;
    }
}

/* ============ 固定垂直標籤樣式 ============ */
.bundle-5-29-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #86633A;
    color: white;
    padding: 10px 8px;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 5px;
    z-index: 1000;
    font-weight: bold;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* 響應式：小螢幕調整 */
@media (max-width: 768px) {
    .bundle-5-29-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0px;
        left: 0px;
        line-height: 1.2;
    }
}

