/**
 * 第77期 page61-82 樣式
 * 生成時間：2025-12-24 07:18:30
 * 功能描述：第77期雙月刊 page61-82 頁面通用樣式
 * 備註：複製自 style45-60.css，主題色調整為 #0089CF（藍色）- 尋求法門
 */

/* ============================================================
   目錄索引（Table of Contents）
   ============================================================
   1. 通用樣式（Page 61-82 共用）
   2. Page 61 專屬樣式（封面頁）
   3. 頁碼樣式
   4. RWD 響應式設計
   ============================================================ */


/* ============================================================
   1. 通用樣式（Page 61-82 共用）
   ============================================================ */

/* 主容器樣式 */
.bundle-61-82 .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;
    position: relative;
}

/* 章節小標題（一、二、三...）- 字級16pt, 顏色 #0089CF */
.bundle-61-82 .section-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0089CF;
    margin: 1.5rem 0 1rem 0;
    line-height: 1.6;
}

/* 中標題（（一）、（二）...） - 字級14pt, 顏色 #0089CF */
.bundle-61-82 .sub-section-title {
    font-size: 1.2rem !important;
    font-weight: bold;
    color: #0089CF !important;
    margin: 1.2rem 0 0.8rem 0;
    line-height: 1.6;
    text-indent: 0;
}

/* 區塊標籤（▌標題...） - 顏色 #806856 */
.bundle-61-82 .block-label {
    font-size: 1.3rem !important;
    font-weight: bold;
    color: #000 !important;
    margin: 1.5rem 0 0.8rem 0;
    line-height: 1.6;
    text-indent: 2em;
}

/* 段落文字樣式 */
.bundle-61-82 .content-paragraph {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 0;
    color: #231F20;
}

/* 首行縮排 */
.bundle-61-82 .content-paragraph.indent {
    text-indent: 2em;
}

/* 粗體文字（DFHeiStd-W7） */
.bundle-61-82 .fw-bold {
    font-weight: bold;
}

/* 子項目標題（(1)條件論、(2)功夫論、(3)自性論等）- 字級14pt, 顏色 #231F20 */
.bundle-61-82 .sub-point-title {
    font-size: 1.2rem !important;
    font-weight: bold;
    color: #231F20;
    margin: 1.2rem 0 0.8rem 0;
    line-height: 1.6;
    text-indent: 0;
}

/* 圖片說明文字 */
.bundle-61-82 figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #806856;
    margin-top: 10px;
    margin-top: 10px;
    line-height: 1.6;
}

/* 全頁圖片樣式修正 (Page 71, 77, 80) */
.bundle-61-82 .full-page-image figure img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 通用上方圖片樣式 */
.bundle-61-82 .page-image-top {
    margin: 20px 0 20px 0;
}

.bundle-61-82 .page-image-top img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}


/* ============================================================
   2. Page 61 專屬樣式 - 封面頁（尋求法門）
   ============================================================ */

.bundle-61-82 .page-61.container {
    padding: 20px 0px 20px 0px !important;
}

/* Container - 依照 PDF 尺寸建立比例 */
.bundle-61-82 .page-61 .page-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 538.58 / 737.01;
    margin: 0 auto;
    overflow: hidden;
    font-family: "Microsoft JhengHei", "Heiti TC", sans-serif !important;
    color: #FFFFFF;
    background-color: #0089CF;
    /* 第77期 page61 專屬底色 - 藍色 */
    border-radius: 0 50px 50px 0;
}

.bundle-61-82 .page-61 .content {
    max-width: 800px !important;
}

/* 背景圖片 - 佔據下方 50% */
.bundle-61-82 .page-61 .page-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    object-fit: cover;
    z-index: 99;
}

/* 內容層 - 覆蓋在圖片上 */
.bundle-61-82 .page-61 .content-layer {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

/* ----------- Page 61: 左側區域 (橫書) ----------- */
.bundle-61-82 .page-61 .left-section {
    position: absolute;
    top: 8%;
    left: 14%;
    width: 40%;
    border-left: 1px white solid;
    padding-left: 2em;
    padding-bottom: 10rem;
}

.bundle-61-82 .page-61 .decorative-text {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(18px, 3vw, 22px);
    line-height: 1.4;
    margin-bottom: 3.5rem;
}

.bundle-61-82 .page-61 .quote-block {
    font-family: 'Zen Old Mincho', serif;
    font-size: clamp(16px, 3vw, 18px);
    line-height: 4;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 6em;
}

/* ----------- Page 61: 右側區域 (直書) ----------- */
.bundle-61-82 .page-61 .right-section {
    position: absolute;
    top: 8%;
    right: 15%;
    height: 85%;
    writing-mode: vertical-rl;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.bundle-61-82 .page-61 .main-title {
    font-family: 'Zen Old Mincho', serif;
    font-size: clamp(48px, 12vw, 64px);
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
}


/* ============================================================
   2.1 Page 62 專屬樣式 - 文章標題
   ============================================================ */

/* 文章頭部容器 - 蓮花圖標 + 標題文字（仿照 Page 46 樣式） */
.bundle-61-82 .article-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-left: 0;
}

/* 蓮花圖標 */
.bundle-61-82 .header-icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
}

.bundle-61-82 .header-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 標題文字區塊 */
.bundle-61-82 .header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 標題文字 - 大標題樣式 */
.bundle-61-82 .title {
    text-align: left;
    color: #0089CF;
    margin: 0 0 8px 0;
    font-size: 2.7rem;
    font-weight: bold;
    line-height: 1.3;
}

/* 圓形點點的虛線（仿照 Page 46 樣式） */
.bundle-61-82 .dotted-line {
    height: 8px;
    width: 100%;
    margin: 25px 0;
    background-image: radial-gradient(circle, #0089CF 1px, transparent 1px);
    background-size: 8px 8px;
    background-position: center;
    border-top: none;
}


/* ============================================================
   2.2 Page 65 專屬樣式 - 圖片調整
   ============================================================ */

.bundle-61-82 .page-65 figure {
    text-align: center;
    margin: 20px 0;
}

/* 修正圖片尺寸錯誤：長條圖片限制高度與寬度 */
.bundle-61-82 .page-65 figure img {
    width: auto;
    max-width: 100%;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   3. 頁碼樣式
   ============================================================ */

.bundle-61-82 .page-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.bundle-61-82 .page-number .page-text {
    color: #666;
}

.bundle-61-82 .page-number .page-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #0089CF;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}


/* ============================================================
   4. 固定垂直標籤（Fixed Vertical Label）
   ============================================================ */

.bundle-61-82-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #0089CF;
    color: white;
    padding: 10px 8px;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 5px;
    z-index: 1000;
    font-weight: bold;
}


/* ============================================================
   5. RWD 響應式設計
   ============================================================ */

/* ----------- 4.1 平板尺寸 (max-width: 992px) ----------- */
@media (max-width: 992px) {
    .bundle-61-82 .container {
        padding: 20px 60px;
    }

    /* Article Header RWD */
    .bundle-61-82 .header-icon {
        width: 80px;
        height: 80px;
    }

    .bundle-61-82 .title {
        font-size: 1.8rem;
    }

    .bundle-61-82 .category {
        font-size: 1.3rem;
        font-weight: 600;
    }
}

/* ----------- 4.2 手機尺寸 (max-width: 768px) ----------- */
@media (max-width: 768px) {
    .bundle-61-82 .container {
        padding: 15px 30px;
    }

    /* Article Header RWD */
    .bundle-61-82 .article-header {
        gap: 15px;
    }

    .bundle-61-82 .header-icon {
        width: 80px;
        height: 80px;
    }

    .bundle-61-82 .title {
        font-size: 1.4rem;
    }

    .bundle-61-82 .category {
        font-size: 1.2rem;
    }

    .bundle-61-82 .header-text .author {
        font-size: 0.9rem;
    }

    /* 通用 RWD */
    .bundle-61-82 .section-title {
        font-size: 0.95rem;
    }

    /* 固定垂直標籤 RWD */
    .bundle-61-82-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0;
        left: 0;
        line-height: 1.2;
    }
}

/* ----------- 4.3 小手機尺寸 (max-width: 576px) ----------- */
@media (max-width: 576px) {
    .bundle-61-82 .container {
        padding: 10px 20px;
    }

    /* Article Header RWD */
    .bundle-61-82 .article-header {
        gap: 12px;
    }

    .bundle-61-82 .header-icon {
        width: 80px;
        height: 80px;
    }

    .bundle-61-82 .title {
        font-size: 1.4rem;
    }

    .bundle-61-82 .category {
        font-size: 1.2rem;
    }

    .bundle-61-82 .header-text .author {
        font-size: 0.9rem;
    }

    /* 通用 RWD */
    .bundle-61-82 .content-paragraph {
        font-size: 0.9rem;
    }

    .bundle-61-82 .section-title {
        font-size: 0.9rem;
    }
}

/* ----------- 4.4 Page 61 封面頁 RWD (複製自 p5) ----------- */
@media screen and (max-width: 640px) {
    .bundle-61-82 .page-61 .quote-block {
        line-height: 4;
        margin-top: 4em;
    }

    .bundle-61-82 .page-61 .decorative-text {
        margin-bottom: 1.5em;
    }

    /* 調整左右區域位置，爭取上方空間 */
    .bundle-61-82 .page-61 .left-section,
    .bundle-61-82 .page-61 .right-section {
        top: 6%;
    }

    /* 縮小右側直書的間距 */
    .bundle-61-82 .page-61 .right-section {
        gap: 0.5rem;
    }

    .bundle-61-82 .page-61 .sub-title {
        font-size: 18px;
    }
}

@media screen and (max-width: 510px) {
    .bundle-61-82 .page-61 .quote-block {
        line-height: 3.5;
        margin-top: 3.5em;
    }

    .bundle-61-82 .page-61 .decorative-text {
        margin-bottom: 1.2em;
    }

    .bundle-61-82 .page-61 .sub-title {
        font-size: 16px;
    }

    .bundle-61-82 .page-61 .left-section {
        position: absolute;
        left: 10%;
        width: 45%;
    }
}

@media screen and (max-width: 460px) {
    .bundle-61-82 .page-61 .quote-block {
        line-height: 3.5;
        margin-top: 3.5em;
    }

    .bundle-61-82 .page-61 .sub-title {
        font-size: 15px;
    }

    .bundle-61-82 .page-61 .left-section {
        width: 50%;
    }

    .bundle-61-82 .page-61 .quote-block {
        font-size: clamp(14px, 3vw, 16px);
    }
}

/* 針對極小螢幕的進一步壓縮，確保不與圖片重疊 */
@media screen and (max-width: 400px) {
    .bundle-61-82 .page-61 .quote-block {
        line-height: 3.5;
        margin-top: 1em;
    }

    .bundle-61-82 .page-61 .left-section {
        width: 56%;
    }

    .bundle-61-82 .page-61 .decorative-text {
        margin-bottom: 1rem;
    }

    .bundle-61-82 .page-61 .sub-title {
        font-size: 14px;
    }

    .bundle-61-82 .page-61 .right-section {
        right: 10%;
    }

    .bundle-61-82 .page-61 .main-title {
        font-size: clamp(26px, 12vw, 64px);
    }
}