/* =========================================================
   龍鳳成雙 婚戀網站 樣式（基於原站 style.css / aoyun.css 精簡重寫）
   顏色：主紅 #F0094A  金色 #dbbc87  深底 #2C2C2C / #323232
   ========================================================= */
html, body { color: #000; max-width: 100%; overflow-x: hidden; }
a { color: #212529; text-decoration: none; }
a:hover { text-decoration: none; }
p, dl, dt, dd, ul { margin: 0; padding: 0; }
li { list-style: none; }

.container, .container-lg, .container-md, .container-sm, .container-xl { max-width: 1340px; }
.navbar-expand-lg .navbar-nav .nav-link { font-size: 16px; color: #333; padding-right: 1.1rem; padding-left: 1.1rem; }
.navbar-light .navbar-toggler { border: none; }
.logo-sm-height { height: 60px; }

/* 卡片圖片 */
.card-img-400 { height: 400px; overflow: hidden; }
.card-img-400 img { transition: all .6s; width: 100%; height: 100%; object-fit: cover; }
.card-img-400:hover img { transform: scale(1.1); }
.card, .figure { margin: 15px 0; }

/* 主色 */
.colorred { color: #F0094A !important; }
.bg2c { background: #2C2C2C !important; }
.footer { background: #323232; }
.bg-white { background: #fff; }
.bgf8 { background: #f8f8f8; }

/* 區塊標題 */
.sec-title { font-size: 1.857rem; }
.more {
    display: inline-block; padding: 10px 40px; background: #F0094A;
    border-radius: 20px; color: #fff; font-size: 16px;
}
.more i { transition: all .3s; margin-left: 10px; }
.more:hover { color: #fff; }
.more:hover i { margin-left: 20px; }

/* 列表側欄 */
.col-left { flex: 0 0 300px; max-width: 300px; background: #f8f8f8; margin-right: 20px; }
.col-right { flex: 0 0 calc(100% - 320px); max-width: calc(100% - 320px); }
.title-big { background: #f82a47; padding: 10px 0; color: #fff; font-size: 18px; text-align: center; margin-bottom: 15px; border-radius: 15px 15px 0 0; }
.col-left .list li img { border-radius: 4px; }
.col-left .list a { display: block; font-size: 14px; color: #333; }

/* 詳情內容 */
.content { color: #000; line-height: 2; }
.content img, .content iframe, .content video { max-width: 100% !important; height: auto; }
.content li { list-style: disc outside none; margin-left: 20px; }

/* 大屏 */
.jumbotron-fluid { padding: 10rem 0; background-size: cover !important; }

/* 底部 */
.footmenu a { display: inline-block; width: 11%; text-align: center; padding: 0 4px; font-size: 14px; }
.copyright { font-size: 14px; padding: 12px 0; }
.wx { width: 100%; max-width: 250px; margin: 0 auto; text-align: center; }
.wx img { width: 100%; max-width: 250px; }
.code, .code img { height: 130px; width: auto; }
.wxtxt { height: 30px; line-height: 30px; overflow: hidden; display: inline-block; font-size: 18px; font-weight: bold; }
.textToCopy {
    border: none; height: 30px; line-height: 30px; overflow: hidden; resize: none;
    font-weight: bold; font-size: 18px; width: 140px;
}
.textToCopy-foot { border: none; height: 30px; line-height: 30px; overflow: hidden; resize: none; font-weight: bold; font-size: 18px; width: 140px; background: #313131; color: #fff; }
.copybtn { border: none; background: #F0094A; color: #fff; border-radius: 4px; cursor: pointer; }

/* 返回頂部 */
.online { position: fixed; bottom: 150px; right: 10px; width: 60px; z-index: 999; color: #999; }
.online dl { background: #F0094A; padding: 10px 5px; margin-bottom: 1px; border-radius: 6px; cursor: pointer; }
.online dl dd { color: #fff; text-align: center; font-size: 12px; }
.online dl dd i { font-size: 22px; }

/* 手機底部導航 */
.bg-info .row > div a { font-size: 13px; }

/* 分頁 */
.page-item.active .page-link { background: #F0094A; border-color: #F0094A; }
.page-link { color: #F0094A; }

/* ===================== 字號 ===================== */
.fs-12 { font-size: .857rem; } .fs-14 { font-size: 1rem; } .fs-16 { font-size: 1.142rem; }
.fs-18 { font-size: 1.285rem; } .fs-20 { font-size: 1.428rem; } .fs-24 { font-size: 1.714rem; }
.fs-26 { font-size: 1.857rem; } .fs-28 { font-size: 2rem; }
@media (min-width: 576px) {
    .fs-sm-12 { font-size: .857rem; } .fs-sm-14 { font-size: 1.07rem; } .fs-sm-18 { font-size: 1.285rem; }
    .fs-sm-24 { font-size: 1.714rem; } .fs-sm-28 { font-size: 2rem; } .fs-sm-14 { font-size: 1.07rem; }
}
/* 行距 */
.lh-2 { line-height: 2; } .lh-3 { line-height: 3; }
@media (min-width: 576px) { .lh-sm-2 { line-height: 2; } .lh-sm-3 { line-height: 3; } }

/* 動畫降級：即便 WOW/animate 未加載也保證可見 */
.wow { visibility: visible; }

/* 響應式 */
@media (max-width: 991px) {
    .card-img-400 { height: 260px; }
}
@media (max-width: 768px) {
    .col-left { flex: 0 0 100%; max-width: 100%; margin-right: 0; padding-bottom: 15px; }
    .col-right { flex: 0 0 100%; max-width: 100%; }
    .logo-sm-height { height: 40px; }
    .footmenu a { width: 32%; margin-bottom: 10px; }
    .textToCopy-foot, .wxtxt { font-size: 12px; }
    .textToCopy-foot { width: 90px; }
    .jumbotron-fluid { padding: 5rem 0; }
}

/* 資訊列表：無左側欄、整寬 */
.col-right-full { flex: 0 0 100%; max-width: 100%; margin-right: 0; }

/* 資訊頁容器也跟著全寬（列表 + 詳情） */
.container:has(.col-right-full) { max-width: 100%; }

/* 資訊列表（與原站一致的文字豎排） */
.news-list li { border-bottom: 1px dashed #ddd; transition: background .2s; }
.news-list li:hover { background: #fff6f8; }
.news-list .news-title { color: #333; line-height: 1.6; }
.news-list li:hover .news-title { color: #F0094A; }
.news-list .news-title .small { white-space: nowrap; }
