/* style101-102.css - 發願素食的奇蹟 */
/* 主容器 */
.bundle-101-102 .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; /* Needed for image wrapping context */
}

/* 標題樣式 (Page 101) - 根據分析報告：CHei3HK-Bold, 38.0, #62192d */
.bundle-101-102 .title.page-101-title {
    text-align: center;
    color: #62192d; /* 根據分析報告的顏色 */
    margin: 10px 0 20px 0;
    font-size: 2.8rem; /* 對應 38.0 字級 */
    font-weight: bold;
    line-height: 1.3;
    font-family: 'CHei3HK-Bold', 'Microsoft JhengHei', sans-serif;
}

/* 作者樣式 (Page 101) - 根據分析報告：DFKaiShu-SB-Estd-BF, 12.0, #231f20 */
.bundle-101-102 .author.page-101-author {
    text-align: center;
    margin: 15px 0;
    font-size: 1rem; /* 對應 12.0 字級 */
    color: #231f20; /* 根據分析報告的顏色 */
    font-family: 'DFKaiShu-SB-Estd-BF', 'Microsoft JhengHei', sans-serif;
}

/* 圓形點點的虛線 */
.bundle-101-102 .dotted-line {
    height: 8px;
    width: 100%;
    margin: 25px 0;
    background-image: radial-gradient(circle, #936C77 2px, transparent 2px);
    background-size: 8px 8px;
    background-position: center;
}

/* 內容樣式 */
.bundle-101-102 .content {
    max-width: 600px; /* Limiting content width */
    margin: 0 auto; /* Centering content block */
}

/* 段落樣式 - 根據分析報告：DFMingStd-W5, 12.0, #231f20 */
.bundle-101-102 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem; /* 對應 12.0 字級 */
    color: #231f20; /* 根據分析報告的顏色 */
    font-family: 'DFMingStd-W5', 'Microsoft JhengHei', sans-serif;
}

/* Page 102 Figure/Image Styles - 下方排版 */
.bundle-101-102 .figure-center.page-102-figure {
    text-align: center; /* Center the figure */
    margin: 20px auto; /* Center block and add vertical margin */
    max-width: 80%; /* Control max width */
    position: relative; /* For overlapping text */
}

.bundle-101-102 .figure-center.page-102-figure img {
    max-width: 100%; /* Image responsive */
    height: auto;
    display: block; /* Remove extra space below image */
    margin: 0 auto; /* Ensure image is centered within figure */
    border: 1px solid #eee; /* Optional subtle border */
}

/* 重疊文字區域 - 根據分析報告：TimesNewRomanPSMT, 15.0, #ffffff */
.bundle-101-102 .overlapping-text {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
}

.bundle-101-102 .mantra-text {
    font-family: 'TimesNewRomanPSMT', 'Times New Roman', serif !important;
    font-size: 1.2rem !important; /* 對應 15.0 字級 */
    color: #ffffff !important; /* 根據分析報告的顏色 */
    text-indent: 0 !important;
    margin: 0 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5); /* 增加可讀性 */
}

/* Small icon/logo style at the end */
.bundle-101-102 .end-icon {
     display: inline-block; /* Make it inline block */
     width: 1.2em; /* Adjust size as needed */
     height: 1.2em;
     margin-left: 5px;
     vertical-align: middle; /* Align with text */
     background-image: url('../common/logo-notext.svg'); /* Reference the logo */
     background-size: contain;
     background-repeat: no-repeat;
     background-position: center;
}

/* Source Logo Style */
.bundle-101-102 .source-logo {
    height: 1em;
    vertical-align: -0.125em;
    margin-left: 0.3em;
}

/* 頁碼 */
.bundle-101-102 .page-number {
    display: flex;
    align-items: center;
    justify-content: center; /* Default right alignment */
    gap: 8px;
    margin-top: 30px;
    padding: 8px 0;
    clear: both; /* Ensure page number appears below wrapped content */
}

.bundle-101-102 .page-text {
    font-size: 0.9em;
    color: #555;
}

.bundle-101-102 .page-circle {
    background: #936C77; /* Standard color */
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* 清除浮動 */
.bundle-101-102 .container::after,
.bundle-101-102 .content::after {
    content: "";
    display: table;
    clear: both;
}

/* 固定垂直標籤 */
.bundle-101-102-active .fixed-vertical-label {
    position: fixed;
    top: 30px;
    left: 30px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background-color: #936C77; /* Standard color */
    color: white;
    padding: 10px 8px;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 5px;
    z-index: 1000;
    font-weight: bold;
}

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

    .bundle-101-102 .title.page-101-title {
        font-size: 1.8rem; /* Adjust sizes for smaller screens */
    }

    .bundle-101-102 .content {
        max-width: 100%; /* Full width on smaller screens */
    }

    .bundle-101-102-active .fixed-vertical-label {
        /* Apply standard RWD styles */
        font-size: 11px;
        padding: 2px 0;
        left: 0;
        line-height: 1.2;
    }

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

     .bundle-101-102 .figure-center.page-102-figure {
        max-width: 90%; /* Allow more width on medium screens */
    }
}

@media (max-width: 480px) {
    .bundle-101-102 .title.page-101-title {
        font-size: 1.6rem;
    }

    .bundle-101-102 .content-paragraph {
        font-size: 0.95rem;
    }

     .bundle-101-102 .figure-center.page-102-figure {
        max-width: 100%; /* Full width on small screens */
    }

    .bundle-101-102 .mantra-text {
        font-size: 1rem !important; /* 小螢幕調整 */
    }
}