/* -------------------------------------------------------
   全站色彩系統（LOGO一致）
------------------------------------------------------- */
:root {
    --primary: #0093D3;
    --accent: #4DD0E1;
    --bg-light: #F7F9FC;
    --bg-card: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #6B6B6B;
    --radius: 18px;
    --shadow: rgba(0, 0, 0, 0.05) 0px 4px 18px;
}

/* -------------------------------------------------------
   全站排版
------------------------------------------------------- */
body {
    font-family: 'Poppins','Noto Sans TC',sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
}

/* -------------------------------------------------------
   NAVBAR
------------------------------------------------------- */
.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e7e7e7;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 18px !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    font-weight: 700;
}

/* LOGO 文字更大 */
.logo-big-cn {
    font-size: 30px !important;
    font-weight: 800;
    letter-spacing: 1px;
}

/* -------------------------------------------------------
   PAGE TITLE（全部頁面統一 LOGO 藍）
------------------------------------------------------- */
.page-title {
    background: #FFFFFF;
    padding: 50px 0;
    border-bottom: 2px solid var(--primary);
    text-align: center;
}

.page-title h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.page-title p {
    color: var(--text-gray);
}

/* -------------------------------------------------------
   最新消息（首頁白底修正）
------------------------------------------------------- */
.news-list-box {
    background: #fff;
    padding: 24px 32px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    max-width: 780px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    transition: 0.25s;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    transform: translateY(-3px);
    background: #f9fbff;
    border-radius: 12px;
    padding-left: 12px;
}

.news-date {
    font-weight: 600;
    color: var(--primary);
    width: 120px;
    font-size: 17px;
}

.news-icon {
    font-size: 22px;
    margin-right: 10px;
}

.news-text {
    font-size: 18px;
}

/* -------------------------------------------------------
   卡片（白底卡片）
------------------------------------------------------- */
.card-clean,
.dark-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid #eee;
    padding: 28px;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.card-clean:hover,
.dark-card:hover {
    transform: translateY(-4px);
    box-shadow: rgba(0,0,0,0.10) 0px 8px 20px;
}

/* -------------------------------------------------------
   課程分類（圖片卡片）
------------------------------------------------------- */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 桌機一排 3 張 */
    gap: 28px;
}

.course-card-image {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e7e7e7;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: block;
    transition: 0.25s;
    height: 100%;
}

/* 平板：一排 2 張 */
@media (max-width: 991.98px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手機：一排 1 張 */
@media (max-width: 767.98px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.course-card-image:hover {
    transform: translateY(-6px);
    box-shadow: rgba(0,0,0,0.12) 0px 10px 28px;
}

.course-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-card-body {
    padding: 18px 20px;
}

.course-card-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.course-card-desc {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* 04 課程頁：說明文字截斷 */
.course-desc-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.course-more-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 12px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.2;
    transition: .2s ease;
}

.course-more-btn:hover {
    background: #007ab0;
}

/* 04 課程頁：Modal */
.course-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 18px 24px;   /* ★ 整個 modal 內距加大 */
}

.course-modal-title {
    color: var(--primary);
    font-size: 28px;
    font-weight: 800;
}

.course-modal-body {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-gray);
    padding-top: 18px;    /* ★ 標題跟內文距離加大 */
    padding-bottom: 10px;
    white-space: normal;
}

#courseModal .modal-header {
    padding: 6px 4px 0 4px;
}

@media (max-width: 767.98px) {
    .course-modal-title {
        font-size: 22px;
    }

    .course-modal-body {
        font-size: 16px;
        line-height: 1.7;
    }
}

/* -------------------------------------------------------
   FOOTER（淺灰底 + ICON 靠右）
------------------------------------------------------- */
.footer {
    background: #F1F5F9;
    padding: 50px 0;
    margin-top: 80px;
}

.footer h5 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.footer p,
.footer li,
.footer a {
    font-size: 16px;
    color: #616161;
}

.footer a:hover {
    color: var(--primary);
}

.footer-right-icons {
    text-align: right;
}

.footer-right-icons img {
    width: 24px;
    margin-left: 12px;
    opacity: 0.95;
    transition: 0.2s;
}

.footer-right-icons img:hover {
    opacity: 1;
    transform: scale(1.08);
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    margin-top: 30px;
    color: #616161;
}

/* -------------------------------------------------------
   AOS 動畫
------------------------------------------------------- */
[data-aos] {
    transition: 0.6s ease-out !important;
}
/* 統一所有藍字為 LOGO 藍 */
.text-primary,
.section-title,
.page-title h1,
.course-card-title,
.footer h5,
.news-date,
.dark-card h4, 
.card-clean h4 {
    color: var(--primary) !important;
}

/* 首頁熱門課程標題（飛輪燃脂班 / 晚間瑜珈 / 核心肌力訓練） */
.dark-card h4 {
    color: var(--primary) !important;
    font-weight: 800;
}
/* 首頁查看課程按鈕：藍底白字橢圓 */
.btn-hero-course {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 14px 36px;
    border-radius: 40px;
    font-size: 20px;
    font-weight: 700;
    display: inline-block;
    transition: 0.25s;
}

.btn-hero-course:hover {
    background: #007ab0 !important;
    transform: translateY(-2px);
}
.btn-hero-course {
    text-decoration: none !important;
}
/* 首頁熱門課程推薦卡片（含圖片） */
.course-card-home {
    background: #fff;
    border-radius: 18px;
    padding: 25px 20px;
    box-shadow: rgba(0,0,0,0.05) 0px 4px 18px;
    transition: 0.25s;
}

.course-card-home:hover {
    transform: translateY(-6px);
    box-shadow: rgba(0,0,0,0.12) 0px 10px 28px;
}

.course-card-home-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
}

.course-card-home-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary); /* LOGO 藍 */
    margin-bottom: 8px;
}

.course-card-home-desc {
    color: var(--text-gray);
    font-size: 16px;
}
/* 導覽列選單字體放大 */
.navbar-nav .nav-link {
    font-size: 20px !important;   /* 你可以改成 18 / 20 / 22 px */
    font-weight: 600 !important;  /* 讓字更有份量，可依需求調整 */
}
/* ----------------------------------------------------
   ✨ 全站一般文字（黑色/灰色）統一放大 + 更舒適閱讀
---------------------------------------------------- */

body {
    font-size: 18px !important;   /* 預設是 16px，我幫你調成 18px */
    line-height: 1.75 !important; /* 讓段落更好讀 */
}

/* p 段落文字 */
p, li, span, td, th {
    font-size: 19px !important; 
}

/* 淺灰提示文字 */
.text-gray, .text-muted, .news-text, .news-date {
    font-size: 19px !important;
}

/* footer 也同步放大 */
footer p, footer a, footer li {
    font-size: 18px !important;
}

/* 表格內容（例如票價頁面） */
table td, table th {
    font-size: 20px !important;
}
/* ================================
   ★ 03 場館設施頁 — 統一圖片高度
================================ */
.facility-card img,
.facility-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;   /* 固定比例，不會被擠壓 */
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* 手機版：改排到導覽列下方 */
@media (max-width: 992px) {
    .people-box {
        margin: 12px 0 0 0;
    }
}
/* Footer 社群 icon 統一尺寸與間距 */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icon {
    width: 55px;
    height: 55px;
    transition: 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.15);
    opacity: 0.85;
}
/* ===========================================
   ★ FAQ 標題（Q1～Q5）放大
=========================================== */
.accordion-button {
    font-size: 24px !important;      /* 問題標題更大 */
    font-weight: 800 !important;
    padding: 20px 24px !important;   /* 上下加厚，看起來更紮實 */
}

/* 展開後的內容文字放大，但不要比問題大 */
.accordion-body {
    font-size: 20px !important;   /* 比 Q1~Q5 小一級 */
    line-height: 1.8 !important;
    padding: 20px 28px !important;
}

/* FAQ 外框變漂亮（可選） */
.accordion-item {
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid #dce6f3 !important;
}

.accordion-button:not(.collapsed) {
    background: #e8f4ff !important;  /* 展開時淡藍背景 */
    color: var(--primary) !important;
}
/* ============================
   價格表 — 美化 + 置中白色卡片
  （依你最新需求統一圓角、左右距離一致）
============================ */

.pricing-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 18px;                /* ← 和全站統一圓角 */
    width: 92%;                         /* ← 不要太窄、不靠右 */
    max-width: 1100px;                  /* ← 置中看起來剛好 */
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin: 0 auto 30px auto;           /* ← 底部空白縮小 */
    padding: 0;                          /* 交由表格控制內距 */
    overflow: hidden;                   /* 讓圓角一致 */
}

/* 表格統一設定 */
.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 18px;
}

/* 標題列 */
.pricing-table thead th {
    background: #e8f3ff;
    color: var(--primary);
    font-weight: 800;
    padding: 16px 20px;
    border-bottom: 2px solid #d4e6ff;
    font-size: 20px;
}

/* 表格列 */
.pricing-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #eef2f7;
    background: #ffffff;
}

/* 最後一列不要太大間距 */
.pricing-table tbody tr:last-child td {
    border-bottom: none;
    padding-bottom: 16px;
}

/* 滑過效果 */
.pricing-table tbody tr:hover {
    background: #f5faff;
}

/* 手機版微調 */
@media (max-width: 768px) {
    .pricing-card {
        width: 95%;
        border-radius: 16px;
    }
    .pricing-table td,
    .pricing-table thead th {
        padding: 14px 14px;
        font-size: 17px;
    }
}

.pricing-section-title {
    text-align: center;
    width: 100%;
}

/* ================= 即時人數顯示 Bar ================= */
.people-bar {
  background: linear-gradient(90deg, #0b8fd3, #0093d3);
  color: #fff;
  font-size: 16px;
}

.people-bar-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 20px;

  display: flex;
  align-items: center;
  justify-content: center; /* ⭐ 關鍵：整條置中 */
  gap: 32px;
}


.people-title span {
  font-size: inherit;
  font-weight: inherit;
  opacity: 0.9;
}


.people-items {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.people-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.people-item .place {
  opacity: 0.9;
}

.people-item .count {
    display: flex;
    gap: 4px;
}

.people-item .count strong {
  /* font-size: 20px; */
  font-weight: 768;
}

.people-item .capacity {
  opacity: 0.85;
  font-size: 14px;
}

/* ===== RWD ===== */
@media (max-width: 768px) {
  .people-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .people-items {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .people-item .count strong {
    font-size: 18px;
  }
}
.people-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-left: -6px;     /* 往左 */
  margin-right: 5px;     /* 與文字距離 */
  transform: translateY(-1px); /* 👈 往上移一點 */
}


.people-item .count strong {
  font-size: 30px;          /* 原本約 20px → 1.5 倍*/
  font-weight: 600;
  color: #fffb00;            /* 示意圖那種亮黃 */
  line-height: 1;
}

/* 交通資訊改成icon */
.transport-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ===== 聯絡我們 icon 樣式 ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
/* ===============================
   05 票價表格：第一欄文字往右移
=============================== */

/* 表頭：設施名稱 */
.pricing-table thead th:first-child {
    text-align: left;
    padding-left: 60px;   /* ← 控制往右的距離（可調 40~60） */
}

/* 表身：設施名稱 */
.pricing-table tbody td:first-child {
    text-align: left;
    padding-left: 60px;   /* ← 與表頭一致 */
}
/* ===============================
   首頁 Hover 微動畫（安全版）
=============================== */

/* Hero 按鈕 */
.btn-hero-course {
  background: var(--primary);
  color: #fff !important;
  padding: 14px 36px;
  border-radius: 40px;
  font-size: 20px;
  font-weight: 700;
  transition: 0.25s;
  text-decoration: none;
}

.btn-hero-course:hover {
  background: #007ab0;
  transform: translateY(-2px);
}

/* 熱門課程卡片 hover */
.course-card-home {
  transition: 0.25s;
}

.course-card-home:hover {
  transform: translateY(-6px);
  box-shadow: rgba(0,0,0,0.12) 0px 10px 28px;
}

/* 最新消息 hover */
.news-item:hover {
  transform: translateY(-3px);
}
/* ================================
   課程卡片 Hover 年輕感動畫
================================ */

/* 卡片本身微浮起 */
.course-card-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 圖片放大準備 */
.course-card-image img {
    transition: transform 0.4s ease;
}

/* Hover 效果 */
.course-card-image:hover {
    transform: translateY(-6px);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 12px 30px;
}

/* Hover 時圖片微放大 */
.course-card-image:hover img {
    transform: scale(1.05);
}
/* ================================
   03 場館設施卡片：白色底卡（強化辨識）
================================ */
.facility-card {
    background: #ffffff;          /* ⭐ 關鍵：白底 */
    border-radius: 18px;           /* 和其他卡片一致 */
    box-shadow: rgba(0,0,0,0.06) 0px 6px 20px;
    transition: 0.3s ease;
}

/* Hover 微互動（年輕感） */
.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: rgba(0,0,0,0.12) 0px 12px 30px;
}

/* ===============================
   最新消息｜公告卡片版
=============================== */

.news-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* 單一公告卡片 */
.news-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: rgba(0,0,0,0.06) 0px 6px 24px;
    overflow: hidden;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Hover：整張卡片浮起 */
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(0,0,0,0.12) 0px 14px 36px;
}

/* 圖片區 */
.news-card-img {
    overflow: hidden;
    margin-bottom: 12px; /* 原本太大，縮小 */
}

.news-card-img img {
    width: 100%;
    aspect-ratio: 1 / 1;   /* 正方形 */
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover：圖片微放大（年輕感） */
.news-card:hover .news-card-img img {
    transform: scale(1.08);
}

/* 內容區 */
.news-card-body {
    padding: 18px 22px 20px;
    display: flex;
    flex-direction: column;
    height: 36%;
}

.news-card-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-card-desc {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
    /* flex-grow:1; */
}

/* 閱讀更多按鈕 */
.btn-news {
    align-self: flex-start;
    background: #0093D3;
    color: #ffffff;
    padding: 10px 22px;
    border-width: 0;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.btn-news:hover {
    background: #03577a;
    color: #ffffff;
}

/* RWD */
@media (max-width: 992px) {
    .news-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-card-grid {
        grid-template-columns: 1fr;
    }
}
.section-title-center {
    text-align: center;
}

/* ================= 最新消息卡片 ================= */
.news-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.news-card:hover {
  transform: translateY(-6px);
}

.news-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.news-body {
  padding: 20px;
}

.news-date {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.news-title {
  font-size: 20px;
  font-weight: 800;
  margin: 8px 0;
}

.news-text {
  font-size: 16px;
  color: var(--text-gray);
}

/* ================================
   News Detail Page 微調
================================ */

/* 圖片置中、限制最大寬度 */
.news-detail-img {
    display: block;
    margin: 0 auto 24px auto;   /* 置中 + 下方間距 */
    max-width: 720px;           /* 不會撐爆螢幕 */
    width: 100%;
    border-radius: 18px;
}

/* 內文行距縮短（但仍好讀） */
.news-detail-text {
    line-height: 1;          /* 原本大約 1.7~1.8 */
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

/* 返回最新消息按鈕加大（只影響這一顆） */
.btn-news-back {
    display: inline-block;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 999px;       /* 橢圓 */
}
/* ================================
   News Detail 內容置中
================================ */

/* 整個公告卡片內容置中 */
.news-detail-card {
    text-align: center;
}

/* 標題置中（保險用） */
.news-detail-title {
    text-align: center;
}

/* 返回最新消息按鈕置中 */
.btn-news-back {
    display: inline-block;
    margin: 32px auto 0;
}
/* ================================
   News Detail 公告標題樣式
================================ */

.news-detail-title {
    color: var(--primary);          /* LOGO 藍 */
    font-weight: 800;
    font-size: 32px;

    margin-top: 50px;               /* 上間距加大 */
    margin-bottom: 50px;            /* 下間距加大 */

    letter-spacing: 1px;
}

/* =============== 場館設施：樓層切換 Tabs =============== */
.facility-floor-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-bottom: 22px;
}

.facility-floor-btn{
  background:#fff;
  border:1px solid rgba(0,147,211,0.35);
  color: var(--primary);
  padding: 8px 16px;
  min-width: 80px;       /* ★五顆同寬（可調 80~96） */
  text-align: center;    /* 文字置中 */
  white-space: nowrap;   /* 戶外不換行 */
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .5px;
  transition: .2s ease;
}

.facility-floor-btn:hover{
  background: var(--primary);
  color:#fff;
  transform: translateY(-1px);
}

.facility-floor-btn.active{
  background: var(--primary);
  color:#fff;
  box-shadow: rgba(0,147,211,0.25) 0 8px 18px;
}

/* 讓說明文字不要撐爆卡片（最多 3 行） */
.facility-desc-clamp{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* RWD：小螢幕按鈕更好點 */
@media (max-width: 576px){
  .facility-floor-btn{
    padding: 9px 14px;
    font-size: 15px;
  }
}

/* =============== 場館設施：卡片說明 展開/收合 =============== */

/* 你的 clamp 保留 */
.facility-desc-clamp{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* 展開後：解除 clamp */
.facility-desc-clamp.is-open{
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* 查看更多按鈕（預設先顯示，JS 會判斷不需要就隱藏） */
.facility-more-btn{
  background: none;
  border: none;
  padding: 0;
  margin-top: 6px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.facility-more-btn:hover{
  text-decoration: underline;
}

/* 不需要顯示時用 */
.facility-more-btn.is-hidden{
  display: none;
}

/* =============== 03 場館設施：樓層標題/說明（Tabs 下方） =============== */
.facility-floor-meta{
  margin: 14px auto 26px;
  max-width: 960px;
  padding: 0 12px;
}

.facility-floor-title{
  color: var(--primary);
  font-weight: 900;
  letter-spacing: .5px;
  font-size: 26px;
}

.facility-floor-desc{
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.6;
}

/* RWD */
@media (max-width: 576px){
  .facility-floor-title{ font-size: 20px; }
  .facility-floor-desc{ font-size: 14px; }
}

/* =========================================
   03_facilities RWD 補強
   只作用在 03 場館設施頁
========================================= */

/* 桌機與平板：卡片內文區域更穩 */
.facilities-page .facility-card {
  height: 100%;
}

.facilities-page .facility-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* 樓層按鈕區 */
.facilities-page .facility-floor-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* 樓層標題區 */
.facilities-page .facility-floor-meta {
  margin: 14px auto 26px;
  max-width: 960px;
  padding: 0 12px;
}

.facilities-page .facility-floor-title {
  font-size: 26px;
  line-height: 1.35;
  word-break: break-word;
}

.facilities-page .facility-floor-desc {
  font-size: 16px;
  line-height: 1.7;
  word-break: break-word;
}

/* 卡片標題 */
.facilities-page .facility-card h4 {
  line-height: 1.4;
  word-break: break-word;
}

/* 卡片文字 */
.facilities-page .facility-desc-clamp {
  line-height: 1.6;
}

/* ---------- 平板 ---------- */
@media (max-width: 991.98px) {
  .facilities-page .facility-floor-btn {
    min-width: 88px;
    padding: 8px 14px;
    font-size: 15px;
  }

  .facilities-page .facility-floor-title {
    font-size: 22px;
  }

  .facilities-page .facility-floor-desc {
    font-size: 15px;
  }

  .facilities-page .facility-card-img {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- 手機 ---------- */
@media (max-width: 767.98px) {
  .facilities-page {
    padding-left: 0;
    padding-right: 0;
  }

  .facilities-page .facility-floor-tabs {
    gap: 8px;
    margin-bottom: 18px;
    padding: 0 8px;
  }

  .facilities-page .facility-floor-btn {
    min-width: 84px;
    padding: 8px 12px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .facilities-page .facility-floor-meta {
    margin: 10px auto 20px;
    padding: 0 16px;
  }

  .facilities-page .facility-floor-title {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .facilities-page .facility-floor-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .facilities-page .facility-floor-panel .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .facilities-page .facility-card {
    border-radius: 16px;
    padding: 14px !important;
  }

  .facilities-page .facility-card-img {
    aspect-ratio: 4 / 3;
    border-radius: 12px !important;
  }

  .facilities-page .facility-card h4 {
    font-size: 20px !important;
    margin-top: 12px !important;
  }

  .facilities-page .facility-desc-clamp,
  .facilities-page .facility-more-btn {
    font-size: 16px !important;
  }
}

/* ---------- 超小手機 ---------- */
@media (max-width: 479.98px) {
  .facilities-page .facility-floor-tabs {
    justify-content: center;
  }

  .facilities-page .facility-floor-btn {
    min-width: 78px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .facilities-page .facility-floor-title {
    font-size: 18px;
  }

  .facilities-page .facility-floor-desc {
    font-size: 13px;
  }

  .facilities-page .facility-card h4 {
    font-size: 18px !important;
  }

  .facilities-page .facility-desc-clamp,
  .facilities-page .facility-more-btn {
    font-size: 15px !important;
  }
}

/* 05_pricing：表格下方備註 */
.pricing-note {
    width: 100%;
    max-width: 1100px;   /* 不超過表格寬度 */
    margin: 18px auto 0;
    padding: 0 10px;
    color: var(--primary);  /* 跟大標同藍色 */
}

.pricing-note p {
    margin-bottom: 6px;
    font-size: 18px;   /* 跟全票字級接近 */
    line-height: 1.7;
    font-weight: 500;
}

/* 手機版 */
@media (max-width: 768px) {
    .pricing-note {
        padding: 0 14px;
        margin-top: 14px;
    }

    .pricing-note p {
        font-size: 16px;
        line-height: 1.8;
    }
}