/* 第78期 page29-38 樣式 */
/**
 * 生成時間：2026-04-11 05:44:00
 * 功能描述：第78期雙月刊 page29-38 頁面樣式
 * 包含頁面：page29-38（阿彌陀佛四十八題──以四十八題略解「阿彌陀佛是怎樣一尊佛？」（二十‧下））
 * 來源：複製自76期 style5-29.css，替換 .bundle-5-29 → .bundle-29-38
 */

/* 主容器 */
.bundle-29-38 .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 29: 阿彌陀佛四十八題 - 使用 #86633A 色系 */
.bundle-29-38 .page-29 .title,
.bundle-29-38 .page-29 .subtitle,
.bundle-29-38 .page-29 .chapter {
    color: #86633A;
}

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

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

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

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

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

/* 頁面 30-38 使用全寬 */
.bundle-29-38 .page-30 .content,
.bundle-29-38 .page-31 .content,
.bundle-29-38 .page-32 .content,
.bundle-29-38 .page-33 .content,
.bundle-29-38 .page-34 .content,
.bundle-29-38 .page-35 .content,
.bundle-29-38 .page-36 .content,
.bundle-29-38 .page-37 .content,
.bundle-29-38 .page-38 .content {
    max-width: none;
}

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

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

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

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

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

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

/* ============ 頁碼樣式 ============ */
.bundle-29-38 .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-29-38 .page-number .page-text {
    color: #666;
}

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

/* ============ 圖片樣式 ============ */

/* 通用 figcaption */
.bundle-29-38 figcaption {
    color: #806856;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
}

/* 文繞圖通用 */
.bundle-29-38 [class*="-text-wrap-image"] {
    float: left;
    width: 40%;
    margin: 0 20px 15px 0;
}

.bundle-29-38 [class*="-text-wrap-image"] img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 4px;
    display: block;
}

.bundle-29-38 [class*="-text-wrap-image"] figcaption {
    font-size: 0.85em;
    color: #806856;
    text-align: center;
    margin-top: 5px;
    line-height: 1.3;
    padding: 0 5px;
}

/* 確保文繞圖頁面清除浮動 */
.bundle-29-38 .page-30 .content,
.bundle-29-38 .page-31 .content,
.bundle-29-38 .page-32 .content {
    overflow: hidden;
}

/* Page 31: 文繞圖在右側 */
.bundle-29-38 .page-31-text-wrap-image {
    float: right;
    margin: 0 0 15px 20px;
}

/* Page 33: 全圖片頁 */
.bundle-29-38 .page-33 .full-page-image {
    margin: 0 auto;
    text-align: center;
}

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

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

/* 確保 page-34/35 文繞圖頁面清除浮動 */
.bundle-29-38 .page-34 .content,
.bundle-29-38 .page-35 .content {
    overflow: hidden;
}

/* Page 35: 文繞圖在右側 */
.bundle-29-38 .page-35-text-wrap-image {
    float: right;
    margin: 0 0 15px 20px;
}

/* Page 38: 圖片在上方 */
.bundle-29-38 .page-38 .page-image-top {
    margin: 0 auto 20px auto;
    text-align: center;
}

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

.bundle-29-38 .page-38 .page-image-top figcaption {
    color: #806856;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
}

/* Page 38: （待續）標記 */
.bundle-29-38 .page-38 .continued-mark {
    text-align: right;
    font-size: 1rem;
    color: #231f20;
    margin-top: 20px;
}
/* ============ 響應式設計 ============ */
@media (max-width: 768px) {
    .bundle-29-38 .container {
        padding: 15px 30px;
    }

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

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

    .bundle-29-38 .content-title {
        font-size: 1.2rem;
    }

    /* 文繞圖響應式 */
    .bundle-29-38 [class*="-text-wrap-image"] {
        float: none;
        width: 100%;
        margin: 0 0 15px 0;
    }
}

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

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

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

/* ============ 固定垂直標籤樣式 ============ */
.bundle-29-38-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-29-38-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0px;
        left: 0px;
        line-height: 1.2;
    }
}
