/*

  紅虎湯中醫診所 — 黑金直排客製樣式
  基底版型:LuxurySpa (Potenza Global Solutions)
  載入順序:必須放在 style.css 之後

  設計語彙(參考 doc/case1.jpg 太極堂風格):
  - 深黑底 + 霧金 #C8A86B 點綴 + 硃紅印章紅
  - 中文明體(Noto Serif TC)+ 直排標題(writing-mode: vertical-rl)
  - 雜誌編輯式留白、深(墨黑)淺(大理石白)區塊交錯
  - 細金線框、千鳥點綴、全幅氛圍攝影(深色濾鏡)

  目錄:
  01. 色票與字體變數
  02. 全域覆寫(body / 標題 / 連結 / 按鈕)
  03. Header / 導覽列 / 側邊選單
  04. 區塊主題(深 / 淺)與裝飾元素
  05. 直排文字工具
  06. 首頁 Hero
  07. 特色卡 / 案例卡 / 學理卡
  08. 內頁 Banner(inner-header)
  09. 醫師介紹 / 看診時間表
  10. 案例內頁
  11. Footer / 免責聲明
  12. 雜項(預載、回頂、捲軸)
  13. RWD

*/

/* =============================================
   01. 色票與字體變數
   ============================================= */
:root {
  --hht-ink: #0f0e0c;        /* 主黑底(暖黑) */
  --hht-ink-2: #15130f;      /* 區塊黑 */
  --hht-ink-3: #1d1a15;      /* 浮起面板黑 */
  --hht-gold: #c8a86b;       /* 霧金(主點綴) */
  --hht-gold-soft: #dcc492;  /* 亮一階的金(標題用) */
  --hht-gold-dim: rgba(200, 168, 107, 0.35);  /* 金色細線 */
  --hht-gold-faint: rgba(200, 168, 107, 0.14);
  --hht-red: #9e2a25;        /* 硃紅(印章、強調) */
  --hht-red-deep: #7c1f1c;
  --hht-paper: #f1ede4;      /* 大理石白(淺區塊底) */
  --hht-paper-2: #e8e3d7;
  --hht-text: #d8d1c2;       /* 深底內文 */
  --hht-muted: #97907f;      /* 深底次要文字 */
  --hht-text-dark: #2e2a23;  /* 淺底內文 */
  --hht-muted-dark: #6f685c; /* 淺底次要文字 */
  --hht-serif: 'Noto Serif TC', 'Cormorant Garamond', 'PMingLiU', serif;
  --hht-latin: 'Cormorant Garamond', 'Noto Serif TC', serif;
}

/* =============================================
   02. 全域覆寫
   ============================================= */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--hht-serif);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--hht-text);
  background-color: var(--hht-ink);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--hht-serif);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--hht-paper);
}

p { letter-spacing: 0.06em; }

a { color: var(--hht-gold); transition: all 0.3s ease; }
a:hover { color: var(--hht-gold-soft); }

::selection { background: var(--hht-red); color: #fff; }
::-moz-selection { background: var(--hht-red); color: #fff; }

/* 文字顏色工具覆寫:版型的 text-primary(蜜桃色)→ 霧金 */
.text-primary { color: var(--hht-gold) !important; }
.bg-primary { background-color: var(--hht-ink-2) !important; }
.bg-dark { background-color: var(--hht-ink-2) !important; }
.bg-light { background-color: var(--hht-paper) !important; }

/* 按鈕:細金線框、方角、滑入填滿 */
.btn {
  font-family: var(--hht-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-indent: 0.3em; /* 平衡字距 */
  padding: 14px 34px;
  border-radius: 0;
}
.btn.btn-primary,
.btn.btn-primary:focus,
.btn.btn-primary:active {
  background: transparent;
  border: 1px solid var(--hht-gold);
  color: var(--hht-gold);
}
.btn.btn-primary:after { background-color: var(--hht-gold); }
.btn.btn-primary:hover { color: var(--hht-ink); border-color: var(--hht-gold); }

/* 硃紅實心按鈕(主 CTA 用) */
.btn.btn-hht-red,
.btn.btn-hht-red:focus,
.btn.btn-hht-red:active {
  background: var(--hht-red);
  border: 1px solid var(--hht-red);
  color: #f4ead9;
  position: relative;
  z-index: 1;
}
.btn.btn-hht-red:after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
  z-index: -1;
  background-color: var(--hht-red-deep);
  transition: all 0.4s ease;
}
.btn.btn-hht-red:hover { color: #f4ead9; }
.btn.btn-hht-red:hover:after { left: 0; width: 100%; }

/* 文字式連結按鈕 */
.btn-link,
.btn-link:hover {
  color: var(--hht-gold);
  letter-spacing: 0.2em;
  text-decoration: none;
}
.btn-link:hover { color: var(--hht-gold-soft); }

/* 區塊標題系統 */
.section-title { margin-bottom: 44px; }
.section-title .sub-title {
  display: inline-block;
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5em;
  color: var(--hht-gold);
  padding-left: 56px;
  margin-bottom: 18px;
}
.section-title .sub-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--hht-gold-dim);
}
.section-title.text-center .sub-title {
  padding-left: 56px;
  padding-right: 56px;
}
.section-title.text-center .sub-title:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--hht-gold-dim);
}
.section-title .title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--hht-paper);
}
.section-title .section-description {
  margin-top: 18px;
  color: var(--hht-muted);
}

/* 英文襯線小字(段落側註、年份等) */
.hht-latin {
  font-family: var(--hht-latin);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

/* =============================================
   03. Header / 導覽列 / 側邊選單
   ============================================= */
.header.default {
  background: linear-gradient(to bottom, rgba(10, 9, 7, 0.82), rgba(10, 9, 7, 0));
  box-shadow: none;
}
.header .main-header { padding: 0 40px; }

/* 文字品牌(待客戶提供 Logo 後替換為圖檔) */
.header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.hht-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}
.hht-logo-header { width: 158px; }
.hht-logo-panel { width: 230px; max-width: 100%; }
.hht-logo-footer { width: 190px; max-width: 100%; }
.hht-origin-logo { width: 165px; max-width: 100%; }
.hht-brand-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--hht-red);
  color: #f4e9d8;
  font-size: 22px;
  font-weight: 700;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(244, 233, 216, 0.35), inset 0 0 0 3px var(--hht-red);
  flex: none;
}
.hht-brand-text {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--hht-paper);
  line-height: 1.1;
  white-space: nowrap;
}
.hht-brand-text small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.48em;
  color: var(--hht-gold);
  margin-top: 5px;
}

/* 導覽連結 */
.header .navbar .navbar-nav .nav-link,
.header .navbar .navbar-nav > li .nav-link {
  font-family: var(--hht-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(241, 237, 228, 0.88);
}
.header .navbar .navbar-nav .nav-link:hover,
.header .navbar .navbar-nav > li .nav-link:hover,
.header .navbar .navbar-nav .nav-item.active .nav-link,
.header .navbar .navbar-nav li.active .nav-link {
  color: var(--hht-gold);
}
/* 導覽 active 底線 */
.header .navbar .navbar-nav > li .nav-link span { position: relative; padding-bottom: 6px; }
.header .navbar .navbar-nav > li .nav-link span:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--hht-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.header .navbar .navbar-nav > li .nav-link:hover span:after,
.header .navbar .navbar-nav > li.active .nav-link span:after { width: 100%; }

/* 置頂(sticky)狀態:維持深色 */
.header.is-sticky {
  background: rgba(15, 14, 12, 0.96) !important;
  border-bottom: 1px solid var(--hht-gold-faint);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.header.is-sticky .navbar .navbar-brand { padding: 6px 0; }
.header.is-sticky .navbar .navbar-brand img.hht-logo-header {
  display: block;
  width: 140px;
  height: auto;
}
.header.is-sticky .main-header .menu-btn {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.header.is-sticky .main-header .menu-btn svg { fill: transparent; }
.header.is-sticky .main-header .menu-btn svg path { stroke: var(--hht-gold); }
.header.is-sticky .navbar .navbar-nav > li .nav-link { color: rgba(241, 237, 228, 0.88); }
.header.is-sticky .navbar .navbar-nav > li .nav-link:hover,
.header.is-sticky .navbar .navbar-nav > li.active .nav-link { color: var(--hht-gold); }

/* 預約按鈕(header 右側) */
.header .navbar .add-listing .btn {
  border: 1px solid var(--hht-gold);
  background: transparent;
  color: var(--hht-gold);
  padding: 12px 26px;
  font-size: 14px;
}
.header .navbar .add-listing .btn:after { background-color: var(--hht-gold); }
.header .navbar .add-listing .btn:hover { color: var(--hht-ink); }
.header .main-header .menu-btn svg path { stroke: var(--hht-gold); }
.navbar-toggler { color: var(--hht-gold); border: 1px solid var(--hht-gold-dim); border-radius: 0; }

/* 側邊抽屜選單 */
.hht-offcanvas {
  background: var(--hht-ink-2) !important;
  border-left: 1px solid var(--hht-gold-faint);
  color: var(--hht-text);
}
.hht-offcanvas .btn-close {
  filter: invert(78%) sepia(26%) saturate(560%) hue-rotate(2deg) brightness(92%);
  opacity: 1;
}
.hht-offcanvas h3 { color: var(--hht-gold-soft); font-size: 22px; letter-spacing: 0.2em; }
.hht-offcanvas p { color: var(--hht-muted); }
.hht-offcanvas .social-icon ul li a {
  background: transparent;
  color: var(--hht-gold);
  border: 1px solid var(--hht-gold-dim);
}

/* =============================================
   04. 區塊主題(深 / 淺)與裝飾元素
   ============================================= */
/* 深色區塊:暖黑 + 微金暈 */
.hht-sec-dark {
  position: relative;
  background-color: var(--hht-ink);
  background-image:
    radial-gradient(900px 420px at 88% -10%, rgba(200, 168, 107, 0.07), transparent 65%),
    radial-gradient(700px 380px at -8% 108%, rgba(158, 42, 37, 0.05), transparent 60%);
  color: var(--hht-text);
}
.hht-sec-dark.alt { background-color: var(--hht-ink-2); }

/* 淺色區塊:大理石白(柔和雲紋) */
.hht-sec-paper {
  position: relative;
  background-color: var(--hht-paper);
  background-image:
    radial-gradient(1100px 500px at 110% 0%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(900px 480px at -10% 100%, rgba(202, 195, 180, 0.35), transparent 55%),
    linear-gradient(118deg, transparent 42%, rgba(255, 255, 255, 0.5) 50%, transparent 58%);
  color: var(--hht-text-dark);
}
.hht-sec-paper h1, .hht-sec-paper h2, .hht-sec-paper h3,
.hht-sec-paper h4, .hht-sec-paper h5, .hht-sec-paper h6,
.hht-sec-paper .section-title .title { color: #241f18; }
.hht-sec-paper p { color: var(--hht-text-dark); }
.hht-sec-paper .section-title .section-description { color: var(--hht-muted-dark); }

/* 細金框 */
.hht-frame { border: 1px solid var(--hht-gold-dim); }

/* 金色髮絲分隔線(中央菱形) */
.hht-rule {
  position: relative;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--hht-gold-dim), transparent);
  margin: 0 auto;
}
.hht-rule:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--hht-gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* 影像濾鏡:深色氛圍(佔位圖統一調性,正式照片到位後可移除) */
.img-tone {
  filter: grayscale(0.5) sepia(0.3) saturate(0.85) contrast(1.05) brightness(0.72);
}
.hht-sec-paper .img-tone,
.img-tone-light {
  filter: grayscale(0.3) sepia(0.22) saturate(0.9) contrast(1.02) brightness(0.95);
}

/* 帶金框位移的圖片(編輯感) */
.hht-photo {
  position: relative;
  display: block;
}
.hht-photo img { width: 100%; display: block; }
.hht-photo:before {
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--hht-gold-dim);
  pointer-events: none;
}
.hht-photo .hht-photo-caption {
  position: absolute;
  left: -12px;
  bottom: 18px;
  background: var(--hht-red);
  color: #f4e9d8;
  font-size: 12px;
  letter-spacing: 0.3em;
  padding: 8px 14px;
}

/* 圖片佔位面板(素材未到時使用) */
.hht-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  border: 1px solid var(--hht-gold-dim);
  background:
    linear-gradient(135deg, rgba(200, 168, 107, 0.06), transparent 40%),
    var(--hht-ink-3);
  color: var(--hht-muted);
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  font-size: 14px;
}
.hht-sec-paper .hht-placeholder {
  background: linear-gradient(135deg, rgba(200, 168, 107, 0.12), transparent 40%), #dfd9cb;
  color: var(--hht-muted-dark);
}

/* 印章 */
.hht-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--hht-red);
  color: #f4e9d8;
  font-size: 24px;
  font-weight: 700;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(244, 233, 216, 0.35), inset 0 0 0 3px var(--hht-red);
}

/* =============================================
   05. 直排文字工具
   ============================================= */
.hht-vtext {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.4em;
}

/* 直排大標(區塊主標題用) */
.hht-vtitle {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: 0.42em;
  line-height: 1.9;
  color: var(--hht-paper);
  max-height: 460px;
}
.hht-sec-paper .hht-vtitle { color: #241f18; }

/* 直排側標(段落旁的小字) */
.hht-vlabel {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--hht-gold);
  position: relative;
  padding-top: 52px;
}
.hht-vlabel:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 40px;
  background: var(--hht-gold-dim);
}

/* 區塊角落的直排裝飾字(半透明) */
.hht-vdeco {
  position: absolute;
  top: 90px;
  right: 38px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 15px;
  letter-spacing: 0.6em;
  color: rgba(200, 168, 107, 0.3);
  pointer-events: none;
  z-index: 2;
}
.hht-sec-paper .hht-vdeco { color: rgba(46, 42, 35, 0.22); }

/* =============================================
   06. 首頁 Hero
   ============================================= */
.hht-hero { position: relative; background: var(--hht-ink); }
.hht-hero .swiper-slide,
.banner-01.hht-hero .swiper-slide {
  min-height: 100vh;
  padding: 140px 0 120px; /* 蓋掉版型的 390/300 大 padding,高度交給 min-height */
  position: relative;
  background-size: cover;
  background-position: center;
}
/* 深色漸層覆蓋:壓暗照片、確保文字對比,並讓底部融入下一個黑色區塊 */
.hht-hero .swiper-slide:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 70% 30%, rgba(200, 168, 107, 0.08), transparent 60%),
    linear-gradient(to bottom, rgba(10, 9, 7, 0.55) 0%, rgba(10, 9, 7, 0.42) 45%, var(--hht-ink) 100%);
}
.hht-hero .hht-hero-pulse:before {
  background:
    linear-gradient(90deg, rgba(10, 9, 7, 0.9) 0%, rgba(10, 9, 7, 0.7) 42%, rgba(10, 9, 7, 0.18) 72%),
    linear-gradient(to bottom, rgba(10, 9, 7, 0.32) 0%, transparent 52%, var(--hht-ink) 100%);
}
.hht-hero .hht-hero-integrated:before {
  background:
    linear-gradient(90deg, rgba(10, 9, 7, 0.88) 0%, rgba(10, 9, 7, 0.68) 40%, rgba(10, 9, 7, 0.2) 72%),
    linear-gradient(to bottom, rgba(10, 9, 7, 0.24) 0%, transparent 52%, var(--hht-ink) 100%);
}
.hht-hero .swipeinner { position: relative; z-index: 2; }

.hht-hero .sub-title-text {
  font-size: 14px;
  letter-spacing: 0.6em;
  text-indent: 0.6em;
  color: var(--hht-gold);
}
.hht-hero .slider-1 .sub-title-text {
  justify-content: flex-start;
}
.hht-hero h1 {
  font-size: clamp(34px, 5.4vw, 76px);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.75;
  color: var(--hht-paper);
}
.banner-01.hht-hero .swiper-slide .slider-1 h1 .hht-gold,
.hht-hero h1 .hht-gold {
  color: var(--hht-gold-soft);
  padding-left: 0;
  white-space: nowrap;
}
.hht-hero .details-text {
  font-size: 17px;
  letter-spacing: 0.22em;
  color: rgba(216, 209, 194, 0.85);
}
.hht-hero .text-start .details-text {
  max-width: 720px;
}

/* Hero 兩側直排裝飾 */
.hht-hero-side {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 14px;
  letter-spacing: 0.7em;
  color: rgba(200, 168, 107, 0.55);
}
.hht-hero-side.left { left: 42px; }
.hht-hero-side.right { right: 42px; }
.hht-hero-side:after {
  content: "";
  display: block;
  width: 1px;
  height: 70px;
  margin: 26px auto 0;
  background: linear-gradient(to bottom, var(--hht-gold-dim), transparent);
}

/* 捲動提示 */
.hht-scroll-hint {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  font-family: var(--hht-latin);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: rgba(200, 168, 107, 0.7);
  text-align: center;
}
.hht-scroll-hint span {
  display: block;
  width: 1px;
  height: 46px;
  margin: 12px auto 0;
  background: var(--hht-gold-dim);
  position: relative;
  overflow: hidden;
}
.hht-scroll-hint span:after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--hht-gold);
  animation: hht-drip 2.2s ease-in-out infinite;
}
@keyframes hht-drip {
  0% { top: -50%; }
  100% { top: 110%; }
}

/* Swiper 箭頭:細圓金框,移至右下角(避開兩側直排字) */
.hht-hero .swiper-button-prev,
.hht-hero .swiper-button-next {
  width: 52px;
  height: 52px;
  top: auto;
  bottom: 44px;
  margin-top: 0;
  transform: none;
  border: 1px solid var(--hht-gold-dim);
  border-radius: 50%;
  background: transparent;
  color: var(--hht-gold);
  transition: all 0.3s ease;
}
.hht-hero .swiper-button-prev { left: auto; right: 118px; }
.hht-hero .swiper-button-next { right: 48px; }
.hht-hero .swiper-button-prev:hover,
.hht-hero .swiper-button-next:hover {
  background: var(--hht-gold);
  color: var(--hht-ink);
  border-color: var(--hht-gold);
}
.hht-hero .swiper-button-prev:after,
.hht-hero .swiper-button-next:after { content: none; }

/* =============================================
   07. 特色卡 / 案例卡 / 學理卡
   ============================================= */
/* 三大特色卡(壹貳參) */
.hht-feature-card {
  position: relative;
  height: 100%;
  padding: 56px 38px 44px;
  border: 1px solid rgba(200, 168, 107, 0.22);
  background: linear-gradient(160deg, rgba(200, 168, 107, 0.05), transparent 45%), var(--hht-ink-2);
  transition: all 0.45s ease;
  overflow: hidden;
}
.hht-feature-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--hht-red), var(--hht-gold));
  transition: width 0.5s ease;
}
.hht-feature-card:hover { transform: translateY(-6px); border-color: var(--hht-gold); }
.hht-feature-card:hover:before { width: 100%; }
.hht-feature-card .hht-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 168, 107, 0.4);
}
.hht-feature-card h3 {
  font-size: 24px;
  letter-spacing: 0.24em;
  color: var(--hht-gold-soft);
  margin-bottom: 18px;
}
.hht-feature-card p { color: var(--hht-muted); margin-bottom: 0; }

/* 案例卡 */
.hht-case-card {
  display: block;
  height: 100%;
  background: #fbf8f1;
  border: 1px solid rgba(46, 42, 35, 0.14);
  transition: all 0.4s ease;
}
.hht-case-card:hover {
  transform: translateY(-6px);
  border-color: var(--hht-gold);
  box-shadow: 0 18px 40px rgba(46, 42, 35, 0.12);
}
.hht-case-card .case-img { overflow: hidden; }
.hht-case-card .case-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hht-case-card:hover .case-img img { transform: scale(1.05); }
.hht-case-card .case-body { padding: 28px 26px 30px; }
.hht-case-card .case-cat {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--hht-red);
  border: 1px solid rgba(158, 42, 37, 0.4);
  padding: 4px 12px;
  margin-bottom: 16px;
}
.hht-case-card h4 {
  font-size: 20px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  color: #241f18;
  margin-bottom: 12px;
}
.hht-case-card p {
  font-size: 14px;
  color: var(--hht-muted-dark);
  margin-bottom: 14px;
}
.hht-case-card .case-more {
  font-size: 13px;
  letter-spacing: 0.26em;
  color: var(--hht-gold);
}
.hht-case-card:hover .case-more { color: var(--hht-red); }

/* 深色版案例卡(深色區塊用) */
.hht-sec-dark .hht-case-card { background: var(--hht-ink-3); border-color: rgba(200, 168, 107, 0.2); }
.hht-sec-dark .hht-case-card h4 { color: var(--hht-paper); }
.hht-sec-dark .hht-case-card p { color: var(--hht-muted); }
.hht-sec-dark .hht-case-card .case-cat { color: var(--hht-gold); border-color: var(--hht-gold-dim); }

/* 學理卡(中醫專科化頁) */
.hht-theory-card {
  position: relative;
  height: 100%;
  padding: 44px 34px;
  border: 1px solid rgba(200, 168, 107, 0.22);
  background: var(--hht-ink-2);
}
.hht-theory-card .theory-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--hht-gold);
  border-bottom: 1px solid var(--hht-gold-dim);
  padding-bottom: 6px;
  margin-bottom: 20px;
}
.hht-theory-card h4 { font-size: 21px; letter-spacing: 0.14em; line-height: 1.8; margin-bottom: 14px; }
.hht-theory-card p { font-size: 14px; color: var(--hht-muted); }
.hht-theory-card .theory-source {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(200, 168, 107, 0.25);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--hht-red);
  opacity: 0.9;
}
.hht-sec-paper .hht-theory-card { background: #fbf8f1; border-color: rgba(46, 42, 35, 0.16); }
.hht-sec-paper .hht-theory-card p { color: var(--hht-muted-dark); }

/* 法律資訊頁 */
.hht-legal-block {
  scroll-margin-top: 110px;
  padding: 52px 56px;
  margin-bottom: 36px;
  background: #fbf8f1;
  border: 1px solid rgba(46, 42, 35, 0.14);
}
.hht-legal-block:last-child { margin-bottom: 0; }
.hht-legal-block h2 {
  color: #241f18;
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 28px;
}
.hht-legal-block h3 {
  color: var(--hht-red);
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 12px;
}
.hht-legal-block p,
.hht-legal-block li { color: var(--hht-muted-dark); }
.hht-legal-block .hht-list li:before { background: var(--hht-red); }

/* 條列(金色菱形彈點) */
.hht-list { list-style: none; padding-left: 0; margin-bottom: 0; }
.hht-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}
.hht-list li:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.9em;
  width: 7px;
  height: 7px;
  background: var(--hht-gold);
  transform: rotate(45deg);
}

/* 步驟列(整合照護流程) */
.hht-steps { counter-reset: hht-step; list-style: none; padding: 0; margin: 0; }
.hht-steps li {
  counter-increment: hht-step;
  position: relative;
  padding: 0 0 34px 72px;
}
.hht-steps li:before {
  content: counter(hht-step, cjk-ideographic);
  position: absolute;
  left: 0;
  top: -2px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hht-gold-dim);
  color: var(--hht-gold);
  font-size: 18px;
}
.hht-steps li:after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50px;
  bottom: 8px;
  width: 1px;
  background: var(--hht-gold-faint);
}
.hht-steps li:last-child { padding-bottom: 0; }
.hht-steps li:last-child:after { content: none; }
.hht-steps li h5 { font-size: 18px; letter-spacing: 0.16em; margin-bottom: 6px; }
.hht-steps li p { font-size: 14px; margin-bottom: 0; }

/* 座右銘大字區(直排收尾) */
.hht-motto {
  position: relative;
  padding: 130px 0;
  background-color: #0b0a08;
  background-image:
    radial-gradient(800px 400px at 50% 0%, rgba(200, 168, 107, 0.08), transparent 65%),
    radial-gradient(600px 400px at 85% 100%, rgba(158, 42, 37, 0.07), transparent 60%);
  overflow: hidden;
}
.hht-motto .motto-wrap {
  display: flex;
  flex-direction: row-reverse; /* 直書由右至左:第一句置右 */
  justify-content: center;
  align-items: flex-start;
  gap: clamp(36px, 6vw, 90px);
}
.hht-motto .motto-line {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: 0.5em;
  line-height: 2.2;
  color: var(--hht-paper);
  max-height: none; /* 直排不限高,避免長句折行 */
}
.hht-motto .motto-line.second { margin-top: 64px; color: var(--hht-gold-soft); }
.hht-motto .motto-seal { margin-top: 30px; }

/* =============================================
   08. 內頁 Banner(inner-header)
   ============================================= */
.inner-header {
  position: relative;
  height: auto;
  min-height: 420px;
  padding: 220px 0 110px;
  background-color: var(--hht-ink);
}
.inner-header:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 80% 20%, rgba(200, 168, 107, 0.10), transparent 60%),
    linear-gradient(to bottom, rgba(10, 9, 7, 0.82), rgba(10, 9, 7, 0.66) 55%, var(--hht-ink) 100%);
}
.inner-header .container { position: relative; z-index: 2; }
.inner-header .hht-page-latin {
  display: block;
  font-family: var(--hht-latin);
  font-size: 13px;
  letter-spacing: 0.6em;
  color: var(--hht-gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.inner-header h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  letter-spacing: 0.2em;
  color: var(--hht-paper);
  margin-bottom: 18px;
}
.inner-header .breadcrumb { background: transparent; }
.inner-header .breadcrumb .breadcrumb-item,
.inner-header .breadcrumb .breadcrumb-item a,
.inner-header .breadcrumb .breadcrumb-item:before {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--hht-muted);
}
.inner-header .breadcrumb .breadcrumb-item a:hover { color: var(--hht-gold); }
.inner-header .breadcrumb .breadcrumb-item.active span { color: var(--hht-gold); }
/* 內頁 banner 右側直排頁名 */
.inner-header .hht-vdeco { top: 50%; transform: translateY(-50%); font-size: 18px; }

/* =============================================
   09. 醫師介紹 / 看診時間表
   ============================================= */
.hht-doctor-name {
  font-size: clamp(30px, 3.4vw, 40px);
  letter-spacing: 0.22em;
}
.hht-doctor-name small {
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--hht-gold);
  display: inline-block;
  margin-left: 14px;
}
.hht-badge {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--hht-text-dark);
  border: 1px solid rgba(46, 42, 35, 0.3);
  padding: 6px 16px;
  margin: 0 8px 8px 0;
}
.hht-sec-dark .hht-badge { color: var(--hht-text); border-color: var(--hht-gold-dim); }

/* 資料列(學經歷、證照) */
.hht-cv { list-style: none; padding: 0; margin: 0; }
.hht-cv li {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(46, 42, 35, 0.12);
  font-size: 15px;
}
.hht-cv li:last-child { border-bottom: none; }
.hht-cv .cv-label {
  flex: none;
  width: 92px;
  color: var(--hht-gold);
  letter-spacing: 0.3em;
}
.hht-sec-dark .hht-cv li { border-bottom-color: var(--hht-gold-faint); }

/* 看診時間表 */
.hht-schedule { width: 100%; border-collapse: collapse; }
.hht-schedule th,
.hht-schedule td {
  border: 1px solid rgba(46, 42, 35, 0.16);
  text-align: center;
  padding: 14px 8px;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--hht-text-dark);
}
.hht-schedule thead th {
  background: rgba(200, 168, 107, 0.16);
  color: #241f18;
  font-weight: 600;
}
.hht-schedule tbody th {
  background: rgba(200, 168, 107, 0.08);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #241f18;
}
.hht-schedule .on { color: var(--hht-red); font-weight: 600; }
.hht-schedule .off { color: rgba(46, 42, 35, 0.3); }
.hht-sec-dark .hht-schedule th,
.hht-sec-dark .hht-schedule td { border-color: var(--hht-gold-faint); color: var(--hht-text); }
.hht-sec-dark .hht-schedule thead th,
.hht-sec-dark .hht-schedule tbody th { background: rgba(200, 168, 107, 0.1); color: var(--hht-gold-soft); }
.hht-sec-dark .hht-schedule .on { color: var(--hht-gold-soft); }
.hht-sec-dark .hht-schedule .off { color: rgba(216, 209, 194, 0.25); }

/* 聯絡資訊卡 */
.hht-info-card {
  height: 100%;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(46, 42, 35, 0.16);
  background: #fbf8f1;
  transition: all 0.4s ease;
}
.hht-info-card:hover { border-color: var(--hht-gold); transform: translateY(-4px); }
.hht-info-card .info-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hht-gold);
  border-radius: 50%;
  color: var(--hht-gold);
  font-size: 20px;
}
.hht-info-card h5 { font-size: 18px; letter-spacing: 0.3em; margin-bottom: 10px; }
.hht-info-card p { font-size: 15px; color: var(--hht-muted-dark); margin-bottom: 0; }

/* 地圖佔位 */
.hht-map {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--hht-gold-dim);
  background:
    linear-gradient(135deg, rgba(200, 168, 107, 0.05), transparent 50%),
    var(--hht-ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--hht-muted);
  letter-spacing: 0.3em;
}
.hht-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9);
}

/* =============================================
   10. 案例內頁
   ============================================= */
.hht-article { max-width: 860px; margin: 0 auto; }
.hht-article-block { margin-bottom: 64px; }
.hht-article-block .block-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.hht-article-block .block-label .num {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hht-gold);
  color: var(--hht-gold);
  font-size: 20px;
  flex: none;
}
.hht-article-block .block-label h3 {
  font-size: 24px;
  letter-spacing: 0.3em;
  margin-bottom: 0;
}
.hht-article-block p { color: var(--hht-text-dark); }
.hht-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--hht-muted);
}

/* 聲明框(個案分享 / 免責) */
.hht-notice {
  border: 1px solid rgba(158, 42, 37, 0.35);
  background: rgba(158, 42, 37, 0.05);
  padding: 26px 30px;
  font-size: 14px;
  line-height: 2;
  color: var(--hht-muted-dark);
}
.hht-notice strong {
  display: block;
  color: var(--hht-red);
  letter-spacing: 0.3em;
  margin-bottom: 8px;
}
.hht-sec-dark .hht-notice { color: var(--hht-muted); background: rgba(158, 42, 37, 0.08); }

/* 案例分類篩選 */
.hht-filter { display: flex; flex-wrap: wrap; gap: 12px; }
.hht-filter button {
  font-family: var(--hht-serif);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid rgba(46, 42, 35, 0.25);
  color: var(--hht-text-dark);
  transition: all 0.3s ease;
  cursor: pointer;
}
.hht-filter button:hover,
.hht-filter button.active {
  border-color: var(--hht-red);
  background: var(--hht-red);
  color: #f4e9d8;
}

/* 引言(醫師的話) */
.hht-quote {
  position: relative;
  padding: 0 0 0 42px;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.18em;
  line-height: 2.2;
  color: var(--hht-paper);
}
.hht-quote:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--hht-gold), transparent);
}

/* =============================================
   11. Footer / 免責聲明
   ============================================= */
.footer {
  background: #0b0a08 !important;
  border-top: 1px solid var(--hht-gold-faint);
  color: var(--hht-muted);
}
.footer .min-footer { padding: 80px 0 50px; }
.footer h5 {
  font-size: 17px;
  letter-spacing: 0.34em;
  color: var(--hht-gold-soft);
  margin-bottom: 24px;
}
.footer .footer-link ul li { margin-bottom: 10px; }
.footer .footer-link ul li a,
.footer a {
  color: var(--hht-muted);
  font-size: 14px;
  letter-spacing: 0.14em;
}
.footer .footer-link ul li a:hover,
.footer a:hover { color: var(--hht-gold); }
.footer .footer-contact-info ul li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--hht-muted);
}
.footer .footer-contact-info ul li i { margin-top: 8px; }
.footer .social-icon ul { display: flex; gap: 10px; padding: 0; list-style: none; margin: 0; }
.footer .social-icon ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--hht-gold-dim);
  color: var(--hht-gold);
  font-size: 14px;
}
.footer .social-icon ul li a:hover { background: var(--hht-gold); color: var(--hht-ink); }

/* 免責聲明帶 */
.hht-footer-disclaimer {
  border-top: 1px solid rgba(200, 168, 107, 0.12);
  padding: 26px 0;
}
.hht-footer-disclaimer p {
  font-size: 12.5px;
  line-height: 2;
  letter-spacing: 0.1em;
  color: rgba(151, 144, 127, 0.8);
  margin: 0;
}
.hht-footer-disclaimer strong { color: var(--hht-gold); letter-spacing: 0.3em; }

.footer .footer-bottom {
  border-top: 1px solid rgba(200, 168, 107, 0.12);
  padding: 22px 0;
  background: transparent;
}
.footer .footer-bottom p { font-size: 13px; letter-spacing: 0.12em; color: rgba(151, 144, 127, 0.85); }

/* =============================================
   12. 雜項
   ============================================= */
#pre-loader { background-color: var(--hht-ink); }
#pre-loader img {
  width: 72px;
  filter: grayscale(1) sepia(1) hue-rotate(-12deg) saturate(2.4) brightness(0.92);
}

.back-to-top a,
#back-to-top a {
  background: transparent;
  border: 1px solid var(--hht-gold-dim);
  color: var(--hht-gold);
}
.back-to-top a:hover,
#back-to-top a:hover { background: var(--hht-gold); color: var(--hht-ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--hht-ink); }
::-webkit-scrollbar-thumb { background: #3a352c; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--hht-gold); }

/* 區塊大留白(雜誌感,蓋掉預設 100px) */
.space-ptb { padding: 120px 0; }
.space-pt { padding: 120px 0 0; }
.space-pb { padding: 0 0 120px; }

/* =============================================
   13. RWD
   ============================================= */
@media (max-width: 1199px) {
  .hht-hero-side { display: none; }
  .hht-vdeco { display: none; }
}

@media (max-width: 991px) {
  .space-ptb { padding: 80px 0; }
  .space-pt { padding: 80px 0 0; }
  .space-pb { padding: 0 0 80px; }
  .header .main-header { padding: 0 20px; }

  /* 行動版 Header：只保留主要 top menu 按鈕，避免右側 CTA 擠壓 Logo/文字 */
  .header .navbar .add-listing {
    display: none;
  }
  .header .navbar .navbar-brand {
    max-width: calc(100% - 64px);
    flex: 0 1 auto;
  }
  .header .navbar .navbar-toggler {
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    padding: 0;
    background: var(--hht-red);
    border: 1px solid rgba(200, 168, 107, 0.35);
    color: #f4ead9;
    z-index: 10001;
  }
  .header .navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(200, 168, 107, 0.22);
  }

  /* 行動版收合選單:深色 */
  .header .navbar-collapse {
    background: var(--hht-ink-2);
    border-top: 1px solid var(--hht-gold-faint);
    border-bottom: 1px solid var(--hht-gold-faint);
    padding: 18px 24px;
    box-sizing: border-box;
  }
  .header .navbar .navbar-nav > li { margin-right: 0; }
  .header .navbar .navbar-nav > li .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    line-height: 1.7;
  }
  .header .navbar .navbar-nav > li .nav-link span {
    min-width: 0;
  }

  /* 直排標題轉橫排 */
  .hht-vtitle {
    writing-mode: horizontal-tb;
    max-height: none;
    margin-bottom: 28px;
    line-height: 1.7;
  }
  .hht-motto .motto-line { font-size: 22px; }
  .hht-motto .motto-line.second { margin-top: 44px; }
  .inner-header { min-height: 340px; padding: 170px 0 80px; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .hht-hero .swiper-slide,
  .banner-01.hht-hero .swiper-slide {
    min-height: 560px;
    padding: 104px 0 72px;
  }
  .hht-hero h1 {
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 1.55;
    letter-spacing: 0.1em;
  }
  .banner-01.hht-hero .details-text {
    display: block;
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.12em;
  }
  .hht-hero .hht-hero-pulse,
  .hht-hero .hht-hero-integrated { background-position: 62% center; }
  .hht-hero .hht-hero-pulse:before,
  .hht-hero .hht-hero-integrated:before {
    background: linear-gradient(90deg, rgba(10, 9, 7, 0.92), rgba(10, 9, 7, 0.68)),
      linear-gradient(to bottom, transparent 48%, var(--hht-ink) 100%);
  }
  .hht-hero .swiper-button-prev,
  .hht-hero .swiper-button-next { display: none; }
  .hht-scroll-hint { display: none; }
  .hht-logo-header { width: clamp(98px, 30vw, 118px); }
  .header.is-sticky .navbar .navbar-brand img.hht-logo-header { width: 108px; }
  .hht-feature-card { padding: 44px 28px 36px; }
  .hht-legal-block { padding: 34px 24px; }
  .hht-motto { padding: 90px 0; }
  /* 座右銘改橫排雙行 */
  .hht-motto .motto-wrap { flex-direction: column; align-items: center; gap: 26px; }
  .hht-motto .motto-line,
  .hht-motto .motto-line.second {
    writing-mode: horizontal-tb;
    max-height: none;
    margin-top: 0;
    text-align: center;
    font-size: 20px;
    letter-spacing: 0.3em;
    line-height: 2;
  }
  .hht-schedule th, .hht-schedule td { padding: 10px 4px; font-size: 13px; }
  .hht-cv .cv-label { width: 76px; letter-spacing: 0.2em; }
  .hht-article-block { margin-bottom: 44px; }

  /* service.html：手機版 CTA 標題避免因字距過大壓到左右邊界 */
  .hht-service-cta {
    padding: 64px 0 !important;
  }
  .hht-service-cta .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hht-service-cta h2 {
    max-width: 100%;
    font-size: clamp(22px, 6.2vw, 28px) !important;
    line-height: 1.75;
    letter-spacing: 0.12em !important;
    text-indent: 0.12em;
    overflow-wrap: break-word;
  }
  .hht-service-cta .btn,
  .hht-doctor-quote-actions .btn,
  .hht-booking-actions .btn {
    display: flex;
    width: 100%;
    max-width: 320px;
    align-items: center;
    justify-content: center;
    padding-left: 24px;
    padding-right: 24px;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    white-space: nowrap;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
  }
  .hht-service-cta .container,
  .hht-doctor-quote-actions,
  .hht-booking-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }
  .hht-service-cta h2 {
    flex: 0 0 100%;
  }
  .page-service h2,
  .page-service .section-title,
  .page-service .section-title .title {
    text-align: center;
  }

  /* index.html：首頁手機版標題與指定 CTA 對齊 */
  .page-home h2,
  .page-home .section-title,
  .page-home .section-title .title {
    text-align: center;
  }
  .hht-home-origin-logo.hht-origin-logo.d-md-none {
    display: block;
    margin: 0 auto 24px;
  }
  .hht-home-origin-actions {
    text-align: right;
  }
  .hht-home-booking-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }
  .hht-home-booking-actions .btn {
    display: flex;
    width: 100%;
    max-width: 320px;
    align-items: center;
    justify-content: center;
    padding-left: 24px;
    padding-right: 24px;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    white-space: nowrap;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hht-motto .text-center > .btn,
  .hht-article > .d-flex .btn {
    display: inline-flex;
    width: 100%;
    max-width: 320px;
    align-items: center;
    justify-content: center;
    padding-left: 24px;
    padding-right: 24px;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    white-space: nowrap;
  }

  .hht-article > .d-flex.justify-content-between {
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 12px;
    text-align: center;
  }

  /* about-us.html：手機版命名由來 logo 置中 */
  .hht-about-origin-logo.hht-origin-logo.d-md-none {
    display: block;
    margin: 0 auto 24px;
  }

  /* contact-us.html：手機版標題置中、預約提醒文字和按鈕拉開 */
  .hht-contact-transport-section .section-title,
  #booking .section-title {
    text-align: center;
  }
  .hht-contact-transport-section .section-title .title,
  #booking .section-title .title {
    text-align: center;
  }
  #booking .hht-booking-actions + p {
    margin-top: 14px;
    text-align: center;
  }

  /* team.html：門診時間表上方補空間；醫師的話 CTA 置中 */
  .hht-team-schedule-section {
    padding-top: 54px;
  }

  /* blog.html：手機版案例卡「閱讀個案」靠右 */
  #caseGrid .hht-case-card .case-more {
    display: block;
    text-align: right;
  }

  /* 行動版 Footer：用置中欄位容器取代整塊硬置中，避免內容漂移或過窄 */
  .footer .min-footer {
    padding: 52px 0 34px;
    text-align: center;
  }
  .footer .min-footer .row {
    justify-content: center;
    row-gap: 34px;
  }
  .footer .min-footer .row > [class*="col-"] {
    width: 100%;
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .footer .hht-logo-footer {
    margin-left: auto;
    margin-right: auto;
  }
  .footer .d-flex.align-items-center,
  .footer .social-icon ul {
    justify-content: center;
  }
  .footer h5 {
    margin-bottom: 14px;
  }
  .footer .footer-link ul,
  .footer .min-footer ul {
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .footer .footer-contact-info ul li {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .footer .footer-contact-info ul li i {
    flex: 0 0 18px;
    width: 18px;
    margin-top: 7px;
    text-align: center;
  }
  .footer .footer-contact-info ul li span {
    flex: 1 1 auto;
    min-width: 0;
  }
  .hht-footer-disclaimer,
  .footer .footer-bottom {
    text-align: center;
  }
  .back-to-top a,
  #back-to-top a {
    display: none !important;
  }
}

@media (max-width: 400px) {
  .hht-hero .swiper-slide,
  .banner-01.hht-hero .swiper-slide {
    min-height: 520px;
    padding: 92px 0 60px;
  }
  .hht-hero .btn {
    display: flex;
    width: 100%;
    max-width: 320px;
    align-items: center;
    justify-content: center;
    padding-left: 24px;
    padding-right: 24px;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    white-space: nowrap;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .hht-hero .btn + .btn {
    margin-top: 12px;
  }
  .hht-logo-header { width: 96px; }
  .header.is-sticky .navbar .navbar-brand img.hht-logo-header { width: 96px; }
  .header .navbar .navbar-toggler {
    right: 12px;
    width: 40px;
    height: 40px;
  }
  .header .navbar .navbar-brand {
    max-width: calc(100% - 58px);
  }
}

@media (max-width: 360px) {
  .hht-hero .btn,
  .hht-service-cta .btn,
  .hht-doctor-quote-actions .btn,
  .hht-booking-actions .btn,
  .hht-home-booking-actions .btn,
  .hht-motto .text-center > .btn,
  .hht-article > .d-flex .btn {
    max-width: 300px;
    padding-left: 20px;
    padding-right: 20px;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }
}
