/* 第71期雙月刊 p15-41 樣式檔案 */
/* 生成時間：2025-01-17 16:43:12 */

/* 基本容器樣式 */
.bundle-15-41 .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-15-41 .title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* 作者樣式 */
.bundle-15-41 .author {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
}

/* 分隔線樣式 */
.bundle-15-41 .dotted-line {
    /* border-bottom: 2px dotted #ccc; */
    margin-bottom: 25px;
    width: 100%;
}

/* 內容段落樣式 */
.bundle-15-41 .content-paragraph {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    text-indent: 2em;
    font-size: 1rem;
    color: #333;
}

/* 引用區塊樣式 */
.bundle-15-41 .quote {
    margin: 1.5rem 0;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    font-style: italic;
}

.bundle-15-41 .quote p {
    margin: 0;
    text-indent: 0;
}

/* 特殊字體粗體樣式 */
.bundle-15-41 .fw-bold {
    font-weight: bold;
    color: #2c3e50;
}

/* 頁碼樣式 */
.bundle-15-41 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.bundle-15-41 .page-text {
    font-size: 0.9rem;
    color: #666;
}

.bundle-15-41 .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-15-41 .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-15-41 .container {
        margin: 0 10px 2rem 10px;
        padding: 15px;
    }

    .bundle-15-41 .title {
        font-size: 2.2rem;
    }

    .bundle-15-41 .content-paragraph {
        text-indent: 1.5em;
        font-size: 0.95rem;
    }

    /* Page 38 Grid響應式調整 - 中等螢幕 */
    .bundle-15-41 .page-38-grid-layout {
        gap: 25px; /* 減少間距 */
        grid-template-columns: 1fr 180px; /* 調整圖片欄寬度 */
    }

    .bundle-15-41 .page-38-grid-image {
        max-width: 160px; /* 縮小圖片最大寬度 */
    }

    /* H4 標題響應式調整 - 中等螢幕 */
    .bundle-15-41 .page-35-h4 {
        font-size: 1.0rem;
        margin: 15px 0 15px 20px;
    }
}

@media (max-width: 480px) {
    .bundle-15-41 .title {
        font-size: 1.8rem;
    }

    .bundle-15-41 .content-paragraph {
        text-indent: 1em;
        font-size: 0.9rem;
    }

    /* Page 38 Grid響應式調整 - 小螢幕 */
    .bundle-15-41 .page-38-grid-layout {
        grid-template-columns: 1fr; /* 改為單欄佈局 */
        gap: 20px;
    }

    .bundle-15-41 .page-38-image-content {
        grid-column: 1 / 2; /* 圖片移到第一欄 */
        order: -1; /* 圖片顯示在文字上方 */
        justify-content: center;
    }

    .bundle-15-41 .page-38-text-content {
        grid-column: 1 / 2; /* 文字內容也在第一欄 */
    }

    .bundle-15-41 .page-38-grid-image {
        max-width: 200px; /* 小螢幕時稍微放大圖片 */
    }

    /* H4 標題響應式調整 - 小螢幕 */
    .bundle-15-41 .page-35-h4 {
        font-size: 0.9rem;
        margin: 15px 0 15px 15px;
    }
}

/* 目錄頁面主題顏色 */
.bundle-15-41 .page-15 .title,
.bundle-15-41 .page-24 .title,
.bundle-15-41 .page-35 .title,
.bundle-15-41 .page-40 .title {
    color: #767E77;
}

.bundle-15-41 .subtitle {
    text-align: center;
    color: #6a5a4b;
    font-size: 1.2rem;
    margin: 0 auto;
    max-width: 90%;
    font-weight: bold;
}

.bundle-15-41 .chapter {
    text-align: center;
    color: #6a5a4b;
    margin: 10px 0 20px;
    font-size: 1.2rem;
}

.bundle-15-41 .author {
    text-align: center;
    margin: 15px 0;
    font-size: 1rem;
}

/* Figure/Image Styles */
.bundle-15-41 figure {
    margin-bottom: 1rem;
}

.bundle-15-41 figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee;
    border-radius: 4px;
    margin: 0 auto;
}

.bundle-15-41 figcaption {
    font-size: 0.9em;
    color: #555;
    text-align: center;
    margin-top: 5px;
}

.bundle-15-41 .figure-center {
    text-align: center;
    margin: 20px auto;
    max-width: 80%;
}

.bundle-15-41 .image-full-width {
    max-width: 100%;
    margin: 0 0 3rem auto;
    /* Center the content block itself */
}

.bundle-15-41 .image-full-width figure {
    margin-bottom: 5px;
    /* Reduce margin below full-width image */
}

.bundle-15-41 .image-full-width img {
    max-width: 100%;
    margin: 0;
    /* Remove auto margin for centering within figure */
}

/* 小標題樣式 */
.bundle-15-41 .content-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #767E77;
}

/* H4 標題樣式 - 仿照 index70 的 page-46-h4 */
.bundle-15-41 .page-35-h4 {
    text-align: left;
    margin: 20px 0 20px 30px;
    font-weight: bold;
    font-size: 1rem;
    color: #767E77;
}

.bundle-15-41 .page-35-h4 span {
    vertical-align: text-top;
}

/* Add End Icon Style */
.bundle-15-41 .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-15-41 .page-38-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; /* 內容和圖片之間的間距 */
    align-items: start; /* 頂部對齊 */
}

.bundle-15-41 .page-38-text-content {
    grid-column: 1 / 2; /* 文字內容占第一欄 */
}

.bundle-15-41 .page-38-image-content {
    grid-column: 2 / 3; /* 圖片內容占第二欄 */
    display: flex;
    align-items: flex-start; /* 頂部對齊 */
    justify-content: center; /* 水平居中 */
}

.bundle-15-41 .page-38-grid-image {
    width: 100%;
    max-width: 180px; /* 限制最大寬度，符合直立式圖片 */
    margin: 0;
}

.bundle-15-41 .page-38-grid-image img {
    width: 100%;
    height: auto;
    border: none;
    border-radius: 0;
    display: block;
}

.bundle-15-41 .page-38-grid-image figcaption {
    font-size: 0.85em;
    color: #555;
    text-align: center;
    margin-top: 8px;
    line-height: 1.3;
}

/* 圓形點點的虛線 */
.bundle-15-41 .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-15-41-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-15-41-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0px;
        left: 0px;
        line-height: 1.2;
    }
}

