/* ==========================================================================
   TT Core — 主题 Hub 页版式 "T3"（Claude 设计稿 category-option-b，2026-10-13）
   · 用户 Mark 2026-10-13 拍板：版面严格照 Claude 稿，只动「违反 SEO 冻结 / 红线」处。
   · 本文件只服务 tt_layout=t3 的 Hub 页（由 tt_hub_t3_html() 输出，条件加载）。
   · 字体：Fraunces + Public Sans 均为 SIL OFL 开源，本地自托管 —— 零 Google 依赖。
   · 对照表（tt-glance2）保留活站原 markup 与文字，仅在本壳内换肤。
   ========================================================================== */

@font-face{font-family:'Fraunces';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/fraunces-var.woff2) format('woff2');}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/public-sans-var-latin.woff2) format('woff2');}

/* 外层：放开主题对 .entry-content 的窄栏约束，让 Hero/沙色段能满幅通栏 */
body.tt-type-hub:has(.ttct) .entry-content.tt-content,body.tt-type-route:has(.ttct) .entry-content.tt-content{max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;width:100%!important}

.ttct{--acc:#8E2A17;--acc-dk:#6B1E10;--ink:#1C2733;--txt:#39434F;--mute:#4A5562;--soft:#6A7380;--sand:#F6F3EE;--chip:#F1ECE3;--line:#E4E0D8;--gold:#E2B04A;font-family:'Public Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);line-height:1.6;background:#fff}
.ttct *,.ttct *::before,.ttct *::after{box-sizing:border-box}
.ttct img{display:block;max-width:100%}
.ttct section,.ttct article,.ttct aside,.ttct header,.ttct nav{margin:0}
.ttct p{margin:0}
.ttct a{color:var(--acc);text-decoration:none}
.ttct a:hover{color:var(--acc-dk)}
.ttct h1,.ttct h2,.ttct h3{font-family:'Fraunces',Georgia,serif;font-weight:600;margin:0;line-height:1.15;color:var(--ink)}
.ttct-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.ttct-narrow{max-width:820px}
.ttct-sec{padding:80px 0}
.ttct-sand{background:var(--sand)}
.ttct-eb{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--acc);margin-bottom:6px}
.ttct-h2{font-size:38px;margin-bottom:28px}
.ttct-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:6px;font:600 15px 'Public Sans',sans-serif;text-decoration:none;border:0;cursor:pointer}
.ttct-btn--ink{background:var(--ink);color:#fff!important}
.ttct-btn--ink:hover{background:#0F1820}
.ttct-btn--line{background:#fff;color:var(--ink)!important;border:1px solid var(--ink)}
.ttct-btn--line:hover{background:var(--sand)}
.ttct-btn--white{background:#fff;color:var(--ink)!important}
.ttct-cover{position:relative;overflow:hidden;background:#CFC8BB}
.ttct-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ttct-badge{position:absolute;top:14px;left:14px;z-index:1;background:var(--acc);color:#fff;border-radius:6px;padding:6px 12px;font-weight:700;font-size:14px}
.ttct-ph{position:absolute;inset:0;background:linear-gradient(135deg,#E7E1D6,#CFC8BB)}
.ttct-ph--tone0{background:linear-gradient(135deg,#E7E1D6,#C4B8A4)}
.ttct-ph--tone1{background:linear-gradient(135deg,#D8DEE4,#A9B6C2)}
.ttct-ph--tone2{background:linear-gradient(135deg,#E4D8D2,#C2A69B)}

/* hero */
.ttct-hero{position:relative;min-height:560px;display:flex;align-items:flex-end;color:#fff;background:#4b4842}
.ttct-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ttct-hero::after{content:"";position:absolute;inset:0;background:rgba(15,20,28,.5)}
.ttct-hero .ttct-wrap{position:relative;z-index:1;width:100%;padding-top:72px;padding-bottom:56px}
.ttct-crumb{font-size:13px;margin-bottom:14px;color:#EDE7DC}
.ttct-crumb a{color:#EDE7DC}
.ttct-hero .ttct-eb{color:#F3E3C3;margin-bottom:6px}
.ttct-hero h1{font-size:clamp(40px,5.6vw,68px);line-height:1.03;color:#fff}
.ttct-hero p{font-size:19px;max-width:700px;margin:14px 0 22px;color:#F2F0EB}
.ttct-chips{display:flex;flex-wrap:wrap;gap:10px}
.ttct-chips span{background:rgba(255,255,255,.92);color:var(--ink);border-radius:999px;padding:8px 14px;font-weight:600;font-size:14px}

/* three ways */
.ttct-ways{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}
.ttct-ways__lead{color:var(--txt);font-size:17px;max-width:720px;margin-bottom:28px}
.ttct-way{border-radius:14px;overflow:hidden;background:var(--ink);color:#fff;display:flex;flex-direction:column}
.ttct-way .ttct-cover{height:260px}
.ttct-way__b{padding:22px 24px 24px;display:flex;flex-direction:column;gap:10px;flex-grow:1}
.ttct-way h3{font-size:26px;line-height:1.2;color:#fff}
.ttct-way p{color:#DCE1E6;font-size:15px}
.ttct-way ul{list-style:none;margin:auto 0 0;padding:12px 0 0;border-top:1px solid #3A4654;display:flex;flex-direction:column;gap:2px}
.ttct-way li a{display:flex;justify-content:space-between;gap:10px;color:#fff!important;font-size:14px;padding:6px 0}
.ttct-way li a:hover span:first-child{text-decoration:underline}
.ttct-way li b{color:var(--gold);white-space:nowrap;font-weight:600}

/* tour cards */
.ttct-tours{display:grid;grid-template-columns:repeat(auto-fill,minmax(460px,1fr));gap:24px}
.ttct-tour{background:#fff;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.ttct-tour .ttct-cover{height:300px}
.ttct-price{position:absolute;right:14px;bottom:14px;z-index:1;background:#fff;border-radius:10px;padding:8px 14px;text-align:right}
.ttct-price small{display:block;font-size:11px;color:var(--soft);letter-spacing:.04em}
.ttct-price b{display:block;font:600 24px/1.1 'Fraunces',serif;color:var(--acc)}
.ttct-price i{display:block;font-size:11px;font-style:normal;color:var(--soft)}
.ttct-tour__b{padding:20px 24px 24px;display:flex;flex-direction:column;gap:8px;flex-grow:1}
.ttct-meta{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--soft)}
.ttct-tour h3{font-size:23px;line-height:1.25}
.ttct-tour h3 a{color:var(--ink)!important}
.ttct-tour h3 a:hover{color:var(--acc)!important}
.ttct-tour p{color:var(--txt);font-size:15px;flex-grow:1}
.ttct-route{font-size:13px;color:var(--soft)}
.ttct-tour__btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.ttct-tailor{margin-top:28px;background:#fff;border-radius:12px;padding:20px 24px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.ttct-tailor h3{font:700 17px 'Public Sans',sans-serif}
.ttct-tailor p{color:var(--mute);font-size:15px;max-width:640px}

/* photo + text blocks */
.ttct-block{display:flex;flex-wrap:wrap;border-radius:14px;overflow:hidden;border:1px solid var(--line);margin-bottom:28px}
.ttct-block--rev{flex-direction:row-reverse}
.ttct-block .ttct-cover{flex:1 1 520px;min-height:380px}
.ttct-block .ttct-cover img{position:static;height:100%}
.ttct-block__t{flex:1 1 380px;padding:40px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.ttct-block__t h2{font-size:32px}
.ttct-block__t p{color:var(--txt);font-size:16px}
.ttct-block__t p a{font-weight:600}
.ttct-alt{flex:1 1 520px;min-height:380px;background:var(--ink);color:#fff;padding:40px;display:flex;align-items:flex-end;justify-content:center;gap:40px}
.ttct-alt div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:280px}
.ttct-alt b{margin-bottom:6px;font-weight:600}
.ttct-alt span{display:block;width:90px;border-radius:8px 8px 0 0}
.ttct-alt small{margin-top:8px;color:#C9D0D8;font-size:14px}

/* 普通散文段（无装饰数据的 H2 段） */
.ttct-prose__p{color:var(--txt);font-size:17px;max-width:760px}
.ttct-prose__p a{font-weight:600}

/* 对照表（活站原表 tt-glance2 原样，仅换肤成设计稿样式；文字一字未动） */
.ttct .tt-glance-overflow{margin:0;border:0;background:#fff;border-radius:12px;overflow-x:auto}
.ttct .tt-glance2{min-width:820px;border-collapse:collapse;font-size:14px}
.ttct .tt-glance2__cap{caption-side:top;text-align:left;font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:32px;color:var(--ink);padding:0 0 28px;letter-spacing:0}
.ttct .tt-glance2 th,.ttct .tt-glance2 td{text-align:left;vertical-align:top;padding:14px 16px;color:var(--txt)}
.ttct .tt-glance2 thead tr{background:var(--ink);color:#fff}
.ttct .tt-glance2 thead th{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fff;background:var(--ink)}
.ttct .tt-glance2 tbody tr{border-top:1px solid var(--line);background:#fff}
.ttct .tt-glance2 tbody tr:nth-child(even){background:#fff}
.ttct .tt-glance2 tbody th{font-weight:700;width:auto;color:var(--ink)}
.ttct .tt-glance2 tbody th a{color:var(--ink)!important;border-bottom:0}
.ttct .tt-glance2 tbody th a:hover{color:var(--acc)!important}
.ttct .tt-glance2 tbody tr:hover{background:var(--sand)}

/* faq + cta */
.ttct-end{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.ttct-faq{flex:2 1 540px;min-width:0}
.ttct-faq h2{font-size:32px;margin-bottom:20px}
.ttct-faq .list{border-top:1px solid var(--line)}
.ttct-faq details{border-bottom:1px solid var(--line)}
.ttct-faq summary{list-style:none;cursor:pointer;min-height:60px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;font-weight:600;font-size:17px;color:var(--ink)}
.ttct-faq summary::-webkit-details-marker{display:none}
.ttct-faq summary::after{content:"+";font-size:24px;color:var(--acc)}
.ttct-faq details[open] summary::after{content:"−"}
.ttct-faq details p{color:var(--mute);padding-bottom:20px}
.ttct-cta{flex:1 1 320px;min-width:0;background:var(--acc);color:#fff;border-radius:14px;padding:28px}
.ttct-cta h3,.ttct-cta .ttct-cta__t{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:26px;line-height:1.2;color:#fff}
.ttct-cta p{margin:10px 0 18px;color:#F6E6E0;font-size:15px}
/* v0.3.78：Claude 明确「Not sure which route?」在 route 页必须是纯文本 → 由 h3 降为 p（视觉不变；全 T3 页同步受益，少一个新增 heading） */
.ttct-cta p.ttct-cta__t{margin:0 0 6px;color:#fff;font-size:26px;line-height:1.2}
.ttct-cta .ttct-btn{width:100%}

/* 询单带：沿用全站 tt-sh__band（tt.css），在 T3 壳内收窄对齐 */
.ttct ~ .tt-sh__band{max-width:1200px;margin-left:auto;margin-right:auto}

@media (max-width:760px){
  .ttct-sec{padding:56px 0}
  .ttct-h2{font-size:29px}
  .ttct-hero{min-height:500px}
  .ttct-tours{grid-template-columns:1fr}
  .ttct-tour .ttct-cover{height:230px}
  .ttct-block .ttct-cover,.ttct-alt{min-height:260px;flex-basis:100%}
  .ttct-block__t{padding:26px 22px}
  .ttct-alt{padding:26px}
  .ttct-alt div{height:200px}
  .ttct .tt-glance2{min-width:820px}
}

/* v0.3.75：首个 H2 之前的正文（pre 块）—— 原文照排，只做排版 */
.ttct-pre p{color:var(--txt);font-size:17px;margin:0 0 16px}
.ttct-pre p:last-child{margin-bottom:0}
.ttct-pre h3{font:600 22px/1.3 'Fraunces',Georgia,serif;margin:26px 0 8px}
.ttct-pre ul,.ttct-pre ol{margin:0 0 16px;padding-left:22px;color:var(--txt)}
.ttct-pre li{margin:6px 0}
.ttct-pre a{color:var(--acc);font-weight:600}
.ttct-pre img{border-radius:12px;margin:14px 0}
.ttct-pre blockquote{border-left:3px solid var(--acc);margin:16px 0;padding:4px 0 4px 18px;color:var(--mute)}
body.tt-type-route .ttct-hero::after{background:linear-gradient(90deg,rgba(15,20,28,.8) 0%,rgba(15,20,28,.6) 55%,rgba(15,20,28,.3) 100%)} /* v0.5.0: route pages now have a photo — keep the long intro readable */
/* v0.5.2: card title links and "Read more" on hub cards */
.ttct-way__b h3 a{color:inherit;text-decoration:none}
.ttct-way__b h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.ttct-way__more{margin-top:auto;font-weight:600;font-size:15px;color:var(--acc,#8E2A17);text-decoration:none}
.ttct-way__more:hover{text-decoration:underline;text-underline-offset:3px}
