/* ===================================
   Page 54-60 樣式
   問答釋疑：習氣如何轉變？念佛得清淨心能否斷惑、轉化脾氣？
   生成時間：2025-10-15 06:10:17
   =================================== */

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

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

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

/* 問題小標題 (Page 55) */
.bundle-54-60 .subtitle-question {
    text-align: center;
    color: #806856;
    font-size: 2.8rem;
    font-weight: bold;
    margin: 40px 0 30px 0;
    line-height: 1.4;
}

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

/* 問答區域 */
.bundle-54-60 .qa-section {
    margin: 30px 0;
}

/* 問題樣式 */
.bundle-54-60 .question {
    margin: 20px 0;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 回答樣式 */
.bundle-54-60 .answer {
    margin: 20px 0;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 問答標籤 (問/答) */
.bundle-54-60 .qa-label {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 0.3em;
}

/* 問題標籤顏色 */
.bundle-54-60 .question-label {
    color: #e25b45;
}

/* 回答標籤顏色 */
.bundle-54-60 .answer-label {
    color: #231f20;
}

/* 問題文字顏色 */
.bundle-54-60 .question {
    color: #e25b45;
}

/* 回答文字顏色 */
.bundle-54-60 .answer {
    color: #231f20;
}

/* 內容段落 */
.bundle-54-60 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #231f20;
}

/* 內容區域 */
.bundle-54-60 .content {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.bundle-54-60 .page-text {
    font-size: 14px;
    color: #666;
}

/* 圖片樣式 */
.bundle-54-60 .page-figure {
    margin: 20px 0;
    text-align: center;
}

.bundle-54-60 .page-figure img {
    max-width: 100%;
    height: auto;
}

/* Page 56 特殊樣式 - 書法頁面（文繞圖） */
.bundle-54-60 .page-56 {
    padding: 20px 50px;
    position: relative;
}

/* 頁碼標籤 */
.bundle-54-60 .page-number-label {
    position: absolute;
    left: 30px;
    top: 680px;
    font-size: 0.7rem;
    color: #231f20;
    margin: 0;
}

/* 分類標籤 */
.bundle-54-60 .category-label {
    font-size: 0.6rem;
    color: #231f20;
    margin: 0 0 20px 0;
    letter-spacing: 0.3em;
}

/* 書法圖片（右側浮動） */
.bundle-54-60 .calligraphy-float-right {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 400px;
}

.bundle-54-60 .calligraphy-float-right img {
    width: 100%;
    height: auto;
    display: block;
}

.bundle-54-60 .calligraphy-float-right figcaption {
    margin-top: 10px;
    font-size: 0.875rem;
    color: #806856;
    text-align: center;
}

/* Page 57 特殊樣式 - 背景圖片頁面 */
.bundle-54-60 .page-57 .page-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.bundle-54-60 .page-57 .background-image {
    width: 100%;
    height: auto;
    display: block;
}

.bundle-54-60 .page-57 .overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
}

.bundle-54-60 .page-57 .main-title {
    font-size: 1.5rem;
    font-weight: normal;
    text-align: center;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.2em;
}

/* 頁碼 - 僅適用於 page-57 */
.bundle-54-60 .page-57 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #000;
    font-size: 12px;
    margin-top: 10px;
}

.bundle-54-60 .page-57 .page-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #90B744;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Page 58 特殊樣式 - 背景圖片頁面 */
/* 參考第71期的正確作法：使用 min-height 和 background-image */
.bundle-54-60 .container.page-58 {
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
    margin-bottom: 0;
}

.bundle-54-60 .page-58 .page-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: 900px;
    margin: 0 auto;
    background-image: url('https://picsum.photos/600/900?random=260');
    background-size: cover;
    background-position: center;
    overflow: visible;
}

.bundle-54-60 .page-58 .background-image {
    display: none;
}

.bundle-54-60 .page-58 .overlay-content {
    position: relative;
    width: 100%;
    min-height: 900px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 60px 40px;
    color: white;
}

.bundle-54-60 .page-58 .main-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.bundle-54-60 .page-58 .subtitle {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bundle-54-60 .page-58 .author {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.bundle-54-60 .page-58 .content-text {
    max-width: 550px;
    text-align: center;
    line-height: 2;
    font-size: 1rem;
    color: #231f20;
    position: relative;
    padding: 30px 40px;
    border-radius: 20px;
}

/* 玻璃效果背景 */
.bundle-54-60 .page-58 .content-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.bundle-54-60 .page-58 .content-text p {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bundle-54-60 .page-58 .content-text .mt-4 {
    margin-top: 1.5rem !important;
}

/* 頁碼 - 僅適用於 page-58 */
.bundle-54-60 .page-58 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #000;
    font-size: 12px;
    margin-top: 10px;
}

.bundle-54-60 .page-58 .page-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #90B744;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Page 59 特殊樣式 - 背景圖片頁面（延續 Page 58） */
/* 參考第71期的正確作法：使用 min-height 和 background-image */
.bundle-54-60 .container.page-59 {
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
    margin-bottom: 0;
}

.bundle-54-60 .page-59 .page-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: 900px;
    margin: 0 auto;
    background-image: url('/bookweb/bimonthly/73/p54-60/59.jpg');
    background-size: cover;
    background-position: center;
    overflow: visible;
}

.bundle-54-60 .page-59 .background-image {
    display: none;
}

.bundle-54-60 .page-59 .overlay-content {
    position: relative;
    width: 100%;
    min-height: 900px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 60px 40px;
    color: white;
}

.bundle-54-60 .page-59 .content-text {
    max-width: 550px;
    text-align: center;
    line-height: 2;
    font-size: 1rem;
    color: #231f20;
    position: relative;
    padding: 30px 40px;
    border-radius: 20px;
    margin-top: 280px;
}

/* 玻璃效果背景 */
.bundle-54-60 .page-59 .content-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.bundle-54-60 .page-59 .content-text p {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bundle-54-60 .page-59 .content-text .mt-4 {
    margin-top: 1.5rem !important;
}

/* 頁碼 - 僅適用於 page-59 */
.bundle-54-60 .page-59 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #000;
    font-size: 12px;
    margin-top: 10px;
}

.bundle-54-60 .page-59 .page-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #90B744;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Page 60 特殊樣式 - 背景圖片頁面 */
/* 參考第71期的正確作法：使用 min-height 和 background-image */
.bundle-54-60 .container.page-60 {
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
    margin-bottom: 0;
}

.bundle-54-60 .page-60 .page-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: 900px;
    margin: 0 auto;
    background-image: url('/bookweb/bimonthly/73/p54-60/60.jpg');
    background-size: cover;
    background-position: center;
    overflow: visible;
}

.bundle-54-60 .page-60 .background-image {
    display: none;
}

.bundle-54-60 .page-60 .overlay-content {
    position: relative;
    width: 100%;
    min-height: 900px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
}

.bundle-54-60 .page-60 .main-title {
    font-size: 0.9rem;
    font-weight: normal;
    text-align: center;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 頁碼 - 僅適用於 page-60 */
.bundle-54-60 .page-60 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #000;
    font-size: 12px;
    margin-top: 10px;
}

.bundle-54-60 .page-60 .page-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #90B744;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

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

    .bundle-54-60 .title {
        font-size: 2rem;
    }

    .bundle-54-60 .page-header-label {
        font-size: 1.5rem;
    }

    .bundle-54-60 .question,
    .bundle-54-60 .answer {
        font-size: 1rem;
    }

    .bundle-54-60 .content-paragraph {
        font-size: 0.95rem;
    }

    /* Page 56 響應式 */
    .bundle-54-60 .page-56 {
        padding: 15px 20px;
    }

    .bundle-54-60 .calligraphy-float-right {
        float: none;
        max-width: 100%;
        margin: 20px 0;
    }

    .bundle-54-60 .page-number-label {
        left: 15px;
    }

    /* Page 58 響應式 - 參考第71期作法 */
    .bundle-54-60 .page-58 .overlay-content {
        padding: 40px 20px;
    }

    .bundle-54-60 .page-58 .main-title {
        font-size: 2rem;
    }

    .bundle-54-60 .page-58 .subtitle {
        font-size: 1.1rem;
    }

    .bundle-54-60 .page-58 .content-text {
        padding: 20px 25px;
        font-size: 0.95rem;
    }

    /* Page 59 響應式 */
    .bundle-54-60 .page-59 .overlay-content {
        padding: 40px 20px;
    }

    .bundle-54-60 .page-59 .content-text {
        padding: 20px 25px;
        font-size: 0.95rem;
    }

    /* Page 60 響應式 */
    .bundle-54-60 .page-60 .overlay-content {
        padding: 40px 20px;
    }

    .bundle-54-60 .page-60 .main-title {
        font-size: 2rem;
    }
}

/* 更小螢幕的額外調整 */
@media (max-width: 630px) {
    /* Page 58 更小螢幕調整 */
    .bundle-54-60 .page-58 .overlay-content {
        padding: 30px 15px;
    }

    .bundle-54-60 .page-58 .main-title {
        font-size: 1.8rem;
    }

    .bundle-54-60 .page-58 .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .bundle-54-60 .page-58 .author {
        margin-bottom: 40px;
    }

    .bundle-54-60 .page-58 .content-text {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    /* Page 59 更小螢幕調整 */
    .bundle-54-60 .page-59 .overlay-content {
        padding: 30px 15px;
    }

    .bundle-54-60 .page-59 .content-text {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    /* Page 60 更小螢幕調整 */
    .bundle-54-60 .page-60 .overlay-content {
        padding: 30px 15px;
    }

    .bundle-54-60 .page-60 .main-title {
        font-size: 1.8rem;
    }
}


/* 固定垂直標籤樣式 - 頁面 54-60 */
.bundle-54-60-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #90B744;
    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-54-60-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0px;
        left: 0px;
        line-height: 1.2;
    }
}
