/* style117-122.css - 活人陰差主題模組 (第68期 Page117-122) */

/* ========== Page 117-122 樣式 ========== */

/* Bundle容器包裝 */
.bundle-117-122 {
    width: 100%;
}

/* 主容器 */
.bundle-117-122 .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;
}

/* 標題樣式 - 使用主題色 #62192d */
.bundle-117-122 .title {
    text-align: center;
    color: #62192d;
    margin-bottom: 10px;
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1.3;
}

.bundle-117-122 .author {
    text-align: center;
    margin: 15px 0;
    font-size: 1rem;
    color: #231F20;
}

/* 圓形點點的虛線 - 使用主題色 */
.bundle-117-122 .dotted-line {
    height: 8px;
    width: 100%;
    margin: 25px 0;
    background-image: radial-gradient(circle, #62192d 2px, transparent 2px);
    background-size: 8px 8px;
    background-position: center;
}

/* 小標題樣式 - 白色文字在深色圓形背景 */
.bundle-117-122 .subtitle {
    text-align: center;
    margin: 30px 0 20px 0;
}

.bundle-117-122 .subtitle-circle {
    background: #62192d;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

/* 內容樣式 */
.bundle-117-122 .content {
    max-width: 600px;
    margin: 0 auto;
}

.bundle-117-122 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
    color: #231F20;
}

/* 圖片區域（上方排版、下方排版） */
.bundle-117-122 .page-figure {
    margin: 0;
    text-align: center;
}

.bundle-117-122 .page-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 上方排版 - 圖片在上方 */
.bundle-117-122 .top-image {
    margin-bottom: 20px;
}

/* 下方排版 - 圖片在下方 */
.bundle-117-122 .bottom-image {
    margin-top: 30px;
}

/* 頁碼 - 使用主題色 #62192d */
.bundle-117-122 .page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding: 8px 0;
}

.bundle-117-122 .page-circle {
    background: #62192d;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.bundle-117-122 .page-text {
    font-size: 14px;
    color: #231F20;
}

/* 清除浮動 */
.bundle-117-122 .content::after {
    content: "";
    display: table;
    clear: both;
}

.bundle-117-122 .container::after {
    content: "";
    display: table;
    clear: both;
}

/* ========== Page 117-122 專屬樣式 ========== */

/* Page 117 專屬樣式 */
.page-117 .title {
    font-size: 2.8rem;
    color: #62192d;
    font-weight: bold;
}

.page-117 .author {
    font-size: 1rem;
    color: #231F20;
}

/* Page 118 專屬樣式 - 文繞圖排版 */
.page-118 .wrap-image-right {
    float: right;
    margin: 0 0 15px 20px;
    max-width: 45%;
}

.page-118 .wrap-image-right img {
    width: 100%;
    height: auto;
    display: block;
}

.page-118 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
    color: #231F20;
}

/* Page 119 專屬樣式 */
.page-119 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
    color: #231F20;
}

/* Page 120 專屬樣式 */
.page-120 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
    color: #231F20;
}

/* Page 121 專屬樣式 */
.page-121 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
    color: #231F20;
}

/* Page 122 專屬樣式 - 文繞圖排版 */
.page-122 .wrap-image-right {
    float: right;
    margin: 0 0 15px 20px;
    max-width: 45%;
}

.page-122 .wrap-image-right img {
    width: 100%;
    height: auto;
    display: block;
}

.page-122 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
    color: #231F20;
}

/* 來源標記 */
.bundle-117-122 .source {
    text-align: right;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #231F20;
}

/* ========== 響應式設計 ========== */

/* Page 117-122 響應式 */
@media (max-width: 768px) {
    .bundle-117-122 .container {
        padding: 15px;
    }

    .bundle-117-122 .title {
        font-size: 1.8rem;
    }

    .bundle-117-122 .content {
        max-width: 100%;
    }

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

    .bundle-117-122 .subtitle-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* 文繞圖在手機版變成上下排列 */
    .page-118 .wrap-image-right,
    .page-122 .wrap-image-right {
        float: none;
        margin: 0 auto 15px auto;
        max-width: 100%;
    }
}

@media (max-width: 580px) {
    .bundle-117-122 .container {
        padding: 15px 20px;
    }

    .bundle-117-122 .title {
        font-size: 1.6rem;
    }

    .bundle-117-122 .content-paragraph {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .bundle-117-122 .title {
        font-size: 1.4rem;
    }

    .bundle-117-122 .content-paragraph {
        font-size: 0.9rem;
    }
}

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

