/* =========================================================
   Domain Money 首頁復刻 — 樣式表
   設計變數集中在 :root，要改整站配色改這裡就好
   ========================================================= */

:root{
  /* 色彩 — 源利 yuanliadvisory 色彩系統
     變數名沿用舊名以免全站改寫，右側註記對應的源利色階 */
  --ink:      #221A16;   /* ink-900  暖中性最深，深底與主文字 */
  --ink-deep: #221A16;   /* ink-900  Hero 影片底 */
  --cream:    #FAF8F6;   /* bg-warm  暖白區塊底 */
  --sand:     #E8E2DF;   /* ink-200  邊線、佔位框 */
  --orange:   #E21A22;   /* red-500  品牌紅，主行動色 */
  --orange-d: #C0161D;   /* red-600  紅色 hover */
  --sky:      #F2EDE3;   /* gold-100 評價區暖金淡底 */
  --green:    #C69227;   /* gold-500 圖形用金，不可當文字 */
  --slate:    #72615A;   /* ink-600  次要文字 */
  --slate-l:  #ACA39F;   /* ink-400 */
  --white:    #FFFFFF;
  --line:     rgba(34,26,22,.12);
  --line-d:   rgba(255,255,255,.16);

  /* 新增：本次替換會用到的色階 */
  --gold-text: #88651B;  /* gold-700 金色唯一可當文字的階 */
  --gold-400:  #D6AB52;  /* 深底上的金，對比足夠 */
  --gold-200:  #E7DCC6;
  --red-050:   #FBF5F5;
  --star:      #AB7E21;  /* gold-600 評分星星，對比 3.45:1 */

  /* 圖示強調色：改這一行就能整站切換九個線稿圖示的配色
     金 #C69227（gold-500）／紅 #E21A22（red-500） */
  --icon-accent: #E21A22;

  /* 字型 */
  --serif: 'Playfair Display','Noto Serif TC',Georgia,serif;
  --sans:  'Figtree','Noto Sans TC',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;

  /* 版面 */
  --maxw: 1320px;   /* 對齊原站 Container xl */
  --pad: 16px;      /* 容器自身內距，原站同值 */
  --sec-pad: 32px;  /* 區塊左右留白，原站同值 */
  --r-lg: 32px;
  --r-md: 16px;
  --r-sm: 10px;
  --header-h: 82px;   /* 加上 1px 下緣線後總高 83px，與原站一致 */
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body{
  margin:0;
  font-family:var(--sans);
  font-size:17px;
  line-height:1.6;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
ul,ol{ margin:0; padding:0; list-style:none; }
p{ margin:0 0 1em; }

/* ---------- 版面容器 ---------- */
.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--pad); }
.container.narrow{ max-width:820px; }
.center{ text-align:center; }
.section{ padding:96px var(--sec-pad); position:relative; }
.section-wrap{ padding-inline:16px; }
.section-wrap > .section{ padding-inline:0; }
.rounded{ border-radius:24px; overflow:hidden; }

.cream{ background:var(--cream); }
#mastered{ padding-block:80px; }
.ink{ background:var(--ink); color:var(--white); }
.sky{ background:var(--sky); color:var(--ink); }

/* ---------- 標題 ---------- */
.display{
  font-family:var(--serif);
  font-weight:400;
  line-height:1.15;
  letter-spacing:-.01em;
  margin:0 0 .5em;
}
h1.display{ font-size:clamp(38px,5.2vw,64px); }
.h2{ font-size:clamp(30px,3.8vw,48px); }

.section-lead{ font-size:18px; color:var(--slate); max-width:44em; margin-inline:auto; }
.ink .section-lead{ color:rgba(255,255,255,.72); }

/* ---------- 按鈕 ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 22px;
  border-radius:999px;
  font-weight:600; font-size:15px;
  border:1.5px solid transparent;
  transition:background .22s ease,color .22s ease,border-color .22s ease,transform .22s ease;
  white-space:nowrap;
}
.btn-lg{ padding:16px 30px; font-size:16px; }
.btn-primary{ background:var(--orange); color:#fff; }
.btn-primary:hover{ background:var(--orange-d); transform:translateY(-1px); }

/* --- 紅色配比控制：全站唯一的紅色實心按鈕是導覽列那顆 --- */

/* 深底區塊的主按鈕改白底紅字（紅對深棕對比不足，依源利規範） */
.ink .btn-primary{ background:#fff; color:var(--orange); border-color:#fff; }
.ink .btn-primary:hover{ background:var(--cream); color:var(--orange-d); border-color:var(--cream); }
.ink .btn-primary .arrow{ background:rgba(226,26,34,.14); }
.ink .btn-primary .arrow::after{ border-color:var(--orange); }

/* 淺底區塊的次要 CTA 退成 ghost，把紅色讓給導覽列 */
#value .btn-primary{ background:transparent; color:var(--ink); border-color:var(--sand); }
#value .btn-primary:hover{ background:transparent; color:var(--orange); border-color:var(--orange); }
#value .btn-primary .arrow{ background:transparent; }
#value .btn-primary .arrow::after{ border-color:currentColor; }

.arrow{
  width:24px; height:24px; border-radius:50%;
  background:currentColor; position:relative; flex:0 0 auto;
  transition:transform .22s ease;
}
.btn-primary .arrow{ background:rgba(255,255,255,.22); }
.arrow::after{
  content:''; position:absolute; inset:0; margin:auto;
  width:7px; height:7px; border-right:1.8px solid #fff; border-top:1.8px solid #fff;
  transform:translateX(-2px) rotate(45deg);
}

.btn:hover .arrow{ transform:translateX(3px); }

/* =========================================================
   導覽列
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--cream);
  border-bottom:1px solid var(--sand);
}

/* 尺寸取自原站 1512 視窗實測 */
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; height:var(--header-h);
}
.logo{ flex:0 0 auto; display:block; }
.logo img{ height:34px; width:auto; display:block; }

.nav-right{ display:flex; align-items:center; gap:16px; }
.nav-list{ display:flex; align-items:center; gap:10px; }
.nav-link{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 10px; border-radius:8px;
  font-size:16px; font-weight:400; color:var(--ink);
  transition:background .2s ease;
}
.nav-link:hover{ background:rgba(34,26,22,.06); }
.caret{
  width:7px; height:7px;
  border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  transition:transform .22s ease;
}
.has-menu.open .caret{ transform:translateY(1px) rotate(-135deg); }

.dropdown{
  /* top:100% 貼齊主項目底邊，中間不留死角；
     padding-top 是透明的滑鼠橋樑，看起來是留白，滑過去仍算在選單內 */
  position:absolute; top:100%; right:0;
  opacity:0; pointer-events:none; transform:translateY(-6px);
  transition:opacity .2s ease,transform .2s ease;
  padding-top:8px; z-index:50;
}
.has-menu{ position:relative; }
.has-menu.open .dropdown{ opacity:1; pointer-events:auto; transform:translateY(0); }
.dropdown-inner{
  background:#fff; border:1px solid var(--line);
  border-radius:var(--r-md);
  box-shadow:0 18px 48px rgba(34,26,22,.14);
  padding:12px; min-width:200px;
  display:grid; gap:2px;
}
.dropdown-inner a{
  display:block; padding:12px 14px; border-radius:10px;
  transition:background .18s ease;
}
.dropdown-inner a:hover{ background:var(--cream); }
.dropdown-inner strong{ display:block; font-size:15px; font-weight:600; }

/* 面板頂列與底部按鈕都只在手機的展開選單裡出現，桌機不顯示 */
.nav-head{ display:none; }
.nav-cta{ display:none; }

.nav-actions{ display:flex; align-items:center; gap:16px; flex:0 0 auto; }
/* 限定 .nav-actions：面板也在 .site-header 內，用 .site-header .btn
   會連面板底部那顆一起改掉 */
.nav-actions .btn{
  height:50px; padding:0 26px; border-radius:32px;
  font-size:14px; font-weight:500; gap:0;
}

/* ---- 會員狀態：訪客／已登入／已購買 ----
   原型以 body 上的 class 假裝身分，三種狀態的結構都寫在 HTML 裡，
   由下列規則決定顯示哪一組。產生 WordPress 主題時，只要把那個 class
   改由 PHP 依 yuanli_has_tool_access() 輸出，版面完全不必重做。 */
body:not(.is-guest) .only-guest{ display:none; }
body.is-guest .only-signed{ display:none; }
body:not(.is-customer) .only-customer{ display:none; }
/* 已購買者的主按鈕讓給回測工具；他早已是客戶，不該再看到「免費預約」 */
body.is-customer .cta-visitor{ display:none; }
body:not(.is-customer) .cta-customer{ display:none; }

/* 把「導覽」與「身分／行動」在視覺上分開，五個元素才不會糊成一團 */
.nav-divider{ width:1px; height:22px; background:var(--sand); flex:0 0 auto; }

/* 登入刻意做成純文字：全站唯一的紅色實心按鈕仍只有導覽列那顆 */
.nav-login{
  font-size:15px; font-weight:500; color:var(--ink);
  padding:8px 4px; border-radius:8px;
  transition:color .2s ease;
}
.nav-login:hover{ color:var(--orange); }

.nav-user{ gap:8px; padding:6px 10px 6px 6px; border-radius:999px; }
.nav-user-name{ font-size:15px; font-weight:500; }
.avatar{
  width:30px; height:30px; border-radius:50%;
  background:var(--sand); color:var(--ink);
  font-size:13.5px; font-weight:600;
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 auto;
}

/* 會員選單比一般下拉寬，因為「購買紀錄與發票」那行註解字較長 */
.nav-user-wrap .dropdown-inner{ min-width:220px; }
/* 分成三組：上＝我要做的事、中＝我的資料、下＝離開。
   登出獨立在最下面並隔開，避免手滑誤點。 */
.menu-sep{ height:1px; background:var(--line); margin:6px 8px; }
.menu-tool{ display:flex; align-items:center; gap:9px; }
.dot{ width:6px; height:6px; border-radius:50%; background:var(--orange); flex:0 0 auto; }
.menu-sub{ display:block; font-size:12.5px; color:var(--slate-l); margin-top:1px; }
.menu-out strong{ color:var(--slate); font-weight:500; }

/* 會員區與面板底部連結都只在手機面板裡出現 */
.nav-member{ display:none; }
.nav-panel-link{ display:none; }
.burger{ display:none; width:40px; height:40px; position:relative; }
.burger span{
  position:absolute; left:9px; right:9px; height:2px; background:var(--ink); border-radius:2px;
  transition:transform .25s ease,opacity .2s ease;
}
.burger span:nth-child(1){ top:13px; }
.burger span:nth-child(2){ top:19px; }
.burger span:nth-child(3){ top:25px; }
body.menu-open .burger span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity:0; }
body.menu-open .burger span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* =========================================================
   佔位圖框（之後換成真圖）
   ========================================================= */
.ph{
  position:relative;
  background:
    repeating-linear-gradient(135deg,rgba(34,26,22,.045) 0 10px,rgba(34,26,22,.015) 10px 20px),
    var(--sand);
  border:1px dashed rgba(34,26,22,.22);
  border-radius:var(--r-md);
  min-height:120px;
}
.ph::after{
  content:attr(data-label);
  position:absolute; inset:auto 0 auto 0; top:50%; transform:translateY(-50%);
  text-align:center;
  font-family:var(--sans); font-size:13px; font-weight:600; letter-spacing:.04em;
  color:rgba(34,26,22,.45);
}


/* =========================================================
   Hero
   ========================================================= */
/* 尺寸全部取自原站 1512 視窗實測值 */
.hero{
  position:relative; overflow:hidden;
  min-height:601px;
  padding:80px var(--sec-pad) 128px;
  display:flex; align-items:flex-end;
  color:#fff;
}

/* 背景影片。assets/video/hero-desktop.mp4 不存在時，底下的深色與標籤會透出來 */
.hero-media{ position:absolute; inset:0; background:var(--ink-deep); }
.hero-video{
  position:relative; z-index:1;
  width:100%; height:100%; object-fit:cover; display:block;
}
/* 黑色遮罩，壓在影片上讓白字讀得清楚 */
.hero-media::after{
  content:''; position:absolute; inset:0; z-index:2;
  background:rgba(0,0,0,.4);
  pointer-events:none;
}

.hero-inner{
  position:relative; z-index:2; width:100%;
  display:flex; align-items:flex-end; justify-content:space-between; gap:80px;
}
.hero-copy{ max-width:700px; display:flex; flex-direction:column; gap:20px; }
.hero h1{ font-size:64px; font-weight:400; line-height:1.15; color:#fff; margin:0; }
.hero-lead{ font-size:24px; line-height:1.7; font-weight:400; color:#fff; margin:0; }

/* Hero CTA：白底深字，右側 48px 橘色圓形箭頭 */
.btn-hero{
  align-self:flex-start;
  display:inline-flex; align-items:center; gap:32px;
  height:55px; padding:0 4px 0 18px;
  background:#fff; color:var(--ink);
  border-radius:32px;
  transition:background .22s ease;
}
.btn-hero:hover{ background:var(--cream); }
.btn-hero-label{ font-size:16px; font-weight:600; }
.btn-hero-arrow{
  width:48px; height:48px; border-radius:50%;
  background:var(--orange); color:#fff; flex:0 0 auto;
  display:flex; align-items:center; justify-content:center;
}
.btn-hero-arrow svg{ width:24px; height:24px; display:block; }

/* =========================================================
   左文右圖
   ========================================================= */
/* 尺寸取自原站 1512 視窗實測：左欄 690、右欄 550、間距 48。
   basis 兩欄相加加上間距剛好等於容器可用寬 1288，窄視窗時一起等比收縮
   （原站兩欄設 flex:0 0 不縮，1024～1336px 之間會撐破版面） */
.split{ display:flex; align-items:stretch; gap:48px; }
.split-copy{
  flex:0 1 690px; max-width:690px; min-width:0;
  display:flex; flex-direction:column; align-items:flex-start;
  justify-content:center;          /* 文字塊對齊圖的重心 */
  gap:32px;
}
.split-text{ display:flex; flex-direction:column; gap:20px; }
.split-copy h2{ font-size:48px; font-weight:400; line-height:1.15; margin:0; }
.split-copy p{ font-size:20px; line-height:1.7; color:var(--ink); margin:0; }

.split-media{
  flex:1 1 550px; max-width:550px; min-width:0;
  display:flex; flex-direction:column; align-items:center; gap:16px;
}
/* 比例同原站：550 寬對 429 高。照片已依同比例裁切，直接填滿欄寬。
   picture 預設為行內元素，在置中的彈性欄位裡不會撐開，故補 width */
.split-media picture{ display:block; width:100%; }
.split-photo{
  display:block; width:100%; height:auto;
  aspect-ratio:550/429; object-fit:cover;
  border-radius:var(--r-md);   /* 與顧問卡照片同一個圓角 */
  /* 陰影取評價側卡（.07）與焦點卡（.12）之間，照片浮起但不搶焦點 */
  box-shadow:0 18px 50px rgba(34,26,22,.10);
}

/* =========================================================
   六格服務
   ========================================================= */
.services-section{ padding:72px 0; }
.services-grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:32px;                 /* 原站無格線、純靠欄距分隔 */
}
.service{
  display:flex; flex-direction:column; gap:16px;
  padding:0; background:transparent;
}
.service h3{
  font-family:var(--serif); font-size:28px; font-weight:400;
  line-height:1.15; margin:0;
}
.service p{ font-size:16px; line-height:1.8; color:var(--ink); margin:0; }
.s-icon{ display:block; width:46px; height:46px; flex:0 0 auto; margin-bottom:4px; }

/* =========================================================
   顧問介紹
   ========================================================= */
/* 尺寸取自原站 1512 視窗實測：左欄 408、右欄 800、欄距 80、垂直置中 */
#advisors{ padding-block:80px; }
.advisors-inner{ display:flex; align-items:center; gap:80px; }
.advisors-copy{
  flex:0 0 408px; max-width:408px;
  display:flex; flex-direction:column; align-items:flex-start; gap:32px;
}
/* 408px 欄寬下，48px 中文每行僅約 8.5 字，標題會斷在詞中間。
   降為 40px（每行約 10 字），讓斷行落在逗號的語意邊界 */
.advisors-copy h2{ font-size:40px; font-weight:400; line-height:1.2; margin:0; color:#fff; }
.advisors-copy p{ font-size:16px; line-height:1.8; color:#fff; margin:0; }
.advisors-carousel{ flex:0 0 800px; min-width:0; }   /* 固定寬，卡片尺寸才不會隨視窗變動 */
.advisor-swiper{ overflow:hidden; }           /* 3D 透視會讓卡片往外延伸，超出容器的部分裁掉 */
.advisor-swiper .swiper-slide{ height:auto; }
.advisor-pagination{ margin-top:24px; text-align:center; }
.advisor-pagination .swiper-pagination-bullet{ background:#fff; opacity:.35; }
.advisor-pagination .swiper-pagination-bullet-active{ opacity:1; background:var(--gold-400); }

/* 左欄 CTA：比 Hero 那顆略小 */
.btn-hero--sm{ padding-right:8px; }
.btn-hero--sm .btn-hero-arrow{ width:44px; height:44px; }

/* 顧問卡：照片滿版，底部漸層壓一行連結（與原站一致）。
   桌機 3:4、手機 1:1，比例由 --advisor-ratio 控制。 */
.advisor-card{
  position:relative; overflow:hidden;
  border-radius:var(--r-md);
  aspect-ratio:var(--advisor-ratio, 333 / 450);
}
.advisor-photo{
  display:block; width:100%; height:100%;
  object-fit:cover; border-radius:inherit;
}
.advisor-overlay{
  position:absolute; inset:auto 0 0 0;
  padding:16px;
  background:linear-gradient(to top, rgba(0,0,0,.85), transparent);
  text-align:right;
}
.advisor-link{
  font-size:14px; font-weight:600; color:#fff;
  border-bottom:1.5px solid rgba(255,255,255,.7);
  padding-bottom:2px; transition:border-color .2s ease;
}
.advisor-link:hover{ border-color:var(--gold-400); }

/* 徽章 */

/* =========================================================
   會費自己賺回來
   ========================================================= */
/* 尺寸取自原站 1512 視窗實測 */
#value{ padding-block:80px; }
.value-inner{ display:flex; flex-direction:column; align-items:center; gap:48px; }
.value-head{
  max-width:70%; display:flex; flex-direction:column;
  align-items:center; gap:20px; text-align:center;
}
.value-head h2{ font-size:48px; font-weight:400; line-height:1.15; margin:0; }
.value-head p{ font-size:20px; line-height:1.7; color:var(--ink); margin:0; }

.value-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:32px;
  width:100%;
}
.value-card{
  background:var(--cream); border-radius:32px; padding:32px;
  display:flex; flex-direction:column; gap:16px;
}
.value-card h3{ font-size:28px; font-weight:400; line-height:1.15; margin:0; }
.value-card p{ font-size:16px; line-height:1.8; color:var(--ink); margin:0; }
.value-card strong{ font-weight:700; }
.v-icon{ display:block; width:46px; height:57px; flex:0 0 auto; }

/* CTA：紅底白字，白色 44px 圓形箭頭（原站為橘底白圓黑箭頭） */
.value-cta{
  align-self:center;                 /* 蓋掉 .btn-hero 的 flex-start */
  background:var(--orange); border:1px solid var(--orange); color:#fff;
}
.value-cta:hover{ background:var(--orange-d); border-color:var(--orange-d); }
.value-cta .btn-hero-arrow{ background:#fff; color:var(--ink); border:0; }

.cta-row{ margin-top:48px; }
.footnote{
  font-size:12px; line-height:1.8; color:rgba(34,26,22,.5);
  margin:0; max-width:none; text-align:center;
}
.footnote.dark{ color:rgba(34,26,22,.6); margin-top:40px; }

/* =========================================================
   客戶評價
   ========================================================= */
/* 焦點卡輪播：中央一張完整顯示，左右兩張縮小淡出。
   與顧問區共用 Swiper，但不使用 coverflow 效果。 */
#reviews{ padding:88px 0 72px; }
.reviews-head{ margin-bottom:52px; padding-inline:var(--sec-pad); }
.reviews-head h2{ font-size:48px; font-weight:400; line-height:1.15; margin:0; text-align:center; }

.reviews-carousel{
  position:relative; max-width:var(--maxw); margin-inline:auto; padding:0 84px;
}
/* 左右各留 36px、下方留 58px 給卡片陰影，再用負邊界抵銷，版面位置不變。
   第四張卡距離內容邊緣 54px，大於 36px，所以仍然不會露出來。 */
.reviews-swiper{ overflow:hidden; padding:40px 36px 58px; margin-inline:-36px; }
.reviews-swiper .swiper-slide{
  width:400px; height:auto;
  transform:scale(.84); opacity:.46;
  transition:transform .45s cubic-bezier(.4,0,.2,1),opacity .45s cubic-bezier(.4,0,.2,1);
}
.reviews-swiper .swiper-slide-active{ transform:scale(1); opacity:1; }

.review-card{
  background:var(--white); border-radius:20px;
  padding:36px 38px 32px; height:100%; min-height:300px;
  display:flex; flex-direction:column;
  box-shadow:0 14px 40px rgba(34,26,22,.07);
  transition:box-shadow .45s ease;
}
.swiper-slide-active .review-card{ box-shadow:0 22px 60px rgba(34,26,22,.12); }

.review-mark{
  display:block; width:40px; height:auto; color:var(--orange);
  margin-bottom:24px; flex:0 0 auto;
}
/* 字級對所有卡片一致。若焦點卡單獨放大字級，最高的那張卡會隨著哪一張
   被選中而改變，整條軌道與底色區塊的高度就會跟著跳動。
   焦點卡「字比較大」的感覺由整張卡的 scale 產生。 */
.review-text{ margin:0; font-size:18px; line-height:1.78; color:rgba(34,26,22,.72); flex:1; }
.swiper-slide-active .review-text{ color:rgba(34,26,22,.86); }

.review-divider{
  height:1px; background:var(--line); margin-top:28px;
  opacity:0; transition:opacity .45s ease;
}
.swiper-slide-active .review-divider{ opacity:1; }

.review-who{ margin-top:24px; }
.review-name{
  display:block; font-family:var(--serif); font-weight:600;
  font-size:19px; line-height:1.3;
}
.review-meta{ display:block; font-size:14px; color:var(--slate); margin-top:3px; }

/* 箭頭：52px 白圓，貼在容器左右內緣 */
.reviews-btn{
  position:absolute; top:50%; transform:translateY(-50%); z-index:4;
  width:52px; height:52px; border-radius:50%; border:0; cursor:pointer;
  background:var(--white); color:var(--ink);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px rgba(34,26,22,.12);
  transition:background .25s ease,color .25s ease,transform .25s ease;
}
.reviews-btn:hover{ background:var(--ink); color:var(--cream); transform:translateY(-50%) scale(1.06); }
.reviews-btn svg{ width:20px; height:20px; }
.reviews-btn.prev{ left:0; }
.reviews-btn.next{ right:0; }

/* 圓點 */
.reviews-dots{ display:flex; justify-content:center; gap:10px; margin-top:14px; }
.reviews-dots .swiper-pagination-bullet{
  width:9px; height:9px; margin:0; background:var(--sand); opacity:1;
  transition:background .25s ease,box-shadow .25s ease;
}
.reviews-dots .swiper-pagination-bullet-active{
  background:var(--orange); box-shadow:0 0 0 4px rgba(226,26,34,.16);
}

/* 區塊自身左右內距為 0，故文字元素各自補上 */
#reviews .footnote.dark{ padding-inline:var(--sec-pad); }

/* =========================================================
   三個信任點
   ========================================================= */
/* 尺寸取自原站 1512 視窗實測。與會費區共用同一套卡片系統 */
.trust{ padding:48px 0; }   /* 原站為 20px，中文版面下太擠，放寬至 48px */
.trust-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.trust-item{
  background:var(--cream); border-radius:32px; padding:32px;
  display:flex; flex-direction:column; gap:16px;
}
.trust-item h3{ font-size:28px; font-weight:400; line-height:1.15; margin:0; }
.trust-item p{ font-size:16px; line-height:1.8; color:var(--ink); margin:0; }
.t-icon{ display:block; width:40px; height:40px; flex:0 0 auto; }

/* =========================================================
   服務流程
   ========================================================= */
/* 三張並排卡片，卡片之間以橘色圓形箭頭串連 */
.steps-wrap{
  display:flex; align-items:stretch; gap:0;
  margin-top:56px;
}
.step-card{
  flex:1 1 0; min-width:0;
  background:var(--cream); color:var(--ink);
  border-radius:32px;
  padding:32px;
  display:flex; flex-direction:column; gap:16px;
}
.step-num{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  border:1.5px solid var(--ink); color:var(--ink);
  font-family:var(--serif); font-size:17px; line-height:1;
  flex:0 0 auto;
}
.step-card h3{
  font-size:28px; font-weight:400; line-height:1.15; margin:0;
}
.step-card p{ font-size:16px; line-height:1.8; color:var(--slate); margin:0; }

/* 卡片之間的橘色箭頭：本身不佔寬度，圓鈕絕對定位疊在間隙正中央
   尺寸對齊參考站：總寬 40px，含 4px 深色描邊 → 內圈 32px，圖示 24px */
.step-arrow{
  flex:0 0 40px; width:40px; margin-inline:-8px;
  display:flex; align-items:center; justify-content:center;
  position:relative; z-index:2;
}
.step-arrow-dot{
  width:40px; height:40px; box-sizing:border-box; flex:0 0 auto;
  display:flex; align-items:center; justify-content:center;
  background:var(--orange);
  border:4px solid var(--ink);
  border-radius:50%;
  color:#fff;
}
.step-arrow-dot svg{
  width:24px; height:24px; display:block;
  transition:transform .25s ease;
}

/* =========================================================
   FAQ
   ========================================================= */
/* 尺寸取自原站 1512 視窗實測 */
.faq-head-section{ padding:48px 0; }
.faq-head-section h2{ font-size:80px; line-height:1.15; margin:0; }
.faq-section{ padding:80px 0; }
.faq-item{ padding:16px 0; border-bottom:1px solid var(--sand); }
.faq-q{
  width:100%; text-align:left; min-height:61px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:0 16px; font-size:16px; font-weight:400;
  transition:color .2s ease;
}
.faq-q:hover{ color:var(--orange); }
.faq-icon{ position:relative; width:22px; height:22px; flex:0 0 auto; }
.faq-icon::before,.faq-icon::after{
  content:''; position:absolute; inset:0; margin:auto;
  background:currentColor; border-radius:2px;
  transition:transform .25s ease,opacity .25s ease;
}
.faq-icon::before{ width:22px; height:2px; }
.faq-icon::after{ width:2px; height:22px; }
.faq-q[aria-expanded="true"] .faq-icon::after{ transform:rotate(90deg); opacity:0; }
.faq-a{ overflow:hidden; height:0; transition:height .3s ease; }
.faq-a p{ font-size:16px; line-height:1.8; color:var(--slate); margin:0; padding:0 16px 16px; max-width:60em; }

/* =========================================================
   Footer
   ========================================================= */
/* 尺寸取自原站 1512 視窗實測：三列式，列間距 32px */
.site-footer{
  background:var(--ink); color:#fff; padding:0;
  border-radius:32px 32px 0 0;   /* 只有上面兩角，與原站一致 */
  margin-top:52px;               /* 與上一區的間距，原站實測值 */
}
.footer-inner{
  padding:48px 32px 32px;
  display:flex; flex-direction:column; gap:32px;
}

/* 第一列：品牌欄 290 + 連結欄 934，間距 32 */
.footer-main{ display:flex; gap:32px; }
.footer-brand{ flex:0 0 290px; min-width:0; }
.footer-logo img{ height:40px; width:auto; display:block; }
.footer-cols{
  flex:1 1 934px; min-width:0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:32px;
}
.footer-col{ display:flex; flex-direction:column; gap:12px; }
.footer-col-head{
  font-size:13px; font-weight:700; letter-spacing:.08em;
  color:rgba(255,255,255,.5); margin:0;
}
.footer-col a{ font-size:15px; color:rgba(255,255,255,.86); transition:color .2s ease; }
.footer-col a:hover{ color:var(--orange); }

/* 第三列：左右對齊的底部列 */
.footer-bottom{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  flex-wrap:wrap; padding-top:24px; border-top:1px solid var(--line-d);
  font-size:12.5px; color:rgba(255,255,255,.55);
}
.footer-links{ display:flex; gap:20px; flex-wrap:wrap; }
.footer-links a:hover{ color:#fff; }

/* 線稿圖示的強調線：由 --icon-accent 統一控制 */
.ic-accent{ stroke:var(--icon-accent); }

/* =========================================================
   滾動淡入
   ========================================================= */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s ease,transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
  /* 選單改為直接出現／消失，位移動畫取消 */
  .nav{ transition:visibility 0s linear .25s; }
  .nav.open{ transition:visibility 0s; }
  /* 評價卡的縮放與淡入淡出一併取消，切換時直接就定位 */
  .reviews-swiper .swiper-slide,
  .review-card,
  .review-divider,
  .reviews-btn{ transition:none; }
}

/* 顧問區：文字與輪播並排需要 文字 + 80px 間距 + 800px 輪播，
   低於約 1200px 就擠不下，改為上下堆疊並置中（原站亦同）。 */
@media (max-width:1199px){
  .advisors-inner{ flex-direction:column; align-items:stretch; gap:48px; }
  /* 直向排列時 flex-basis 會作用在高度上，需解除 */
  .advisors-carousel{ flex:0 0 auto; width:min(800px,100%); margin-inline:auto; }
  .advisors-copy{ flex:1 1 auto; max-width:100%; }

  .reviews-carousel{ padding:0 64px; }
  .reviews-swiper .swiper-slide{ width:min(400px,68vw); }
}

/* =========================================================
   平板 ≤ 1024
   ========================================================= */
@media (max-width:1024px){
  .burger{ display:block; }

  /* ---- 觸控點擊區 ----
     手指接觸面約 40px，建議可點範圍至少 44x44。
     做法是撐開「看不見的可點範圍」，文字大小與位置都不動。 */
  .burger{ width:44px; height:44px; }

  /* 頁尾直向連結：上下各補 10px（24 + 20 = 44）。
     欄內間距改由內距提供，故 gap 歸零，避免整體被推得太長。 */
  .footer-col{ gap:0; }
  .footer-col a{ padding:10px 0; }

  /* 頁尾底部連結：橫向排列，只需補上下 */
  .footer-links a{ padding:12px 0; }

  /* 顧問卡的「更多關於」帶有底線，直接加內距會把底線推離文字，
     改用一層透明的覆蓋範圍把可點區往外撐，底線位置不受影響。 */
  .advisor-link{ position:relative; }
  .advisor-link::after{
    content:''; position:absolute; inset:-12px 0; 
  }
  

  .section{ padding:72px 0; }
  .advisors-copy h2{ font-size:38px; }
  .split{ flex-direction:column; gap:40px; }
  .split-copy,.split-media{ flex:1 1 auto; max-width:100%; width:100%; }
  .split-copy h2{ font-size:38px; }
  .faq-head-section h2{ font-size:52px; }
  .split-copy p{ font-size:18px; }
  .steps-wrap{ flex-direction:column; gap:0; }
  .step-arrow{ flex:0 0 40px; width:auto; height:40px;
               margin-inline:0; margin-block:-8px; }
  .step-arrow-dot svg{ transform:rotate(90deg); }

  .services-grid,.value-grid,.trust-grid{ grid-template-columns:repeat(2,1fr); }
  .value-head{ max-width:100%; }
  .value-head h2{ font-size:38px; }
  .value-head p{ font-size:18px; }
  .trust-item h3{ font-size:24px; }

  /* 導覽列在版面中佔 --header-h 的高度，要扣掉才是「剩下的整個畫面」。
     用 100svh（不含瀏覽器網址列的高度），捲動時網址列縮起來版面不會跳。 */
  /* 左右內距收為 24px（區塊預設 32px）：可用寬度 +16px，
     標題放大到 40px 仍維持「夢想／現實」各自收尾的兩行斷法 */
  .hero{ min-height:calc(100svh - var(--header-h)); padding:96px 24px 48px; }
  .hero-inner{ flex-direction:column; align-items:flex-start; gap:40px; }
  .hero h1{ font-size:44px; }
  .hero-lead{ font-size:19px; }

  /* ---- 手機／平板展開選單 ----
     面板常駐於 DOM，平時用 transform 推到畫面左外側，展開時滑回原位。
     不用 display 切換的原因：display 沒有中間值，做不出過場動畫。
     滑入方向（由左）、250ms、ease 均取自原站實測。
     面板蓋住整條導覽列（與原站一致），故自備頂列放 logo 與關閉鈕。 */
  .nav{
    position:fixed; inset:0; z-index:90;
    background:var(--cream); overflow-y:auto;
    /* 上緣不留內距，頂列自己撐出與導覽列相同的高度 */
    padding:0 var(--pad) 48px;
    transform:translateX(-100%);
    /* 收起時面板仍在畫面外，visibility 讓它不被 Tab 鍵選到；
       0s linear .25s 表示等滑出動畫跑完才隱藏 */
    visibility:hidden;
    transition:transform .25s ease, visibility 0s linear .25s;
  }
  .nav.open{
    transform:translateX(0);
    visibility:visible;
    transition:transform .25s ease, visibility 0s;
  }

  /* 面板自己的頂列：高度與導覽列相同，logo 與關閉鈕的位置才不會跳動。
     關閉鈕沿用漢堡樣式，body.menu-open 下三條線已變成叉；面板與導覽列
     左右內距同為 --pad，兩者位置自然切齊，不需額外位移。 */
  .nav-head{
    display:flex; align-items:center; justify-content:space-between;
    height:var(--header-h);
  }

  /* margin-top 是選單項目與頂列的間隔，沿用原本展開選單的上緣間距 */
  .nav .nav-list{ flex-direction:column; align-items:stretch; gap:0; margin-top:20px; }
  .nav .has-menu{ position:static; }
  .nav .nav-link{ width:100%; justify-content:space-between; padding:18px 4px; font-size:18px; border-bottom:1px solid var(--line); border-radius:0; }
  .nav .dropdown{ position:static; opacity:1; pointer-events:auto; transform:none; padding:0; height:0; overflow:hidden; transition:height .28s ease; }
  .nav .has-menu.open .dropdown{ height:auto; padding:6px 0 14px; }
  .nav .dropdown-inner{ box-shadow:none; border:0; background:transparent; min-width:0; padding:0; }

  /* 面板底部的行動按鈕：滿寬，與最後一個選單項目間隔 20px（原站實測值） */
  .nav-cta{
    display:flex; justify-content:center;
    width:100%; height:50px; padding:0; margin-top:20px;
  }

  /* 展開時導覽列被面板整片蓋住。一併隱藏，避免 Tab 鍵仍會聚焦到
     看不見的 logo 與按鈕；面板本身不在這兩者之內，不受影響。 */
  body.menu-open .nav-inner > .logo,
  body.menu-open .nav-actions{ visibility:hidden; }

  /* 導覽列只有 66px，再塞任何東西都會破版，
     所以桌機的登入與會員選單在此隱藏，改由面板承接 */
  .nav-actions .nav-login,
  .nav-actions .nav-user-wrap,
  .nav-actions .nav-divider{ display:none; }

  .nav-member{ display:block; }
  .nav-member-hello{
    display:flex; align-items:center; gap:10px;
    margin:0; padding:20px 4px 16px;
    font-size:17px; font-weight:600;
  }
  .nav-member-list{ list-style:none; margin:0; padding:0; }
  .nav-member-list .nav-link{ justify-content:flex-start; gap:9px; }
  /* 會員區與網站導覽之間拉開，讓兩組不會看成同一串 */
  .nav-member + .nav-list{ margin-top:28px; }

  .nav-panel-link{
    display:block; text-align:center;
    padding:16px 0 2px; font-size:15px;
  }
  .nav-panel-link.only-guest{ color:var(--ink); font-weight:500; }
  .nav-panel-link.only-signed{ color:var(--slate); }
}

/* =========================================================
   手機 ≤ 640
   ========================================================= */
@media (max-width:640px){
  body{ font-size:16px; }
  :root{ --pad:18px; --r-lg:22px; }

  .section{ padding:56px 0; }
  /* 服務六格在手機仍維持 2 欄（與原站一致）：卡片內容短，
     排成 1 欄會讓整區拉到近 1200px。會費卡與信任點內容長，改 1 欄。 */
  .value-grid,.trust-grid{ grid-template-columns:1fr; }
  .service h3{ font-size:22px; }
  .value-card,.trust-item{ padding:28px 24px; }
  .value-head h2{ font-size:30px; }
  .value-head p{ font-size:17px; }
  .value-card h3{ font-size:24px; }
  .step-card h3{ font-size:24px; }
  .split-copy h2{ font-size:30px; }
  .split-copy p{ font-size:17px; }

  /* 導覽列：375px 下 logo + CTA + 漢堡會擠爆，整組縮小 */
  .logo img{ height:24px; }
  .nav-actions{ gap:10px; }
  /* 導覽列改用原站的手機高度；--header-h 同時被 Hero 高度與
     手機展開選單的位置引用，改這一個變數即可全部跟上 */
  :root{ --header-h:66px; }   /* 加下緣線 1px 共 67px */
  .logo img{ height:40px; }   /* 圖標為方形，40px 與橫式 logo 的視覺量相當 */
  .nav-actions .btn{ height:44px; padding:0 18px; }

  .hero h1{ font-size:40px; }
  .hero-lead{ font-size:17px; }

  /* 導言的 <br> 是為桌機兩行平衡而設的。手機寬度只有一半，硬斷行會
     讓第二行只用掉一半寬度、右邊留一大塊空白，故在此取消，交回自然折行 */
  .hero-lead br{ display:none; }
  
  .btn-hero{ gap:20px; }
  /* 顧問卡在手機改為正方形，輪播跨出容器至滿版（與原站一致）。
     滿版後中央卡片約 192px，與原站實測值相同。 */
  #advisors{ --advisor-ratio:1 / 1; }
  .advisor-swiper{ width:100vw; margin-left:50%; transform:translateX(-50%); }
  #reviews{ padding:60px 0 52px; }
  .reviews-head{ margin-bottom:32px; }
  .reviews-head h2{ font-size:30px; }
  .reviews-carousel{ padding:0 16px; }
  .reviews-swiper{ padding:20px 20px 46px; margin-inline:-20px; }
  .reviews-swiper .swiper-slide{ width:min(310px,78vw); transform:scale(.94); opacity:.32; }
  /* 焦點卡的透明度也必須寫回來，只還原 transform 會讓整張卡是淡的 */
  .reviews-swiper .swiper-slide-active{ transform:scale(1); opacity:1; }
  .review-card{ padding:28px 24px 26px; min-height:264px; }
  .review-mark{ width:34px; margin-bottom:20px; }
  .review-text{ font-size:16.5px; }
  .review-name{ font-size:17.5px; }
  .reviews-btn{ display:none; }
  .reviews-dots{ margin-top:10px; }

  .advisors-copy h2{ font-size:30px; }

  
  

  .faq-head-section h2{ font-size:36px; }
  .faq-q{ padding:0 4px; }
  .footer-main{ flex-direction:column; gap:36px; }
  .footer-brand{ flex:1 1 auto; }
  .footer-cols{ flex:1 1 auto; grid-template-columns:1fr 1fr; gap:28px; }

  /* 手機可讀性：中文是方塊字，同樣字級要塞下的筆畫比拉丁字母多，
     13px 以下複雜的字會糊。把次要文字的地板拉到 13px，
     顧問職稱屬於該被讀到的資訊，拉到 14px。
     版權文字 12.5px 與 13px 差異肉眼看不出來，維持不動。 */
  .footnote{ font-size:13px; }         /* 原 12px */
  .footer-inner{ padding:40px 18px 28px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* =========================================================
   服務內頁（services-*.html）
   所有尺寸取自原站 1440 寬實測，數值標在各段註解裡。
   基本樣式與自身斷點集中於此，不拆進上面既有的媒體查詢。
   ========================================================= */

/* 區塊上下內距 80px（原站實測。首頁 .section 用的是 96px，兩者刻意不同） */
.ip-section{ padding-block:80px; }

/* ---------- 頁首 ----------
   原站：高 749、背景照片滿版、文字白色左對齊
   垂直位置：眉標 128、大標 185、導言 401、按鈕 566
   照片為暫用素材，待換成源利自己的退休情境照 */
.ip-hero{
  position:relative; min-height:749px;
  padding:128px var(--sec-pad) 80px;
  display:flex; align-items:flex-start;
  background:var(--ink) center/cover no-repeat;
  background-image:
    linear-gradient(rgba(34,26,22,.58), rgba(34,26,22,.58)),
    url('assets/img/mastered-meeting.jpg');
  color:#fff;
}
.ip-hero-inner{ width:100%; }
.ip-eyebrow{ font-size:16px; line-height:1.55; margin:0; color:rgba(255,255,255,.9); }
/* 選擇器寫成 h1.ip-title 是刻意的：上面第 91 行有 h1.display 的字級規則，
   權重同為「元素＋class」，只有寫成同樣形式且位置在後才蓋得過去 */
h1.ip-title{                            /* 原站 80px / 92px / weight 300 */
  font-size:clamp(40px,5.56vw,80px); line-height:1.15; font-weight:300;
  margin:32px 0 0; color:#fff;
}
.ip-lead{ font-size:20px; line-height:1.55; margin:32px 0 0; color:rgba(255,255,255,.92); }
.ip-hero .btn-hero{ margin-top:100px; }

/* ---------- 區塊標題與內文 ----------
   原站：區塊大標 48px / 55.2px / weight 300，內文 20px / 31px，註腳 12px */
.ip-h2{ font-size:clamp(30px,3.33vw,48px); line-height:1.15; font-weight:300; margin:0 0 24px; }
.ip-body{ font-size:20px; line-height:1.55; margin:0 0 24px; }
.ip-footnote{ font-size:12px; line-height:1.55; color:var(--slate); margin:24px 0 0; }

/* ---------- 三欄卡 ----------
   原站：單張 419×266、內距 32、圓角 16、欄距 16、白底、文字置中 */
.ip-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:32px; }
.ip-card{
  background:var(--white); border-radius:16px; padding:32px;
  min-height:266px; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:16px;
}
.ipc-badge{
  width:56px; height:56px; border-radius:50%; flex:0 0 auto;
  background:var(--ink); display:grid; place-items:center;
}
.ipc-icon{ width:26px; height:26px; }
.ip-card h3{ font-family:var(--sans); font-size:20px; line-height:1.55; font-weight:700; margin:0; }
.ip-card p{ font-size:20px; line-height:1.55; margin:0; }

.ip-cta{ margin-top:48px; text-align:center; }

/* ---------- 左清單右照片（原站兩欄 636+636、欄距 16）---------- */
.ip-split{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:32px; }
.ip-stages{ background:var(--cream); border-radius:16px; padding:32px; }
.ip-stages-title{ font-size:28px; line-height:1.15; font-weight:300; margin:0 0 16px; }
.stage-item{ border-bottom:1px solid var(--line); }
.stage-item:last-child{ border-bottom:0; }
.stage-q{
  width:100%; display:flex; align-items:center; gap:12px;
  background:none; border:0; padding:20px 0; cursor:pointer; text-align:left;
  font-family:var(--sans); font-size:20px; line-height:1.55; color:var(--ink);
}
.stage-dot{
  width:18px; height:18px; border-radius:50%;
  border:1.5px solid var(--sand); flex:0 0 auto;
}
.stage-item.is-open .stage-dot{ background:var(--orange); border-color:var(--orange); }
.stage-item.is-open .stage-name{ font-weight:700; }
.stage-a{ height:0; overflow:hidden; transition:height .28s ease; }
.stage-a p{ font-size:16px; line-height:1.55; color:var(--slate); margin:0 0 20px; }
.ip-photo{ width:100%; height:100%; object-fit:cover; border-radius:16px; display:block; }

/* ---------- 三條橫卡（原站為上下堆疊的滿寬白卡）---------- */
.ip-rows{ display:grid; gap:16px; margin:32px 0; }
.ip-row{
  background:var(--white); border-radius:16px; padding:24px 32px;
  display:grid; grid-template-columns:24px 1fr; gap:20px; align-items:start;
}
.ipr-icon{ width:24px; height:24px; margin-top:2px; }
.ip-row h3{ font-family:var(--sans); font-size:18px; line-height:1.55; font-weight:700; margin:0 0 6px; }
.ip-row p{ font-size:16px; line-height:1.55; margin:0; }

/* ---------- 待填文案標記 ----------
   僅原型階段使用，提醒哪些字還沒定稿。文案定稿時連同 <mark> 標籤一起刪除 */
.todo{ background:#FFF3B0; color:#6B5300; padding:1px 4px; border-radius:3px; }

/* ---------- 勾選條列＋照片（原站兩欄，左條列右照片）---------- */
.ip-checks{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:32px; align-items:start; }
.ip-check-list{ display:grid; gap:4px; }
.ip-check{
  background:var(--white); border-radius:16px; padding:20px 24px;
  display:grid; grid-template-columns:22px 1fr; gap:16px; align-items:start;
}
.ip-check svg{ width:22px; height:22px; margin-top:4px; }
.ip-check p{ font-size:16px; line-height:1.55; margin:0; }

/* ---------- 問句清單（原站「Clear answers」那一區）---------- */
.ip-qlist{ display:grid; gap:0; margin-top:32px; }
.ip-q{
  font-size:20px; line-height:1.55; margin:0;
  padding:20px 0; border-bottom:1px solid var(--line);
}
.ip-q:last-child{ border-bottom:0; }

/* ---------- 內頁斷點 ---------- */
@media (max-width:1024px){
  .ip-cards{ grid-template-columns:repeat(2,1fr); }
  .ip-split,
  .ip-checks{ grid-template-columns:1fr; }
  .ip-photo{ height:360px; }
}
@media (max-width:640px){
  /* 左右留白 24px 而非 32px：比照首頁 Hero 的既有慣例。
     32px 時可用寬只剩 279px，大標 7 個中文字需 280px，會差 1px 掉字 */
  .ip-hero{ min-height:0; padding:72px 24px 64px; }
  .ip-hero .btn-hero{ margin-top:48px; }
  .ip-lead{ font-size:17px; }
  .ip-section{ padding-block:56px; }
  .ip-body{ font-size:17px; }
  .ip-cards{ grid-template-columns:1fr; }
  .ip-card{ min-height:0; }
  .ip-card h3,.ip-card p{ font-size:18px; }
  .ip-stages{ padding:24px; }
  .stage-q{ font-size:18px; }
  .ip-row{ padding:20px 24px; }
  .ip-check{ padding:16px 20px; }
  .ip-q{ font-size:17px; }
}

/* 原站在「與源利合作」這類區塊的導言用 24px，比一般內文大一階 */
.ip-body.lg{ font-size:24px; line-height:1.55; }
@media (max-width:640px){ .ip-body.lg{ font-size:19px; } }


/* =========================================================
   預約頁（booking.html）
   版面取自 domainmoney.com/free-consultation 於 1440 寬實測：
   左右欄各 696、欄距 48、左欄內距 32、內容寬 632、
   進度條 7 段 × 82×6px（間距 10）、輸入框高 53 全圓角、
   送出鈕高 50 圓角 32、右欄內容寬 488、右欄標題 36/39.6。
   ========================================================= */

/* ---------- 左右對開 ----------
   原站沒有頁首列，Logo 直接放在左側白色區塊左上角。
   整塊底色為暖白、左欄為白色實心區塊，刻意不包 .container：
   右側卡片要從視窗中線一路排到右緣 */
.bk-split{ display:grid; grid-template-columns:1fr 1fr; gap:48px; background:var(--cream); }

.bk-form-col{ background:var(--white); padding:32px var(--sec-pad) 80px; }
.bk-form-inner{ max-width:632px; }

/* Logo 置於 (32,32)。原站 logo 高 21px，源利的是中英雙行，
   壓到 21px 會看不清楚，故維持全站慣用的 34px */
.bk-logo{ margin-bottom:51px; }

/* ---------- 進度條 ---------- */
.bk-steps{ display:flex; gap:10px; margin:0 0 32px; }
.bk-step{ flex:1; height:6px; border-radius:3px; background:var(--sand); }
.bk-step.is-current{ background:var(--orange); }

/* ---------- 標題與導言 ----------
   原站 60px / 69px / weight 500 */
h1.bk-title{
  font-size:clamp(34px,4.17vw,60px); line-height:1.15; font-weight:500;
  margin:0 0 24px;
}
.bk-lead{ font-size:20px; line-height:1.55; color:var(--slate); margin:0 0 40px; }
/* 沒有說明段的題目（年齡、年收入、資產），標題與選項之間的間距
   原本靠 .bk-lead 的下緣撐出來，這裡補回同樣的 40px，
   七個步驟的節奏才一致。 */
.bk-title + .bk-chips{ margin-top:40px; }

/* ---------- 表單 ---------- */
.bk-fields{ display:grid; gap:16px; margin-bottom:24px; }
.bk-row2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }

.bk-field{
  width:100%; height:53px; padding:0 24px;
  background:var(--cream); border:1px solid var(--sand); border-radius:9999px;
  font-family:var(--sans); font-size:16px; color:var(--ink);
}
.bk-field::placeholder{ color:var(--slate); }
.bk-field:focus-visible{ outline:2px solid var(--orange); outline-offset:2px; }

/* 電話：國碼為固定前綴，不做國別選單（源利只服務台灣）。
   高度寫在外框、內層填滿：外框自己有 1px 邊線，若讓內層維持 53px
   會疊成 55px，比其他欄位高 2px */
.bk-phone{
  display:grid; grid-template-columns:auto 1fr; align-items:center;
  height:53px;
  background:var(--cream); border:1px solid var(--sand); border-radius:9999px;
  padding-left:24px;
}
.bk-phone:focus-within{ outline:2px solid var(--orange); outline-offset:2px; }
.bk-phone-code{ font-size:16px; color:var(--slate); }
.bk-phone .bk-field{ height:100%; background:none; border:0; padding-left:12px; }
.bk-phone .bk-field:focus-visible{ outline:0; }

.bk-consent,
.bk-note{ font-size:13px; line-height:1.7; color:var(--slate); margin:0; }

/* 頁尾緊貼對開區，中間不留空隙。
   全站的 .site-footer 有 margin-top:52px，那是從原站「首頁」量來的；
   原站這一頁實測為 0，故只在這一頁歸零，其餘七頁不動 */
.bk-page .site-footer{ margin-top:0; }

/* ---------- hidden 的統一處理 ----------
   這頁用 hidden 屬性收起還沒輪到的步驟、第 1 步的「回上一步」、
   以及第 7 步的送出列。hidden 的預設效果是 display:none，但只要元素
   自己有寫 display，就會把它蓋過去——元素照樣看得見，程式卻以為收好了。
   步驟面板、.bk-back（inline-flex）、.bk-submit（grid）三者都中招，
   所以在這裡一次擋掉，不逐個補。 */
.bk-page [hidden]{ display:none; }

/* 誘餌欄位：移出畫面而不是 display:none——有些自動程式會跳過
   被隱藏的欄位，移到畫面外則照填不誤，才攔得到。
   真人看不到，鍵盤也跳不進去（tabindex=-1）。 */
.bk-trap{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ---------- 步驟面板 ----------
   非目前步驟用 hidden 收起來，不是只把它畫成看不見：
   hidden 會把整塊從無障礙樹上移除，讀屏軟體不會唸到還沒輪到的題目 */
.bk-panel{ display:block; }
.bk-panel:focus{ outline:0; }

/* 各步內容長短差很多（實測 212～774px），不處理的話每按一次下一步、
   整頁高度就跳一次，頁尾跟著上下移動。原站的做法是把步驟絕對定位疊在
   一起、容器維持固定高；這裡改用最低高度達到同樣效果，同時保留 hidden
   的無障礙好處——還沒輪到的題目不會被讀屏軟體唸到。
   545px 是第 1～6 步中最高的那一步（第 1 步）。第 7 步是日曆，本來就
   比較高，走到最後一步版面變高是合理的。
   手機不套用：送出列本來就固定在畫面底部，不會因為高度變化而移位 */
@media (min-width:641px){
  .bk-panel{ min-height:545px; }
}

/* ---------- 回上一步 ---------- */
.bk-back{
  display:inline-flex; align-items:center; gap:8px;
  height:44px; padding:0 14px 0 10px; margin-bottom:8px;
  border-radius:999px; background:none; border:0;
  font-family:var(--sans); font-size:15px; font-weight:500; color:var(--slate);
  cursor:pointer; transition:background .2s ease, color .2s ease;
}
.bk-back:hover{ background:var(--cream); color:var(--ink); }
.bk-back svg{ width:20px; height:20px; }

/* ---------- 藥丸選項 ----------
   原站實測（Mantine Chip）：底色 #F1E9DE、圓角全圓、2px 透明邊框、
   內距 18.4/39.2、字 18.4px 字重 500、間距 20、寬度隨文字自動換行。
   內距與字級保留小數是因為原站以 rem × 縮放比算出來，取整會差 3px 高。
   選中的樣式是邊框轉品牌色加外圍光暈，原站光暈用其淺藍，此處換成品牌紅。 */
.bk-chips{
  display:flex; flex-wrap:wrap; gap:20px;
  border:0; padding:0; margin:0; min-width:0;
}
.bk-legend{
  position:absolute; width:1px; height:1px;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
.bk-chip input{
  position:absolute; width:1px; height:1px;
  opacity:0; pointer-events:none;
}
.bk-chip span{
  display:flex; align-items:center; justify-content:center;
  padding:18.4px 39.2px; border-radius:9999px;
  background:var(--sky); border:2px solid transparent;
  font-size:18.4px; line-height:1.55; font-weight:500; color:var(--ink);
  cursor:pointer;
  transition:border-color .15s ease-out, box-shadow .15s ease-out, opacity .15s ease-out;
}
.bk-chip span:hover{ border-color:rgba(226,26,34,.45); }
.bk-chip input:checked + span{
  border-color:var(--orange);
  box-shadow:0 0 5px 3px rgba(226,26,34,.18);
}
.bk-chip input:focus-visible + span{ outline:2px solid var(--orange); outline-offset:2px; }
/* 複選選滿上限後，沒選到的停用——讓人看得出來不能再選，而不是點了沒反應 */
.bk-chip input:disabled + span{ opacity:.4; cursor:not-allowed; }
.bk-chip input:disabled + span:hover{ border-color:transparent; }

/* ---------- 第 7 步的日曆佔位 ----------
   尺寸取自原站的 Calendly inline widget：最小寬 320、高 630。
   換成真的日曆時版面不會跳 */
/* 第 7 步：加入官方 LINE。
   按鈕沿用 .bk-next 的尺寸與圓角，只換成 LINE 的綠色，
   讓最後這一步在視覺上仍屬於同一條流程。 */
.bk-line{ margin-top:8px; }
.bk-line-btn{
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; height:50px; padding:0 26px;
  border-radius:32px;
  background:#06C755; color:var(--white);
  font-family:var(--sans); font-size:16px; font-weight:600;
  transition:background .22s ease;
}
.bk-line-btn:hover{ background:#05A948; }
.bk-line-btn svg{ width:22px; height:22px; flex:0 0 auto; }
.bk-line-note{
  font-size:14px; line-height:1.7; color:var(--slate);
  margin:16px 0 0; text-align:center;
}

/* ---------- 送出列 ----------
   按鈕與安心小字綁成一組，手機要整組固定在畫面底部 */
.bk-submit{ display:grid; gap:12px; margin-top:16px; }
.bk-next{
  width:100%; height:50px; padding:0 26px;
  border:0; border-radius:32px;
  background:var(--orange); color:var(--white);
  font-family:var(--sans); font-size:16px; font-weight:600;
  cursor:pointer; transition:background .22s ease;
}
.bk-next:hover{ background:var(--orange-d); }
.bk-next:disabled{ background:var(--sand); color:var(--white); cursor:not-allowed; }
.bk-secure{
  display:flex; align-items:center; justify-content:center; gap:8px;
  font-size:13px; color:var(--slate); margin:0;
}
.bk-secure svg{ width:14px; height:14px; flex:0 0 auto; }

/* ---------- 右側：兩層卡片 ----------
   原站實測：外卡距欄緣 32、寬 632、圓角 16、內距 20、白底；
   標題 36/39.6 之後接一張淺米內卡（寬 592、同圓角內距）。
   外卡之下原本還有深色評價卡，依規劃不放，故底下會留白。 */
.bk-aside{ padding:32px; }
.bk-aside-card{ background:var(--white); border-radius:16px; padding:20px; }
.bk-aside-title{ font-size:36px; line-height:1.1; font-weight:300; margin:0 0 16px; }
.bk-points-card{ background:var(--sky); border-radius:16px; padding:20px; }
.bk-points{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.bk-point{ display:grid; grid-template-columns:24px 1fr; gap:10px; align-items:start; }
.bk-check{
  width:24px; height:24px; border-radius:50%;
  background:var(--orange); display:grid; place-items:center;
}
.bk-check svg{ width:14px; height:14px; display:block; }
.bk-point h3{
  font-family:var(--sans); font-size:16px; line-height:1.55; font-weight:700;
  margin:0;
}
.bk-point p{ font-size:16px; line-height:1.55; color:var(--slate); margin:0; }

/* ---------- 深色卡：你可能還在想的兩件事 ----------
   位置與尺寸沿用原站那張評價卡：與上面的白卡間隔 32、同寬、圓角 16。
   內距用 32 而非白卡的 20——白卡裡面還有一張內卡負責撐開留白，
   這張沒有，文字貼著 20px 的邊會太擠。
   深底上不用品牌紅：紅對深棕只有 3.59:1，不足 4.5:1（見 HANDOFF 第四節），
   所以整張卡只用白與半透明白，不加彩色強調。 */
.bk-aside-dark{
  background:var(--ink); color:var(--white);
  border-radius:16px; padding:32px; margin-top:32px;
}
.bk-dark-title{ font-size:28px; line-height:1.15; font-weight:300; margin:0 0 8px; }
.bk-worries{ margin:0; }
.bk-worries dt{
  font-family:var(--sans); font-size:16px; line-height:1.55; font-weight:700;
  padding-top:24px; margin-top:24px; border-top:1px solid var(--line-d);
}
.bk-worries dd{
  font-size:16px; line-height:1.8; color:rgba(255,255,255,.72);
  margin:8px 0 0;
}

/* ---------- 預約頁斷點 ---------- */
@media (max-width:1024px){
  /* 對開收成上下堆疊，欄距歸零讓右側直接接上左欄。
     表單維持 632px 上限並置中：放掉上限會讓藥丸輸入框被拉到八百多像素寬 */
  .bk-split{ grid-template-columns:1fr; gap:0; }
  .bk-form-inner{ margin-inline:auto; }
  .bk-aside{ padding:32px var(--sec-pad) 56px; }
  .bk-aside-card{ max-width:632px; margin-inline:auto; }
}
@media (max-width:640px){
  /* 左右留白 24px：比照首頁 Hero 與服務頁頁首的既有慣例。
     底部留 120px 給固定住的送出列，否則最後一行字會被蓋掉 */
  .bk-form-col{ padding:24px 24px 120px; }
  .bk-logo{ margin-bottom:32px; }
  .bk-lead{ font-size:17px; margin-bottom:32px; }
  .bk-aside{ padding:24px 24px 48px; }
  .bk-aside-title{ font-size:28px; }
  .bk-aside-dark{ padding:24px; margin-top:24px; }
  .bk-dark-title{ font-size:22px; }

  /* 藥丸在 375px 下按原尺寸會爆版：內距與字級縮一階，間距收到 12 */
  .bk-chips{ gap:12px; }
  .bk-chip span{ padding:14px 24px; font-size:16px; }
  /* 日曆佔位改為滿欄寬，min-width 320 在 375 扣掉左右留白後會溢出 */

  /* 送出列固定在畫面底部（原站同樣做法）。
     safe-area 是 iPhone 底部那條橫線的高度，不補會被壓到 */
  .bk-submit{
    position:fixed; left:0; right:0; bottom:0; z-index:50;
    margin:0; gap:8px;
    padding:12px 24px calc(12px + env(safe-area-inset-bottom));
    background:var(--white); border-top:1px solid var(--sand);
  }

  /* 固定住的送出列會壓在頁尾最後一段上面（實測蓋住 76px，
     免責聲明與服務條款兩個連結完全點不到）。
     把送出列的高度補進頁尾下緣，整頁才真的捲得完 */
  .bk-page .footer-inner{ padding-bottom:calc(132px + env(safe-area-inset-bottom)); }
}

/* ======================= 關於源利 =======================
   開場不用照片：關於頁的主角是願景那句話，不是頁名。
   「關於源利」降為眉標、願景升為 h1，兩者置中。
   三欄理念直接沿用首頁信任點的 .trust-grid / .trust-item，
   不另寫一套卡片，全站只有這一種三欄理念的長相 */

.ab-eyebrow{
  font-size:16px; line-height:1.55; font-weight:500;
  letter-spacing:.14em; color:var(--slate); margin:0;
}
/* 寫成 h1.ab-title 是刻意的：上面第 91 行的 h1.display 權重同為「元素＋class」，
   只有寫成同樣形式且位置在後才蓋得過去（與 h1.ip-title 同一個理由） */
h1.ab-title{
  font-size:clamp(34px,4.44vw,64px); line-height:1.25; font-weight:300;
  max-width:860px; margin:24px auto 0;
}
.ab-intro-note{
  max-width:672px; margin:32px auto 0;
  font-size:20px; line-height:1.8; color:var(--slate);
}
/* 我們是誰：左圓形照片、右文字。兩欄各 620、間距 48，
   與容器可用內容寬 1288 相合（620+48+620）。
   照片的 width/height 屬性會蓋過 aspect-ratio，故另寫 height:auto */
.ab-who-grid{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:48px; align-items:center; margin-top:0;
}
.ab-who-photo{
  display:block; width:100%; max-width:600px; height:auto;
  aspect-ratio:1/1; object-fit:cover; border-radius:50%;
}
.ab-who-body p{ margin:0; font-size:16px; line-height:1.8; color:var(--slate); }
.ab-who-body p + p{ margin-top:16px; }

/* 創辦人：對照原站 Advisory Board。米色底板沿用 .section-wrap + .cream.rounded，
   白卡數值與 .ip-card 相同（白底、圓角 16、內距 32），寬 800 為原站值。
   卡片上緣 48 即原站標題到卡片的距離；標題自帶的下緣 24 會與它合併（取大者），不會相加。
   姓名、職稱、連結的字級沿用顧問名單（.team-name / .team-role / .team-link），
   讓同一個人在兩處長得一樣 */
.ab-founder-card{
  max-width:800px; margin:48px auto 0; padding:32px;
  background:var(--white); border-radius:16px;
}
.ab-founder-photo{
  width:190px; height:190px; margin:0 auto;
  object-fit:cover; border-radius:50%;
}
.ab-founder-name{
  margin:16px 0 0; font-family:var(--serif);
  font-size:26px; line-height:1.3; font-weight:400;
}
.ab-founder-role{ margin:6px 0 0; font-size:15px; letter-spacing:.06em; color:var(--slate); }
.ab-founder-bio{
  margin:16px 0 0; text-align:left;
  font-size:16px; line-height:1.8; color:var(--slate);
}
.ab-founder-link{
  display:inline-block; margin-top:16px; font-size:15px; font-weight:600;
  color:var(--orange); border-bottom:1.5px solid transparent; transition:border-color .2s ease;
}
.ab-founder-link:hover{ border-color:var(--orange); }

@media (max-width:1024px){
  .ab-who-grid{ grid-template-columns:1fr; gap:40px; justify-items:center; }
  .ab-who-photo{ max-width:420px; }
  .ab-who-body{ max-width:620px; }
}

@media (max-width:640px){
  .ab-eyebrow{ font-size:14px; }
  .ab-intro-note{ font-size:17px; margin-top:24px; }
  .ab-founder-card{ padding:24px; }
  .ab-founder-photo{ width:160px; height:160px; }
  .ab-founder-name{ font-size:20px; }
  .ab-founder-role{ font-size:13px; }
}

/* =========================================================
   顧問個人頁
   結構：深色頁首（姓名＋一句話＋照片）
         米色主體（左自述／右白卡：教育・專業知識・經驗・證照）
         其他顧問
   資料厚薄差異極大（證照 0～10 張、經驗 0～5 項），
   因此每一區都要能獨立消失，版面不得依賴任何一區存在。
   ========================================================= */
.adv-hero{ background:var(--ink); color:#fff; padding:120px var(--sec-pad) 96px; }
.adv-hero-inner{
  display:grid; grid-template-columns:minmax(0,1fr) 400px;
  gap:64px; align-items:center;
}
.adv-eyebrow{ margin:0; font-size:16px; line-height:1.55; color:rgba(255,255,255,.72); }
h1.adv-name{                            /* 寫成 h1.adv-name 以蓋過 .display 的字級 */
  font-family:var(--serif); font-size:clamp(40px,5.2vw,72px);
  font-weight:300; line-height:1.15; margin:20px 0 0; color:#fff;
}
.adv-role{ margin:14px 0 0; font-size:15px; letter-spacing:.06em; color:var(--gold-400); }
.adv-motto{
  margin:36px 0 0; max-width:28em;
  font-size:22px; line-height:1.8; color:rgba(255,255,255,.88);
}
.adv-hero .btn{ margin-top:44px; }
/* height:auto 是必要的：img 的 height="800" 屬性會蓋過 aspect-ratio，
   不寫就會照原圖高度 800px 撐開，比例失效 */
.adv-photo{
  display:block; width:100%; height:auto; aspect-ratio:3/4;
  object-fit:cover; border-radius:var(--r-md);
}

.adv-body{ background:var(--cream); padding:96px var(--sec-pad); }
.adv-grid{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr);
  gap:56px; align-items:start;
}
.adv-about h2{
  font-family:var(--serif); font-size:32px; font-weight:400;
  line-height:1.2; margin:0 0 20px;
}
.adv-about p{ margin:0 0 18px; font-size:17px; line-height:1.9; color:var(--slate); }
.adv-about p:last-child{ margin-bottom:0; }

.adv-facts{
  background:var(--white); border-radius:var(--r-lg);
  padding:48px; display:grid; gap:40px;
}
.adv-fact h3{
  font-family:var(--serif); font-size:26px; font-weight:400;
  line-height:1.2; margin:0 0 16px;
}
.adv-list{ margin:0; padding:0; list-style:none; display:grid; gap:10px; }
.adv-list li{ font-size:17px; line-height:1.7; color:var(--slate); }

/* 證照 0～10 張都要好看，故用標籤排列而非條列 */
.adv-certs{ margin:0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:8px; }
.adv-certs li{
  font-size:15px; line-height:1.5; color:var(--ink);
  padding:7px 14px; border:1px solid var(--line); border-radius:999px;
}

/* 其他顧問 */
.adv-more{ padding:88px var(--sec-pad); }
.adv-more-head{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:24px; margin:0 0 32px;
}
.adv-more-head h2{ font-family:var(--serif); font-size:32px; font-weight:400; margin:0; }
.adv-more-track{
  display:flex; gap:20px; overflow-x:auto;
  scroll-snap-type:x mandatory; padding-bottom:8px;
  scrollbar-width:none;
}
.adv-more-track::-webkit-scrollbar{ display:none; }
.adv-more-card{ flex:0 0 190px; scroll-snap-align:start; text-decoration:none; color:inherit; }
.adv-more-card img{
  display:block; width:100%; height:auto; aspect-ratio:3/4;
  object-fit:cover; border-radius:var(--r-md);
}
.adv-more-card span{ display:block; margin-top:12px; font-size:16px; font-weight:500; }
.adv-more-card:hover span{ color:var(--orange); }

@media (max-width:1024px){
  .adv-hero{ padding:88px var(--sec-pad) 72px; }
  .adv-hero-inner{ grid-template-columns:1fr; gap:40px; }
  .adv-photo{ max-width:360px; }
  .adv-body{ padding:72px var(--sec-pad); }
  .adv-grid{ grid-template-columns:1fr; gap:36px; }
  .adv-facts{ padding:36px; gap:32px; }
  .adv-more{ padding:72px var(--sec-pad); }
}

@media (max-width:640px){
  .adv-motto{ font-size:19px; }
  .adv-facts{ padding:28px; }
  .adv-about h2,.adv-more-head h2{ font-size:28px; }
  .adv-fact h3{ font-size:23px; }
  .adv-more-card{ flex-basis:150px; }
}

/* =========================================================
   顧問介紹（團隊頁）
   結構：深色頁首（左大標／右團隊介紹）
         米色名單（圓形照片三欄）
         深色結尾 CTA（沿用 .section.ink 既有寫法）
   ========================================================= */
.team-hero{ background:var(--ink); color:#fff; padding:120px var(--sec-pad) 96px; }
.team-hero-inner{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:64px; align-items:start;
}
.team-eyebrow{ margin:0; font-size:16px; line-height:1.55; color:rgba(255,255,255,.72); }
h1.team-title{                          /* 寫成 h1.team-title 以蓋過 .display 的字級 */
  font-family:var(--serif); font-size:clamp(40px,5.2vw,68px);
  font-weight:300; line-height:1.2; margin:20px 0 0; color:#fff;
}
.team-intro p{ margin:0 0 20px; font-size:17px; line-height:1.9; color:rgba(255,255,255,.82); }
.team-intro p:last-child{ margin-bottom:0; }

/* 名單區沿用現成的 .section-wrap + .section cream rounded，
   不另外寫底色與圓角，與首頁顧問區、常見問題同一套寫法。
   深色頁首與米白卡之間留 32px——原站實測各區塊間距一律 32px，
   貼齊的話圓角會直接壓在深色上，看不出是一張卡。 */
.team-hero + .section-wrap{ margin-top:32px; }

.team-list-head{ max-width:720px; margin:0 auto 64px; text-align:center; }
.team-list-head h2{
  font-family:var(--serif); font-size:clamp(32px,3.6vw,48px);
  font-weight:300; line-height:1.2; margin:0;
}
.team-list-head p{ margin:20px 0 0; font-size:18px; line-height:1.8; color:var(--slate); }

.team-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:56px 40px; }
.team-card{ display:block; text-align:center; text-decoration:none; color:inherit; }
/* 照片原圖是 3:4 直式，裁成圓形時從偏上取景，臉才會落在圓心。
   height:auto 是必要的：img 的 height 屬性會蓋過 aspect-ratio。 */
.team-photo{
  display:block; width:100%; max-width:280px; height:auto; aspect-ratio:1;
  margin:0 auto; object-fit:cover; object-position:center 18%;
  border-radius:50%; background:var(--sand);
}
.team-name{ display:block; margin-top:24px; font-family:var(--serif); font-size:26px; font-weight:400; }
.team-role{ display:block; margin-top:6px; font-size:15px; letter-spacing:.06em; color:var(--slate); }
.team-link{
  display:inline-block; margin-top:14px; font-size:15px; font-weight:600;
  color:var(--orange); border-bottom:1.5px solid transparent; transition:border-color .2s ease;
}
.team-card:hover .team-link{ border-color:var(--orange); }

@media (max-width:1024px){
  .team-hero{ padding:88px var(--sec-pad) 72px; }
  .team-hero-inner{ grid-template-columns:1fr; gap:36px; }
  .team-list-head{ margin-bottom:48px; }
  .team-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:48px 32px; }
}

/* 手機維持兩欄：十餘位顧問排成一欄要捲太久，兩欄較好掃視 */
@media (max-width:640px){
  .team-grid{ gap:36px 20px; }
  .team-photo{ max-width:150px; }
  .team-name{ font-size:20px; margin-top:16px; }
  .team-role{ font-size:13px; }
  .team-link{ font-size:14px; margin-top:10px; }
}

/* =========================================================
   商店頁（財務規劃方案）
   ========================================================= */

/* ---------- 導覽列購物車 ----------
   做成線稿圖示而非實心按鈕：全站唯一的紅色實心按鈕仍只有導覽列那顆 CTA。
   件數角標用 data-count 控制，為 0 時不顯示，WordPress 端直接吐數字即可。 */
.nav-cart{
  position:relative; flex:0 0 auto;
  width:40px; height:40px; border-radius:10px;
  display:grid; place-items:center;
  color:var(--ink);
  transition:background .2s ease,color .2s ease;
}
.nav-cart:hover{ background:rgba(34,26,22,.06); color:var(--orange); }
.nav-cart-icon{ width:22px; height:22px; display:block; }
.nav-cart-count{
  position:absolute; top:2px; right:2px;
  min-width:17px; height:17px; padding:0 4px;
  border-radius:999px; background:var(--orange); color:#fff;
  font-size:11px; font-weight:700; line-height:17px; text-align:center;
  /* 角標壓在圖示邊緣，補一圈底色讓兩者分離 */
  box-shadow:0 0 0 2px var(--cream);
}
.nav-cart[data-count="0"] .nav-cart-count{ display:none; }

/* ---------- 頁首 ----------
   服務頁頁首底部有一顆按鈕，商店頁沒有（按鈕在方案卡上），
   故把原本留給按鈕的下方空間收掉 */
.shop-hero{ min-height:0; padding-block:96px 88px; }

/* ---------- 方案卡 ----------
   三欄並排，內容左對齊（服務頁的 .ip-card 是置中，但條列置中會不好讀）。
   按鈕靠 margin-top:auto 壓在底部，三張卡的按鈕才會對齊成一條線。 */
/* 卡片寬度固定、整組置中、自動換行。刻意不用「固定幾欄」的格線：
   方案數量由後台決定，欄數固定的話多一個方案就得把卡片拉寬，
   內容是照 419px 排的，一拉寬文字就全擠在左邊、右側空一大片。
   固定寬度後：3 個排一排，4 個是 3+1 置中，5 個是 3+2 置中，卡片永不變形。 */
.plan-grid{
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:16px; margin-top:32px;
}
.plan-card{
  /* 基準 330、上限 419。實際寬度由 flex-grow 撐到上限，
     桌機三欄時為 418.67，與原站的 419 相同。
     基準值要同時滿足三個寬度，差一點就會少排一張：
       桌機 1288：> (1288-48)/4 = 310   才不會擠進第四張
       桌機 1288：≤ (1288-32)/3 = 418.67 才排得下三張
       平板  689：≤ (689-16)/2  = 336.5  才排得下兩張
     取 340 時平板只差 7px 排不下，整排變成一張、左右各空 135px。 */
  flex:1 1 330px; max-width:419px;
  background:var(--white); border-radius:16px; padding:32px;
  display:flex; flex-direction:column; align-items:flex-start;
}
/* 分隔線掛在上半部的下緣，不掛在條列的上緣：
   客戶沒填簡短說明時條列整塊不存在，線若跟著消失，
   卡片會變成價格與按鈕之間一片空白、看起來像沒做完。 */
.plan-head{
  width:100%; padding-bottom:24px;
  border-bottom:1px solid var(--line);
}
.plan-icon{
  width:56px; height:56px; border-radius:50%; flex:0 0 auto;
  background:var(--ink); display:grid; place-items:center;
  margin-bottom:24px;
}
.plan-icon svg{ width:26px; height:26px; display:block; }
.plan-name{
  font-family:var(--sans); font-size:20px; line-height:1.55;
  font-weight:700; margin:0 0 16px;
}
.plan-price{
  font-family:var(--serif); font-size:36px; line-height:1.15;
  font-weight:400; letter-spacing:-.01em; margin:0;
}
.plan-list{
  margin:24px 0 32px;
  display:grid; gap:12px; width:100%;
}
.plan-list li{
  font-size:16px; line-height:1.8; color:var(--slate);
  padding-left:22px; position:relative;
}
.plan-list li::before{
  content:''; position:absolute; left:4px; top:12px;
  width:6px; height:6px; border-radius:50%; background:var(--orange);
}
/* 客戶把簡短說明寫成整段文字而不是條列時的退路：
   沒有紅點，但行距與顏色和條列一致，不會看起來像另一種東西。 */
.plan-list p{
  font-size:16px; line-height:1.8; color:var(--slate); margin:0;
}
/* 三顆紅色實心按鈕會和導覽列搶，依既有做法退成 ghost（同 #value 區的處理） */
.plan-cta{ margin-top:auto; }
.plan-card .btn-primary{ background:transparent; color:var(--ink); border-color:var(--sand); }
.plan-card .btn-primary:hover{ background:transparent; color:var(--orange); border-color:var(--orange); }
.plan-card .btn-primary .arrow{ background:transparent; }
.plan-card .btn-primary .arrow::after{ border-color:currentColor; }

/* ---------- 商店頁斷點 ---------- */
@media (max-width:1024px){
  .shop-hero{ padding-block:72px 64px; }
}
@media (max-width:640px){
  .shop-hero{ padding-inline:24px; padding-block:64px 56px; }
  .plan-card{ padding:28px 24px; }
  .plan-price{ font-size:32px; }
}

/* =========================================================
   商品頁（單一方案）
   ========================================================= */

/* ---------- 頁首 ----------
   白底、置中單欄。全站其他內頁的頁首都是深色，商品頁刻意不同：
   深色是行銷頁的語言（首頁、六個服務頁、商店頁），商品頁是交易頁，
   白底讓焦點落在價格與按鈕上。這是刻意的區分，不是漏掉。 */
.pd-hero{
  background:var(--white); color:var(--ink);
  padding:32px var(--sec-pad) 80px;
}

/* ---------- 麵包屑 ----------
   分隔的「›」用 span 而非 CSS 產生：它在語意上是分隔符號，
   需要 aria-hidden，純 CSS 的 content 標不到。

   頁首其餘內容置中，但麵包屑維持靠左：它是導覽用的，不屬於版面構成，
   置中反而會跟標題搶。 */
.pd-crumbs,
.art-crumbs{
  display:flex; align-items:center; flex-wrap:wrap; gap:8px;
  font-size:13px; line-height:1.55; color:var(--slate);
  margin-bottom:56px;
}
.pd-crumbs a,
.art-crumbs a{ color:var(--slate); transition:color .2s ease; }
.pd-crumbs a:hover,
.art-crumbs a:hover{ color:var(--orange); }
.pd-crumbs [aria-current],
.art-crumbs [aria-current]{ color:var(--ink); }

/* ---------- 頁首：置中單欄 ----------
   參考頁是「左圖右資訊」兩欄，但這一頁依使用者決定不放商品主圖。
   不放圖又靠左的話，1288 的容器右邊會空掉 568px，所以整組置中。 */
.pd-hero-copy{ max-width:720px; margin-inline:auto; text-align:center; }
h1.pd-title{                            /* 與服務頁頁首同級，但商品名較短，不需 80px */
  font-size:clamp(34px,4.17vw,60px); line-height:1.15; font-weight:300;
  margin:0; color:var(--ink);
}
/* 條列置中會讓每一行的起點都不一樣、很難讀。
   改成「區塊置中、文字仍然靠左」：inline-grid 讓清單只佔內容寬度，
   由外層的 text-align:center 把整塊推到中間。 */
/* 標題下方直接接三點摘要：依使用者決定不做「一句話導言」欄位，
   WooCommerce 沒有對應的欄位可以帶，原型也就不留那一行 */
.pd-summary{ margin:32px 0 0; display:inline-grid; gap:12px; text-align:left; }
.pd-summary li{
  font-size:18px; line-height:1.7; color:var(--ink);
  padding-left:22px; position:relative;
}
.pd-summary li::before{
  content:''; position:absolute; left:4px; top:13px;
  width:6px; height:6px; border-radius:50%; background:var(--orange);
}

/* ---------- 購買區 ----------
   單欄之後不再是右側的卡片，改成接在摘要下方的一組價格＋按鈕。
   上方一條細線把「商品資訊」與「購買動作」分開。 */
.pd-buy{
  margin-top:40px; padding-top:32px;
  border-top:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; gap:32px; flex-wrap:wrap;
}
.pd-buy-price{
  font-family:var(--serif); font-size:44px; line-height:1.15;
  font-weight:400; letter-spacing:-.01em; margin:0; color:var(--ink);
}
/* 這一頁的主要行動就是這顆，紅色實心留給它。
   與導覽列那顆並存，和首頁會費區是同一種情況（見 HANDOFF 第七節）。
   依使用者決定只有一顆，不做「立即購買」。 */
.pd-buy-btn{ height:54px; padding:0 40px; font-size:16px; }

/* ---------- 商品說明（編輯器內容）----------
   WordPress 端這一區由商品的「詳細說明」吐出，客戶自己打字。
   因此這裡只能靠元素選擇器，不能依賴任何 class。 */
.pd-section{ padding-block:80px; }
/* 區塊標題。置中與頁首一致；比編輯器內容裡的 h2（32px）大一級，
   層級才分得出來 */
.pd-sub-title{
  font-size:clamp(28px,3.33vw,40px); line-height:1.15; font-weight:300;
  margin:0 0 40px; text-align:center;
}
.pd-content > *:first-child{ margin-top:0; }
/* 區塊標題（服務介紹／方案規格／其他方案）是 40px，
   編輯器內容裡的 h2 是它底下的小節，降到 32px 才分得出層級。
   兩者同為 40px 時，「服務介紹」與「你會拿到什麼」會長得一模一樣。 */
.pd-content h2{
  font-family:var(--serif); font-size:clamp(26px,2.67vw,32px); line-height:1.15;
  font-weight:300; letter-spacing:-.01em; margin:64px 0 24px;
}
.pd-content h3{
  font-family:var(--sans); font-size:18px; line-height:1.55;
  font-weight:700; margin:32px 0 12px;
}
.pd-content p{ font-size:16px; line-height:1.8; margin:0 0 20px; }
.pd-content ul,
.pd-content ol{ margin:0 0 24px; display:grid; gap:12px; }
.pd-content li{ font-size:16px; line-height:1.8; padding-left:26px; position:relative; }
.pd-content ul li::before{
  content:''; position:absolute; left:6px; top:12px;
  width:6px; height:6px; border-radius:50%; background:var(--orange);
}
/* 編號用 counter 而非瀏覽器預設的 list-style：
   預設的數字無法控制字體與顏色，而這一頁的編號是「付款之後的順序」，
   要和服務頁的步驟一樣用襯線體才對得上。 */
.pd-content ol{ counter-reset:pd-step; }
.pd-content ol li{ counter-increment:pd-step; padding-left:34px; }
.pd-content ol li::before{
  content:counter(pd-step);
  position:absolute; left:0; top:0;
  font-family:var(--serif); font-size:17px; line-height:1.7;
  color:var(--orange); font-weight:600;
}
.pd-content strong{ font-weight:700; color:var(--ink); }
.pd-content img{ width:100%; border-radius:16px; margin:32px 0; }

/* ---------- 表格 ----------
   客戶在編輯器裡貼的表格不會帶任何 class，全靠元素選擇器。 */
.pd-content table{
  width:100%; border-collapse:collapse;
  margin:0 0 32px; font-size:16px; line-height:1.8;
}
.pd-content thead th{
  background:var(--ink); color:#fff;
  font-weight:600; text-align:left;
  padding:14px 20px;
}
.pd-content thead th:first-child{ border-top-left-radius:10px; }
.pd-content thead th:last-child{ border-top-right-radius:10px; }
.pd-content tbody td{
  padding:16px 20px; border-bottom:1px solid var(--line);
  vertical-align:top;
}
.pd-content tbody td:first-child{ font-weight:600; white-space:nowrap; }
.pd-content tbody tr:last-child td{ border-bottom:0; }

/* ---------- 商品頁斷點 ---------- */
@media (max-width:1024px){
  .pd-hero{ padding-block:32px 64px; }
  .pd-section{ padding-block:64px; }
}
@media (max-width:640px){
  .pd-hero{ padding-inline:24px; padding-block:24px 56px; }
  .pd-crumbs{ margin-bottom:32px; font-size:12px; }
  .pd-summary li{ font-size:17px; }
  /* 價格與按鈕改上下排，按鈕滿寬比較好按 */
  .pd-buy{ flex-direction:column; align-items:stretch; gap:20px; }
  .pd-buy-price{ font-size:38px; }
  .pd-buy-btn{ display:flex; align-items:center; justify-content:center; }
  .pd-section{ padding-block:56px; }
  .pd-content h2{ margin-top:48px; }

  /* 表格轉成卡片堆疊，不做橫向捲動。
     刻意不靠 data-label 標欄名：編輯器裡貼的表格不會有那個屬性，
     而第一欄本來就是項目名稱、其餘欄位的值自己讀得懂
     （「每年 4 次，兩年共 8 次」不需要再標一次「次數」）。 */
  .pd-content thead{ display:none; }
  .pd-content table,
  .pd-content tbody,
  .pd-content tr,
  .pd-content td{ display:block; }
  .pd-content tbody tr{
    background:var(--cream); border-radius:12px;
    padding:20px 24px; margin-bottom:12px;
  }
  .pd-content tbody td{ padding:0; border-bottom:0; }
  .pd-content tbody td:first-child{
    white-space:normal; font-size:17px; margin-bottom:8px;
  }
  .pd-content tbody td + td{ color:var(--slate); margin-top:6px; }
}

/* =========================================================
   部落格：文章列表
   卡片版型（封面 + 日期分類 + 標題 + 摘要 + 閱讀更多），三欄。
   分類頁、標籤頁共用這一整套，差別只在頁首的 eyebrow 與標題。
   ========================================================= */

/* ---------- 頁首 ----------
   白底置中，與商品頁的 .pd-hero 同一種（交易／資料性質的頁面用白底，
   銷售性質的頁面才用深色或照片頁首）。
   內容收在 712px：副標置中時行長超過這個寬度，視線回行會找不到位置。
   寫成 h1.blog-title 是為了蓋過 .display 的字級，與 h1.team-title 同理。 */
.blog-hero{
  background:var(--white); color:var(--ink);
  padding:96px var(--sec-pad) 72px;
  text-align:center;
}
.blog-hero-inner{ max-width:744px; }   /* 扣掉容器左右各 16 的內距，實得 712 */
.blog-eyebrow{ margin:0; font-size:16px; line-height:1.55; color:var(--slate); }
h1.blog-title{
  font-family:var(--serif); font-size:clamp(36px,4.45vw,64px);
  font-weight:300; line-height:1.15; margin:20px 0 0;
}
.blog-lead{ margin:24px 0 0; font-size:20px; line-height:1.55; color:var(--slate); }

/* ---------- 搜尋框 ----------
   膠囊狀，高 54 與商品頁的購買鈕同高。底色用 --cream 而非白：
   這一塊頁首本身就是白底，白框在白底上看不出是可以打字的地方。 */
.blog-search{
  display:flex; align-items:center; gap:10px;
  width:100%; max-width:440px; height:54px;
  margin:32px auto 0; padding:0 22px;
  background:var(--cream); border:1px solid var(--sand); border-radius:999px;
  transition:border-color .2s ease;
}
.blog-search:focus-within{ border-color:var(--ink); }
.blog-search-icon{ width:18px; height:18px; flex:0 0 auto; color:var(--slate); }
.blog-search input{
  flex:1 1 auto; min-width:0; height:100%;
  border:0; background:none; outline:none;
  font-family:var(--sans); font-size:16px; color:var(--ink);
}
.blog-search input::placeholder{ color:var(--slate-l); }
/* Safari 的 type=search 自帶清除鈕與內距，會把文字推歪 */
.blog-search input::-webkit-search-decoration,
.blog-search input::-webkit-search-cancel-button{ -webkit-appearance:none; }

/* ---------- 分類列 ----------
   一律 nowrap + 橫向捲動，不做換行。桌機七項遠不到欄寬，不會捲；
   手機才會真的捲動。換行版要處理底線與分隔線的錯位，捲動版沒有這個問題。
   目前項的 2px 底線靠 margin-bottom:-1px 壓在容器那條 1px 分隔線上。 */
.blog-tabs{
  display:flex; gap:24px; overflow-x:auto;
  border-bottom:1px solid var(--line);
  scrollbar-width:none;
}
.blog-tabs::-webkit-scrollbar{ display:none; }
.blog-tabs a{
  flex:none; white-space:nowrap;
  padding-bottom:16px; margin-bottom:-1px;
  font-size:15px; line-height:1.55; color:var(--slate);
  border-bottom:2px solid transparent;
  transition:color .2s ease, border-color .2s ease;
}
.blog-tabs a:hover{ color:var(--ink); }
.blog-tabs a[aria-current]{ color:var(--ink); font-weight:700; border-bottom-color:var(--orange); }

/* ---------- 文章卡 ----------
   三欄、每頁 9 篇，剛好排滿三排。卡片不用陰影，靠 1px 邊框分界，
   與全站一致（方案卡、勾選條列都是這個作法）。 */
.post-grid{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px; margin-top:40px;
}
.post-card{
  display:flex; flex-direction:column;
  background:var(--white);
  border:1px solid var(--line); border-radius:var(--r-md);
  overflow:hidden;
  transition:border-color .2s ease;
}
.post-card:hover{ border-color:var(--ink); }
/* 封面滿寬貼邊，3:1 橫幅。aspect-ratio 搭配 height:auto 才生效
   （img 的 height 屬性會蓋過 aspect-ratio，與顧問照同一個坑）。
   WordPress 端由精選圖片輸出，裁切尺寸另於主題宣告。 */
.post-cover{ display:block; }
.post-cover img{
  width:100%; height:auto; aspect-ratio:3/1;
  object-fit:cover; background:var(--sand);
}
/* flex:1 讓每張卡的內文區等高，「閱讀更多」才壓得到底部對齊成一條線 */
.post-body{ display:flex; flex-direction:column; flex:1 1 auto; padding:20px 24px 24px; }
.post-meta{ margin:0; font-size:13px; line-height:1.55; color:var(--slate); letter-spacing:.02em; }
/* 標題限兩行、摘要限三行：後台打的長度不一定，不限行數的話同一排
   三張卡會高矮不一，格線就歪了。 */
.post-title{
  font-family:var(--serif); font-size:22px; line-height:1.3; font-weight:400;
  margin:10px 0 0;
  display:-webkit-box; -webkit-box-orient:vertical;
  -webkit-line-clamp:2; line-clamp:2; overflow:hidden;
}
.post-title a{ transition:color .2s ease; }
.post-card:hover .post-title a{ color:var(--orange); }
.post-excerpt{
  margin:12px 0 0; font-size:15px; line-height:1.8; color:var(--slate);
  display:-webkit-box; -webkit-box-orient:vertical;
  -webkit-line-clamp:3; line-clamp:3; overflow:hidden;
}
/* margin-top:auto 把它壓到卡片底部；箭頭位移沿用按鈕的既有作法 */
.post-more{
  display:inline-flex; align-items:center; gap:6px; align-self:flex-start;
  margin-top:auto; padding-top:20px;
  font-size:15px; font-weight:600; color:var(--orange);
}
.post-more span{ transition:transform .22s ease; }
.post-card:hover .post-more span{ transform:translateX(3px); }

/* ---------- 分頁 ---------- */
.blog-pager{ display:flex; justify-content:center; gap:8px; margin-top:56px; }
.blog-pager a,
.blog-pager span{
  display:grid; place-items:center; width:40px; height:40px;
  border:1px solid var(--line); border-radius:var(--r-sm);
  font-size:15px; color:var(--slate);
  transition:color .2s ease, border-color .2s ease, background-color .2s ease;
}
.blog-pager a:hover{ color:var(--ink); border-color:var(--ink); }
/* 目前頁選取器不綁元素：原型與 WordPress 都是 span，但 paginate_links()
   在某些情況會改吐 a，綁死元素會有一邊套不到 */
.blog-pager [aria-current]{ background:var(--ink); border-color:var(--ink); color:#fff; }

@media (max-width:1024px){
  .blog-hero{ padding:72px var(--sec-pad) 56px; }
  .blog-lead{ font-size:18px; }
  .post-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:640px){
  .blog-hero{ padding:56px var(--sec-pad) 48px; }
  .blog-lead{ margin-top:20px; font-size:17px; }
  .blog-search{ height:50px; margin-top:28px; }
  /* 單欄之後卡片變滿寬，封面 3:1 會成為一條過扁的帶子，放寬到 2:1 */
  .post-grid{ grid-template-columns:1fr; gap:20px; margin-top:32px; }
  .post-cover img{ aspect-ratio:2/1; }
  .post-title{ font-size:20px; }
  .blog-pager{ margin-top:40px; }
}

/* ---------- 搜尋結果 ----------
   筆數夾在分類列與卡片之間，自己不帶分隔線：分類列底下已經有一條，
   再加一條會變成兩條平行線。
   有筆數時卡片的上距由 24 接手，否則會疊上 .post-grid 原本的 40。 */
.blog-count{
  margin:24px 0 0;
  font-size:15px; line-height:1.55; color:var(--slate);
}
.blog-count + .post-grid{ margin-top:24px; }

/* 找不到結果。不放筆數也不放分隔線：一條線底下空無一物，
   看起來像是載入失敗而不是沒有結果。 */
.blog-empty{ text-align:center; padding-block:80px; }
.blog-empty-title{
  font-family:var(--serif); font-size:28px; line-height:1.3; font-weight:400;
  margin:0;
}
.blog-empty-text{ margin:16px 0 0; font-size:17px; line-height:1.8; color:var(--slate); }
.blog-empty .btn{ margin-top:32px; }

@media (max-width:640px){
  .blog-empty{ padding-block:56px; }
  .blog-empty-title{ font-size:22px; }
  .blog-empty-text{ font-size:16px; }
}

/* =========================================================
   部落格：單篇文章與 404
   前綴用 art-（article）。post- 已經被列表的卡片用掉了，
   同一個前綴管兩種東西會分不清哪個 class 屬於哪一頁。
   ========================================================= */

/* ---------- 文章頁首 ----------
   白底、內容欄 820、文字全部靠左。長文的大標置中會讓視線起點在
   標題與內文之間跳一次，所以這一頁不沿用商品頁那種置中頁首。
   麵包屑的樣式與商品頁共用，見上面的 .pd-crumbs, .art-crumbs。 */
.art-hero{ background:var(--white); padding:32px var(--sec-pad) 0; }
.art-title{
  font-family:var(--serif); font-size:clamp(30px,3.3vw,44px);
  line-height:1.25; font-weight:300; margin:0;
}

/* ---------- 作者列 ----------
   顧問照是 3:4 直式，裁成圓形時從偏上取景，臉才會落在圓心，
   與顧問名單的 .team-photo 同一個作法。 */
.art-author{ display:flex; align-items:center; gap:16px; margin-top:32px; }
.art-author-photo{ display:block; flex:0 0 auto; }
.art-author-photo img{
  width:56px; height:56px; border-radius:50%;
  object-fit:cover; object-position:center 18%; background:var(--sand);
}
.art-author-name{ margin:0; font-size:16px; line-height:1.55; }
.art-author-name a{ font-weight:700; transition:color .2s ease; }
.art-author-name a:hover{ color:var(--orange); }
.art-author-name span{ margin-left:10px; color:var(--slate); }
.art-author-meta{ margin:4px 0 0; font-size:13px; line-height:1.55; color:var(--slate); }

/* ---------- 重點摘要 ----------
   左邊一條紅線，不做色塊：這一塊要讀起來像文章的一部分，
   不是一個被框起來的廣告。沒填就整塊不輸出，不會開天窗。 */
.art-summary{
  margin:40px 0 0; padding:4px 0 4px 28px;
  border-left:4px solid var(--orange);
}
.art-summary-title{ margin:0 0 8px; font-size:15px; line-height:1.55; font-weight:700; }
.art-summary p:last-child{ margin:0; font-size:17px; line-height:1.8; }

/* ---------- 封面 ----------
   2:1，比卡片的 3:1 高。單篇這一張是版面的主視覺，3:1 在這個寬度
   會變成一條帶子。aspect-ratio 搭配 height:auto 才生效。 */
.art-cover{
  width:100%; height:auto; aspect-ratio:2/1; object-fit:cover;
  border-radius:var(--r-md); background:var(--sand);
  margin-top:48px;
}

/* ---------- 內文 ----------
   樣式全部來自商品頁的 .pd-content，這裡只管外層的留白。 */
.art-body{ padding:56px var(--sec-pad) 80px; }

/* ---------- 延伸閱讀 ---------- */
.art-related-title{
  font-family:var(--serif); font-size:clamp(26px,2.67vw,32px);
  line-height:1.15; font-weight:300; margin:0 0 32px;
}

/* ---------- 404 ----------
   與搜尋頁的空狀態同一個版面，只是底色白的、多一個文字出口。
   標題與說明沿用 .blog-empty-* 的字級，不另立一套。 */
.art-404{ padding:120px var(--sec-pad); text-align:center; }
.art-404-actions{
  display:flex; justify-content:center; align-items:center;
  flex-wrap:wrap; gap:12px 28px; margin-top:32px;
}
.art-404-link{
  display:inline-flex; align-items:center; gap:6px;
  font-size:15px; font-weight:600; color:var(--orange);
}
.art-404-link span{ transition:transform .22s ease; }
.art-404-link:hover span{ transform:translateX(3px); }

@media (max-width:640px){
  .art-hero{ padding-top:24px; }
  .art-author{ gap:12px; margin-top:24px; }
  .art-author-photo img{ width:48px; height:48px; }
  .art-summary{ margin-top:32px; padding-left:20px; }
  .art-summary p:last-child{ font-size:16px; }
  .art-cover{ margin-top:32px; }
  .art-body{ padding-block:40px 56px; }
  .art-404{ padding-block:80px; }
}

/* ---------- 一般頁面（服務條款這類純文字頁）----------
   版面只有標題、更新日期、長文三樣，內文沿用 .pd-content，
   所以這裡只需要更新日期那一行，以及收一下標題與內文之間的間距。

   .pd-content h2 原本上距 64：那是商品頁的節奏，一頁只有四五個小標。
   法律條文一頁有三十幾條，64 會讓整頁拉長到難以捲動，收到 40。 */
.page-plain .display{ margin-bottom:0; }
.page-meta{ margin:12px 0 0; font-size:13px; line-height:1.55; color:var(--slate); }
.page-plain .pd-content{ margin-top:40px; }
.page-plain .pd-content h2{ margin-top:40px; }

@media (max-width:640px){
  .page-plain .pd-content{ margin-top:32px; }
  .page-plain .pd-content h2{ margin-top:32px; }
}
