html {
    background-color: #F9EBEA;
}

p{
    font-size: 20px;
}

body {
    background-color: #F9EBEA !important;
}

h1 {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);  
    font-family: Chenyuluoyan;  
    color: #DD6A73;
}


@font-face {
    font-family: 'Chenyuluoyan';
    src: url('../font/ChenYuluoyan-Thin.ttf')
         format('truetype');
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

nav {
    height: 15vh;
    font-size: 32px;
}


.btn {
    color: #D4404C !important;
    background-color: #FE9E9F !important;
    border: none !important;
    padding: 3px 40px !important;
    font-size: 28px !important;
    font-family: Chenyuluoyan !important;  
}

.navbar {
    height: 90px;
}

.navbar,
.navbar-nav {
    background-color: #F9EBEA !important
}

.dropdown-menu {
    background-color: #F9EBEA !important
}

nav li {
    font-size: 32px;
}

.nav-link {
    margin-left: 15px;
    margin-right: 15px;
}

.navbar-toggler {
    border: none !important;
}


.nav-link:hover {
    color: #D4404C !important;
}

.handwriting-font {
    font-family: Chenyuluoyan;
}

.handwriting-font a,
h1,
h2,
h3,
h4,
h5,
h6,
button,
span {
    color: #DD6A73 !important;
}


@media screen and (min-width: 992px) {
    #fb-logo {
        margin-right: 30px;
        margin-left: 110px;
    }
    .mobile-only{
        display: none;
    }
}

@media screen and (max-width: 992px) {
    #fb-logo {
        margin: 20px;
    }
    .mobile-none{
        display: none;
    }
}

.homepage-container {
    height: 85vh;
}

.homepage-container .row {
    height: 100%;
}

.homepage-container .row .col-md-6 {
    align-self: center;
}

.homepage-container p {
    font-size: 28px;
    color: #DD6A73
}

.fa-bars{
    font-size: 28px;
}

.navbar-nav{
    margin-top: -10px
}

.h1{
    margin-bottom: 15px !important;
}

.container{
    margin-top: 15px;
    margin-bottom: 30px;
}

.post_date{
    color: gray;
    font-size: 16px;
}

.gallery{
    justify-content: center;
}

.carousel{
    margin-top: 20px;
    margin-bottom: 20px;
}

.carousel-item{
    text-align: center;
}

.article-group-head{
    text-align: center;
    margin-bottom: 20px;
}

.article p{
    font-size: 17px;
}

.article h3{
    font-size: 20px;
    margin: 5px 0px;
}

.img-align-ctr{
    align-items: center;
}

.article .col-md-10{
    margin: 20px 0px;
}

.error-page{
    height: 100vh;
    padding-top: 50vh;
}

.error-page h1{
    text-align: center;
}

/* 補強原 article-group.html / article.html 模板，不更改原網站視覺主題 */
.other-container{padding-top:100px;padding-bottom:50px;min-height:75vh}
.archive-filters{background:#fff6f5;border:1px solid #f2d4d5;border-radius:12px;display:flex;flex-wrap:wrap;gap:12px;padding:18px;margin:22px 0}
.archive-filter{flex:1 1 180px}.archive-filter.search{flex:2 1 280px}
.archive-filter label{font-size:14px;color:#6e4c52;display:block;margin-bottom:4px}
.archive-filter input,.archive-filter select{width:100%;border:1px solid #e6bfc3;border-radius:7px;padding:9px 12px;background:white;min-height:42px}
.article-group-head h2{font-size:21px;line-height:1.55;color:#7f5360 !important}
.article-list .article{border-bottom:1px solid #e3c9ca;padding:12px 0}.article-list .article:hover{background:#fff5f5}
.article-list .article h3{font-size:23px;margin:6px 0}
.article-list .article h3 a{text-decoration:none;color:#c85e6a}.article-list .article h3 a:hover{text-decoration:underline}
.article-list .article p{font-size:17px;color:#4a3d42;margin:9px 0}
.article-list .article img{width:100%;max-width:165px;height:135px;object-fit:contain;border-radius:7px}
.article-list .article .article-meta{font-size:14px;color:#776a6a}.archive-hint{font-size:13px;color:#765b61}
.archive-pagination{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;margin:25px 0}
.archive-pagination button{border:1px solid #e6b7bb;border-radius:8px;background:#fff6f5;color:#ae505d;padding:7px 16px}.archive-pagination button:disabled{opacity:.42}
.article-body{overflow-wrap:anywhere;line-height:1.85}.article-body p{font-size:19px;margin:0 0 22px;line-height:1.85}
.article-media-title{font-size:24px;margin:26px 0 12px;color:#bc586a !important}
.carousel-inner{border-radius:10px;background:#f9ebea}.carousel-item img{max-height:580px;width:100%;height:auto;object-fit:contain}
.article-photo-caption{text-align:center;color:#83646d;padding:6px 0 14px;font-size:14px}
.article-video{max-width:100%;max-height:550px;background:#111;border-radius:8px}
.media-note{padding:12px 15px;background:#fff6f5;border-left:3px solid #d57b88;color:#6b4c56;font-size:16px !important;margin:17px 0}
.article-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 32px}
.article-actions a{display:inline-block;text-decoration:none;background:#fe9e9f;color:#8e3546;border-radius:30px;padding:7px 18px}
.article-source{font-size:13px;color:#8c737c;margin-top:28px;border-top:1px solid #e6cbcc;padding-top:14px}
@media(max-width:991px){.other-container{padding-top:100px}.article-list .article img{height:105px}.article-group-head h2{font-size:18px}}

/* 2026-11-09: only the article index page — reduce blank space and improve readability. */
.article-listing-container {
    padding-top: 32px;
}
.article-listing-container .article-group-head {
    max-width: 1160px;
    margin: 0 auto 26px;
    text-align: center;
}
.article-listing-container .article-group-head h1 {
    font-size: clamp(54px, 4.2vw, 70px) !important;
    line-height: 1.26;
    margin: 0 0 10px;
}
.article-listing-container .article-group-head h2 {
    font-size: clamp(25px, 2vw, 30px) !important;
    line-height: 1.6;
    color: #59464a !important;
    font-weight: normal;
    margin: 0;
}
@media (max-width: 767px) {
    .article-listing-container {padding-top: 55px;}
    .article-listing-container .article-group-head {margin-bottom: 22px;}
    .article-listing-container .article-group-head h1 {font-size: 52px !important;}
    .article-listing-container .article-group-head h2 {font-size: 25px !important; line-height: 1.55;}
}

/* 2026-11-10: article detail pages only — reduce the gap below the fixed navigation.
   Body top padding is handled by js/script.js, so keep some space below the navbar. */
.article-detail-container {
    padding-top: 28px;
}
@media (max-width: 767px) {
    .article-detail-container { padding-top: 36px; }
}

/* Apify photo archive integration */
.article-photo-gallery{margin:22px 0 32px;}
.article-photo-gallery .article-photo{max-height:620px;width:100%;height:auto;object-fit:contain;}
.article-photo-gallery .carousel-control-prev-icon,.article-photo-gallery .carousel-control-next-icon{background-color:rgba(90,48,62,.7);border-radius:50%;padding:16px;background-size:22px;}
.article-photo-gallery .carousel-item{background:#f9ebea;text-align:center;}
