/* ======================================== */
/* 第78期雙月刊 p45-55 樣式檔案 */
/* 生成時間：2026-04-12 */
/* 功能描述：page45-55 的樣式規則 */
/* ======================================== */

/* 基本容器樣式 */
.bundle-45-55 .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-45-55 .title {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: #4b8044;
}

/* 副標題樣式（在心、在緣、在決定）*/
.bundle-45-55 .title-sub {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: #4b8044;
}

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

/* 分隔線樣式 */
.bundle-45-55 .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-45-55 .content {
    max-width: 600px;
    margin: 0 auto;
}

/* 內容段落樣式 */
.bundle-45-55 .content-paragraph {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #000;
}

.bundle-45-55 .content-paragraph.indent {
    text-indent: 2em;
}

/* 小標題樣式 (CHei3HK-Bold, 16pt, #4b8044) */
.bundle-45-55 .content-subtitle {
    font-weight: bold;
    color: #4b8044;
    font-size: 1.1rem;
    margin: 1.5rem 0 1.2rem 0;
    text-align: center;
    text-indent: 0;
}

/* 編號小標題樣式 (CHei3HK-Bold, 14pt, #4b8044) */
.bundle-45-55 .content-subtitle-num {
    font-weight: bold;
    color: #4b8044;
    font-size: 1.05rem;
    margin: 1.5rem 0 1rem 0;
    text-indent: 0;
}

/* 段落子標題 (DFMingStd-W9, 較粗) */
.bundle-45-55 .sub-label {
    font-weight: bold;
    margin: 1rem 0 0.8rem 0;
    text-indent: 2em;
}

/* 粗體文字 */
.bundle-45-55 .fw-bold {
    font-weight: bold;
}

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

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

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

/* 圖片樣式 */
.bundle-45-55 .content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

/* Figure 樣式 */
.bundle-45-55 figure {
    margin-bottom: 1rem;
}

.bundle-45-55 figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee;
    border-radius: 4px;
    margin: 0 auto;
}

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

/* 上方排版圖片 */
.bundle-45-55 .page-image-top {
    margin-bottom: 1rem;
}

.bundle-45-55 .page-image-top img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee;
    border-radius: 4px;
}

/* 結束標記 */
.bundle-45-55 .end-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-left: 5px;
    vertical-align: middle;
    background-image: url('../common/logo-notext.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 結尾來源標記 */
.bundle-45-55 .continued-mark {
    text-align: center;
    font-size: 0.95rem;
    color: #333;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* ========================================
   Page 47 專屬樣式：文繞圖（左側圖片）
   ======================================== */

.bundle-45-55 .page-47 .float-image-left {
    float: left;
    width: 45%;
    margin: 0 1.5rem 1rem 0;
}

.bundle-45-55 .page-47 .float-image-left img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 4px;
}

.bundle-45-55 .page-47 .float-image-left figcaption {
    font-size: 0.85rem;
    color: #806856;
    text-align: center;
    margin-top: 5px;
}

/* ========================================
   Page 49 專屬樣式：文繞圖（左側圖片）
   ======================================== */

.bundle-45-55 .page-49 .float-image-left {
    float: left;
    width: 40%;
    margin: 0 1.5rem 1rem 0;
}

.bundle-45-55 .page-49 .float-image-left img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 4px;
}

.bundle-45-55 .page-49 .float-image-left figcaption {
    font-size: 0.85rem;
    color: #806856;
    text-align: center;
    margin-top: 5px;
}

/* ========================================
   Page 53 專屬樣式：上方大圖
   ======================================== */

.bundle-45-55 .page-53 .page-image-top {
    margin-bottom: 1.5rem;
}

/* ========================================
   Page 55 專屬樣式：上方大圖（幾乎全圖頁面）
   ======================================== */

.bundle-45-55 .page-55 .page-image-top {
    margin-bottom: 0.5rem;
}

/* ========================================
   清除浮動
   ======================================== */

.bundle-45-55 .content::after {
    content: "";
    display: table;
    clear: both;
}

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

@media (max-width: 768px) {
    .bundle-45-55 .container {
        margin: 0 auto 2rem auto;
        padding: 15px;
    }

    .bundle-45-55 .title {
        font-size: 1.8rem;
    }

    .bundle-45-55 .title-sub {
        font-size: 1.4rem;
    }

    .bundle-45-55 .content-paragraph {
        font-size: 0.95rem;
    }

    .bundle-45-55 .content-paragraph.indent {
        text-indent: 1.5em;
    }

    .bundle-45-55 .page-47 .float-image-left,
    .bundle-45-55 .page-49 .float-image-left {
        float: none;
        width: 100%;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .bundle-45-55 .title {
        font-size: 1.5rem;
    }

    .bundle-45-55 .title-sub {
        font-size: 1.2rem;
    }

    .bundle-45-55 .content-paragraph {
        font-size: 0.9rem;
    }

    .bundle-45-55 .content-paragraph.indent {
        text-indent: 1em;
    }
}

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

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