/* 第74期 page5-9 樣式 */
/**
 * 生成時間：2025-10-19 11:30:00
 * 功能描述：第74期雙月刊 page5-9 頁面樣式
 * 包含頁面：page5-9（阿彌陀佛四十八題──以四十八題略解「阿彌陀佛是怎樣一尊佛？」（十八））
 */

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

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

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

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

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

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

/* 頁面 6-9 使用全寬 */
.bundle-5-9 .page-6 .content,
.bundle-5-9 .page-7 .content,
.bundle-5-9 .page-8 .content,
.bundle-5-9 .page-9 .content {
    max-width: none;
}

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

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

/* ============ 段落樣式 ============ */
.bundle-5-9 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #231f20;
}

/* 粗體文字 */
.bundle-5-9 .content-paragraph .fw-bold {
    font-weight: 700;
}

/* ============ Page 6 圖片頁樣式 ============ */
.bundle-5-9 .page-6 .content {
    text-align: center;
}

.bundle-5-9 .page-6 .full-page-image {
    margin: 0;
    padding: 0;
}

.bundle-5-9 .page-6 .full-page-image img {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: contain;
}

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

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

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

.bundle-5-9 .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;
}

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

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

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

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

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

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

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

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

