/* ===================================
   Page 57-59 樣式表
   淨土常識 - 「彌陀救度法筵開」四句偈解讀
   參考 style41-43.css 的結構
   =================================== */

/* 固定垂直標籤 */
.bundle-57-59-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;
	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-57-59-active .fixed-vertical-label {
		font-size: 11px;
		padding: 2px 0px;
		left: 0px;
		line-height: 1.2;
	}
}

/* 主容器 */
.bundle-57-59 .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-57-59 .content {
    max-width: 600px;
    margin: 0 auto;
}

/* Clearfix for floated elements */
.bundle-57-59 .content::after {
    content: "";
    display: table;
    clear: both;
}

/* 淨土宗小常識標題容器 (float:right) */
.bundle-57-59 .page-title-box {
    float: right;
    margin: 0 0 20px 20px;
    text-align: center;
}

/* 淨土宗小常識標題 - 圓形背景 */
.bundle-57-59 .content-title-center {
    font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
    text-align: center;
    color: #ffffff;
    background-color: #6a5a4b;
    padding: 10px;
    border-radius: 50%;
    display: inline-block;
    font-size: 1.3rem;
    font-weight: bold;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bundle-57-59 .small-text {
    font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: 5px;
}

/* 圓圈標題樣式 */
.bundle-57-59 .content-title-left {
    text-align: left;
    color: #D88C52;
    margin: 30px 0 20px;
    font-size: 1.3rem;
    font-weight: bold;
}

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

/* 小標題樣式 */
.bundle-57-59 .subtitle {
    text-align: left;
    color: #D88C52;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: bold;
}

/* 段落樣式 */
.bundle-57-59 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 粗體文字 */
.bundle-57-59 .fw-bold {
    font-weight: bold;
}

/* 經文引用樣式 */
.bundle-57-59 .scripture-quote {
    font-weight: bold;
    color: #231f20;
}

/* 列表標記粗體 */
.bundle-57-59 .list-marker-bold {
    font-weight: bold;
    font-family: 'DFHeiStd-W7', 'Microsoft JhengHei', sans-serif;
}

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

.bundle-57-59 .page-text {
    font-size: 14px;
    color: #FFF;
}

.bundle-57-59 .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-57-59 .page-figure {
    margin: 0 0 20px 0;
    padding: 0;
    text-align: center;
}

.bundle-57-59 .page-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}

.bundle-57-59 .top-image {
    margin-bottom: 20px;
}

/* 圖片標題 */
.bundle-57-59 .image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #806856;
    margin-top: 15px;
    margin-bottom: 15px;
    font-style: italic;
}

/* ===================================
   分享組件樣式
   注意：分享組件的樣式由全域 share.css 提供
   =================================== */

/* ===================================
   響應式設計 (RWD)
   =================================== */

/* 平板尺寸 (768px - 1024px) */
@media (max-width: 1024px) {
    .bundle-57-59 .container {
        padding: 20px 60px;
    }

    .bundle-57-59 .content-title-center {
        font-size: 1.2rem;
        width: 110px;
        height: 110px;
    }

    .bundle-57-59 .small-text {
        font-size: 1rem;
    }

    .bundle-57-59 .circle-title {
        font-size: 1.4rem;
    }

    .bundle-57-59 .subtitle {
        font-size: 1.1rem;
    }
}

/* 手機尺寸 (小於 768px) */
@media (max-width: 768px) {
    .bundle-57-59 .container {
        padding: 15px 30px;
        margin-bottom: 2rem;
    }

    .bundle-57-59 .page-title-box {
        float: right;
        margin: 0 0 20px 20px;
        text-align: center;
    }

    .bundle-57-59 .content-title-center {
        font-size: 1.1rem;
        width: 100px;
        height: 100px;
    }

    .bundle-57-59 .small-text {
        font-size: 0.9rem;
    }

    .bundle-57-59 .circle-title {
        font-size: 1.3rem;
    }

    .bundle-57-59 .subtitle {
        font-size: 1rem;
    }

    .bundle-57-59 .content-paragraph {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* 小手機尺寸 (小於 480px) */
@media (max-width: 480px) {
    .bundle-57-59 .container {
        padding: 15px 20px;
        margin-bottom: 1.5rem;
    }

    .bundle-57-59 .page-title-box {
        float: right;
        margin: 0 0 20px 20px;
        text-align: center;
    }

    .bundle-57-59 .content-title-center {
        font-size: 1rem;
        width: 90px;
        height: 90px;
    }

    .bundle-57-59 .small-text {
        font-size: 0.8rem;
    }

    .bundle-57-59 .circle-title {
        font-size: 1.2rem;
    }

    .bundle-57-59 .subtitle {
        font-size: 0.95rem;
    }

    .bundle-57-59 .content-paragraph {
        font-size: 0.9rem;
        line-height: 1.6;
        text-indent: 1.5em;
        margin-bottom: 12px;
    }

    .bundle-57-59 .page-number {
        margin-top: 20px;
        gap: 6px;
    }

    .bundle-57-59 .page-text {
        font-size: 12px;
    }

    .bundle-57-59 .page-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

