/*
  千陽號行程頁樣式 —— standalone 發佈頁(web_page.html.j2)與 WordPress 貼文
  (wp_content.html.j2 + WP 外掛)共用同一份。
  所有選擇器一律 scope 在 .sunny-tour 底下,理由有二:
  ① WordPress 的 KSES 會剝掉貼文裡的 <style>,樣式只能由 WP 外掛以整站層級載入 ——
     不 scope 就會污染佈景主題(我們的 body/a/img 規則蓋掉人家全站);
  ② 反向隔離:scope 讓佈景主題的全域樣式較難滲進行程區塊(字體 / 行高 / 色彩
     都在 .sunny-tour 基準規則重新定錨)。
  standalone 頁把整個 body 內容包在 <div class="sunny-tour"> 裡,同一份樣式兩邊生效。
  ⚠ rem 基準(18px)只有設在 html 才作數:standalone 由殼層(web_page.html.j2)補
    html { font-size: 18px },WP 版 rem 跟佈景主題的根字級走(常見 16px,整體
    略小,可接受;要對齊得動主題,不在本檔範圍)。
*/
/* CSS 變數:原 :root 定義移到 .sunny-tour(scope 內全取用得到,也不外漏給主題) */
.sunny-tour {
  --blue: #14489e;
  --blue-bright: #1f6fd6;
  --blue-dark: #0c3a7d;
  --blue-deep: #082a5f;
  --gray-bg: #f5f5f5;
  --gold: #fac710;
  --gold-deep: #8a6a00;  /* 深金:星級/特色副標等文字用;原亮金對白底僅 2.15:1(A11y 不過),調到 5.07:1 */
  --gold-soft: #fdf3d3;
  /* 金底膠囊(hero 大標 / 開放報名中 / 專員鈕)的字色;各站由 palette_css 的 on_gold_text 自動
     覆蓋成「保證對 gold 讀得到」的值(預設千陽號亮金→深藍夠對比)。 */
  --on-gold: #0c3a7d;
  --ink: #1c2b46;
  --muted: #5b6781;
  --card: #ffffff;
  --line: #e3e8f2;
  --bg: #eef2f9;
  --red: #c0392b;
  /* 字體也變數化:WordPress 端各國站可覆蓋成自己的品牌字(見 sunny-tour-theme.css) */
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-display: "Roboto", sans-serif;
}
/* 原 * 全域規則:含 .sunny-tour 自己(邊框盒模型是整套版面度量的前提) */
.sunny-tour, .sunny-tour * { box-sizing: border-box; }
/* 原 body 基準:字體 / 行高 / 底色定錨在 .sunny-tour(WP 裡沒有我們的 body 可設);
   基準字 18px(較大、適合長輩閱讀)的 rem 根值見檔頭說明 */
.sunny-tour {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: var(--font);
  line-height: 1.85; font-size: 1rem;
}
.sunny-tour img { display: block; max-width: 100%; }
.sunny-tour .wrap { width: min(1080px, 92vw); margin: 0 auto; }
.sunny-tour a { color: var(--blue); }

/* top nav bar */
  .sunny-tour .navbar { background: #fff; border-bottom: 1px solid var(--line); }
  .sunny-tour .navbar .wrap { display: flex; align-items: center; gap: 16px; padding: 12px 0; flex-wrap: wrap; }
  .sunny-tour .nav-logo { display: flex; align-items: center; gap: 12px; }
  .sunny-tour .nav-logo img { height: 50px; width: auto; display: block; }
  .sunny-tour .logo-ph {
    width: 150px; height: 50px; border-radius: 8px; color: #fff; font-size: .78rem;
    background: linear-gradient(135deg, #cdd8ec, #aebfdf); display: inline-flex; align-items: center; justify-content: center;
  }
  .sunny-tour .nav-warn {
    background: #fff; border: 1px solid var(--red); color: var(--red); font-weight: 700;
    font-size: .78rem; padding: 5px 12px; border-radius: 6px; text-decoration: none; line-height: 1.3;
  }
  .sunny-tour .nav-links { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; }
  .sunny-tour .nav-links a { color: var(--blue-dark); font-weight: 700; text-decoration: none; padding: 2px 22px; border-left: 1px solid var(--line); line-height: 1.2; }
  .sunny-tour .nav-links a:first-child { border-left: none; padding-left: 0; }
  .sunny-tour .nav-links a:hover { color: var(--blue); }

  /* hero (big landscape image + yellow title pill) — fills the first screen */
  .sunny-tour .hero {
    position: relative; min-height: calc(100vh - 76px);
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
    background-size: cover; background-position: center;
    color: #fff; text-align: center; padding: 60px 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  .sunny-tour .hero-sub {
    color: var(--gold); font-weight: 700; letter-spacing: 3px; line-height: 1.55; max-width: 90%;
    font-size: clamp(1.3rem, 3.8vw, 2.3rem); margin-bottom: 18px; text-shadow: 0 2px 10px rgba(0,0,0,.5);
  }
  /* 每個「關鍵字｜」不斷行 → 分隔線只會落在行尾、不會孤兒在行首(手機窄螢幕才明顯) */
  .sunny-tour .hero-sub .kw, .sunny-tour .intro .intro-sub .kw { white-space: nowrap; }
  .sunny-tour .hero-pill {
    display: inline-block; max-width: 96vw; margin: 0; background: var(--gold); color: var(--on-gold);
    font-weight: 900; font-size: clamp(2.6rem, 7.6vw, 5.2rem); letter-spacing: 3px;
    padding: 22px 76px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  }
  .sunny-tour .hero-en { color: #fff; opacity: .9; font-size: 1.02rem; margin: 16px 0 0; letter-spacing: 1px; font-style: italic; text-shadow: 0 2px 8px rgba(0,0,0,.5); }

  /* floating right rail (LINE + back to top) — fixed, visible while scrolling */
  .sunny-tour .floatrail { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 900; display: flex; flex-direction: column; gap: 10px; }
  .sunny-tour .fr-btn {
    writing-mode: vertical-rl; text-orientation: upright; text-decoration: none;
    border-radius: 16px; padding: 15px 9px; font-weight: 700; letter-spacing: 2px;
    box-shadow: 0 6px 18px rgba(0,0,0,.16); text-align: center;
    transition: transform .12s, box-shadow .12s;
  }
  .sunny-tour .fr-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.22); }
  .sunny-tour .fr-line { background: #0a8038; color: #fff; writing-mode: horizontal-tb; display: flex; flex-direction: column; align-items: center; gap: 7px; }
  .sunny-tour .fr-line .fr-txt { writing-mode: vertical-rl; text-orientation: upright; letter-spacing: 2px; }
  /* LINE 徽章:白底綠字圓角(對齊千陽號官網 LINE 客服鈕),放在「線上客服」直排字上方 */
  .sunny-tour .fr-line-logo {
    writing-mode: horizontal-tb; width: auto; height: auto;
    background: #fff; color: #0a8038;
    font: 900 0.62rem/1 Arial, "Helvetica Neue", sans-serif; letter-spacing: 0.3px;
    padding: 3px 5px; border-radius: 7px;
  }
  .sunny-tour .fr-top { background: var(--ink); color: #fff; writing-mode: horizontal-tb; border-radius: 50%; width: 46px; height: 46px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .62rem; line-height: 1; }
  .sunny-tour .fr-top .arr { font-size: 1rem; }

  /* blue intro band (title / subtitle / price / CTA + two-image frame) */
  .sunny-tour .intro { background: var(--blue); color: #fff; text-align: center; padding: 54px 0 60px; }
  .sunny-tour .intro h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); font-weight: 900; margin: 0; letter-spacing: 1px; }
  .sunny-tour .intro .intro-sub { font-size: clamp(1.3rem, 3.4vw, 1.9rem); margin: 12px 0 22px; }
  .sunny-tour .intro .intro-price { color: var(--gold); font-weight: 900; font-size: clamp(2.1rem, 5.6vw, 3.3rem); }
  .sunny-tour .cta-pill {
    display: inline-block; margin-top: 20px; background: var(--gold); color: var(--on-gold);
    font-weight: 900; font-size: 1.6rem; padding: 15px 56px; border-radius: 999px;
    text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.2);
  }
  .sunny-tour .introframe {
    width: min(1360px, 94vw); margin: 40px auto 0;
    border: 3px solid rgba(255,255,255,.6); border-radius: 22px; padding: 34px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: center;
  }
  /* 兩欄等寬(1fr)→ 都給 16:9 就自動等高;不用 min-height(那會把名片撐高、contain 留白邊)。
     min-width:0 允許縮不撐破格子。 */
  .sunny-tour .introframe img, .sunny-tour .introframe .img-ph { width: 100%; min-width: 0; aspect-ratio: 16 / 9; border-radius: 14px; object-fit: cover; }
  /* 名片已裁成 16:9,框也是 16:9 → cover 剛好填滿:不裁掉邊緣內容、也不留白邊(等寬等高、乾淨) */
  .sunny-tour .introframe .nc-img { object-fit: cover; }
  .sunny-tour .introframe .ph-scene { aspect-ratio: 16 / 9; }
  .sunny-tour .introframe .ph-card { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #e7eefb, #cdd8ec); }

  /* section frame */
  .sunny-tour .sec { padding: 60px 0; }
  .sunny-tour .sec--blue { background: var(--blue); color: #fff; }
  .sunny-tour .sec--gold { background: var(--gold-soft); }
  /* full-width white rounded banner header with blue text (mirrors the site) */
  .sunny-tour .sechead { margin: 0 0 36px; }
  .sunny-tour .sechead-pill {
    display: block; width: 100%; text-align: center;
    background: #fff; color: var(--blue); font-weight: 900;
    font-size: clamp(1.3rem, 3.6vw, 1.9rem); letter-spacing: 4px;
    padding: 14px 24px; border-radius: 999px; box-shadow: 0 6px 18px rgba(12,58,125,.18);
  }

  /* departures */
  .sunny-tour .dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .sunny-tour .date-card {
    background: var(--card); color: var(--ink); border-radius: 10px; padding: 16px 16px;
    text-align: left; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow-wrap: anywhere;  /* 過長字串(備註/狀態)強制換行,卡片自動長高,不衝出也不切掉 */
  }
  .sunny-tour .date-card:first-child { border-top: 3px solid var(--gold); }
  /* 出發日期卡有報名連結時整張變按鈕(a):去底線、繼承色、hover 微浮起提示可點 */
  .sunny-tour a.date-link { display: block; text-decoration: none; color: var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s; }
  .sunny-tour a.date-link .date-when { color: var(--ink); }
  .sunny-tour a.date-link:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.16); }
  .sunny-tour .date-when { font-size: 1.12rem; font-weight: 700; }
  .sunny-tour .date-price { color: var(--red); font-weight: 700; margin-top: 8px; font-size: 1.04rem; white-space: nowrap; }
  .sunny-tour .date-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
  .sunny-tour .date-status {
    display: inline-block; margin-top: 12px; background: var(--red); color: #fff;
    font-weight: 700; font-size: .82rem; padding: 4px 14px; border-radius: 6px;
    max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere;  /* 長狀態也不外溢 */
  }
  .sunny-tour .date-status.st-go { background: #1a7f3c; }   /* 保證出團 / 成團 = 綠 */
  .sunny-tour .date-status.st-full { background: var(--muted); }  /* 已額滿 = 灰 */
  .sunny-tour .date-status.st-hot { background: var(--red); }     /* 熱烈報名 / 其他 = 紅 */

  /* featured hotels (3-image gallery) */
  .sunny-tour .hotels { display: flex; flex-direction: column; gap: 30px; }
  .sunny-tour .hotel-card { background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.1); }
  /* 左右滑輪播(固定 3 圖):scroll-snap + 左右箭頭 */
  .sunny-tour .hotel-gallery { position: relative; }
  .sunny-tour .hotel-track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  .sunny-tour .hotel-track::-webkit-scrollbar { height: 7px; }
  .sunny-tour .hotel-track::-webkit-scrollbar-thumb { background: rgba(0,0,0,.25); border-radius: 4px; }
  .sunny-tour .hotel-track > img, .sunny-tour .hotel-track > .img-ph {
    flex: 0 0 100%; scroll-snap-align: center; width: 100%;
    height: clamp(300px, 40vw, 540px); object-fit: cover;
  }
  .sunny-tour .hotel-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    background: rgba(8,42,95,.5); color: #fff; border: none; width: 48px; height: 48px;
    border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer;
  }
  .sunny-tour .hotel-nav:hover { background: rgba(8,42,95,.78); }
  .sunny-tour .hotel-nav.prev { left: 14px; } .sunny-tour .hotel-nav.next { right: 14px; }
  .sunny-tour .hotel-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
  .sunny-tour .hotel-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
  .sunny-tour .hotel-dots span.active { background: #fff; }
  .sunny-tour .img-ph { background: linear-gradient(135deg, #cdd8ec, #aebfdf); }
  .sunny-tour .hotel-body { padding: 22px 26px 26px; text-align: center; }
  .sunny-tour .hotel-name { font-size: 1.4rem; font-weight: 900; color: var(--blue); margin: 0 0 4px; }
  .sunny-tour .hotel-name .star-tag { color: var(--gold-deep); margin-right: 4px; }
  .sunny-tour .stars { color: var(--gold-deep); letter-spacing: 2px; font-size: 1.1rem; }
  .sunny-tour .hotel-body p { margin: 12px auto 0; color: var(--ink); max-width: 760px; white-space: pre-line; }

  /* feature highlights (numbered, alternating big number) */
  .sunny-tour .fgroup-title {
    text-align: center; font-size: 1.4rem; font-weight: 900; color: var(--blue);
    margin: 44px 0 24px; letter-spacing: 2px;
  }
  .sunny-tour .fgroup-title::before { content: "★ "; color: var(--gold-deep); }
  .sunny-tour .sec--blue .fgroup-title { color: var(--gold); }
  .sunny-tour .features { display: flex; flex-direction: column; gap: 30px; }
  .sunny-tour .feature {
    background: var(--card); color: var(--ink); border-radius: 18px; overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,.12); padding-bottom: 6px;
  }
  .sunny-tour .feature-head { display: flex; align-items: center; gap: 22px; padding: 24px 30px 18px; }
  .sunny-tour .feature-no {
    font-family: var(--font-display); font-size: 5rem; font-weight: 900; line-height: .9;
    color: var(--blue-bright); flex: none;
  }
  .sunny-tour .feature-kw { font-size: 1.5rem; font-weight: 900; letter-spacing: 1px; color: var(--blue-dark); }
  .sunny-tour .feature-kw .pin { color: var(--gold-deep); margin-right: 8px; }
  .sunny-tour .feature-sub { display: block; font-size: 1rem; font-weight: 600; font-style: italic; color: var(--gold-deep); letter-spacing: .5px; margin-top: 4px; }
  .sunny-tour .feature-img { width: 100%; height: clamp(300px, 34vw, 480px); object-fit: cover; }
  .sunny-tour .feature-body { padding: 18px 30px 22px; }
  .sunny-tour .feature-body ul { margin: 0; padding-left: 4px; list-style: none; }
  .sunny-tour .feature-body li { margin: 7px 0; padding-left: 22px; position: relative; }
  .sunny-tour .feature-body li::before { content: "●"; color: var(--gold-deep); position: absolute; left: 0; font-size: .7em; top: .35em; }
  .sunny-tour .feature-body p { margin: 0 0 8px; }

  /* flights (card with leg / time / airport / connector) */
  .sunny-tour .flightcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.08); overflow: hidden; }
  .sunny-tour .flightcard-head { background: #f4f7fc; padding: 14px 24px; font-weight: 900; color: var(--blue); border-bottom: 1px solid var(--line); }
  .sunny-tour .flightcard-head .note { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 10px; }
  .sunny-tour .flight-tbd { padding: 24px; color: var(--muted); text-align: center; line-height: 1.7; }
  .sunny-tour .flight-row { display: grid; grid-template-columns: minmax(150px, 1fr) 1fr auto 1fr; gap: 18px; align-items: center; padding: 20px 24px; border-top: 1px solid var(--line); }
  .sunny-tour .flight-row:first-of-type { border-top: none; }
  .sunny-tour .flight-leg { background: var(--blue); color: #fff; font-weight: 700; padding: 4px 16px; border-radius: 6px; display: inline-block; }
  .sunny-tour .fl-meta { margin-top: 8px; }
  .sunny-tour .fl-meta .airline { font-weight: 700; }
  .sunny-tour .fl-meta .fno { color: var(--muted); margin-left: 6px; }
  .sunny-tour .fl-meta .fday { color: var(--muted); font-size: .85rem; display: block; }
  .sunny-tour .fl-point { text-align: center; }
  .sunny-tour .fl-lbl { display: none; }  /* 桌機:欄位排版已清楚(左去右抵),不顯標籤;手機才顯「起飛/抵達」 */
  .sunny-tour .fl-time { font-size: 1.7rem; font-weight: 900; color: var(--ink); line-height: 1.1; }
  .sunny-tour .fl-time sup { color: var(--red); font-size: .55em; }
  .sunny-tour .fl-air { color: var(--muted); margin-top: 4px; font-size: .92rem; }
  .sunny-tour .fl-conn { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--blue); }
  .sunny-tour .fl-dur { font-size: 1.15rem; font-weight: 700; color: var(--blue-dark); }
  .sunny-tour .fl-line { display: flex; align-items: center; gap: 8px; }
  .sunny-tour .fl-line::before, .sunny-tour .fl-line::after { content: ""; height: 1px; width: 34px; background: var(--line); }

  /* day-by-day */
  .sunny-tour .day { margin-bottom: 34px; }
  .sunny-tour .day-pill {
    background: #fff; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 999px;
    padding: 11px 24px; display: flex; gap: 14px; align-items: center; cursor: pointer;
    box-shadow: 0 4px 12px rgba(8,42,95,.12); margin-bottom: 18px; user-select: none;
  }
  .sunny-tour .day-pill .pno { font-weight: 900; color: var(--blue); letter-spacing: 1px; flex: none; }
  .sunny-tour .day-pill .proute { font-weight: 700; color: var(--blue); font-size: 1rem; }
  .sunny-tour .day-pill .pmark {
    margin-left: auto; flex: none; color: var(--blue); font-size: 1rem; font-weight: 900; line-height: 1;
    border: 1.5px solid var(--blue); border-radius: 6px; width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
  }
  .sunny-tour .day-pill .pmark::before { content: "−"; }            /* 展開 = 減號 */
  .sunny-tour .day.collapsed .pmark::before { content: "+"; }        /* 收起 = 加號(可展開) */
  .sunny-tour .day.collapsed .day-body { display: none; }
  .sunny-tour .day.collapsed .day-pill { margin-bottom: 0; }
  .sunny-tour .day-body { background: var(--card); color: var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,.16); }
  .sunny-tour .day-title { text-align: center; font-size: 1.6rem; font-weight: 900; color: var(--blue); margin: 24px 20px 4px; }
  .sunny-tour .day-route2 { text-align: center; color: var(--blue); font-weight: 500; margin: 0 20px 16px; }
  .sunny-tour .day-banner { width: 100%; max-height: 380px; object-fit: cover; }
  .sunny-tour .day-narr { padding: 22px 30px 6px; margin: 0; white-space: pre-line; }
  .sunny-tour .day-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 30px 6px; }
  .sunny-tour .day-photo { margin: 0; }
  .sunny-tour .day-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; }
  .sunny-tour .day-photo figcaption { margin-top: 10px; }
  .sunny-tour .day-photo .dp-title { display: block; font-weight: 700; color: var(--blue-dark); font-size: 1rem; letter-spacing: .01em; }
  .sunny-tour .day-photo .dp-cap { display: block; color: var(--muted); font-size: .9rem; line-height: 1.7; margin-top: 3px; }
  .sunny-tour .day-atts { padding: 12px 30px 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .sunny-tour .day-att {
    background: var(--gold-soft); color: var(--blue-dark); border-radius: 8px;
    padding: 5px 12px; font-size: .9rem; font-weight: 500;
  }
  .sunny-tour .day-att .visit { color: var(--gold-deep); font-weight: 700; margin-left: 4px; font-size: .82em; }
  .sunny-tour .day-meals {
    display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center;
    border-top: 1px solid var(--line); margin: 18px 30px 0; padding: 16px 0 22px;
  }
  .sunny-tour .day-meals .m { font-size: .96rem; }
  .sunny-tour .day-meals .m b { font-weight: 700; }
  .sunny-tour .day-meals .acc { color: var(--blue); font-weight: 700; flex-basis: 100%; }

  /* fees / notes (stacked blocks) */
  .sunny-tour .fee-blocks { display: flex; flex-direction: column; gap: 20px; }
  .sunny-tour .fee-col { background: var(--card); border-radius: 14px; padding: 22px 28px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
  .sunny-tour .fee-col h3 { margin: 0 0 12px; border-left: 5px solid var(--gold); padding-left: 12px; font-size: 1.2rem; color: var(--blue-dark); }
  .sunny-tour .fee-col ul { margin: 0; padding-left: 20px; }
  .sunny-tour .fee-col li { margin: 6px 0; }
  .sunny-tour .fee-note { color: var(--muted); white-space: pre-line; }

  /* 專員隨時在線 CTA(hover 變一對一諮詢) */
  .sunny-tour .agent-cta { text-align: center; }
  .sunny-tour .agent-btn {
    display: inline-block; background: var(--gold); color: var(--on-gold); font-weight: 900;
    font-size: clamp(1.6rem, 4vw, 2.4rem); padding: 22px 72px; border-radius: 14px;
    text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.22); transition: background .15s;
  }
  .sunny-tour .agent-btn .t2 { display: none; }
  .sunny-tour .agent-btn:hover { background: var(--gold-deep); }
  .sunny-tour .agent-btn:hover .t1 { display: none; }
  .sunny-tour .agent-btn:hover .t2 { display: inline; }

  /* footer(3 欄 + 藍色 copyright bar) */
  .sunny-tour .foot { background: var(--gray-bg); color: var(--ink); padding: 46px 20px 34px; }
  .sunny-tour .foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; }
  .sunny-tour .foot-rep { color: var(--red); font-weight: 700; margin-bottom: 6px; }
  .sunny-tour .foot-company { color: var(--muted); font-size: .9rem; white-space: pre-line; margin-top: 12px; line-height: 1.9; }
  .sunny-tour .foot-co-name { color: var(--ink); font-weight: 800; font-size: 1rem; }
  .sunny-tour .foot-co-lic { display: inline-block; background: #e0e3e8; color: #5a6b7a; font-size: .72rem;
    padding: 1px 7px; border-radius: 5px; vertical-align: middle; white-space: nowrap; }
  .sunny-tour .foot-mid { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
  .sunny-tour .foot-logo { height: 36px; width: auto; }
  .sunny-tour .btn-fb, .sunny-tour .btn-line {
    display: inline-block; color: #fff; font-weight: 700; padding: 9px 22px;
    border-radius: 8px; text-decoration: none;
  }
  .sunny-tour .btn-fb { background: #1877f2; } .sunny-tour .btn-line { background: #0a8038; }
  .sunny-tour .foot-h { color: var(--blue); font-weight: 900; margin-bottom: 10px; font-size: 1.1rem; }
  .sunny-tour .foot-link { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
  .sunny-tour .foot-link:hover { color: var(--blue); }
  .sunny-tour .foot-copyright { background: var(--blue-deep); color: #cdd8ec; text-align: center; padding: 14px 20px; font-size: .85rem; }

  @media (max-width: 760px) {
    .sunny-tour .day-gallery { grid-template-columns: 1fr; }
    .sunny-tour .hotel-gallery, .sunny-tour .hotel-gallery.solo { grid-template-columns: 1fr; grid-template-rows: auto; }
    .sunny-tour .hotel-gallery .g-main { grid-row: auto; }
    .sunny-tour .hotel-gallery img { height: 220px; }
    .sunny-tour .feature-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .sunny-tour .introframe { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
    /* 手機直排:維持 16:9(base),不加 min-height(否則名片被撐高又要裁掉內容) */
    .sunny-tour .navbar .wrap { gap: 10px; }
    .sunny-tour .nav-links { width: 100%; margin-left: 0; gap: 16px; }
    .sunny-tour .nav-warn { margin-left: auto; }
    .sunny-tour .hero { min-height: 80vh; }
    .sunny-tour .hero-pill { font-size: clamp(1.7rem, 7.6vw, 3rem); letter-spacing: 2px; padding: 16px 26px; }
    .sunny-tour .hero-sub { font-size: clamp(1.05rem, 4.2vw, 1.5rem); letter-spacing: 1px; }
    .sunny-tour .floatrail { right: 8px; top: auto; bottom: 12px; transform: scale(.9); transform-origin: right bottom; }
    .sunny-tour .foot-grid { grid-template-columns: 1fr; gap: 22px; }
    /* 手機:航班卡改直排 + 加「起飛/抵達」標籤 + 仍顯示飛行時間,避免兩個時間漂浮看不懂 */
    .sunny-tour .flight-row { display: block; padding: 16px 18px; }
    .sunny-tour .fl-point { text-align: left; display: grid; grid-template-columns: 3.4em 1fr; align-items: baseline; column-gap: 10px; margin-top: 10px; }
    .sunny-tour .fl-lbl { display: inline-block; font-size: .82rem; font-weight: 800; color: var(--blue); }
    .sunny-tour .fl-time { font-size: 1.45rem; }
    .sunny-tour .fl-air { grid-column: 2; margin-top: 2px; }
    .sunny-tour .fl-conn { flex-direction: row; align-items: center; gap: 8px; margin: 6px 0 6px 3.7em; }
    .sunny-tour .fl-conn .fl-line::before, .sunny-tour .fl-conn .fl-line::after { width: 16px; }
  }
