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


/* 標題樣式 */
.bundle-74-82 .title {
    text-align: center;
    color: #6a5a4b;
    /* 標題顏色，接近圖片中的褐色 */
    margin-bottom: 10px;
    font-size: 2.8rem;
    font-weight: bold;
    padding-bottom: 10px;
    /* Space below caption */
}

.bundle-74-82 .subtitle {
    text-align: center;
    color: #6a5a4b;
    max-width: 90%;
    font-size: 1.7rem !important;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

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

/* 圓形點點的虛線 */
.bundle-74-82 .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;
}

/* 內容樣式 */
/* Add a general style for the content area */
.bundle-74-82 .content {
    max-width: 600px;
    margin: 0 auto;
    /* Center the content block */
}

.bundle-74-82 .content-title-left {
    text-align: left;
    color: #D88C52;
    margin: 30px 0 20px;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Style for Q&A format (based on style79-81) */
.bundle-74-82 .content-question,
.bundle-74-82 .content-answer-lead {
    margin: 30px 0 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #6a5a4b;
    /* Theme color */
}


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

.bundle-74-82 .circle-title {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.bundle-74-82 .circle-title>span {
    border: #D88C52 solid 10px;
    border-radius: 50px;
    display: inline-block;
    margin-right: 1rem;
}

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

.bundle-74-82 p.content-paragraph strong {
    /* Ensure bold text within paragraphs is handled */
    font-weight: bold;
    color: #000000;
    /* Changed to black color */
}

.bundle-74-82 .fw-bold {
    /* Support for fw-bold class used in content */
    font-weight: bold;
    color: #000000;
    /* Changed to black color */
}

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

/* Ensure blockquotes also get indentation and potentially different styling */
.bundle-74-82 blockquote.quote {
    padding: 15px 20px 15px 40px;
    /* Add padding */
    margin-left: 1em;
    /* Adjust margin */
    margin-right: 1em;
    border-left: 5px solid #6a5a4b;
    /* Thicker, brown border */
    font-style: normal;
    /* Override italic if needed */
    color: #333;
    /* Darker text */
    background-color: #f9f9f9;
    /* Light background */
    border-radius: 4px;
    position: relative;
    /* For pseudo-elements */
}

.bundle-74-82 blockquote.quote::before {
    /* Optional: Add quotation mark graphic */
    /* content: '\201C'; */
    /* font-size: 3em; */
    /* color: #ccc; */
    /* position: absolute; */
    /* left: 10px; */
    margin-top: 5px;
}


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

/* Figure Styles for Image Pages (75, 78, 80, 81, 82) */
.bundle-74-82 .page-75-figure img,
.bundle-74-82 .page-78-figure img,
.bundle-74-82 .page-80-figure img,
.bundle-74-82 .page-81-figure img,
.bundle-74-82 .page-82-figure img {
    max-width: 600px;
    /* max-height: 85vh; */
    height: auto;
    display: block;
    margin: 0 auto;
    width: 100%;
}

.bundle-74-82 .page-75-figure figcaption,
.bundle-74-82 .page-78-figure figcaption,
.bundle-74-82 .page-80-figure figcaption,
.bundle-74-82 .page-81-figure figcaption,
.bundle-74-82 .page-82-figure figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #555;
    margin-top: 10px;
    /* Space between image and caption */
    padding-bottom: 10px;
    /* Space below caption */
}

/* Special styles for page 82 */
.bundle-74-82 .page-82-title {
    text-align: center;
    color: #7d685d;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Page 82 centered paragraphs */
.bundle-74-82 .page-82 .content-paragraph {
    text-align: center;
    text-indent: 0;
    /* Remove text indent for centered paragraphs */
}

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

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

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

/* Extracted Inline Styles (Generic classes based on style46-50.css, if needed - likely not used here) */
/* ... (Keep relevant ones from style92-93 if any specific are needed) ... */

/* Fixed Vertical Label */
.bundle-74-82-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    /* Adjust if needed */
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #D0A74ACC;
    color: white;
    padding: 10px 8px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
    /* Adjust line height for vertical text */
}

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


/* Image Wrap Right (if needed for other pages, kept from base) */
.bundle-74-82 .image-wrap-right {
    float: right;
    margin-left: 3rem;
    margin-top: 0;
    /* Align top */
    /* margin-right: 2rem; */
    max-width: 35%;
    /* Adjust width relative to container */
    height: auto;
}

.bundle-74-82 .image-wrap-right figcaption {
    margin-top: 0.25rem;
}

.bundle-74-82 .image-wrap-right h3 {
    /* Style the title within the wrapped figure */
    background-color: #6a5a4b;
    /* Theme brown */
    color: white;
    width: 130px;
    /* Adjusted size */
    height: 130px;
    /* Adjusted size */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    /* Stack lines vertically */
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.6rem;
    /* Base size for "淨土宗" */
    line-height: 1.3;
    margin: 0 auto 15px auto !important;
    /* Center block and add bottom margin */
    padding: 10px;
    box-sizing: border-box;
    font-weight: bold;
    /* Make top text bold */
}

.bundle-74-82 .image-wrap-right h3 br {
    display: none;
    /* Hide <br> as flex handles line break */
}

.bundle-74-82 .image-wrap-right h3 span.small-text {
    font-size: 1.1rem;
    /* Smaller size for "小常識" */
    font-weight: normal;
    /* Normal weight for smaller text */
    margin-top: 5px;
    /* Space between lines */
}


/* 清除浮動 */
.bundle-74-82 .container::after,
.bundle-74-82 .content::after {
    /* Ensure content also clears floats */
    content: "";
    display: table;
    clear: both;
}

/* Background SVG styles for Pages 74 & 76 */
.bundle-74-82 .page-74,
.bundle-74-82 .page-76 {
    position: relative;
    /* Ensure container is the reference for absolute positioning */
    /* overflow: hidden; Optional: prevent SVGs from overflowing if they are too large */
    margin: 5rem auto;
}

.bundle-74-82 .page-74,
.bundle-74-82 .page-75,
.bundle-74-82 .page-76,
.bundle-74-82 .page-77,
.bundle-74-82 .page-78,
.bundle-74-82 .page-79,
.bundle-74-82 .page-80,
.bundle-74-82 .page-81,
.bundle-74-82 .page-82 {
    background-color: #F4ECDA;
    /* Add background color */
}

.bundle-74-82 .background-yi,
.bundle-74-82 .background-shu {
    position: absolute;
    opacity: 0.2;
    /* Adjust transparency as needed */
    z-index: 0;
    /* Place behind content */
    pointer-events: none;
    /* Prevent interaction */
}

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

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


/* RWD設定 (Based on style92-93) */
@media (max-width: 768px) {
    .bundle-74-82-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0;
        left: 0;
        line-height: 1.2;
    }

    .bundle-74-82 .container {
        padding: 15px 15px;
        margin-bottom: 2rem;
    }

    .bundle-74-82 .title {
        font-size: 1.8rem;
    }

    .bundle-74-82 .subtitle,
    .bundle-74-82 .chapter,
    .bundle-74-82 .content-paragraph,
    .bundle-74-82 .author {
        /* Added author and content-paragraph */
        font-size: 1rem;
    }

    .bundle-74-82 blockquote.quote {
        margin-left: 0.5em;
        /* Adjust quote margin */
        margin-right: 0.5em;
        padding-left: 20px;
    }

    .bundle-74-82 .content-title-left,
    /* Added left/center content titles */
    .bundle-74-82 .content-title-center,
    .bundle-74-82 .page-content-title,
    .bundle-74-82 .content-question,
    /* Adjust Q&A font size */
    .bundle-74-82 .content-answer-lead {
        font-size: 1.2rem;
    }

    .bundle-74-82 .page-text {
        font-size: small;
    }

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

    /* REMOVED Responsive page number adjustment for image pages */
    /*
    .page-75 .page-number,
    .page-78 .page-number,
    .page-80 .page-number,
    .page-81 .page-number {
        right: 10px;
        bottom: 5px;
        padding: 3px 8px;
    }
    */

    .bundle-74-82 .page-75-figure figcaption,
    .bundle-74-82 .page-78-figure figcaption,
    .bundle-74-82 .page-80-figure figcaption,
    .bundle-74-82 .page-81-figure figcaption,
    .bundle-74-82 .page-82-figure figcaption {
        font-size: 0.8em;
    }

}

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

    .bundle-74-82 blockquote.quote {
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        border-left-width: 4px;
    }

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

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

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

    .bundle-74-82 .content-title-left,
    .bundle-74-82 .content-title-center,
    .bundle-74-82 .page-content-title,
    .bundle-74-82 .content-question,
    /* Adjust Q&A font size */
    .bundle-74-82 .content-answer-lead {
        font-size: 1.1rem;
    }

    .bundle-74-82 .page-h4 {
        /* Keep if needed from base */
        font-size: 1rem;
    }

    .bundle-74-82 .page-75-figure figcaption,
    .bundle-74-82 .page-78-figure figcaption,
    .bundle-74-82 .page-80-figure figcaption,
    .bundle-74-82 .page-81-figure figcaption,
    .bundle-74-82 .page-82-figure figcaption {
        font-size: 0.75em;
    }

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

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

}