/* 第78期 page22-28 樣式 */
/**
 * 生成時間：2026-04-10 06:46:00
 * 功能描述：第78期雙月刊 page22-28 頁面樣式
 * 包含頁面：page22-28（慧淨法師丙午馬年春聯解讀）
 * 來源：複製自76期 style5-29.css，替換 .bundle-5-29 → .bundle-22-28
 */

/* 主容器 */
.bundle-22-28 .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 22: 慧淨法師丙午馬年春聯解讀 - 使用 #b87969 色系 */
.bundle-22-28 .page-22 .title {
    color: #b87969;
    font-size: 2.4rem;
}

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

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

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

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

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

/* 頁面 23-28 使用全寬 */
.bundle-22-28 .page-23 .content,
.bundle-22-28 .page-24 .content,
.bundle-22-28 .page-25 .content,
.bundle-22-28 .page-26 .content,
.bundle-22-28 .page-27 .content,
.bundle-22-28 .page-28 .content {
    max-width: none;
}

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

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

/* ============ 項目標題樣式 ============ */
/* item-title（DFHeiStd-W9 12pt #b87969） */
.bundle-22-28 .item-title {
    color: #b87969;
    font-size: 1rem;
    font-weight: bold;
    margin: 20px 0 10px;
    text-indent: 2em;
}

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

/* 首行縮排 */
.bundle-22-28 .content-paragraph.indent {
    text-indent: 2em;
}

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

/* ============ 對聯樣式 ============ */
.bundle-22-28 .couplet-title {
    text-align: center;
    color: #b87969;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 15px 0;
}

.bundle-22-28 .couplet-content {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #231f20;
}

.bundle-22-28 .couplet-highlight {
    color: #b87969;
    font-weight: bold;
}

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

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

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

/* Page 23: 上方圖片排版 */
.bundle-22-28 .page-23 .page-image-top {
    margin: 0 0 20px 0;
    text-align: center;
}

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

.bundle-22-28 .page-23 figcaption {
    color: #806856;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
}

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

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

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

/* Page 28: 下方圖片排版 */
.bundle-22-28 .page-28 .page-image-bottom {
    margin: 30px 0 0 0;
    text-align: center;
}

.bundle-22-28 .page-28 .page-image-bottom img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

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

/* ============ 文繞圖樣式 ============ */

/* 通用文繞圖：圖片在左側 */
.bundle-22-28 [class*="-text-wrap-image"] {
    float: left;
    width: 40%;
    margin: 0 20px 15px 0;
}

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

.bundle-22-28 [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-22-28 .page-24 .content,
.bundle-22-28 .page-25 .content,
.bundle-22-28 .page-27 .content {
    overflow: hidden;
}

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

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

/* Page 27: item-title 行內樣式（與正文同行） */
.bundle-22-28 .item-title-inline {
    color: #b87969;
    font-weight: bold;
}

/* 結尾圖示 */
.bundle-22-28 .end-icon::after {
    content: "◆";
    color: #b87969;
    margin-left: 5px;
}

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

    .bundle-22-28 .title {
        font-size: 1.8rem;
    }

    .bundle-22-28 .subtitle {
        font-size: 1rem;
    }

    .bundle-22-28 .content-title {
        font-size: 1.2rem;
    }

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

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

    .bundle-22-28 .title {
        font-size: 1.5rem;
    }

    .bundle-22-28 .content-paragraph {
        text-indent: 1.5em;
    }

    .bundle-22-28 .content-paragraph.indent {
        text-indent: 1.5em;
    }
}

/* ============ 固定垂直標籤樣式 ============ */
.bundle-22-28-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #b87969;
    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-22-28-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0px;
        left: 0px;
        line-height: 1.2;
    }
}
