/* ===================================
   Page 115-116 樣式表
   佳文欣賞 - 寶石
   =================================== */

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

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

/* 標題樣式 - Page 115 標題 */
.bundle-115-116 .page-115 .title {
    text-align: center;
    color: #5584c3;
    margin-bottom: 10px;
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1.3;
}

/* 作者樣式 */
.bundle-115-116 .author {
    text-align: center;
    margin: 15px 0;
    font-size: 1rem;
}

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

/* 圖片容器 */
.bundle-115-116 .page-figure {
    margin: 0 0 20px 0;
    text-align: center;
}

.bundle-115-116 .page-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

/* 上方排版圖片 - 寬度100% */
.bundle-115-116 .page-figure.top-image {
    margin-bottom: 20px;
    width: 100%;
}

.bundle-115-116 .page-figure.top-image img {
    width: 100%;
    max-width: none;
}

/* Page 116 專屬樣式 - 上方圖片寬度100% */
.bundle-115-116 .page-116 .page-figure.top-image {
    margin-bottom: 20px;
    width: 100%;
}

.bundle-115-116 .page-116 .page-figure.top-image img {
    width: 100%;
    max-width: none;
}

/* Page 116 專屬樣式 - 圖片容器帶文字疊加 */
.bundle-115-116 .page-116 .image-container {
    max-width: 400px;
    position: relative;
    margin: auto;
    margin-bottom: 20px;
}

.bundle-115-116 .page-116 .image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.bundle-115-116 .page-116 .image-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 1.2rem;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* 內容樣式 */
.bundle-115-116 .content {
    margin-top: 20px;
}

.bundle-115-116 .content p {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
    color: #231f20;
}

/* Page 115 專屬樣式 - 段落樣式 */
.bundle-115-116 .page-115 .content {
    margin-bottom: 0;
}

.bundle-115-116 .page-115 .content p.content-paragraph {
    text-indent: 2em;
}

/* Page 116 專屬樣式 - 段落樣式 */
.bundle-115-116 .page-116 .content {
    margin-bottom: 0;
}

.bundle-115-116 .page-116 .content p.content-paragraph {
    text-indent: 2em;
}

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

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

.bundle-115-116 .page-text {
    font-size: 14px;
    color: #666;
}

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

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

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

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

    .bundle-115-116 .page-115 .title {
        font-size: 2.4rem;
    }
}

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

    .bundle-115-116 .page-115 .title {
        font-size: 2rem;
    }

    .bundle-115-116 .author {
        font-size: 0.9rem;
    }

    .bundle-115-116 .content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .bundle-115-116 .dotted-line {
        margin: 20px 0;
    }

    .bundle-115-116 .page-116 .image-overlay-text {
        font-size: 1rem;
    }
}

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

    .bundle-115-116 .page-115 .title {
        font-size: 1.6rem;
    }

    .bundle-115-116 .author {
        font-size: 0.85rem;
        margin: 10px 0;
    }

    .bundle-115-116 .content p {
        font-size: 0.9rem;
        line-height: 1.6;
        text-indent: 1.5em;
        margin-bottom: 12px;
    }

    .bundle-115-116 .dotted-line {
        height: 6px;
        margin: 15px 0;
        background-size: 6px 6px;
    }

    .bundle-115-116 .page-number {
        margin-top: 20px;
        gap: 6px;
    }

    .bundle-115-116 .page-text {
        font-size: 12px;
    }

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

    .bundle-115-116 .page-116 .image-overlay-text {
        font-size: 0.85rem;
    }
}

