/* ===================================
   Page 87-95 樣式
   千年守望，導歸西方：樂山彌勒大佛像
   參考：78期 p87-93 樣式
   =================================== */

/* 固定垂直標籤 */
.bundle-87-95-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #D0A74A;
    color: white;
    padding: 10px 8px;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 5px;
    z-index: 1000;
    font-weight: bold;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

/* 主容器 */
.bundle-87-95 .container {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 50px 20px 50px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background-color: #F4ECDA;
    position: relative;
}

/* 標題樣式 */
.bundle-87-95 .title {
    text-align: center;
    color: #806856;
    margin-bottom: 10px;
    font-size: 2.8rem;
    font-weight: bold;
    padding-bottom: 10px;
}

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

/* 小標題樣式 */
.bundle-87-95 .subtitle {
    color: #86633A;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 25px 0 15px 0;
}

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

/* 內容樣式 */
.bundle-87-95 .content {
    max-width: 600px;
    margin: 0 auto;
}

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

.bundle-87-95 .fw-bold {
    font-weight: bold;
}

/* 圖片樣式 */
.bundle-87-95 .page-figure {
    margin: 0 auto 20px;
}

.bundle-87-95 .page-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-87-95 .page-figure figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #806856;
    margin-top: 10px;
}

/* 全圖片頁面樣式 (Page 89, 90, 93, 94) */
.bundle-87-95 .full-page-image {
    margin-bottom: 20px;
}

.bundle-87-95 .full-page-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-87-95 .full-page-image figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #806856;
    margin-top: 10px;
}

/* 文繞圖樣式 - Page 91（圖在左側） */
.bundle-87-95 .page-91 .content {
    max-width: 100%;
}

.bundle-87-95 .page-91 .image-content {
    float: left;
    width: 40%;
    margin-right: 20px;
    margin-bottom: 15px;
}

.bundle-87-95 .page-91 .image-content figure {
    margin: 0;
}

.bundle-87-95 .page-91 .image-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.bundle-87-95 .page-91 .image-content figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #806856;
    margin-top: 10px;
}

.bundle-87-95 .page-91 .content::after {
    content: "";
    display: table;
    clear: both;
}

/* RWD for page 91 */
@media (max-width: 768px) {
    .bundle-87-95 .page-91 .image-content {
        float: none;
        width: 100%;
        margin: 0 0 15px 0;
    }
}

/* Background SVG styles for Page 88, 90, 92, 94 */
.bundle-87-95 .page-88,
.bundle-87-95 .page-90,
.bundle-87-95 .page-92,
.bundle-87-95 .page-94 {
    position: relative;
    margin: 5rem auto;
}

.bundle-87-95 .background-yi,
.bundle-87-95 .background-shu {
    position: absolute;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.bundle-87-95 .background-yi {
    top: -105px;
    left: 10px;
    width: 120px;
    height: auto;
}

.bundle-87-95 .background-shu {
    bottom: -40px;
    left: 10px;
    width: 120px;
    height: auto;
}

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

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

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

    .bundle-87-95 .title {
        font-size: 1.8rem;
    }

    .bundle-87-95 .author,
    .bundle-87-95 .content-paragraph {
        font-size: 1rem;
    }

    .bundle-87-95 .page-text {
        font-size: small;
    }

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

    .bundle-87-95 .page-figure figcaption {
        font-size: 0.8em;
    }
}

@media (max-width: 580px) {
    .bundle-87-95 .container {
        padding: 15px 15px;
    }

    .bundle-87-95 .background-yi {
        top: -75px;
        left: 10px;
        width: 80px;
        height: auto;
    }

    .bundle-87-95 .background-shu {
        bottom: -30px;
        left: 10px;
        width: 80px;
        height: auto;
    }
}

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

    .bundle-87-95 .page-figure figcaption {
        font-size: 0.75em;
    }

    .bundle-87-95 .background-yi {
        top: -55px;
        left: 10px;
        width: 60px;
        height: auto;
    }

    .bundle-87-95 .background-shu {
        bottom: -20px;
        left: 10px;
        width: 60px;
        height: auto;
    }
}