/* ===================================
   Page 95-102 樣式
   一切盡在六字名號中：法隆寺「阿彌陀淨土圖」
   參考：74期 p88-97 樣式
   =================================== */

/* 主容器 */
.bundle-95-102 .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-95-102 .title {
    text-align: center;
    color: #806856;
    margin-bottom: 10px;
    font-size: 2.8rem;
    font-weight: bold;
    padding-bottom: 10px;
}

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

/* 圓形點點的虛線 */
.bundle-95-102 .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-95-102 .content {
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

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

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

/* 全圖片頁面樣式 */
.bundle-95-102 .full-page-image {
    margin-bottom: 20px;
}

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

/* 右側排版樣式（page99） */
.bundle-95-102 .page-99 .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    max-width: 100%;
}

.bundle-95-102 .page-99 .text-content {
    grid-column: 1;
}

.bundle-95-102 .page-99 .image-content {
    grid-column: 2;
}

.bundle-95-102 .page-99 .image-content figure {
    margin: 0;
}

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

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

/* RWD for page99 */
@media (max-width: 768px) {
    .bundle-95-102 .page-99 .content {
        grid-template-columns: 1fr;
    }

    .bundle-95-102 .page-99 .text-content,
    .bundle-95-102 .page-99 .image-content {
        grid-column: 1;
    }
}

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

.bundle-95-102 .page-101 .image-content {
    float: left;
    width: 45%;
    margin-right: 20px;
    margin-bottom: 15px;
}

.bundle-95-102 .page-101 .image-content figure {
    margin: 0;
}

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

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

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

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

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

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

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

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

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

/* RWD for page101 and page102 */
@media (max-width: 768px) {
    .bundle-95-102 .page-101 .image-content,
    .bundle-95-102 .page-102 .image-content {
        float: none;
        width: 100%;
        margin: 0 0 15px 0;
    }
}

/* Background SVG styles for Page 96, 98, 100, 102 */
.bundle-95-102 .page-96,
.bundle-95-102 .page-98,
.bundle-95-102 .page-100,
.bundle-95-102 .page-102 {
    position: relative;
    margin: 5rem auto;
}

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

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

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

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

.bundle-95-102 .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-95-102 .container {
        padding: 15px 15px;
        margin-bottom: 2rem;
    }

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

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

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

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

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

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

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

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

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

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

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

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

