/* ===================================
   Page 78-83 樣式
   問答釋疑：如何理解「別人是自己的鏡子」？
   參考：71期 p54-60 樣式
   =================================== */

/* 主容器 */
.bundle-78-83 .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-78-83 .page-header-label {
    text-align: center;
    color: #77654c;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: normal;
}

/* 主標題 */
.bundle-78-83 .title {
    text-align: center;
    color: #806856;
    margin-bottom: 10px;
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1.4;
}

/* 副標題 */
.bundle-78-83 .subtitle {
    text-align: center;
    color: #6a5a4b;
    font-size: 1.2rem;
    margin: 0 auto;
    max-width: 90%;
}

/* 作者 */
.bundle-78-83 .author {
    text-align: center;
    margin: 15px 0;
    font-size: 1rem;
}

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

/* 問答容器 */
.bundle-78-83 .qa-container {
    margin: 20px 0;
}

/* 問題前綴 (問：) */
.bundle-78-83 .qa-ask-prefix {
    display: inline;
    font-size: 1.1rem;
    font-weight: bold;
    color: #e25b45;
    margin-right: 0.5em;
}

/* 問題文字 */
.bundle-78-83 .qa-ask-text {
    display: inline;
    font-size: 1.1rem;
    color: #e25b45;
    line-height: 1.8;
}

/* 回答前綴 (答：) */
.bundle-78-83 .qa-answer-prefix {
    display: inline;
    font-size: 1.1rem;
    font-weight: bold;
    color: #231f20;
    margin-right: 0.5em;
}

/* 回答文字 */
.bundle-78-83 .qa-answer-text {
    display: inline;
    font-size: 1.1rem;
    color: #231f20;
    line-height: 1.8;
}

/* 一般段落 */
.bundle-78-83 .content-paragraph {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
    color: #231f20;
}

/* 段落中的粗體文字 (使用楷書字體) */
.bundle-78-83 .content-paragraph .fw-bold,
.bundle-78-83 .content-paragraph strong {
    font-weight: bold;
    font-family: 'DFKaiShuStd-W7', 'Noto Sans TC', serif;
}

/* 引用區塊 */
.bundle-78-83 .quote {
    margin: 20px 0;
    padding-left: 2em;
}

.bundle-78-83 blockquote.quote {
    padding: 15px 20px 15px 40px;
    margin-left: 1em;
    margin-right: 1em;
    border-left: 5px solid #6a5a4b;
    font-style: normal;
    color: #333;
    background-color: #f9f9f9;
    border-radius: 4px;
    position: relative;
}

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

.bundle-78-83 .page-text {
    color: #6a5a4b;
    font-size: 14px;
}

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

/* 圖片容器 */
.bundle-78-83 .image-container {
    margin: 30px 0;
    text-align: center;
}

.bundle-78-83 .image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bundle-78-83 .image-container figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #806856;
    margin-top: 10px;
}

/* 書法圖片樣式 */
.bundle-78-83 .calligraphy-image {
    margin: 30px auto;
    max-width: 300px;
}

.bundle-78-83 .calligraphy-image img {
    width: 100%;
    height: auto;
}

.bundle-78-83 .calligraphy-caption {
    text-align: center;
    font-size: 0.9em;
    color: #806856;
    margin-top: 10px;
}

/* 純圖片頁面 (Page 82-83) */
.bundle-78-83 .full-page-image {
    margin: 0;
    padding: 0;
}

.bundle-78-83 .full-page-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

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


/* 響應式設計 */
@media (max-width: 768px) {
    .bundle-78-83 .container {
        padding: 20px 30px;
    }

    .bundle-78-83 .title {
        font-size: 2rem;
    }

    .bundle-78-83 .page-header-label {
        font-size: 1.5rem;
    }

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