/* 主容器 */
.bundle-99-100 .container {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    /* 水平置中 */
    margin-right: auto;
    /* 水平置中 */
    padding: 20px 100px 20px 100px;
    /* --- Method C Styles --- */
    margin-bottom: 2.5rem;
    /* 為每個區塊下方添加外邊距以分隔 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* 添加陰影 */
    border-radius: 5px;
    /* 添加圓角 */
    background-color: #fff;
    /* 確保背景色 */
}

/* 標題樣式 */
.bundle-99-100 .title {
    text-align: center;
    color: #4BB8E9;
    /* 標題顏色，統一為佳文欣賞主題色 */
    margin-bottom: 10px;
    font-size: 2.8rem;
    font-weight: bold;
}

.bundle-99-100 .subtitle {
    text-align: center;
    color: #5584C3;
    font-size: 1.5rem;
    margin: 30px auto 20px auto;
    max-width: 90%;
    font-weight: bold;
}

.bundle-99-100 .chapter {
    text-align: center;
    color: #6a5a4b;
    margin: 10px 0 20px;
    font-size: 1.2rem;
}

.bundle-99-100 .author {
    text-align: center;
    margin: 15px 0;
    font-size: 1rem;
}

/* 圓形點點的虛線 */
.bundle-99-100 .dotted-line {
    height: 8px;
    width: 100%;
    margin: 25px 0;
    background-image: radial-gradient(circle, #4BB8E9 1px, transparent 1px);
    background-size: 8px 8px;
    background-position: center;
}

/* 內容樣式 */
.bundle-99-100 .content-title-left {
    text-align: left;
    color: #6a5a4b;
    margin: 30px 0 20px;
    font-size: 1.3rem;
    font-weight: bold;
}

.bundle-99-100 .content-title-center {
    text-align: center;
    color: #6a5a4b;
    margin: 70px 0 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.bundle-99-100 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    /* font-size: 1rem; */
}

/* 引用樣式 */
.bundle-99-100 .quote {
    margin: 20px 0;
    padding-left: 2em;
}

.bundle-99-100 .quote-source {
    margin-top: 10px;
    margin-left: 2em;
    font-weight: bold;
}

/* 頁碼 */
.bundle-99-100 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding: 8px 0;
}

.bundle-99-100 .page-circle {
    background: #4BB8E9;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* 移除最後一個區塊的下外邊距 */
/* .bundle-99-100 .container:last-child {
    margin-bottom: 0;
} */

/* Extracted Inline Styles (Generic classes based on style46-50.css) */
.bundle-99-100 .page-12-title,
/* Reuse or adapt specific classes if necessary */
.bundle-99-100 .page-title {
    /* Added generic page title */
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.bundle-99-100 .page-12-author,
.bundle-99-100 .page-author {
    /* Added generic page author */
    text-align: center;
    margin-bottom: 30px;
}

.bundle-99-100 .page-12-content-title,
.bundle-99-100 .page-content-title {
    /* Added generic content title */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #6a5a4b;
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-indent: 0;
}

.bundle-99-100 .page-13-quote,
.bundle-99-100 .page-20-quote-1,
.bundle-99-100 .page-quote {
    /* Added generic quote */
    margin-left: 2em;
}

.bundle-99-100 .page-14-list-1,
.bundle-99-100 .page-14-list-2,
.bundle-99-100 .page-15-list,
.bundle-99-100 .page-17-list,
.bundle-99-100 .page-list {
    /* Added generic list */
    list-style-type: none;
    padding-left: 2em;
    margin-bottom: 15px;
}

.bundle-99-100 .page-17-h4,
.bundle-99-100 .page-19-h4,
.bundle-99-100 .page-h4 {
    /* Added generic H4 */
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
}

.bundle-99-100 .page-20-quote-2,
.bundle-99-100 .quote-bold {
    /* Added generic bold quote */
    margin-left: 2em;
    font-weight: bold;
}

/* Grid Layout (Generic class based on style46-50.css) */
.bundle-99-100 .page-grid-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Figure Layout (Generic class based on style46-50.css) */
.bundle-99-100 .page-figure {
    margin: 0;
}

.bundle-99-100 .page-figure img {
    max-width: 100%;
    height: auto;
    display: block;
}

.bundle-99-100 .page-figure figcaption {
    text-align: center;
}

/* Source Logo Style */
.bundle-99-100 .source-logo {
    height: 1em;
    vertical-align: -0.125em;
    margin-left: 0.3em;
}

/* 上方排版（頭部裝飾式） - Page99 */
.bundle-99-100 .top-decorative-image {
    width: 100%;
    max-width: 548px;
    height: auto;
    margin: 0 auto 30px auto;
    display: block;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bundle-99-100 .top-decorative-image img {
    width: 100%;
    height: auto;
    max-height: 142px;
    object-fit: cover;
    display: block;
}

/* 上下排版 - Page99 & Page100 統一使用上方排版 */
.bundle-99-100 .top-bottom-layout-top {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px auto;
    display: block;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bundle-99-100 .top-bottom-layout-top img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.bundle-99-100 .top-bottom-layout-bottom {
    width: 100%;
    max-width: 600px;
    margin: 30px auto 0 auto;
    display: block;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bundle-99-100 .top-bottom-layout-bottom img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* 保留文繞圖排版樣式（備用） */
.bundle-99-100 .text-wrap-image {
    float: left;
    width: 60%;
    max-width: 368px;
    margin: 20px 30px 20px 0;
    clear: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bundle-99-100 .text-wrap-image img {
    width: 100%;
    height: auto;
    max-height: 186px;
    object-fit: cover;
    display: block;
}

/* 保留原有的右側排版樣式（備用） */
.bundle-99-100 .image-wrap-right {
    float: right;
    margin-left: 6rem;
    /* 圖片左邊距 */
    margin-bottom: 0.5rem;
    /* 圖片下邊距 */
    max-width: 45%;
    /* 限制圖片最大寬度 */
    height: auto;
    /* 高度自動 */
}

/* 清除浮動 */
.bundle-99-100 .container::after {
    content: "";
    display: table;
    clear: both;
}

/* MODIFIED: Scoped .fixed-vertical-label styles for bundle 99-100 */
/* Base layout for fixed-vertical-label when bundle 99-100 is active */
.bundle-99-100-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #4BB8E9;
    color: white;
    padding: 10px 8px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 1rem;
    font-weight: bold;
}

.bundle-99-100 .figure {
    margin-bottom: 5rem;
}

.bundle-99-100 .reflect-99,
.bundle-99-100 .reflect-100 {
    position: relative;
    max-width: 600px;
    height: auto;
}

.bundle-99-100 .reflect-99 img,
.bundle-99-100 .reflect-100 img {
    width: 100%;
    -webkit-box-reflect: below 5px linear-gradient(transparent, transparent 50%, rgba(0, 0, 0, 0.2));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 9;
}

.bundle-99-100 .reflect-99::after {
    content: "";
    position: absolute;
    bottom: -100%;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: url('99.jpg') no-repeat;
    background-size: cover;
    transform: rotatex(180deg) translatey(5px);
    opacity: 0.3;

    -webkit-mask-image: linear-gradient(transparent 80%, black 90%);
    mask-image: linear-gradient(transparent 80%, black 90%);

}

.bundle-99-100 .reflect-100::after {
    content: "";
    position: absolute;
    bottom: -100%;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: url('100.jpg') no-repeat;
    background-size: cover;
    transform: rotatex(180deg) translatey(5px);
    opacity: 0.3;

    -webkit-mask-image: linear-gradient(transparent 80%, black 90%);
    mask-image: linear-gradient(transparent 80%, black 90%);

}

/* RWD設定 */
@media (max-width: 768px) {
    .bundle-99-100 .container {
        padding: 15px 15px;
        margin-bottom: 2rem;
    }

    .bundle-99-100 .title {
        font-size: 1.8rem;
    }

    .bundle-99-100 .content-title-left,
    /* Added left/center content titles */
    .bundle-99-100 .content-title-center,
    .bundle-99-100 .page-content-title {
        /* Generic content title */
        font-size: 1.2rem;
    }

    .bundle-99-100 .page-h4 {
        /* Generic H4 */
        font-size: 1.1rem;
    }

    .bundle-99-100-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0px;
        left: 0px;
        line-height: 1.2;
    }

    .bundle-99-100 .page-text {
        font-size: small;
    }

    .bundle-99-100 .page-circle {
        font-size: small;
        width: 25px;
        height: 25px;
    }

    /* Adjust grid for smaller screens */
    .bundle-99-100 .page-grid-content {
        grid-template-columns: 1fr 1fr;
    }

    .bundle-99-100 .page-figure {
        margin-bottom: 15px;
    }

    /* 響應式設計 - 上方排版 */
    .bundle-99-100 .top-decorative-image {
        margin-bottom: 20px;
    }

    /* 響應式設計 - 上下排版 */
    .bundle-99-100 .top-bottom-layout-top,
    .bundle-99-100 .top-bottom-layout-bottom {
        margin: 20px auto;
        max-width: 90%;
    }

    .bundle-99-100 .top-bottom-layout-top img,
    .bundle-99-100 .top-bottom-layout-bottom img {
        max-height: 150px;
    }

    /* 響應式設計 - 文繞圖排版（備用） */
    .bundle-99-100 .text-wrap-image {
        width: 80%;
        margin: 15px 20px 15px 0;
    }
}

@media (max-width: 580px) {
    .bundle-99-100 .image-wrap-right {
        margin-left: 2rem;
    }

    /* 中等螢幕 - 上下排版調整 */
    .bundle-99-100 .top-bottom-layout-top,
    .bundle-99-100 .top-bottom-layout-bottom {
        margin: 15px auto;
        max-width: 95%;
    }

    .bundle-99-100 .top-bottom-layout-top img,
    .bundle-99-100 .top-bottom-layout-bottom img {
        max-height: 120px;
    }

    /* 中等螢幕 - 文繞圖調整（備用） */
    .bundle-99-100 .text-wrap-image {
        width: 100%;
        float: none;
        margin: 20px 0;
        text-align: center;
    }
}

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

    .bundle-99-100 .content-title-left,
    .bundle-99-100 .content-title-center,
    .bundle-99-100 .page-content-title {
        font-size: 1.1rem;
    }

    .bundle-99-100 .page-h4 {
        font-size: 1rem;
    }

    .bundle-99-100 .image-wrap-right {
        margin-left: 2rem;
        /* 圖片左邊距 */
    }

    /* 小螢幕 - 頂部裝飾圖片調整 */
    .bundle-99-100 .top-decorative-image {
        margin-bottom: 15px;
        border-radius: 5px;
    }

    .bundle-99-100 .top-decorative-image img {
        max-height: 100px;
    }

    /* 小螢幕 - 上下排版完全適應 */
    .bundle-99-100 .top-bottom-layout-top,
    .bundle-99-100 .top-bottom-layout-bottom {
        margin: 10px auto;
        max-width: 100%;
        border-radius: 5px;
    }

    .bundle-99-100 .top-bottom-layout-top img,
    .bundle-99-100 .top-bottom-layout-bottom img {
        max-height: 100px;
    }

    /* 小螢幕 - 文繞圖完全居中（備用） */
    .bundle-99-100 .text-wrap-image {
        width: 100%;
        float: none;
        margin: 15px 0;
        text-align: center;
    }

    .bundle-99-100 .text-wrap-image img {
        max-height: 140px;
    }
}