/* 第78期 page12-21 樣式 */
/**
 * 生成時間：2026-04-10 05:33:00
 * 功能描述：第78期雙月刊 page12-21 頁面樣式
 * 包含頁面：page12-21（慧淨法師馬年對聯解讀：駿行安樂，念佛成佛）
 * 基於：第76期 p5-29/style5-29.css
 */

/* 主容器 */
.bundle-12-21 .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 12 專屬樣式：大標題 GenJyuuGothic-Bold 34pt #b87969 */
.bundle-12-21 .page-12 .title {
    font-size: 2.833rem; /* 34pt / 12pt = 2.833rem */
    color: #b87969;
    text-align: center;
    margin: 10px 0 5px 0;
    font-weight: bold;
    line-height: 1.3;
}

.bundle-12-21 .page-12 .subtitle {
    font-size: 2.833rem; /* 34pt / 12pt = 2.833rem */
    color: #b87969;
    text-align: center;
    margin: 0 auto 10px auto;
    font-weight: bold;
    line-height: 1.3;
}

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

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

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

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

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

/* 頁面 13-21 使用全寬 */
.bundle-12-21 .page-12 .content,
.bundle-12-21 .page-13 .content,
.bundle-12-21 .page-14 .content,
.bundle-12-21 .page-15 .content,
.bundle-12-21 .page-16 .content,
.bundle-12-21 .page-17 .content,
.bundle-12-21 .page-18 .content,
.bundle-12-21 .page-19 .content,
.bundle-12-21 .page-20 .content,
.bundle-12-21 .page-21 .content {
    max-width: none;
}

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

/* 一般小標題（CHei3HK-Bold 16pt #b87969） */
.bundle-12-21 .content-title {
    text-align: left;
    color: #b87969;
    margin: 30px 0 20px;
    font-size: 1.333rem; /* 16pt / 12pt */
    font-weight: bold;
}

/* Page 13 小標題（CHei3HK-Bold 16pt）*/
.bundle-12-21 .page-13 .content-title {
    font-size: 1.333rem;
    color: #b87969;
}

/* ============ 特殊項目標題（DFHeiStd-W9 12pt #b87969）============ */
/* 用於 page13 的 1. 2. 3. 小項目標題 */
.bundle-12-21 .item-title {
    font-size: 1rem;
    color: #b87969;
    font-weight: 900;
    margin: 20px 0 10px 2em;
}

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

/* 粗體文字（DFKaiShuStd-W7） */
.bundle-12-21 .content-paragraph .fw-bold {
    font-weight: 700;
    color: #231f20;
}

/* ============ 特殊段落：對聯展示（page12）============ */
/* Page 12 專屬：祝語「駿行安樂」(DFHeiStd-W9 12pt #b87969) */
.bundle-12-21 .page-12 .couplet-title {
    font-size: 1rem;
    color: #b87969;
    font-weight: 900;
    text-indent: 2em;
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Page 12 對聯內容行 */
.bundle-12-21 .page-12 .couplet-content {
    font-size: 1rem;
    color: #231f20;
    text-indent: 2em;
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Page 12 對聯重點文字（DFHeiStd-W9 #b87969） */
.bundle-12-21 .page-12 .couplet-content .couplet-highlight {
    color: #b87969;
    font-weight: 900;
}

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

.bundle-12-21 .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;
}

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

/* figcaption 通用樣式 */
.bundle-12-21 figcaption {
    color: #806856;
    font-size: 0.9rem;
    margin-top: 15px;
    text-align: center;
}

/* Page 14 文繞圖：圖在左側 */
.bundle-12-21 .page-14-text-wrap-image {
    float: left;
    margin: 0 20px 15px 0;
    width: 180px;
}

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

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

.bundle-12-21 .page-14 .content {
    overflow: hidden;
}

/* Page 15 文繞圖：圖在右側 */
.bundle-12-21 .page-15-text-wrap-image {
    float: right;
    margin: 0 0 15px 20px;
    width: 180px;
}

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

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

.bundle-12-21 .page-15 .content {
    overflow: hidden;
}

/* Page 16 文繞圖：圖在左側 */
.bundle-12-21 .page-16-text-wrap-image {
    float: left;
    margin: 0 20px 15px 0;
    width: 180px;
}

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

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

.bundle-12-21 .page-16 .content {
    overflow: hidden;
}

/* Page 18 文繞圖：圖在左側 */
.bundle-12-21 .page-18-text-wrap-image {
    float: left;
    margin: 0 20px 15px 0;
    width: 180px;
}

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

.bundle-12-21 .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;
}

.bundle-12-21 .page-18 .content {
    overflow: hidden;
}

/* Page 19 文繞圖：圖在右側 */
.bundle-12-21 .page-19-text-wrap-image {
    float: right;
    margin: 0 0 15px 20px;
    width: 180px;
}

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

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

.bundle-12-21 .page-19 .content {
    overflow: hidden;
}

/* Page 20 文繞圖：圖在左側 */
.bundle-12-21 .page-20-text-wrap-image {
    float: left;
    margin: 0 20px 15px 0;
    width: 180px;
}

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

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

.bundle-12-21 .page-20 .content {
    overflow: hidden;
}

/* Page 21 文繞圖：圖在右側 */
.bundle-12-21 .page-21-text-wrap-image {
    float: right;
    margin: 0 0 15px 20px;
    width: 180px;
}

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

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

.bundle-12-21 .page-21 .content {
    overflow: hidden;
}

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

    .bundle-12-21 .title {
        font-size: 1.8rem;
    }

    .bundle-12-21 .page-12 .title,
    .bundle-12-21 .page-12 .subtitle {
        font-size: 2rem;
    }

    .bundle-12-21 .subtitle {
        font-size: 1rem;
    }

    .bundle-12-21 .content-title {
        font-size: 1.2rem;
    }

    /* 文繞圖響應式 */
    .bundle-12-21 .page-14-text-wrap-image,
    .bundle-12-21 .page-16-text-wrap-image,
    .bundle-12-21 .page-18-text-wrap-image,
    .bundle-12-21 .page-20-text-wrap-image {
        margin: 0 10px 15px 0;
    }

    .bundle-12-21 .page-15-text-wrap-image,
    .bundle-12-21 .page-19-text-wrap-image,
    .bundle-12-21 .page-21-text-wrap-image {
        margin: 0 0 15px 10px;
    }
}

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

    .bundle-12-21 .title {
        font-size: 1.5rem;
    }

    .bundle-12-21 .page-12 .title,
    .bundle-12-21 .page-12 .subtitle {
        font-size: 1.6rem;
    }

    .bundle-12-21 .content-paragraph {
        text-indent: 1.5em;
    }
}

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