/* style114-117.css */
/* 基於分析報告的頁面樣式 - 環保慈善主題：科學家與素食 */

/* 主容器 */
.bundle-114-117 .container {
    max-width: 800px;
    width: 100%;
    margin-left: auto; /* 水平置中 */
    margin-right: auto; /* 水平置中 */
    padding: 20px 60px 20px 60px; /* Adjusted padding */
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background-color: #F1F7DE; /* 環保慈善主題背景色 */
    position: relative;
}

/* 標題樣式 (Page 114) - 基於字體分析報告 */
.bundle-114-117 .title.page-114-title {
    text-align: center;
    color: #EA8A70; /* 基於分析報告的顏色 #ea8a70 */
    margin: 10px 0 5px 0;
    font-size: 2.8rem; /* 對應38.0字級 */
    font-weight: bold;
    line-height: 1.4;
    font-family: 'GenJyuuGothic-Bold', sans-serif; /* 基於字體分析 */
}

/* 作者樣式 (Page 114) */
.bundle-114-117 .author.page-114-author {
    text-align: center;
    margin: 5px 0 20px 0;
    font-size: 1rem;
    color: #231F20; /* 基於字體分析報告 */
    font-family: 'DFKaiShu-SB-Estd-BF', serif; /* 基於字體分析 */
}

/* 圓形點點的虛線 */
.bundle-114-117 .dotted-line {
    height: 8px;
    width: 100%;
    margin: 25px 0;
    background-image: radial-gradient(circle, #EA8A70 2px, transparent 2px);
    background-size: 8px 8px;
    background-position: center;
}

/* 內容樣式 */
.bundle-114-117 .content {
    max-width: 100%; /* Allow full width within padding */
    margin: 0 auto;
}

.bundle-114-117 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
    color: #231F20; /* 基於分析報告的文字顏色 */
    font-family: 'DFMingStd-W5', serif; /* 基於字體分析 */
}

/* DFHeiStd-W9 字體樣式 - 問答標記加粗 (Page 116-117) */
.bundle-114-117 .page-116 .content-paragraph,
.bundle-114-117 .page-117 .content-paragraph {
    font-family: 'DFMingStd-W5', serif;
}

/* 為「問：」和「答：」添加粗體樣式 */
.bundle-114-117 .page-116 .content-paragraph::first-line,
.bundle-114-117 .page-117 .content-paragraph::first-line {
    font-weight: normal; /* 預設不加粗 */
}

/* 使用 JavaScript 或直接在 HTML 中為「問：」和「答：」添加 span 標籤 */
/* 這裡提供 CSS 類別供使用 */
.bundle-114-117 .qa-label {
    font-family: 'DFHeiStd-W9', sans-serif;
    font-weight: bold;
    color: #231F20;
}

/* 右對齊文字 */
.bundle-114-117 .text-right {
    text-align: right;
    text-indent: 0;
}

/* Figure/Image Styles - 基於圖片排版分析報告 */
.bundle-114-117 figure {
    margin-bottom: 1rem;
}

.bundle-114-117 figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee;
    border-radius: 4px;
}

.bundle-114-117 figcaption {
    font-size: 0.9em;
    color: #555;
    text-align: center;
    margin-top: 5px;
}

/* 下方排版圖片 (Page 115) - 基於分析報告 */
.bundle-114-117 .figure-bottom {
    text-align: center;
    margin: 20px auto;
    max-width: 80%;
    clear: both;
}

/* 左側排版圖片 (Page 116) - 基於分析報告 */
.bundle-114-117 .figure-left {
    float: left;
    margin: 0 20px 20px 0;
    max-width: 45%;
    clear: left;
}

/* 右側排版圖片 (Page 117) - 基於分析報告 */
.bundle-114-117 .figure-right {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 45%;
    clear: right;
}

/* End Icon Style */
.bundle-114-117 .end-icon {
     display: inline-block;
     width: 1.5em;
     height: 1.5em;
     margin-left: 5px;
     vertical-align: middle;
     background-image: url('../common/logo-notext.svg');
     background-size: contain;
     background-repeat: no-repeat;
     background-position: center;
}


/* 頁碼 */
.bundle-114-117 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding: 8px 0;
    clear: both;
}

.bundle-114-117 .page-text {
    font-size: 0.9em;
    color: #555;
}

.bundle-114-117 .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-114-117 .container::after,
.bundle-114-117 .content::after {
    content: "";
    display: table;
    clear: both;
}

/* 固定垂直標籤 */
.bundle-114-117-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;
}

/* 標籤顏色基於容器類別 */
.bundle-114-117 .container.label-orange .fixed-vertical-label {
    background-color: #EA8A70; /* Page 114 橘色標籤 */
}

.bundle-114-117 .container.label-green .fixed-vertical-label {
    background-color: #5cb85c;
}

.bundle-114-117 .container.label-red .fixed-vertical-label {
     background-color: #d9534f;
}


/* 響應式設計 */
@media (max-width: 992px) {
     .bundle-114-117 .container {
        padding: 20px 40px;
    }

    .bundle-114-117 .figure-bottom,
    .bundle-114-117 .figure-left,
    .bundle-114-117 .figure-right {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .bundle-114-117 .container {
        padding: 15px 20px;
    }

    .bundle-114-117 .title.page-114-title {
        font-size: 1.8rem;
    }

    .bundle-114-117 .content {
        max-width: 100%;
    }

    .bundle-114-117-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0;
        left: 0;
        line-height: 1.2;
    }

    .bundle-114-117 .page-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .bundle-114-117 .figure-bottom {
        max-width: 95%;
        margin: 20px auto;
    }

    /* 左右排版圖片在平板上改為居中 */
    .bundle-114-117 .figure-left,
    .bundle-114-117 .figure-right {
        float: none;
        margin: 20px auto;
        max-width: 70%;
        display: block;
    }
}

@media (max-width: 480px) {
    .bundle-114-117 .container {
        padding: 10px 15px;
    }

    .bundle-114-117 .title.page-114-title {
        font-size: 1.5rem;
    }

    .bundle-114-117 .content-paragraph {
        font-size: 0.95rem;
    }

    .bundle-114-117 .figure-bottom,
    .bundle-114-117 .figure-left,
    .bundle-114-117 .figure-right {
        max-width: 100%;
        margin: 15px auto;
        float: none;
        display: block;
    }

    .bundle-114-117 figcaption {
        font-size: 0.85em;
    }
}