/* 第77期 page5-10 樣式 */
/**
 * 生成時間：2025-12-21 07:50:00
 * 功能描述：第77期雙月刊 page5-10 頁面樣式
 * 包含頁面：page5-10（專刊序——淨土宗中興與慧淨法師）
 */

/* ============ 主容器 ============ */
.bundle-5-10 .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 6 文章頭部區塊樣式 ============ */

/* 文章頭部容器 - 蓮花圖標 + 標題文字 */
.bundle-5-10 .page-6 .article-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* 蓮花圖標 */
.bundle-5-10 .page-6 .header-icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
}

.bundle-5-10 .page-6 .header-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 標題文字區塊 */
.bundle-5-10 .page-6 .header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ============ Page 6 標題樣式 ============ */

/* Page 6: 小標題 - 字級14.0pt, 顏色 #231F20 */
.bundle-5-10 .page-6 .category {
    text-align: left;
    color: #231f20;
    font-size: 1.167rem;
    /* 14.0pt / 12pt = 1.167rem */
    margin: 0 0 5px 0;
    font-weight: normal;
}

/* Page 6: 大標題 - 字級26.0pt, 顏色 #806856 (棕色) */
.bundle-5-10 .page-6 .title {
    text-align: left;
    color: #000;
    margin: 0 0 8px 0;
    font-size: 2.7rem;
    /* 26.0pt / 12pt = 2.167rem */
    font-weight: bold;
    line-height: 1.3;
}

/* Page 6: 作者 - 位於標題區塊內 */
.bundle-5-10 .page-6 .header-text .author {
    text-align: left;
    margin: 0;
    font-size: 1rem;
    color: #000;
}

/* ============ 作者樣式 ============ */
.bundle-5-10 .author {
    text-align: center;
    margin: 15px 0 25px 0;
    font-size: 1rem;
    /* 12.0pt */
    color: #231f20;
}

/* ============ 圓形點點的虛線 ============ */
.bundle-5-10 .dotted-line {
    height: 8px;
    width: 100%;
    margin: 25px 0;
    background-image: radial-gradient(circle, #806856 1px, transparent 1px);
    background-size: 8px 8px;
    background-position: center;
}

/* ============ 內容樣式 ============ */
.bundle-5-10 .content {
    max-width: 600px;
    margin: 0 auto;
}

/* ============ 小標題樣式 ============ */

/* Page 9: 編按小標題 - 字級16.0pt, 顏色 #813758 */
.bundle-5-10 .content-title {
    text-align: left;
    color: #813758;
    margin: 30px 0 20px;
    font-size: 1.333rem !important;
    /* 16.0pt / 12pt = 1.333rem */
    font-weight: bold;
}

/* ============ 段落樣式 ============ */
.bundle-5-10 .content-paragraph {
    text-align: justify;
    line-height: 2;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    /* 12.0pt */
    color: #231f20;
    text-indent: 2em;
}

/* 首段不縮排 */
.bundle-5-10 .content-paragraph:first-of-type {
    text-indent: 0;
}

/* 引文段落 - 縮排 */
.bundle-5-10 .content-paragraph.indent {
    text-indent: 2em;
}

/* ============ 粗體文字樣式 ============ */
.bundle-5-10 .fw-bold {
    font-weight: bold;
}

/* ============ Page 7-8 Flex 布局樣式 ============ */

/* Page 7: Flex 布局 - 圖片在右 */
.bundle-5-10 .page-7 .content {
    display: flex;
    flex-direction: row;
    gap: 25px;
    align-items: flex-start;
    max-width: 100%;
}

.bundle-5-10 .page-7 figure {
    order: 2;
    flex-shrink: 0;
    width: 45%;
    margin: 0;
    padding: 0;
}

.bundle-5-10 .page-7 figure img {
    width: 100%;
    height: auto;
    display: block;
}

.bundle-5-10 .page-7 figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #806856;
    text-align: center;
}

.bundle-5-10 .page-7 .text-content {
    order: 1;
    flex: 1;
}

/* Page 8: Flex 布局 - 圖片在左 */
.bundle-5-10 .page-8 .content {
    display: flex;
    flex-direction: row;
    gap: 3em;
    align-items: flex-start;
    max-width: 100%;
}

.bundle-5-10 .page-8 figure {
    flex-shrink: 0;
    width: 20%;
    max-width: 100px;
    margin: 0;
    padding: 0;
}

.bundle-5-10 .page-8 figure img {
    width: 100%;
    height: auto;
    display: block;
}

.bundle-5-10 .page-8 figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #806856;
    text-align: center;
    line-height: 1.8;
}

.bundle-5-10 .page-8 .text-content {
    flex: 1;
}

/* Page 9: Flex 布局 - 圖片在右 */
.bundle-5-10 .page-9 .content {
    display: flex;
    flex-direction: row;
    gap: 3em;
    align-items: flex-start;
    max-width: 100%;
}

.bundle-5-10 .page-9 figure {
    order: 2;
    flex-shrink: 0;
    width: 20%;
    max-width: 100px;
    margin: 0;
    padding: 0;
}

.bundle-5-10 .page-9 figure img {
    width: 100%;
    height: auto;
    display: block;
}

.bundle-5-10 .page-9 figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #806856;
    text-align: center;
    line-height: 1.8;
}

.bundle-5-10 .page-9 .text-content {
    order: 1;
    flex: 1;
}

/* ============ Page 10 全圖片頁面樣式 ============ */
.bundle-5-10 .page-10.full-page-image {
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

.bundle-5-10 .page-10.full-page-image .content {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.bundle-5-10 .page-10.full-page-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 25px;
}

/* ============ 清除浮動 ============ */
.bundle-5-10 .content::after {
    content: "";
    display: table;
    clear: both;
}

/* ============ 上下慧淨標記樣式 ============ */
.bundle-5-10 .ruby-text {
    display: inline;
    position: relative;
}

.bundle-5-10 .ruby-text ruby {
    ruby-position: over;
}

.bundle-5-10 .ruby-text rt {
    font-size: 0.6em;
    color: #231f20;
}

/* ============ 頁碼樣式 ============ */
.bundle-5-10 .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-10 .page-number .page-text {
    color: #666;
}

.bundle-5-10 .page-number .page-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #813758;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

/* ============ RWD 響應式設計 ============ */

/* 平板尺寸 */
@media (max-width: 992px) {
    .bundle-5-10 .container {
        padding: 20px 60px;
    }

    .bundle-5-10 .page-6 .header-icon {
        width: 80px;
        height: 80px;
    }

    .bundle-5-10 .page-6 .title {
        font-size: 1.8rem;
    }

    .bundle-5-10 .page-6 .category {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .bundle-5-10 .content-title {
        font-size: 1.2rem;
    }

    .bundle-5-10 .page-7 figure,
    .bundle-5-10 .page-8 figure,
    .bundle-5-10 .page-9 figure {
        width: 35%;
        max-width: 150px;
    }
}

/* 手機尺寸 */
@media (max-width: 768px) {
    .bundle-5-10 .container {
        padding: 15px 30px;
    }

    .bundle-5-10 .page-6 .article-header {
        gap: 15px;
    }

    .bundle-5-10 .page-6 .header-icon {
        width: 80px;
        height: 80px;
    }

    .bundle-5-10 .page-6 .title {
        font-size: 1.4rem;
    }

    .bundle-5-10 .page-6 .category {
        font-size: 1.2rem;
    }

    .bundle-5-10 .page-6 .header-text .author {
        font-size: 0.9rem;
    }

    .bundle-5-10 .content-title {
        font-size: 1.1rem;
    }

    .bundle-5-10 .content-paragraph {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    /* page-7、page-8、page-9 在小螢幕時維持水平排列（與最大版型相同） */
    /* page-8、page-9 在小螢幕時移除 gap */
    .bundle-5-10 .page-8 .content,
    .bundle-5-10 .page-9 .content {
        gap: 1em;
    }
}

/* 小手機尺寸 */
@media (max-width: 576px) {
    .bundle-5-10 .container {
        padding: 10px 20px;
    }

    .bundle-5-10 .page-6 .article-header {
        gap: 12px;
    }

    .bundle-5-10 .page-6 .header-icon {
        width: 80px;
        height: 80px;
    }

    .bundle-5-10 .page-6 .title {
        font-size: 1.4rem;
    }

    .bundle-5-10 .page-6 .category {
        font-size: 1.2rem;
    }

    .bundle-5-10 .page-6 .header-text .author {
        font-size: 0.9rem;
    }

    .bundle-5-10 .content-title {
        font-size: 1rem;
    }

    .bundle-5-10 .content-paragraph {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/* 極小螢幕尺寸 - p7 改為垂直排版 */
@media (max-width: 440px) {
    .bundle-5-10 .page-7 .content {
        flex-direction: column;
        gap: 20px;
    }

    .bundle-5-10 .page-7 figure {
        order: 0;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .bundle-5-10 .page-7 .text-content {
        order: 1;
    }
}