/*********************************************************************************

    Template Name: Fsulting - Financial Consulting Bootstrap 4 Template
	Description: Fsulting is a beautiful and unique financial & consulting html template which comes with bootstrap 4 framework.
	Version: 1

	Note: This is custom css. All custom styles (user styles) declare here.

**********************************************************************************/
body {
    font-family: 'Noto Sans TC', 'Poppins', sans-serif !important;
}

/* 導覽列選單項目不換行 */
.main-navigation ul li a {
    white-space: nowrap;
}

/* 連結底線移除補強 */
a {
    text-decoration: none !important;
}

/* 中文字體連結特殊處理 */
body a {
    font-family: 'Noto Sans TC', 'Poppins', sans-serif !important;
    text-decoration: none !important;
}

/* 客服懸浮按鈕樣式 */
.customer-service-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1050;
}

.customer-service-btn {
    width: 70px;
    height: 70px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.customer-service-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.customer-service-btn .fa-comments {
    color: white;
}

.customer-service-btn .small {
    color: white;
    font-size: 10px;
    line-height: 1;
}

/* 響應式設計調整 */
@media (max-width: 768px) {
    .customer-service-float {
        bottom: 15px;
        left: 15px;
    }

    .customer-service-btn {
        width: 60px;
        height: 60px;
    }

    .customer-service-btn .fa-comments {
        font-size: 1.5em;
    }

    .customer-service-btn .small {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .customer-service-float {
        bottom: 10px;
        left: 10px;
    }

    .customer-service-btn {
        width: 55px;
        height: 55px;
    }

    .customer-service-btn .fa-comments {
        font-size: 1.3em;
    }

    .customer-service-btn .small {
        font-size: 8px;
    }
}

/* 確保按鈕不會被其他元素遮蔽 */
.customer-service-float {
    pointer-events: auto;
}

/* 增強視覺效果 */
.customer-service-btn {
    background: #988CAE;
    border: none;
}

.customer-service-btn:hover {
    background: #7d7494;
}

/* Modal 內送出按鈕樣式 */
#customerServiceModal .btn-primary {
    background-color: #988CAE;
    border-color: #988CAE;
}

#customerServiceModal .btn-primary:hover {
    background-color: #7d7494;
    border-color: #7d7494;
}

/* 快速連結區與最新消息區的間距減半 */
.fast-links-area + .news-area.section-padding--xlg {
    padding-top: 55px;
    padding-bottom: 55px;
}
/* 最新消息區與小圖輪播區的間距減半 */
.news-area + .portfolio-area.section-padding--xlg {
    padding-top: 55px;
    padding-bottom: 55px;
}
/* 小圖輪播區與課程日曆區的間距減半 */
.portfolio-area + .news-area.section-padding--xlg {
    padding-top: 55px;
}
@media only screen and (min-width: 1200px) {
    .fast-links-area + .news-area.section-padding--xlg {
        padding-top: 60px;
        padding-bottom: 55px;
    }
    .news-area + .portfolio-area.section-padding--xlg {
        padding-top: 55px;
        padding-bottom: 55px;
    }
    .portfolio-area + .news-area.section-padding--xlg {
        padding-top: 55px;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .fast-links-area + .news-area.section-padding--xlg {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    .news-area + .portfolio-area.section-padding--xlg {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    .portfolio-area + .news-area.section-padding--xlg {
        padding-top: 45px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .fast-links-area + .news-area.section-padding--xlg {
        padding-top: 35px;
        padding-bottom: 35px;
    }
    .news-area + .portfolio-area.section-padding--xlg {
        padding-top: 35px;
        padding-bottom: 35px;
    }
    .portfolio-area + .news-area.section-padding--xlg {
        padding-top: 35px;
    }
}
@media only screen and (max-width: 767px) {
    .fast-links-area + .news-area.section-padding--xlg {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .news-area + .portfolio-area.section-padding--xlg {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .portfolio-area + .news-area.section-padding--xlg {
        padding-top: 30px;
    }
}

/* 首頁區塊間隔調整 - 桌機版 */
@media (min-width: 1200px) {
    /* 最新消息區：下方 padding 調整為 110px */
    .news-area.section-padding--xlg {
        padding-bottom: 110px;
    }

    /* 小圖輪播區：上下 padding 都調整為 110px */
    .portfolio-area.section-padding--xlg {
        padding: 110px 0;
    }

    /* 課程日曆區：上方已由 .portfolio-area + .news-area 控制，下方保持 120px（與頁尾間隔） */
    .news-area.section-padding--xlg:last-of-type {
        padding-bottom: 120px;
    }
}

/* ==========================================================================
   會員專區主題 — 與網站頁首頁尾 (#A8B790 橄欖綠 / #988CAE 紫) 統一
   ========================================================================== */

/* --- 品牌色變數 --- */
.member-area {
    --ma-primary: #A8B790;
    --ma-primary-dark: #8FA178;
    --ma-primary-light: #D0DAC0;
    --ma-accent: #988CAE;
    --ma-accent-dark: #7D7494;
    --ma-text: #4B5563;
    --ma-text-light: #6B7280;
    --ma-border: #DDD5C8;
    --ma-bg-warm: #FAF8F5;
    --ma-radius: 0.5rem;
}

/* --- Bootstrap .bg-primary 覆寫 --- */
.member-area .bg-primary {
    background-color: var(--ma-primary) !important;
}

/* --- Bootstrap .text-primary 覆寫 --- */
.member-area .text-primary {
    color: var(--ma-primary) !important;
}

/* --- 主要按鈕 --- */
.member-area .btn-primary {
    background-color: var(--ma-primary);
    border-color: var(--ma-primary);
    color: #fff;
}
.member-area .btn-primary:hover,
.member-area .btn-primary:focus {
    background-color: var(--ma-primary-dark);
    border-color: var(--ma-primary-dark);
    color: #fff;
}
.member-area .btn-primary:active {
    background-color: var(--ma-primary-dark);
    border-color: var(--ma-primary-dark);
}
.member-area .btn-primary:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(168, 183, 144, 0.4);
}

/* --- 次要按鈕 --- */
.member-area .btn-secondary {
    background-color: var(--ma-accent);
    border-color: var(--ma-accent);
    color: #fff;
}
.member-area .btn-secondary:hover,
.member-area .btn-secondary:focus {
    background-color: var(--ma-accent-dark);
    border-color: var(--ma-accent-dark);
    color: #fff;
}
.member-area .btn-secondary:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(152, 140, 174, 0.4);
}

/* --- 外框按鈕 --- */
.member-area .btn-outline-primary {
    color: var(--ma-primary);
    border-color: var(--ma-primary);
}
.member-area .btn-outline-primary:hover,
.member-area .btn-outline-primary:active {
    background-color: var(--ma-primary);
    border-color: var(--ma-primary);
    color: #fff;
}
.member-area .btn-outline-secondary {
    color: var(--ma-accent);
    border-color: var(--ma-accent);
}
.member-area .btn-outline-secondary:hover,
.member-area .btn-outline-secondary:active {
    background-color: var(--ma-accent);
    border-color: var(--ma-accent);
    color: #fff;
}

/* --- 卡片 --- */
.member-area .card {
    border-color: var(--ma-border);
    border-radius: var(--ma-radius);
}
.member-area .card-header.bg-primary {
    background-color: var(--ma-primary) !important;
    border-color: var(--ma-primary);
    color: #fff;
}
.member-area .card-header.bg-info {
    background-color: var(--ma-accent) !important;
    border-color: var(--ma-accent);
    color: #fff;
}

/* --- 連結 --- */
.member-area a:not(.btn):not(.nav-link):not(.badge) {
    color: var(--ma-primary-dark);
}
.member-area a:not(.btn):not(.nav-link):not(.badge):hover {
    color: var(--ma-primary);
}

/* --- Spinner --- */
.member-area .spinner-border.text-primary {
    color: var(--ma-primary) !important;
}

/* --- 表單 focus --- */
.member-area .form-control:focus,
.member-area .form-select:focus {
    border-color: var(--ma-primary);
    box-shadow: 0 0 0 0.2rem rgba(168, 183, 144, 0.25);
}

/* --- 表格 --- */
.member-area .table thead th {
    background-color: var(--ma-bg-warm);
    color: var(--ma-text);
    border-bottom-color: var(--ma-border);
}
.member-area .table-hover tbody tr:hover {
    background-color: rgba(168, 183, 144, 0.08);
}

/* --- 分頁 (pagination) --- */
.member-area .page-link {
    color: var(--ma-primary-dark);
}
.member-area .page-item.active .page-link {
    background-color: var(--ma-primary);
    border-color: var(--ma-primary);
    color: #fff;
}

/* --- 導覽 tabs / pills --- */
.member-area .nav-pills .nav-link.active {
    background-color: var(--ma-primary);
    color: #fff;
}
.member-area .nav-link {
    color: var(--ma-text);
}
.member-area .nav-link:hover {
    color: var(--ma-primary);
}

/* --- Badge / Alert --- */
.member-area .badge.bg-primary {
    background-color: var(--ma-primary) !important;
}
.member-area .alert-primary {
    background-color: var(--ma-primary-light);
    border-color: var(--ma-primary);
    color: #3D472E;
}

/* --- Loading overlay --- */
.member-area .loading-overlay .spinner-border.text-primary {
    color: var(--ma-primary) !important;
}

/* --- 進度條 --- */
.member-area .progress-bar {
    background-color: var(--ma-primary);
}

/* --- P-007 payment error page --- */
.payment-error-wrapper {
    max-width: 480px;
    margin: 60px auto;
    padding: 32px;
    text-align: center;
    font-family: 'Microsoft JhengHei', sans-serif;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .1);
}
.payment-error-title {
    color: #c00;
    margin-bottom: 16px;
}
.payment-error-msg {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}
.payment-error-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
}
.payment-error-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* --- 寬度容器 --- */
.member-area .center-container {
    max-width: 800px;
    margin: 0 auto;
}

/* --- 表格斑馬紋 warm 色調 --- */
.member-area .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: var(--ma-bg-warm);
}

/* --- 金額 / 重點數值 --- */
.member-area .fw-bold.fs-5.text-primary {
    color: var(--ma-primary) !important;
}

/* --- 付款返回頁狀態卡片動畫平滑 --- */
.member-area .status-title,
.member-area .status-description {
    transition: opacity 0.3s ease;
}
/* --- LINE QR Code --- */
.line-qr-code-img { max-width: 300px; }

/* --- 聯絡我們 LINE QR Code --- */
.contact-line-qrcode {
    background-color: #f7faf4;
    border: 1px solid rgba(168, 183, 144, 0.38);
    border-radius: 8px;
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
}

.contact-line-qrcode__image {
    aspect-ratio: 1 / 1;
    height: auto;
    max-width: 180px;
    width: 100%;
}

.contact-line-qrcode__caption {
    color: #155724;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

/* --- 會員方案頁面配色 utility --- */
.plan-badge-success     { background-color: #198754; color: #fff; font-weight: 700; }
.plan-badge-danger      { background-color: #dc3545; color: #fff; font-weight: 700; }
.plan-badge-warning     { background-color: #ffc107; color: #000; font-weight: 700; }
.plan-badge-info        { background-color: #0dcaf0; color: #000; font-weight: 700; }
.plan-badge-secondary   { background-color: #6c757d; color: #fff; font-weight: 700; }
.plan-badge-khaki       { background-color: #A8B790; color: #fff; font-weight: 700; }
.plan-badge-khaki-lg    { background-color: #A8B790; color: #fff; font-weight: 700; font-size: 1.05rem; padding: 0.5rem 0.8rem; }
.plan-card-header-gold  { background-color: #fff8e1; }
.plan-card-header-green { background-color: #e7f5ec; }
.text-amber             { color: #d97706; }
.text-amber-bold        { color: #d97706; font-weight: 700; }
.text-dark-gold         { color: #856404; font-weight: 700; }
.text-dark-green        { color: #155724; font-weight: 700; }
.plan-price-gold        { color: #d97706; font-weight: 700; }
.plan-price-green       { color: #198754; font-weight: 700; }
.plan-badge-discount    { background-color: #dc3545; color: #fff; font-weight: 700; font-size: 0.95rem; }
.icon-4xl               { font-size: 4rem; }

/* --- Batch 2: 自訂 utility 類別 --- */
.text-dark-blue         { color: #0d47a1; font-weight: 700; }
.text-khaki             { color: #A8B790; }
.payment-icon-size      { width: 3rem; height: 3rem; }
.w-30                   { width: 30%; }
.plan-card-header-orange { background-color: #e67e22; color: #fff; }
.plan-card-header-dark  { background-color: #2c3e50; color: #fff; }
.opacity-90             { opacity: 0.9; }

/* --- 文章分類頁說明區塊 --- */
.blog-category-description {
    --blog-category-accent: #A8B790;
    --blog-category-bg: #f7faf4;
    --blog-category-border: rgba(168, 183, 144, 0.42);
    --blog-category-text: #495057;

    background: var(--blog-category-bg);
    border: 1px solid var(--blog-category-border);
    border-left: 4px solid var(--blog-category-accent);
    border-radius: 8px;
    color: var(--blog-category-text);
    padding: 1rem 1.25rem;
}

.blog-category-description__label {
    color: #155724;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-category-description__text {
    line-height: 1.75;
    margin-bottom: 0;
}

/* --- 前台分頁補強：支援 disabled / ellipsis 非連結節點 --- */
.cr-pagination ul li span {
    background: transparent;
    display: inline-block;
    font-family: "Poppins", "Noto Sans TC", sans-serif;
    line-height: 33px;
    min-width: 35px;
    height: 35px;
    text-align: center;
    padding: 0;
    color: #7e7d7d;
    border: 1px solid #d1d1d1;
    border-radius: 100px;
    font-size: 13px;
}

.cr-pagination ul li.disabled span {
    color: #b7b7b7;
    border-color: #e5e5e5;
    cursor: not-allowed;
}

.cr-pagination ul li.ellipsis span {
    border-color: transparent;
    min-width: auto;
    padding: 0 10px;
}
/* ========================================
   BLOG 頁面新版風格
======================================== */

/* 分類按鈕 */
.directory-nav .btn-outline-primary {
    background: #9B91B4;
    border: none;
    color: #fff !important;
    border-radius: 3px;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 500;
}

/* hover */
.directory-nav .btn-outline-primary:hover {
    background: #877AA5;
    color: #fff !important;
}

/* 隱藏分類 icon */
.directory-nav .fa-folder {
    display: none;
}

/* 卡片樣式 */
.card {
    border-radius: 6px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06) !important;
    transition: .25s;
}

/* hover */
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.08) !important;
}

/* 文章標題 */
.card-title a {
    color: #A8B790 !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

/* 標題 hover */
.card-title a:hover {
    color: #d0dac0 !important;
}

/* 文章分類文字 */
.text-secondary {
    color: #7D7D7D !important;
}

/* 日期 */
.text-muted {
    color: #8E8E8E !important;
}

/* 隱藏文章區 icon */
.card .fa-folder,
.card .fa-clock,
.card .far {
    display: none;
}

/* 頁面標題 */
h2.text-primary {
    color: #988CAE !important;
    font-size: 28px;
    font-weight: 600;
}

/* 隱藏頁面標題 icon */
h2.text-primary i {
    display: none;
}
/* Blog 分類按鈕 */
body .directory-nav a.btn.btn-outline-primary.w-100.text-start,
body .directory-nav a.btn.btn-outline-primary.w-100.text-start:visited,
body .directory-nav a.btn.btn-outline-primary.w-100.text-start:active {
    background-color: #988cae !important;
    border: 1px solid #988cae !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    padding: 10px 14px !important;
}

body .directory-nav a.btn.btn-outline-primary.w-100.text-start small,
body .directory-nav a.btn.btn-outline-primary.w-100.text-start:visited small,
body .directory-nav a.btn.btn-outline-primary.w-100.text-start:active small {
    color: #ffffff !important;
    font-size: 14px !important;
}

body .directory-nav a.btn.btn-outline-primary.w-100.text-start:hover,
body .directory-nav a.btn.btn-outline-primary.w-100.text-start:focus {
    background-color: #ffffff !important;
    border: 1px solid #988cae !important;
    color: #988cae !important;
}

body .directory-nav a.btn.btn-outline-primary.w-100.text-start:hover small,
body .directory-nav a.btn.btn-outline-primary.w-100.text-start:focus small {
    color: #988cae !important;
}
/* Blog 詳細頁：文章主標題 */
body .page-content article h1.text-primary {
    color: #988cae !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* 相關推薦 */
body .page-content section.mt-5 h3.text-primary {
    color: #988cae !important;
}
/* Blog 詳細頁：所有文章 */
body .page-content article > header .mb-2 > a.btn.btn-outline-secondary.btn-sm.me-2 {
    border: 1px solid #dc3545 !important;
}

/* ========================================
   Blog 詳細頁：心理專欄
======================================== */

/* 預設 */
body .page-content article > header .mb-2 > a.btn.btn-outline-secondary.btn-sm:not(.me-2) {
    color: #a8b790 !important;
    border: 1px solid #a8b790 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* hover */
body .page-content article > header .mb-2 > a.btn.btn-outline-secondary.btn-sm:not(.me-2):hover,
body .page-content article > header .mb-2 > a.btn.btn-outline-secondary.btn-sm:not(.me-2):focus {
    color: #ffffff !important;
    background: #a8b790 !important;
    border: 1px solid #a8b790 !important;
}

/* 點過後 */
body .page-content article > header .mb-2 > a.btn.btn-outline-secondary.btn-sm:not(.me-2):visited,
body .page-content article > header .mb-2 > a.btn.btn-outline-secondary.btn-sm:not(.me-2):active {
    color: #a8b790 !important;
    border: 1px solid #a8b790 !important;
    background: transparent !important;
}

/* Blog 分類頁：隱藏分類說明標籤與 icon */
body .blog-category-description__label {
    display: none !important;
}
/* Blog 分類頁：回到頂層 / 返回上層 */
body .page-content .btn-secondary {
    background-color: #d5d5d5 !important;
    border-color: #d5d5d5 !important;
	font-size: 13px !important;
    padding: 6px 12px !important;
}
/* Blog 分類頁：此分類尚無文章 */
body .page-content .alert-info {
	color: #4f505c !important;
    background-color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

/* 頁腳連結字體縮小 */
.footer-area .widget-quick-links ul li a,
.footer-area .widget-latest-news ul li a {
    font-size: 13px !important;
    line-height: 1.8 !important;
}
/* 頁腳快速連結 / 聯絡資訊：預設 */
.footer-area .widget-quick-links ul li a,
.footer-area .widget-latest-news ul li a,
.footer-area .widget-contact-info a,
.footer-area .widget-contact-info p,
.footer-area .widget-contact-info p a,
.footer-area .widget-quick-links ul li a:visited,
.footer-area .widget-latest-news ul li a:visited,
.footer-area .widget-contact-info a:visited,
.footer-area .widget-contact-info p a:visited {
    color: #5e5c5c !important;
    transition: all .2s ease !important;
}

/* 頁腳快速連結 / 聯絡資訊：滑過 */
.footer-area .widget-quick-links ul li a:hover,
.footer-area .widget-latest-news ul li a:hover,
.footer-area .widget-contact-info a:hover,
.footer-area .widget-contact-info p a:hover,
.footer-area .widget-contact-info p:hover,
.footer-area .widget-quick-links ul li a:visited:hover,
.footer-area .widget-latest-news ul li a:visited:hover,
.footer-area .widget-contact-info a:visited:hover,
.footer-area .widget-contact-info p a:visited:hover {
    color: #988cae !important;
}
/* 頁腳：小方點改色 */
.footer-area .widget-quick-links ul li::before,
.footer-area .widget-latest-news ul li::before {
    color: #d0dac0 !important;
}
/* 頁腳：聯絡資訊文字上下距離 */
.footer-area .widget-contact-info p {
    margin-bottom: 9px !important;
    line-height: 1.8 !important;
}
/* 頁腳：電腦版連結區寬度統一 */
.footer-area .widget-quick-links ul,
.footer-area .widget-latest-news ul {
    width: 180px;
}
/* 頁腳電腦版：整個頁腳內容左右距離 */
@media only screen and (min-width: 768px) {
    .footer-area__widgets .container {
        padding-left: 88px !important;
        padding-right: 0px !important;
    }
}
/* 頁腳：手機版左右距離 */
@media only screen and (max-width: 767px) {
    .footer-area__widgets .container {
        padding-left: 60px !important;
        padding-right: 40px !important;
    }
}

/* 頁腳手機版：線上立即預約 / 會員中心連在一起 */
@media only screen and (max-width: 767px) {
    .footer-area .widget-quick-links {
        margin-bottom: 0 !important;
    }

    .footer-area .widget-latest-news {
        margin-top: -12px !important;
    }

    .footer-area .widget-quick-links ul {
        margin-bottom: 0 !important;
    }

    .footer-area .widget-latest-news ul {
        margin-top: 0 !important;
    }
}
/* 頁腳手機版：第1區、聯絡資訊 與中間連結區分開 */
@media only screen and (max-width: 767px) {
    .footer-area .widget-about {
        margin-bottom: 36px !important;
    }

    .footer-area .widget-contact-info {
        margin-top: 36px !important;
    }
}
/* 頁腳版權文字 */
.footer-area__copyright .copyright {
    color: #d0dac0 !important;
    font-size: 9pt !important;
    line-height: 2 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}
/* 手機版選單：目前選中項目 */
.mean-container .mean-nav ul li a:hover,
.mean-container .mean-nav ul li a.mean-expand:hover,
.mean-container .mean-nav ul li.current-menu-item > a,
.mean-container .mean-nav ul li.active > a {
    background-color: #988cae !important;
    color: #ffffff !important;
}
/* 首頁：最新消息 */
body .news-area a,
body .news-area a:link,
body .news-area a:visited,
body .news-area a:active {
	font-size: 12pt !important;
    color: #5e5c5c !important;
    text-decoration: none !important;
    transition: all .2s ease !important;
}

/* hover */
body .news-area a:hover,
body .news-area a:focus {
    color: #988cae !important;
    text-decoration: none !important;
}
/* 首頁：最新消息文字連結 */
body .news-area .news-title,
body .news-area .news-title a,
body .news-area .news-title a:link,
body .news-area .news-title a:visited,
body .news-area .news-title a:active {
    color: #5e5c5c !important;
    text-decoration: none !important;
}

/* hover */
body .news-area .news-title:hover,
body .news-area .news-title a:hover,
body .news-area .news-title a:focus {
    color: #988cae !important;
}

/* 首頁：最新消息文字 */
body .news-area .news-title {
    margin-top: 8px !important;
    text-align: center !important;
    color: #5e5c5c !important;
}
/* BOOKING 區塊離上方近一些 */
.portfolio-area.section-padding--xlg + .news-area.section-padding--xlg {
    padding-top: 20px !important;
}
/* 首頁：NEWS / 最新消息 與下方圖片距離 */
.fast-links-area + .news-area .section-title {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.fast-links-area + .news-area .section-title h2 {
    margin-bottom: 0 !important;
}

.fast-links-area + .news-area .news-gallery-active {
    margin-top: -10px !important;
}
/* 最新消息列表標題 */
body .list-group-item h5,
body .list-group-item h5 a,
body .list-group-item h5:visited {
    color: #5e5c5c !important;
    transition: all .2s ease !important;
}
/* 最新消息列表標題字體縮小 */
body .list-group-item h5 {
    font-size: 17px !important;
    line-height: 1.5 !important;
}

/* ==========================================================================
   文字消息區塊自訂樣式 (首頁最新消息下方)
   ========================================================================== */
.text-news-area {
    padding-bottom: 55px; /* 與下方的間距 */
}

.text-news-container {
    border: 2px solid #988CAE; /* 紫框 2px */
    border-radius: 8px;
    background-color: #FAF8F5; /* 溫暖的底色 */
    padding: 20px 24px;
    box-shadow: 0 4px 12px rgba(152, 140, 174, 0.08); /* 柔和紫色陰影 */
}

.text-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text-news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(152, 140, 174, 0.15); /* 紫色淡分隔線 */
}

.text-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.text-news-item:first-child {
    padding-top: 0;
}

/* 消息超連結 (字體顏色同最新消息：預設 #5e5c5c，hover #988cae) */
.text-news-link {
    font-family: 'Noto Sans TC', sans-serif;
    color: #5e5c5c !important;
    font-size: 11pt;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.25s ease, padding-left 0.25s ease;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 防破版截斷 */
    padding-right: 20px;
    display: inline-flex;
    align-items: center;
}

/* 左側紫色精美 Bullet Point */
.text-news-link::before {
    content: "•";
    color: #988CAE;
    font-size: 1.5rem;
    margin-right: 10px;
    line-height: 0;
    transition: transform 0.25s ease;
}

.text-news-link:hover {
    color: #988CAE !important;
    padding-left: 4px; /* 微動畫 */
}

.text-news-link:hover::before {
    transform: scale(1.3);
}

/* 無連結的文字樣式 */
.text-news-span {
    font-family: 'Noto Sans TC', sans-serif;
    color: #5e5c5c;
    font-size: 11pt;
    font-weight: 500;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
    display: inline-flex;
    align-items: center;
}

.text-news-span::before {
    content: "•";
    color: #988CAE;
    font-size: 1.5rem;
    margin-right: 10px;
    line-height: 0;
}

/* 日期樣式 */
.text-news-date {
    color: #8E8E8E;
    font-size: 9.5pt;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

/* Landing Page */
.landing-editor-section,
.landing-question-section {
    padding: 80px 0;
}

/* 第一塊 */
.landing-editor-box {
    border: none;
    border-radius: 12px;
    padding: 40px;
    background: #ffffff;
    text-align: center;
}

/* 第二塊 */
.landing-question-box {
    border: 2px solid #988cae;
    border-radius: 12px;
    padding: 40px;
    background: #ffffff;
    text-align: center;
}

.landing-editor-box img {
    max-width: 100%;
    height: auto;
    margin-top: 24px;
}

.landing-choice-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.landing-choice-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #988cae;
    color: #ffffff !important;
    border-radius: 8px;
    text-decoration: none !important;
}

.landing-choice-btn:hover {
    background: #c8bfd7;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .landing-choice-group {
        flex-direction: column;
    }
}
