/* ======================================== */
/* 第79期雙月刊 p18-22 樣式檔案 */
/* 生成時間：2026-04-19 */
/* 功能描述：page18-22 的樣式規則 */
/* 來源：仿照 78期 style39-41.css 生成 */
/* ======================================== */

/* 基本容器樣式 */
.bundle-18-22 .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;
}

/* 標題樣式 */
.bundle-18-22 .title {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: #4b8044;
}

/* 作者樣式 */
.bundle-18-22 .author {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
}

/* 分隔線樣式 */
.bundle-18-22 .dotted-line {
    height: 8px;
    width: 100%;
    margin: 25px 0;
    background-image: radial-gradient(circle, #767E77 2px, transparent 2px);
    background-size: 8px 8px;
    background-position: center;
}

/* 內容樣式 */
.bundle-18-22 .content {
    max-width: 600px;
    margin: 0 auto;
}

/* 內容段落樣式 */
.bundle-18-22 .content-paragraph {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    text-indent: 2em;
    font-size: 1rem;
    color: #231f20;
}

/* 特殊字體粗體樣式 (DFKaiShuStd-W7 / DFMingStd-W9) */
.bundle-18-22 .fw-bold {
    font-weight: bold;
    color: #231f20;
}

/* 頁碼樣式 */
.bundle-18-22 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.bundle-18-22 .page-text {
    font-size: 0.9rem;
    color: #666;
}

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

/* Figure/Image Styles */
.bundle-18-22 figure {
    margin-bottom: 1rem;
}

.bundle-18-22 figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-18-22 figcaption {
    font-size: 0.9em;
    color: #806856;
    text-align: center;
    margin-top: 5px;
}

/* ========================================
   Page 18 專屬樣式
   ======================================== */

/* Page 18 子標題樣式 (DFHeiStd-W7, #4b8044, 13pt) */
.bundle-18-22 .page-18 .content-subtitle {
    font-weight: bold;
    color: #4b8044;
    font-size: 1.083rem; /* 13pt / 12pt = 1.083rem */
    margin-bottom: 1.2rem;
    text-indent: 2em;
}

/* ========================================
   Page 19 專屬樣式：全頁圖片
   ======================================== */

.bundle-18-22 .page-19 {
    padding: 0;
    overflow: hidden;
}

.bundle-18-22 .page-19.full-page-image .content {
    max-width: 100%;
    padding: 0;
}

.bundle-18-22 .page-19.full-page-image figure {
    margin: 0;
}

.bundle-18-22 .page-19.full-page-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-18-22 .page-19.full-page-image figcaption {
    padding: 10px 20px 20px 20px;
    color: #806856;
    font-size: 0.9rem;
    text-align: center;
}

/* ========================================
   Page 22 專屬樣式：上方圖片
   ======================================== */

.bundle-18-22 .page-22 .page-image-top {
    margin-bottom: 25px;
    text-align: center;
}

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

.bundle-18-22 .page-22 .page-image-top figcaption {
    color: #806856;
    font-size: 0.85em;
    text-align: center;
    margin-top: 8px;
}

/* 待續標記 */
.bundle-18-22 .continued-mark {
    text-align: right;
    font-size: 1rem;
    color: #231f20;
    margin-top: 1.5rem;
}

/* ========================================
   響應式設計
   ======================================== */

/* 中等螢幕 (768px 以下) */
@media (max-width: 768px) {
    .bundle-18-22 .container {
        margin: 0 auto 2rem auto;
        padding: 15px;
    }

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

    .bundle-18-22 .content-paragraph {
        text-indent: 1.5em;
        font-size: 0.95rem;
    }
}

/* 小螢幕 (480px 以下) */
@media (max-width: 480px) {
    .bundle-18-22 .title {
        font-size: 1.6rem;
    }

    .bundle-18-22 .content-paragraph {
        text-indent: 1em;
        font-size: 0.9rem;
    }
}

/* Bundle 18-22 專屬 fixed-vertical-label 樣式 */
.bundle-18-22-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #767E77;
    color: white;
    padding: 10px 8px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 1rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .bundle-18-22-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0px;
        left: 0px;
        line-height: 1.2;
    }
}
