/* Page 58 - 只管念佛 - 獨立樣式文件 */
/* Google Fonts - Noto Serif TC for a more book-like feel */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;700&display=swap');

/* Page 58 特定樣式 - 使用 .page58 前綴避免樣式衝突 */

.bundle-54-60 .container.page-58 {
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page58 {
    font-family: 'Noto Serif TC', serif;
    box-sizing: border-box;
}

.page58 * {
    box-sizing: border-box;
}

.page58-background {
    position: relative;
    width: 100%;
    max-width: 800px;
    min-height: 100vh;
    margin: 0 auto;
    background-image: url('/bookweb/bimonthly/71/p54-60/58.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}

.page58-content-wrapper {
    position: relative;
    width: 70%;
    max-width: 600px;
}

.page58-main-text-box {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* 只設定左下和右下角的圓角 */
    border-radius: 10px;
}

.page58-main-text-box h1 {
    font-size: 2.8em;
    font-weight: 700;
    color: #000;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: left;
}

.page58-main-text-box p {
    font-size: 1em;
    line-height: 2;
    color: #000;
    margin-bottom: 1.5em;
    text-align: justify;
}

/* 針對新的詩句排版段落，減少底部間距，使其更緊湊 */
.page58-main-text-box .verse {
    margin-bottom: 0.5em;
    line-height: 1.8;
    /* 調整行高以適應換行 */
}

.page58-author-bar {
    position: absolute;
    top: 0;
    /* 定位在父容器(.content-wrapper)的100%處，即右邊界外側 */
    left: 100%;
    height: auto;
    background-color: #1a1a1a;
    color: white;
    writing-mode: vertical-rl;
    padding: 15px 8px;
    font-size: 1em;
    letter-spacing: 2px;
    border-radius: 0 2px 2px 0;
}

.page58-page-number-container {
    font-size: 0.9em;
    font-weight: 500;
    color: #000;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 25px;
    margin: 2rem auto;
    text-align: center;
    color: white;
    background-color: #000;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .page58-content-wrapper {
        width: 85%;
    }

    .page58-background {
        padding: 20px;
    }

    .page58-main-text-box h1 {
        font-size: 2em;
    }

    .page58-main-text-box p {
        font-size: 0.95em;
        line-height: 1.8;
    }

    .page58-author-bar {
        /* left: 100% 會自動適應，不需額外調整 */
        font-size: 0.9em;
    }
}