/*
Theme Name: MTBinn Twenty Twenty-Five
Theme URI: https://mtbinn.com/
Description: 慢途吧·深度旅行指南的 Twenty Twenty-Five 正式 Child Theme。
Author: OpenLX
Template: twentytwentyfive
Version: 1.1.2
Text Domain: mtbinn-twentytwentyfive
*/

:root {
	--mtb-ink: #0E2532;
	--mtb-forest: #29493E;
	--mtb-sky: #7DB9E8;
	--mtb-clay: #C46A36;
	--mtb-stone: #8D9691;
	--mtb-paper: #F4F1E8;
	--mtb-mist: #DDE4E0;
	--mtb-line: rgba(14, 37, 50, 0.18);
	--mtb-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
	--mtb-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	--mtb-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
	--mtb-reading: min(780px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.mtb-twentytwentyfive-site {
	background: var(--mtb-paper);
	color: var(--mtb-ink);
	font-family: var(--mtb-sans);
}

body.mtb-twentytwentyfive-site .wp-site-blocks,
body.mtb-twentytwentyfive-site .site-content,
body.mtb-twentytwentyfive-site .site-main {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}
body.mtb-twentytwentyfive-site .wp-site-blocks > * { margin-block-start: 0 !important; }

.mtb-skip-link { background: #fff; color: var(--mtb-ink); left: 16px; padding: 12px 16px; position: fixed; top: -80px; z-index: 1000; }
.mtb-skip-link:focus { top: 16px; }

.mtb-site-header { background: #082a25; border-bottom: 1px solid rgba(255,255,255,.13); position: sticky; top: 0; z-index: 30; }
.mtb-header__inner { align-items: center; display: flex; gap: 28px; justify-content: space-between; margin: 0 auto; max-width: 1440px; min-height: 72px; padding: 10px 32px; }
.mtb-brand { color: #f4f1e8; display: inline-flex; font-family: var(--mtb-serif); font-size: 22px; font-weight: 700; letter-spacing: .045em; line-height: 1.08; text-decoration: none; white-space: nowrap; }
.mtb-nav ul { display: flex; gap: clamp(14px,2vw,28px); list-style: none; margin: 0; padding: 0; }
.mtb-nav a { color: rgba(244,241,232,.82); font-size: 14px; font-weight: 700; text-decoration: none; }
.mtb-nav a:hover,.mtb-nav a:focus-visible { color: var(--mtb-clay); }

.mtb-button { align-items: center; border: 1px solid transparent; border-radius: 999px; display: inline-flex; font-size: 14px; font-weight: 700; justify-content: center; min-height: 44px; padding: 10px 17px; text-decoration: none; transition: background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease; }
.mtb-header__action,.mtb-button--primary { background: var(--mtb-forest); color: #fff; }
.mtb-header__action:hover,.mtb-header__action:focus-visible,.mtb-button--primary:hover,.mtb-button--primary:focus-visible { background: #3D6456; color: #fff; transform: translateY(-1px); }
.mtb-button--quiet { border-color: rgba(255,255,255,.58); color: #fff; }
.mtb-button--quiet:hover,.mtb-button--quiet:focus-visible { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.mtb-mobile-menu { display: none; position: relative; }
.mtb-mobile-menu summary { border: 1px solid var(--mtb-line); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; padding: 10px 14px; }
.mtb-site-header .mtb-mobile-menu summary { border-color: rgba(244,241,232,.48); color: #f4f1e8; }
.mtb-mobile-menu summary::-webkit-details-marker { display:none; }
.mtb-mobile-menu__panel { background:#fffdf8; border:1px solid var(--mtb-line); box-shadow:0 20px 48px rgba(14,37,50,.15); min-width:220px; padding:10px; position:absolute; right:0; top:56px; }
.mtb-mobile-menu__panel a { color:var(--mtb-ink); display:block; font-weight:700; padding:12px; text-decoration:none; }

.mtb-main { overflow: clip; }
.mtb-hero { background: var(--mtb-ink); color:#fff; overflow:hidden; padding:clamp(52px,8vw,112px) 0 clamp(48px,7vw,92px); position:relative; }
.mtb-hero::before { background:linear-gradient(118deg,transparent 0 45%,rgba(125,185,232,.2) 45.2% 45.5%,transparent 45.8% 100%),radial-gradient(circle at 78% 23%,rgba(196,106,54,.28),transparent 23%); content:""; inset:0; pointer-events:none; position:absolute; }
.mtb-hero__inner { align-items:end; display:grid; gap:clamp(36px,6vw,96px); grid-template-columns:minmax(0,1fr) minmax(340px,.9fr); margin:0 auto; max-width:1440px; min-height:min(640px,71vh); padding:0 32px; position:relative; }
.mtb-kicker,.mtb-section__kicker,.mtb-document-kicker { color:var(--mtb-sky); font-family:var(--mtb-mono); font-size:11px; font-weight:700; letter-spacing:.12em; margin:0 0 20px; text-transform:uppercase; }
.mtb-hero h1 { color:#fff; font-family:var(--mtb-serif); font-size:clamp(48px,6vw,88px); letter-spacing:.01em; line-height:1.13; margin:0; max-width:none; }
.mtb-hero h1 span { display:block; }
.mtb-hero__lede { color:rgba(255,255,255,.78); font-size:clamp(17px,1.7vw,22px); line-height:1.85; margin:26px 0 0; max-width:37em; }
.mtb-action-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }

.mtb-route-map { border:1px solid rgba(255,255,255,.26); min-height:420px; overflow:hidden; position:relative; }
.mtb-route-map::before { background:repeating-radial-gradient(ellipse at 32% 44%,rgba(221,228,224,.16) 0 1px,transparent 2px 34px),linear-gradient(134deg,transparent 0 49%,rgba(125,185,232,.9) 49.3% 50.3%,transparent 50.6%),linear-gradient(20deg,transparent 0 58%,rgba(196,106,54,.94) 58.4% 59.5%,transparent 59.8%),radial-gradient(circle at 34% 64%,#DDE4E0 0 9px,transparent 9.5px),radial-gradient(circle at 76% 30%,#C46A36 0 9px,transparent 9.5px); content:""; inset:0; position:absolute; }
.mtb-route-map span { background:rgba(14,37,50,.78); bottom:20px; color:rgba(255,255,255,.88); font-family:var(--mtb-mono); font-size:11px; left:20px; letter-spacing:.04em; line-height:1.6; padding:11px 13px; position:absolute; width:calc(100% - 40px); }

.mtb-section { margin:0 auto; max-width:1440px; padding:clamp(70px,9vw,132px) 32px; }
.mtb-section--mist { background:var(--mtb-mist); max-width:none; }
.mtb-section--mist > .mtb-section__inner { margin:0 auto; max-width:1376px; }
.mtb-section__head { display:grid; gap:28px; grid-template-columns:minmax(0,.95fr) minmax(280px,.65fr); margin-bottom:48px; }
.mtb-section__head h2,.mtb-document-section h2 { color:var(--mtb-ink); font-family:var(--mtb-serif); font-size:clamp(34px,4.2vw,62px); line-height:1.2; margin:0; max-width:13ch; }
.mtb-section__head > p,.mtb-document-section > p:last-child { color:#566A6C; font-size:17px; line-height:1.9; margin:0; max-width:42em; }

.mtb-route-grid { display:grid; gap:20px; grid-template-columns:1.1fr .95fr .95fr; }
.mtb-route-card { background:#fffdf8; border-top:3px solid var(--mtb-ink); display:flex; flex-direction:column; min-height:360px; padding:26px; }
.mtb-route-card--featured { background:var(--mtb-forest); border-color:var(--mtb-clay); color:#fff; min-height:460px; }
.mtb-route-card__eyebrow,.mtb-place-card__label { color:var(--mtb-clay); font-family:var(--mtb-mono); font-size:11px; font-weight:700; letter-spacing:.1em; margin:0; text-transform:uppercase; }
.mtb-route-card--featured .mtb-route-card__eyebrow { color:var(--mtb-sky); }
.mtb-route-card h3,.mtb-place-card h3 { color:var(--mtb-ink); font-family:var(--mtb-serif); font-size:31px; line-height:1.28; margin:62px 0 16px; }
.mtb-route-card--featured h3 { color:#fff; }
.mtb-route-card > p:last-of-type,.mtb-place-card p { color:#566A6C; font-size:16px; line-height:1.8; margin:0; }
.mtb-route-card--featured > p:last-of-type { color:rgba(255,255,255,.75); }
.mtb-route-meta { border-top:1px solid var(--mtb-line); display:grid; gap:9px; grid-template-columns:1fr 1fr; margin-top:auto; padding-top:22px; }
.mtb-route-card--featured .mtb-route-meta { border-color:rgba(255,255,255,.2); }
.mtb-route-meta span { color:var(--mtb-stone); font-family:var(--mtb-mono); font-size:11px; line-height:1.5; }
.mtb-route-card--featured .mtb-route-meta span { color:rgba(255,255,255,.66); }

.mtb-place-grid { border-top:1px solid var(--mtb-line); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.mtb-place-card { border-right:1px solid var(--mtb-line); min-height:290px; padding:26px 26px 26px 0; }
.mtb-place-card + .mtb-place-card { padding-left:26px; }
.mtb-place-card:last-child { border-right:0; }
.mtb-place-card h3 { font-size:29px; margin:52px 0 14px; }

.mtb-reading-grid { display:grid; gap:20px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.mtb-reading-card { border-top:1px solid var(--mtb-line); display:flex; flex-direction:column; padding-top:24px; }
.mtb-reading-card__meta { color:var(--mtb-clay); font-family:var(--mtb-mono); font-size:11px; font-weight:700; letter-spacing:.1em; margin:0 0 48px; text-transform:uppercase; }
.mtb-reading-card h3 { font-family:var(--mtb-serif); font-size:29px; line-height:1.32; margin:0; }
.mtb-reading-card h3 a { color:var(--mtb-ink); text-decoration:none; }
.mtb-reading-card p:last-of-type { color:#566A6C; line-height:1.8; margin:16px 0 0; }
.mtb-text-link { color:var(--mtb-forest); font-size:14px; font-weight:700; margin-top:24px; text-decoration:none; }
.mtb-text-link:hover,.mtb-text-link:focus-visible { color:var(--mtb-clay); text-decoration:underline; text-underline-offset:4px; }

.mtb-boundary-panel { background:var(--mtb-ink); color:#fff; display:grid; gap:28px; grid-template-columns:minmax(0,1fr) auto; padding:clamp(32px,5vw,64px); }
.mtb-boundary-panel h2 { color:#fff; font-family:var(--mtb-serif); font-size:clamp(32px,4vw,56px); line-height:1.18; margin:0; max-width:13ch; }
.mtb-boundary-panel p { color:rgba(255,255,255,.74); line-height:1.85; margin:18px 0 0; max-width:44em; }

.mtb-page,.mtb-article { margin:0 auto; max-width:var(--mtb-reading); padding:clamp(58px,8vw,112px) 0; }
.mtb-live-frontpage,.mtb-live-page { width:100%; }
.mtb-live-frontpage > .entry-content,.mtb-live-page > .entry-content { margin:0; max-width:none; }
.mtb-live-page { background:var(--mtb-paper); min-height:calc(100vh - 72px); }
.mtb-live-page > .entry-content { padding:0; }
.mtb-page__eyebrow,.mtb-article__meta,.mtb-archive__eyebrow { color:var(--mtb-clay); font-family:var(--mtb-mono); font-size:11px; font-weight:700; letter-spacing:.1em; margin:0 0 16px; text-transform:uppercase; }
.mtb-page h1,.mtb-article h1,.mtb-archive h1 { color:var(--mtb-ink); font-family:var(--mtb-serif); font-size:clamp(42px,5vw,72px); line-height:1.17; margin:0 0 30px; }
.mtb-page__content,.mtb-article__content,.mtb-archive__content { font-size:18px; line-height:1.9; }
.mtb-page__content > * + *,.mtb-article__content > * + * { margin-top:1.4em; }
.mtb-page__content h2,.mtb-article__content h2 { color:var(--mtb-ink); font-family:var(--mtb-serif); font-size:clamp(28px,3vw,42px); line-height:1.3; margin-top:2em; }
.mtb-preview-status { align-items:flex-start; background:#E7EEF0; border-left:4px solid var(--mtb-sky); color:#294953; display:grid; font-size:14px; gap:8px; grid-template-columns:max-content minmax(0,1fr); line-height:1.7; margin:0 0 36px; padding:16px 18px; }
.mtb-preview-status strong { font-family:var(--mtb-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
.mtb-document-section { border-top:1px solid var(--mtb-line); padding-top:42px; }
.mtb-document-section h2 { font-size:clamp(30px,4vw,48px); }
.mtb-article__footer { border-top:1px solid var(--mtb-line); color:#566A6C; font-size:14px; line-height:1.7; margin-top:54px; padding-top:22px; }

.mtb-archive { margin:0 auto; max-width:1440px; padding:clamp(58px,8vw,112px) 32px; }
.mtb-archive__head { max-width:var(--mtb-reading); }
.mtb-archive__grid { display:grid; gap:20px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.mtb-archive-card { background:#fffdf8; border-top:2px solid var(--mtb-ink); display:flex; flex-direction:column; min-height:300px; padding:26px; }
.mtb-archive-card h2 { font-family:var(--mtb-serif); font-size:29px; line-height:1.32; margin:44px 0 0; }
.mtb-archive-card h2 a { color:var(--mtb-ink); text-decoration:none; }
.mtb-archive-card p { color:#566A6C; line-height:1.8; margin:16px 0 0; }
.mtb-archive-card .mtb-text-link { margin-top:auto; padding-top:24px; }
.mtb-archive .navigation.pagination { border-top:1px solid var(--mtb-line); margin-top:42px; padding-top:24px; }
.mtb-archive .nav-links { display:flex; flex-wrap:wrap; gap:10px; }
.mtb-archive .page-numbers { border:1px solid var(--mtb-line); border-radius:999px; color:var(--mtb-ink); font-family:var(--mtb-mono); font-size:12px; font-weight:700; padding:10px 14px; text-decoration:none; }
.mtb-archive .page-numbers.current,.mtb-archive .page-numbers:hover,.mtb-archive .page-numbers:focus-visible { background:var(--mtb-ink); border-color:var(--mtb-ink); color:#fff; }

.mtb-site-footer { background:#0A1D27; color:rgba(255,255,255,.7); padding:44px 0; }
.mtb-footer__inner { align-items:center; display:flex; gap:24px; justify-content:space-between; margin:0 auto; max-width:1440px; padding:0 32px; }
.mtb-footer__brand { color:#fff; font-family:var(--mtb-serif); font-size:22px; font-weight:700; }
.mtb-footer__note { font-size:13px; line-height:1.7; margin:7px 0 0; }
.mtb-footer__meta { font-size:13px; margin:0; text-align:right; }

@media(max-width:980px) {
  .mtb-nav,.mtb-header__action { display:none; }
  .mtb-mobile-menu { display:block; }
  .mtb-hero__inner,.mtb-section__head,.mtb-boundary-panel { grid-template-columns:1fr; }
  .mtb-route-map { min-height:340px; max-width:680px; }
  .mtb-route-grid,.mtb-reading-grid,.mtb-archive__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mtb-route-card--featured { grid-column:span 2; }
  .mtb-place-grid { grid-template-columns:1fr; }
  .mtb-place-card,.mtb-place-card + .mtb-place-card { border-left:0; border-right:0; border-top:1px solid var(--mtb-line); min-height:auto; padding:24px 0; }
  .mtb-place-card:first-child { border-top:0; }
}

@media(max-width:640px) {
  :root { --mtb-reading:min(100vw - 32px,780px); }
  .mtb-header__inner,.mtb-hero__inner,.mtb-section,.mtb-archive,.mtb-footer__inner { padding-left:16px; padding-right:16px; }
  .mtb-header__inner { min-height:70px; }
  .mtb-brand { font-size:21px; }
  .mtb-hero { padding:54px 0 60px; }
  .mtb-hero h1 { font-size:clamp(42px,13vw,58px); }
  .mtb-route-map { min-height:290px; }
  .mtb-route-grid,.mtb-reading-grid,.mtb-archive__grid { grid-template-columns:1fr; }
  .mtb-route-card--featured { grid-column:auto; min-height:380px; }
  .mtb-boundary-panel { padding:30px 24px; }
  .mtb-preview-status { grid-template-columns:1fr; }
  .mtb-footer__inner { align-items:flex-start; flex-direction:column; }
  .mtb-footer__meta { text-align:left; }
}

@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto !important; transition-duration:.01ms !important; } }

/*
 * Production compatibility layer for the managed MTB homepage.
 * These rules deliberately live in the child theme rather than Astra Custom
 * CSS, so the page keeps its full visual system after a theme migration.
 */
.mtb-live-frontpage,
.mtb-live-frontpage > article,
.mtb-live-frontpage > article > .entry-content {
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}
.mtb-live-frontpage .entry-content > p:first-child:empty { display: none; }
.mtb-live-frontpage .mtb-explore {
	background: var(--mtb-paper);
	color: var(--mtb-ink);
	font-family: var(--mtb-sans);
	overflow: clip;
}
.mtb-live-frontpage .mtb-explore * { box-sizing: border-box; }
.mtb-live-frontpage .mtb-explore h1,
.mtb-live-frontpage .mtb-explore h2,
.mtb-live-frontpage .mtb-explore h3 {
	font-family: var(--mtb-serif);
	font-weight: 600;
	letter-spacing: -.035em;
}
.mtb-live-frontpage .mtb-shell {
	margin: auto;
	max-width: 1280px;
	width: min(1280px, calc(100% - 64px));
}
.mtb-live-frontpage .mtb-route-hero {
	align-items: flex-end;
	background-image: var(--mtb-hero);
	background-position: 62% 58%;
	background-size: cover;
	color: #fff;
	display: flex;
	min-height: min(760px, calc(100vh - 72px));
	position: relative;
	isolation: isolate;
}
.mtb-live-frontpage .mtb-route-hero__veil {
	background: linear-gradient(90deg, rgba(6,21,28,.94) 0%, rgba(6,21,28,.74) 36%, rgba(6,21,28,.1) 72%), linear-gradient(0deg, rgba(6,21,28,.58), transparent 48%);
	inset: 0;
	position: absolute;
	z-index: -1;
}
.mtb-live-frontpage .mtb-route-hero__content { max-width: 1280px; padding: 118px 0 76px; }
.mtb-live-frontpage .mtb-eyebrow,
.mtb-live-frontpage .mtb-kicker {
	font-family: var(--mtb-mono);
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.mtb-live-frontpage .mtb-eyebrow { color: #c9d6d0; margin: 0 0 20px; }
.mtb-live-frontpage .mtb-route-hero h1 {
	color: #fff;
	font-size: clamp(52px, 7vw, 104px);
	line-height: .98;
	margin: 0;
	max-width: 670px;
	text-shadow: 0 3px 24px rgba(1,13,20,.72);
}
.mtb-live-frontpage .mtb-route-hero__lede {
	color: #edf5f2;
	font-size: 18px;
	line-height: 1.8;
	margin: 25px 0;
	max-width: 510px;
	text-shadow: 0 2px 13px rgba(1,13,20,.52);
}
.mtb-live-frontpage .mtb-travel-mode { border: 1px solid rgba(255,255,255,.42); display: flex; margin: 26px 0 15px; width: max-content; }
.mtb-live-frontpage .mtb-travel-mode a { border-right: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 15px; padding: 14px 25px; text-decoration: none; }
.mtb-live-frontpage .mtb-travel-mode a:last-child { border: 0; }
.mtb-live-frontpage .mtb-travel-mode .is-active { background: rgba(125,185,232,.24); box-shadow: inset 0 -3px var(--mtb-clay); }
.mtb-live-frontpage .mtb-route-hero__note { color: #d6e3dd; font-size: 13px; margin: 0 0 24px; }
.mtb-live-frontpage .mtb-button { border-radius: 0; display: inline-block; font-weight: 700; min-height: 0; padding: 14px 26px; text-decoration: none; }
.mtb-live-frontpage .mtb-button--sky { background: #8ac6ef; color: #071d29; }
.mtb-live-frontpage .mtb-button--light { background: #fff6e7; color: #102722; }
.mtb-live-frontpage .mtb-route-index,
.mtb-live-frontpage .mtb-guide-shelf,
.mtb-live-frontpage .mtb-toolbelt { padding: 100px 0; }
.mtb-live-frontpage .mtb-section-head { align-items: end; display: flex; gap: 36px; justify-content: space-between; margin-bottom: 34px; }
.mtb-live-frontpage .mtb-section-head h2 { color: var(--mtb-ink); font-size: 46px; margin: 8px 0 0; }
.mtb-live-frontpage .mtb-section-head > a,
.mtb-live-frontpage .mtb-text-link,
.mtb-live-frontpage .mtb-tool-grid a { border-bottom: 1px solid var(--mtb-clay); color: var(--mtb-ink); font-weight: 700; padding-bottom: 5px; text-decoration: none; }
.mtb-live-frontpage .mtb-section-copy { color: #485a56; line-height: 1.75; margin: 0; max-width: 320px; }
.mtb-live-frontpage .mtb-route-index { background: linear-gradient(rgba(226,232,228,.94), rgba(226,232,228,.97)), url('https://www.mtbinn.com/wp-content/uploads/2026/06/mtb-exp-bg-topographic-001-16x9-1.png') center / cover; padding: 84px 0 96px; }
.mtb-live-frontpage .mtb-route-index .mtb-shell { max-width: none; width: min(1440px, calc(100vw - 96px)); }
.mtb-live-frontpage .mtb-route-grid { display: grid; gap: 28px; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(310px,.82fr); }
.mtb-live-frontpage .mtb-route-card { background: #fff8eb; border: 1px solid rgba(14,37,50,.16); box-shadow: 0 16px 34px rgba(14,37,50,.07); min-height: 0; padding: 0; }
.mtb-live-frontpage .mtb-card-image,
.mtb-live-frontpage .mtb-guide-image { background-image: linear-gradient(0deg,rgba(5,19,27,.32),transparent 55%), var(--mtb-card-image); background-position: center; background-size: cover; display: block; }
.mtb-live-frontpage .mtb-card-image { aspect-ratio: 16 / 10; }
.mtb-live-frontpage .mtb-route-card__body { padding: 27px; }
.mtb-live-frontpage .mtb-route-card__body > p,
.mtb-live-frontpage .mtb-guide-grid > article > p { color: var(--mtb-clay); font-family: var(--mtb-mono); font-size: 12px; letter-spacing: .06em; margin: 0; }
.mtb-live-frontpage .mtb-route-card h3 { color: var(--mtb-ink); font-size: 27px; line-height: 1.25; margin: 10px 0 24px; }
.mtb-live-frontpage .mtb-route-card h3 a,
.mtb-live-frontpage .mtb-guide-grid h3 a { color: inherit; text-decoration: none; }
.mtb-live-frontpage .mtb-route-card dl { border-top: 1px solid rgba(14,37,50,.12); display: grid; gap: 10px; grid-template-columns: repeat(3,1fr); margin: 0; padding-top: 16px; }
.mtb-live-frontpage .mtb-route-card dt { color: #586862; font-size: 11px; }
.mtb-live-frontpage .mtb-route-card dd { color: var(--mtb-ink); font-family: var(--mtb-mono); font-size: 12px; margin: 5px 0 0; }
.mtb-live-frontpage .mtb-route-card--text { background: #102d3a; border-color: #102d3a; box-shadow: 0 16px 34px rgba(14,37,50,.14); color: #edf1eb; display: flex; flex-direction: column; padding: 34px; }
.mtb-live-frontpage .mtb-route-card--text .mtb-kicker { color: #e67e42; }
.mtb-live-frontpage .mtb-route-card--text h3 { color: #fff6e7; font-size: 31px; line-height: 1.25; margin: 24px 0; }
.mtb-live-frontpage .mtb-route-card--text p:not(.mtb-kicker) { color: #e8f0eb; line-height: 1.8; }
.mtb-live-frontpage .mtb-route-card--text a { border-bottom: 1px solid var(--mtb-clay); color: #fff6e7; margin-top: auto; padding-bottom: 6px; text-decoration: none; width: max-content; }
.mtb-live-frontpage .mtb-guide-shelf { background: var(--mtb-paper); }
.mtb-live-frontpage .mtb-guide-grid { display: grid; gap: 28px; grid-template-columns: repeat(3,1fr); }
.mtb-live-frontpage .mtb-guide-image { aspect-ratio: 4 / 3; margin-bottom: 19px; }
.mtb-live-frontpage .mtb-guide-grid h3 { color: var(--mtb-ink); font-size: 29px; line-height: 1.32; margin: 9px 0 20px; max-width: 370px; }
.mtb-live-frontpage .mtb-editorial { align-items: center; background: linear-gradient(90deg,rgba(7,23,29,.93),rgba(7,23,29,.61) 46%,rgba(7,23,29,.08)), var(--mtb-editorial-image); background-position: center; background-size: cover; color: #fff; display: flex; min-height: 600px; position: relative; }
.mtb-live-frontpage .mtb-editorial__grid { display: grid; gap: 35px; grid-template-columns: 1.1fr .9fr; }
.mtb-live-frontpage .mtb-editorial__copy { max-width: 620px; padding: 70px 0; }
.mtb-live-frontpage .mtb-editorial__copy .mtb-kicker { color: #e67e42; text-shadow: 0 2px 12px rgba(0,13,20,.66); }
.mtb-live-frontpage .mtb-editorial h2 { color: #fff6e7; font-size: clamp(44px,5vw,72px); line-height: 1.08; margin: 10px 0 25px; text-shadow: 0 3px 22px rgba(0,13,20,.76); }
.mtb-live-frontpage .mtb-editorial__copy > p:not(.mtb-kicker),
.mtb-live-frontpage .mtb-editorial__caption { color: #fff6e7; font-size: 18px; line-height: 1.85; text-shadow: 0 2px 14px rgba(0,13,20,.72); }
.mtb-live-frontpage .mtb-editorial__copy > p:not(.mtb-kicker) { margin-bottom: 30px; max-width: 510px; }
.mtb-live-frontpage .mtb-editorial__caption { align-self: end; font-size: 12px; margin: 0 0 35px; }
.mtb-live-frontpage .mtb-toolbelt { background: #dce3df; }
.mtb-live-frontpage .mtb-tool-grid { border-top: 1px solid rgba(14,37,50,.25); display: grid; grid-template-columns: repeat(3,1fr); }
.mtb-live-frontpage .mtb-tool-grid a { border-right: 1px solid rgba(14,37,50,.25); padding: 28px 26px 32px; }
.mtb-live-frontpage .mtb-tool-grid a:first-child { padding-left: 0; }
.mtb-live-frontpage .mtb-tool-grid a:last-child { border-right: 0; }
.mtb-live-frontpage .mtb-tool-grid span { color: var(--mtb-clay); display: block; font-family: var(--mtb-mono); font-size: 12px; margin-bottom: 14px; }
.mtb-live-frontpage .mtb-tool-grid strong { color: var(--mtb-ink); display: block; font-family: var(--mtb-serif); font-size: 24px; line-height: 1.35; }
.mtb-live-frontpage .mtb-source-strip { background: var(--mtb-ink); color: #e4ebe7; }
.mtb-live-frontpage .mtb-source-strip .mtb-shell { align-items: center; display: flex; gap: 34px; justify-content: space-between; padding: 30px 0; }
.mtb-live-frontpage .mtb-source-strip p { line-height: 1.8; margin: 0; max-width: 820px; }
.mtb-live-frontpage .mtb-source-strip a { border-bottom: 1px solid var(--mtb-clay); color: #fff; padding-bottom: 5px; text-decoration: none; white-space: nowrap; }

@media (max-width: 980px) {
	.mtb-header__inner { gap: 12px; }
	.mtb-live-frontpage .mtb-shell { width: min(100% - 38px,1280px); }
	.mtb-live-frontpage .mtb-route-hero { background-position: 66% center; min-height: 720px; }
	.mtb-live-frontpage .mtb-route-hero__veil { background: linear-gradient(0deg,rgba(6,21,28,.88),rgba(6,21,28,.14) 72%); }
	.mtb-live-frontpage .mtb-route-hero__content { padding: 260px 0 42px; }
	.mtb-live-frontpage .mtb-route-hero h1 { font-size: 56px; }
	.mtb-live-frontpage .mtb-route-hero__lede { font-size: 16px; }
	.mtb-live-frontpage .mtb-travel-mode { width: 100%; }
	.mtb-live-frontpage .mtb-travel-mode a { flex: 1; padding: 13px 7px; text-align: center; }
	.mtb-live-frontpage .mtb-route-index,
	.mtb-live-frontpage .mtb-guide-shelf,
	.mtb-live-frontpage .mtb-toolbelt { padding: 62px 0; }
	.mtb-live-frontpage .mtb-section-head { align-items: start; flex-direction: column; gap: 16px; }
	.mtb-live-frontpage .mtb-section-head h2 { font-size: 38px; }
	.mtb-live-frontpage .mtb-route-index .mtb-shell { width: min(100% - 38px,1280px); }
	.mtb-live-frontpage .mtb-route-grid,
	.mtb-live-frontpage .mtb-guide-grid { grid-template-columns: 1fr; }
	.mtb-live-frontpage .mtb-route-card h3,
	.mtb-live-frontpage .mtb-guide-grid h3 { font-size: 26px; }
	.mtb-live-frontpage .mtb-editorial { background-position: 64% center; min-height: 640px; }
	.mtb-live-frontpage .mtb-editorial__grid { grid-template-columns: 1fr; }
	.mtb-live-frontpage .mtb-editorial__copy { padding: 90px 0 30px; }
	.mtb-live-frontpage .mtb-editorial h2 { font-size: 48px; }
	.mtb-live-frontpage .mtb-editorial__caption { margin: 0 0 35px; }
	.mtb-live-frontpage .mtb-tool-grid { grid-template-columns: 1fr; }
	.mtb-live-frontpage .mtb-tool-grid a,
	.mtb-live-frontpage .mtb-tool-grid a:first-child { border-bottom: 1px solid rgba(14,37,50,.25); border-right: 0; padding: 23px 0; }
	.mtb-live-frontpage .mtb-source-strip .mtb-shell { align-items: start; flex-direction: column; gap: 16px; padding: 27px 0; }
}

/* Full-width guide-page components: independent from Astra and shared plugins. */
.mtb-live-page > article,
.mtb-live-page > article > .entry-content { margin: 0; max-width: none; padding: 0; width: 100%; }
.mtb-live-page .openlx-home {
	--openlx-ink: var(--mtb-ink);
	--openlx-muted: #586862;
	--openlx-line: #c9d4cf;
	--openlx-soft: #e4e9e5;
	--openlx-panel: #fbfaf5;
	background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0)), var(--mtb-paper);
	color: var(--openlx-ink);
	font-size: 17px;
	line-height: 1.82;
	overflow: clip;
}
.mtb-live-page .openlx-home :where(h1,h2,h3,p) { letter-spacing: 0; }
.mtb-live-page .openlx-home :where(h1,h2) { color: var(--mtb-ink); font-family: var(--mtb-serif); }
.mtb-live-page .openlx-wrap { margin: 0 auto; width: min(1180px, calc(100% - 40px)); }
.mtb-live-page .openlx-hero {
	align-items: center;
	background: linear-gradient(115deg, rgba(244,241,232,.96), rgba(228,233,229,.90)), radial-gradient(circle at 8% 10%, rgba(196,106,54,.17), transparent 30%), radial-gradient(circle at 86% 16%, rgba(125,185,232,.19), transparent 31%);
	border-bottom: 1px solid var(--openlx-line);
	display: grid;
	min-height: min(720px, calc(100svh - 72px));
	overflow: hidden;
	padding: 72px 0;
	position: relative;
}
.mtb-live-page .openlx-hero::before { background-image: linear-gradient(90deg,rgba(14,37,50,.07) 1px,transparent 1px), linear-gradient(0deg,rgba(14,37,50,.05) 1px,transparent 1px); background-size: 72px 72px; content:""; inset:0; mask-image:linear-gradient(90deg,transparent,black 18%,black 78%,transparent); opacity:.32; pointer-events:none; position:absolute; }
.mtb-live-page .openlx-hero-grid { align-items: center; display: grid; gap: clamp(32px,5vw,56px); grid-template-columns: minmax(0,1.04fr) minmax(320px,.72fr); position: relative; }
.mtb-live-page .openlx-kicker { color: var(--mtb-clay); font-family: var(--mtb-mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; margin: 0 0 14px; text-transform: uppercase; }
.mtb-live-page .openlx-hero h1 { color: var(--mtb-ink); font-size: clamp(40px,5vw,70px); line-height: 1.08; margin: 0; max-width: 760px; }
.mtb-live-page .openlx-lead { color: #425550; font-size: clamp(18px,2vw,21px); line-height: 1.78; margin: 24px 0 0; max-width: 720px; }
.mtb-live-page .openlx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mtb-live-page .openlx-btn { align-items: center; background: #fbfaf5; border: 1px solid var(--openlx-line); border-radius: 6px; color: var(--mtb-ink); display: inline-flex; font-weight: 700; justify-content: center; min-height: 44px; padding: 0 20px; text-decoration: none !important; transition: transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease; }
.mtb-live-page .openlx-btn:hover { border-color: var(--mtb-clay); color: var(--mtb-ink); transform: translateY(-2px); }
.mtb-live-page .openlx-btn.primary,
.mtb-live-page .openlx-btn:not(.openlx-btn-secondary) { background: var(--mtb-forest); border-color: var(--mtb-forest); color: #fff; }
.mtb-live-page .openlx-btn.primary:hover,
.mtb-live-page .openlx-btn:not(.openlx-btn-secondary):hover { background: var(--mtb-clay); border-color: var(--mtb-clay); color: #fff; }
.mtb-live-page .openlx-visual { background: rgba(255,246,231,.84); border: 1px solid rgba(14,37,50,.14); border-radius: 8px; box-shadow: 0 18px 44px rgba(14,37,50,.10); overflow: hidden; padding: 28px; }
.mtb-live-page .openlx-visual:has(> img:only-child) { padding: 0; }
.mtb-live-page .openlx-visual img { aspect-ratio: 4/3; display: block; filter: saturate(.92) contrast(.98) brightness(1.02); object-fit: cover; transition: transform .35s ease; width: 100%; }
.mtb-live-page .openlx-visual:hover img { transform: scale(1.025); }
.mtb-live-page .openlx-visual h2 { color: var(--mtb-ink); font-size: clamp(26px,3vw,38px); line-height: 1.25; margin: 0 0 22px; }
.mtb-live-page .openlx-list { display: grid; gap: 14px 24px; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; padding-left: 20px; }
.mtb-live-page .openlx-band { border-bottom: 1px solid var(--openlx-line); padding: clamp(56px,8vw,96px) 0; }
.mtb-live-page .openlx-band.soft { background: var(--openlx-soft); }
.mtb-live-page .openlx-section-head { align-items: end; display: grid; gap: 32px; grid-template-columns: minmax(0,.72fr) minmax(280px,.48fr); margin-bottom: 28px; }
.mtb-live-page .openlx-section-head h2 { color: var(--mtb-ink); font-family: var(--mtb-serif); font-size: clamp(30px,3vw,42px); line-height: 1.2; margin: 0; }
.mtb-live-page .openlx-section-head p { color: var(--openlx-muted); line-height: 1.75; margin: 0; }
.mtb-live-page .openlx-grid { display: grid; gap: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.mtb-live-page .openlx-card,
.mtb-live-page .openlx-topic-card,
.mtb-live-page .openlx-case-card,
.mtb-live-page .openlx-doc-card,
.mtb-live-page .openlx-expert-card,
.mtb-live-page .openlx-data-card,
.mtb-live-page .openlx-faq-card { background: var(--openlx-panel); border: 1px solid var(--openlx-line); border-radius: 8px; padding: 24px; }
.mtb-live-page .openlx-card { min-height: 190px; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.mtb-live-page .openlx-card:hover { border-color: var(--mtb-clay); box-shadow: 0 18px 42px rgba(14,37,50,.12); transform: translateY(-3px); }
.mtb-live-page .openlx-card::before { color: var(--mtb-clay); content: attr(data-intent); display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 12px; min-height: 16px; text-transform: uppercase; }
.mtb-live-page .openlx-card h3 { color: var(--mtb-ink); font-family: var(--mtb-serif); font-size: 21px; line-height: 1.35; margin: 0 0 10px; }
.mtb-live-page .openlx-card p { color: var(--openlx-muted); margin: 0; }
.mtb-live-page .openlx-flow { background: var(--openlx-panel); border: 1px solid var(--openlx-line); border-radius: 8px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; }
.mtb-live-page .openlx-step { border-right: 1px solid var(--openlx-line); padding: 22px; }
.mtb-live-page .openlx-step:last-child { border-right: 0; }
.mtb-live-page .openlx-step > span { color: var(--mtb-clay); display: block; font-family: var(--mtb-mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; margin-bottom: 24px; }
.mtb-live-page .openlx-step h3 { color: var(--mtb-ink); font-family: var(--mtb-serif); font-size: 23px; line-height: 1.35; margin: 0 0 10px; }
.mtb-live-page .openlx-step p { color: var(--openlx-muted); margin: 0; }
.mtb-live-page .openlx-cta { background: linear-gradient(135deg,#102d3a,#0e2532); border-radius: 10px; color: #fff6e7; margin: clamp(30px,5vw,48px) auto; padding: clamp(30px,5vw,48px); width: min(1180px,calc(100% - 40px)); }
.mtb-live-page .openlx-cta .openlx-actions { margin-top: 0; }
.mtb-live-page .openlx-cta .openlx-btn { background: rgba(255,255,255,.08); border-color: rgba(255,246,231,.56); color: #fff6e7; }
.mtb-live-page .openlx-cta .openlx-btn:not(.openlx-btn-secondary) { background: #fff6e7; border-color: #fff6e7; color: #102722; }
.mtb-live-page .openlx-cta .openlx-btn:hover { background: var(--mtb-clay); border-color: var(--mtb-clay); color: #fff; }
.mtb-live-page .openlx-topic-card { background: linear-gradient(180deg,#f0ece2,#fbfaf5); }
.mtb-live-page .openlx-case-card { border-left: 4px solid var(--mtb-clay); }
.mtb-live-page .openlx-doc-card { background: #f0ece2; }
.mtb-live-page .openlx-data-card { background: #e8eeeb; }
.mtb-live-page .openlx-faq-card summary { color: var(--mtb-ink); cursor: pointer; font-weight: 700; }
.mtb-live-page .openlx-trust-strip { display: grid; gap: 12px; grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: 28px; }
.mtb-live-page .openlx-trust-strip span { background: rgba(251,250,245,.88); border: 1px solid var(--openlx-line); border-radius: 999px; color: var(--openlx-muted); font-size: 13px; padding: 12px 14px; }

@media (max-width: 900px) {
	.mtb-live-page .openlx-hero { min-height: auto; padding: 64px 0; }
	.mtb-live-page .openlx-hero-grid,
	.mtb-live-page .openlx-section-head,
	.mtb-live-page .openlx-grid,
	.mtb-live-page .openlx-flow,
	.mtb-live-page .openlx-list,
	.mtb-live-page .openlx-trust-strip { grid-template-columns: 1fr; }
	.mtb-live-page .openlx-step { border-bottom: 1px solid var(--openlx-line); border-right: 0; }
	.mtb-live-page .openlx-step:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
	.mtb-live-page .openlx-wrap,
	.mtb-live-page .openlx-cta { width: min(100% - 28px,1180px); }
	.mtb-live-page .openlx-hero { padding-top: 46px; }
	.mtb-live-page .openlx-lead { font-size: 18px; }
	.mtb-live-page .openlx-btn { width: 100%; }
}
