/* 第73期雙月刊 p18-43 樣式檔案 */
/* 生成時間：2025-10-01 11:22:51 */

/* 基本容器樣式 */
.bundle-18-43 .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-43 .title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #4b8044;
}

/* 作者樣式 */
.bundle-18-43 .author {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
}

/* 分隔線樣式 */
.bundle-18-43 .dotted-line {
    /* border-bottom: 2px dotted #ccc; */
    margin-bottom: 25px;
    width: 100%;
}

/* 內容樣式 */
.bundle-18-43 .content {
    max-width: 600px;
    margin: 0 auto;
}

/* 內容段落樣式 */
.bundle-18-43 .content-paragraph {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    text-indent: 2em;
    font-size: 1rem;
    color: #000;
}

/* 引用區塊樣式 */
.bundle-18-43 .quote {
    margin: 1.5rem 0;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    font-style: italic;
}

.bundle-18-43 .quote p {
    margin: 0;
    text-indent: 0;
}

/* 特殊字體粗體樣式 */
.bundle-18-43 .fw-bold {
    font-weight: bold;
    color: #000;
}

/* 頁碼樣式 */
.bundle-18-43 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.bundle-18-43 .page-text {
    font-size: 0.9rem;
    color: #666;
}

.bundle-18-43 .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-18-43 .content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    /* border-radius: 5px; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

/* 響應式設計 */
@media (max-width: 768px) {
    .bundle-18-43 .container {
        margin: 0 auto 2rem auto;
        padding: 15px;
    }

    .bundle-18-43 .title {
        font-size: 2.2rem;
    }

    .bundle-18-43 .content-paragraph {
        text-indent: 1.5em;
        font-size: 0.95rem;
    }

    /* Page 38 Grid響應式調整 - 中等螢幕 */
    .bundle-18-43 .page-38-grid-layout {
        gap: 25px;
        /* 減少間距 */
        grid-template-columns: 1fr 180px;
        /* 調整圖片欄寬度 */
    }

    .bundle-18-43 .page-38-grid-image {
        max-width: 160px;
        /* 縮小圖片最大寬度 */
    }

    /* H4 標題響應式調整 - 中等螢幕 */
    .bundle-18-43 .page-35-h4 {
        font-size: 1.0rem;
        margin: 15px 0 15px 20px;
    }
}

@media (max-width: 480px) {
    .bundle-18-43 .title {
        font-size: 1.8rem;
    }

    .bundle-18-43 .content-paragraph {
        text-indent: 1em;
        font-size: 0.9rem;
    }

    /* Page 38 Grid響應式調整 - 小螢幕 */
    .bundle-18-43 .page-38-grid-layout {
        grid-template-columns: 1fr;
        /* 改為單欄佈局 */
        gap: 20px;
    }

    .bundle-18-43 .page-38-image-content {
        grid-column: 1 / 2;
        /* 圖片移到第一欄 */
        order: -1;
        /* 圖片顯示在文字上方 */
        justify-content: center;
    }

    .bundle-18-43 .page-38-text-content {
        grid-column: 1 / 2;
        /* 文字內容也在第一欄 */
    }

    .bundle-18-43 .page-38-grid-image {
        max-width: 200px;
        /* 小螢幕時稍微放大圖片 */
    }

    /* H4 標題響應式調整 - 小螢幕 */
    .bundle-18-43 .page-35-h4 {
        font-size: 0.9rem;
        margin: 15px 0 15px 15px;
    }
}

/* 目錄頁面主題顏色 */
.bundle-18-43 .page-15 .title,
.bundle-18-43 .page-24 .title,
.bundle-18-43 .page-35 .title,
.bundle-18-43 .page-40 .title {
    color: #4b8044;
}

.bundle-18-43 .subtitle {
    text-align: center;
    color: #6a5a4b;
    font-size: 1.2rem;
    margin: 0 auto;
    max-width: 90%;
    font-weight: bold;
}

.bundle-18-43 .chapter {
    text-align: center;
    color: #6a5a4b;
    margin: 10px 0 20px;
    font-size: 1.2rem;
}

.bundle-18-43 .author {
    text-align: center;
    margin: 15px 0;
    font-size: 1rem;
}

/* Figure/Image Styles */
.bundle-18-43 figure {
    margin-bottom: 1rem;
}

.bundle-18-43 figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee;
    border-radius: 4px;
    margin: 0 auto;
}

.bundle-18-43 figcaption {
    font-size: 0.9em;
    color: #555;
    text-align: center;
    margin-top: 5px;
}

.bundle-18-43 .figure-center {
    text-align: center;
    margin: 20px auto;
    max-width: 80%;
}

.bundle-18-43 .image-full-width {
    max-width: 100%;
    margin: 0 0 3rem auto;
    /* Center the content block itself */
}

.bundle-18-43 .image-full-width figure {
    margin-bottom: 5px;
    /* Reduce margin below full-width image */
}

.bundle-18-43 .image-full-width img {
    max-width: 100%;
    margin: 0;
    /* Remove auto margin for centering within figure */
}


.bundle-18-43 .page-20 figcaption {
    color: #806856;
    font-size: 0.9rem;
    margin-top: 15px;
}


.bundle-18-43 .image-caption {
    font-size: 14px;
    color: #806856;
    line-height: 1.6;
    margin: 0;
    padding: 0 20px;
}

/* 小標題樣式 */
.bundle-18-43 .content-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #4b8044;
}

/* H4 標題樣式 - 仿照 index70 的 page-46-h4 */
.bundle-18-43 .page-35-h4 {
    text-align: left;
    margin: 20px 0 20px 30px;
    font-weight: bold;
    font-size: 1rem;
    color: #767E77;
}

.bundle-18-43 .page-35-h4 span {
    vertical-align: text-top;
}

/* Add End Icon Style */
.bundle-18-43 .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 38 CSS Grid佈局樣式 - 右側排版 */
.bundle-18-43 .page-38-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* 內容和圖片之間的間距 */
    align-items: start;
    /* 頂部對齊 */
}

.bundle-18-43 .page-38-text-content {
    grid-column: 1 / 2;
    /* 文字內容占第一欄 */
}

.bundle-18-43 .page-38-image-content {
    grid-column: 2 / 3;
    /* 圖片內容占第二欄 */
    display: flex;
    align-items: flex-start;
    /* 頂部對齊 */
    justify-content: center;
    /* 水平居中 */
}

.bundle-18-43 .page-38-grid-image {
    width: 100%;
    max-width: 180px;
    /* 限制最大寬度，符合直立式圖片 */
    margin: 0;
}

.bundle-18-43 .page-38-grid-image img {
    width: 100%;
    height: auto;
    border: none;
    border-radius: 0;
    display: block;
}

.bundle-18-43 .page-38-grid-image figcaption {
    font-size: 0.85em;
    color: #555;
    text-align: center;
    margin-top: 8px;
    line-height: 1.3;
}

/* 圓形點點的虛線 */
.bundle-18-43 .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 15-41 專屬 fixed-vertical-label 樣式 */
.bundle-18-43-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;
}

.ml-5 {
    max-width: 420px;
    margin: auto;
}

@media (max-width: 768px) {
    .bundle-18-43-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0px;
        left: 0px;
        line-height: 1.2;
    }
}

/* ========================================
   Page 30 專屬樣式：註解摺疊排版
   ======================================== */

/* Page 30 容器 */
.page-30-collapse {
    font-family: 'Noto Serif TC', serif;
}

/* 章節標題 */
.page-30 .section-title h2 {
    font-size: 1.25rem;
    color: #0d6efd;
    margin-bottom: 1.5rem;
}

/* 文章標題 */
.page-30 .article-title h3 {
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    color: #4b8044;
}

.page-30 .article-title .text-muted {
    font-size: 0.95rem;
}

.page-38 h3.article-title {
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    color: #4b8044;
}

.page-38 h4.article-title {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #4b8044;
}

.page-38 .article-title .text-muted {
    font-size: 0.95rem;
}

/* 章節標題 */
.page-30 .chapter-title h4 {
    font-size: 1.25rem;
    color: #0d6efd;
}

/* 經文來源 */
.page-30 .scripture-source {
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

/* 經文引用區塊 */
.page-30 .scripture-quote {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    line-height: 1.8;
    font-size: 1rem;
}

/* 註解按鈕 */
.page-30 .btn-sm {
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.page-30 .btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* 註解內容 */
.page-30 .note-content {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    border-radius: 0.375rem;
}

/* 摺疊動畫 */
.page-30 .collapse {
    transition: height 0.35s ease;
}

/* 響應式設計：360px - 480px */
@media (max-width: 480px) {
    .page-30 .article-title h3 {
        font-size: 1.8rem;
    }

    .page-38 h3.article-title {
        font-size: 1.8rem;
    }

    .page-30 .scripture-quote {
        font-size: 0.875rem;
        padding: 0.625rem 0.875rem;
    }

    .page-30 .btn-sm {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .page-30 .note-content {
        font-size: 0.85rem;
        padding: 0.625rem 0.875rem;
    }
}

/* 響應式設計：480px - 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .page-30 .article-title h3 {
        font-size: 2.2rem;
    }

    .page-38 .article-title h3 {
        font-size: 2.2rem;
    }

    .page-30 .scripture-quote {
        font-size: 0.95rem;
    }
}

/* ========================================
   Page 30-37 專屬樣式
   ======================================== */

/* 綠色小標題（對應 DFHeiStd-W7，顏色 #4b8044） */
.subtitle-green {
    color: #4b8044;
    font-weight: 700;
}

/* 章節標題（對應 CHei3HK-Bold，16.0pt，顏色 #4b8044） */
.section-title {
    color: #4b8044;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
