/* style111.css - 佳文欣賞模組 */
/* 主容器 */
.bundle-111 .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;
}

/* 標題樣式 - Page111 使用特定顏色 #A69294 */
.bundle-111 .title {
    text-align: center;
    color: #A69294;
    margin-bottom: 10px;
    font-size: 2.8rem;
    font-weight: bold;
}

.bundle-111 .subtitle {
    text-align: center;
    color: #5584C3;
    font-size: 1.5rem;
    margin: 30px auto 20px auto;
    max-width: 90%;
    font-weight: bold;
}

.bundle-111 .chapter {
    text-align: center;
    color: #6a5a4b;
    margin: 10px 0 20px;
    font-size: 1.2rem;
}

/* 作者樣式 - Page111 使用特定顏色 #231F20 */
.bundle-111 .author {
    text-align: center;
    margin: 15px 0;
    font-size: 1rem;
    color: #231F20;
}

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

/* 內容樣式 */
.bundle-111 .content {
    overflow: hidden;
}

.bundle-111 .content-title-left {
    text-align: left;
    color: #6a5a4b;
    margin: 30px 0 20px;
    font-size: 1.3rem;
    font-weight: bold;
}

.bundle-111 .content-title-center {
    text-align: center;
    color: #6a5a4b;
    margin: 70px 0 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.bundle-111 .content-paragraph {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #231F20;
}

/* 引用樣式 */
.bundle-111 .quote {
    margin: 20px 0;
    padding-left: 2em;
}

.bundle-111 .quote-source {
    margin-top: 10px;
    margin-left: 2em;
    font-weight: bold;
}

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

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

/* 上方排版圖片 - Page111 */
.bundle-111 .top-decorative-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto 30px auto;
    display: block;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bundle-111 .top-decorative-image img {
    width: 100%;
    height: auto;
    max-height: 142px;
    object-fit: cover;
    display: block;
}

/* 文繞圖右側排版 */
.bundle-111 .float-right-image {
    max-width: 300px;
    float: right;
    margin: 0 0 20px 20px;
}

.bundle-111 .float-right-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 文繞圖左側排版 */
.bundle-111 .float-left-image {
    max-width: 300px;
    float: left;
    margin: 0 20px 20px 0;
}

.bundle-111 .float-left-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

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

/* RWD設定 */
@media (max-width: 768px) {
    .bundle-111 .container {
        padding: 15px 15px;
        margin-bottom: 2rem;
    }

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

    .bundle-111 .content-title-left,
    .bundle-111 .content-title-center {
        font-size: 1.2rem;
    }

    .bundle-111-active .fixed-vertical-label {
        font-size: 11px;
        padding: 2px 0px;
        left: 0px;
        line-height: 1.2;
    }

    .bundle-111 .page-text {
        font-size: small;
    }

    .bundle-111 .page-circle {
        font-size: small;
        width: 25px;
        height: 25px;
    }

    .bundle-111 .top-decorative-image {
        margin-bottom: 20px;
    }

    .bundle-111 .float-right-image {
        max-width: 200px;
        margin: 0 0 15px 15px;
    }

    .bundle-111 .float-left-image {
        max-width: 200px;
        margin: 0 15px 15px 0;
    }
}

@media (max-width: 580px) {
    .bundle-111 .float-right-image {
        max-width: 150px;
        margin: 0 0 10px 10px;
    }

    .bundle-111 .float-left-image {
        max-width: 150px;
        margin: 0 10px 10px 0;
    }
}

@media (max-width: 480px) {
    .bundle-111 .title {
        font-size: 1.5rem;
    }

    .bundle-111 .content-title-left,
    .bundle-111 .content-title-center {
        font-size: 1.1rem;
    }

    .bundle-111 .top-decorative-image {
        margin-bottom: 15px;
        border-radius: 5px;
    }

    .bundle-111 .top-decorative-image img {
        max-height: 100px;
    }

    .bundle-111 .float-right-image {
        width: 100%;
        max-width: 100%;
        float: none;
        margin: 15px 0;
        text-align: center;
    }

    .bundle-111 .float-left-image {
        width: 100%;
        max-width: 100%;
        float: none;
        margin: 15px 0;
        text-align: center;
    }
}