/* 第75期雙月刊 p40-49 樣式檔案 */
/* 生成時間：2025-10-27 10:30:59 */
/* 功能描述：page40-49 的樣式規則，包含基本容器、標題、內容段落、圖片排版等樣式 */

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

/* 標題樣式 - Page 40 綠色標題 */
.bundle-40-49 .title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #4b8044;
}

/* 副標題樣式 - (上) */
.bundle-40-49 .subtitle-small {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #4b8044;
    margin-top: -10px;
    margin-bottom: 20px;
}

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

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

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

/* 特殊字體粗體樣式 (DFKaiShuStd-W7) */
.bundle-40-49 .fw-bold {
    font-weight: bold;
    color: #000;
}

/* 小標題樣式 - 綠色 16px */
.bundle-40-49 .subtitle {
    text-align: left;
    color: #4b8044;
    font-size: 1.2rem;
    margin: 1.5rem 0;
    font-weight: bold;
}

/* 綠色文字樣式 */
.bundle-40-49 .text-green {
    color: #4b8044;
    font-weight: bold;
}

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

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

.bundle-40-49 .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;
}

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

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

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

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

/* Add End Icon Style */
.bundle-40-49 .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;
}

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

.bundle-40-49 .page-45 .full-page-image {
    max-width: 100%;
    margin: 0 auto 2rem auto;
}

.bundle-40-49 .page-45 .full-page-image figure {
    margin: 0;
}

.bundle-40-49 .page-45 .full-page-image img {
    width: 100%;
    height: auto;
    border: none;
    border-radius: 0;
}

.bundle-40-49 .page-45 .full-page-image figcaption {
    font-size: 0.9rem;
    color: #806856;
    text-align: center;
    margin-top: 10px;
    line-height: 1.6;
}

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

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

    .bundle-40-49 .title {
        font-size: 2.2rem;
    }

    .bundle-40-49 .subtitle-small {
        font-size: 1.3rem;
    }

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

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

    .bundle-40-49 .subtitle-small {
        font-size: 1.1rem;
    }

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

/* Bundle 40-49 專屬 fixed-vertical-label 樣式 */
.bundle-40-49-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-40-49-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0px;
        left: 0px;
        line-height: 1.2;
    }
}

