/* ==========================================================================
   FX Trader Guide - main stylesheet
   ========================================================================== */
:root {
	--navy-900: #07112a;
	--navy-800: #0b1730;
	--navy-700: #10224a;
	--navy-600: #1a3163;
	--line: #24375f;
	--gold: #e9b949;
	--gold-2: #f6d47e;
	--gold-3: #c98f1f;
	--gold-grad: linear-gradient(180deg, #f8da86 0%, #e8b444 55%, #d49b2b 100%);
	--green: #22c55e;
	--red: #ef4444;
	--ink: #111a2e;
	--ink-2: #475069;
	--bg: #ffffff;
	--bg-soft: #f3f5fa;
	--border: #e3e7f0;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(7, 17, 42, .12);
	--font-head: "Prompt", "Sarabun", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--font-body: "Sarabun", "Prompt", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--container: 1400px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.75; color: var(--ink); background: var(--bg); }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--gold-3); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.35; margin: 0 0 .5em; font-weight: 600; color: inherit; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--gold); color: var(--navy-900); padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.ico { flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 20px; border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.3; border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-grad); color: #1b1404; box-shadow: 0 6px 18px rgba(233, 185, 73, .35), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { box-shadow: 0 10px 24px rgba(233, 185, 73, .5); }
.btn-outline { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(7,17,42,.35); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-outline-gold { border-color: var(--gold); color: var(--gold-2); background: transparent; }
.btn-outline-gold:hover { background: rgba(233,185,73,.1); }
.btn-ghost { color: var(--navy-700); border-color: var(--navy-700); }
.btn-lg { padding: 14px 24px; font-size: 18px; }
.btn-sm { padding: 8px 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { background: var(--navy-800); color: #fff; position: relative; z-index: 50; }
.topbar { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none !important; }
.brand-mark { color: var(--gold); display: flex; }
.brand-mark .ico { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 28px; letter-spacing: -.3px; color: #fff; }
.brand-name b { color: var(--gold); font-weight: 700; }
.brand-tag { font-size: 13.5px; color: #cdd6ea; }
.custom-logo { max-height: 56px; width: auto; }

.header-search { flex: 1; max-width: 460px; margin-left: auto; display: flex; background: var(--navy-900); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.header-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 10px 16px; font-size: 15px; }
.header-search input::placeholder { color: #8f9bb8; }
.header-search button, .nav-search button { background: var(--gold-grad); border: 0; padding: 0 16px; color: #1b1404; cursor: pointer; display: flex; align-items: center; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.social { display: flex; gap: 10px; align-items: center; }
.social a { display: flex; transition: transform .15s; }
.social a:hover { transform: scale(1.08); }
.header-cta { padding: 9px 18px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }

/* Main nav */
.main-nav { background: var(--navy-700); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.main-nav > .container { display: flex; align-items: stretch; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; justify-content: space-between; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li > a { display: flex; align-items: center; gap: 8px; padding: 13px 18px; color: #fff; font-family: var(--font-head); font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.menu > li > a:hover, .menu > li.is-active > a, .menu > li:focus-within > a { color: var(--gold-2); }
.menu > li.menu-home > a, .menu > li.menu-home.is-active > a { background: linear-gradient(180deg, #8b6a22, #5d4614); color: #fff; }
.menu > li.is-active:not(.menu-home) > a { box-shadow: inset 0 -3px 0 var(--gold); }
.sub-toggle { background: none; border: 0; color: #c7d0e6; cursor: pointer; padding: 0 10px 0 0; margin-left: -12px; display: flex; align-items: center; }
.sub-toggle .ico { transition: transform .2s; }
.badge-new { background: var(--gold-grad); color: #1b1404; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px; margin-top: -14px; }
.sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: 0 0 12px 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; border-top: 3px solid var(--gold); }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-family: var(--font-head); font-size: 15px; font-weight: 500; text-decoration: none; }
.sub-menu a:hover { background: var(--bg-soft); color: var(--gold-3); }
.menu-desc { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13.5px; color: var(--ink-2); }
.menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu, .menu > li.open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu > li.open > .sub-toggle .ico, .menu > li:hover > .sub-toggle .ico { transform: rotate(180deg); }
/* Mega panel */
.menu > li.mega > .sub-menu { display: grid; grid-template-columns: repeat(3, minmax(210px, 1fr)); gap: 4px; min-width: 720px; padding: 18px; }
.menu > li.mega > .sub-menu a { padding: 12px 14px; border: 1px solid transparent; }
.menu > li.mega > .sub-menu a:hover { border-color: var(--border); }
.nav-search { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-900) var(--hero-img) right center / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,42,.97) 0%, rgba(7,17,42,.85) 38%, rgba(7,17,42,.15) 70%, rgba(7,17,42,0) 100%); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: 440px; padding-block: 40px; }
.hero-copy { max-width: 780px; }
.hero-actions .btn-lg { padding: 12px 20px; font-size: 17px; }
.kicker { color: var(--gold); letter-spacing: .25em; font-family: var(--font-head); font-weight: 500; font-size: 15px; margin-bottom: 10px; }
.hero h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.3; margin-bottom: 18px; }
.hero h1 span, .page-hero h1 span { color: var(--gold); }
.hero-text { font-size: 18px; color: #dfe5f2; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.ticker { position: absolute; right: 9%; top: 34px; background: rgba(10, 30, 40, .55); border: 1px solid rgba(34,197,94,.55); border-radius: 12px; padding: 10px 20px; transform: rotate(-6deg); backdrop-filter: blur(4px); box-shadow: 0 0 30px rgba(34,197,94,.25); text-align: center; }
.ticker-sym { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 600; letter-spacing: .5px; }
.ticker-chg { color: var(--green); font-weight: 600; font-size: 20px; }

/* ---------- Category strip ---------- */
.cat-strip { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.cat-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 10px; color: var(--ink); text-decoration: none !important; position: relative; transition: background .15s; }
.cat-item + .cat-item::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; border-left: 1px solid #cfd6e4; }
.cat-item .ico { color: var(--navy-700); margin-bottom: 6px; }
.cat-item strong { font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.cat-item span { font-size: 13.5px; color: var(--ink-2); }
.cat-item:hover { background: #fff; }
.cat-item:hover .ico { color: var(--gold-3); }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-block: 22px 30px; }
.feature { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; padding: 22px 26px; min-height: 196px; display: flex; box-shadow: var(--shadow); isolation: isolate; }
.feature-copy { position: relative; z-index: 2; max-width: 62%; display: flex; flex-direction: column; align-items: flex-start; }
.feature h2 { font-size: 24px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.feature p { font-size: 14.5px; line-height: 1.55; color: #dfe5f2; }
.feature .btn { margin-top: auto; }
.feature-kicker { display: flex; align-items: center; gap: 8px; color: var(--gold-2) !important; font-family: var(--font-head); font-weight: 500; font-size: 16px !important; margin-bottom: 4px; }
.feature-art { position: absolute; right: 10px; bottom: 10px; width: 46%; z-index: 1; opacity: .95; }
.f-edu { background: radial-gradient(circle at 80% 70%, #1f4b8e 0%, transparent 60%), linear-gradient(135deg, #0b1a3a, #11295a); }
.f-clinic { background: radial-gradient(circle at 85% 40%, #7a2a52 0%, transparent 60%), linear-gradient(135deg, #2a1029, #4d1835); }
.f-copy { background: radial-gradient(circle at 85% 50%, #0f5d4f 0%, transparent 60%), linear-gradient(135deg, #062a2b, #0b3d3a); }
.f-copy .feature-copy { max-width: 56%; }
.stats-panel { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 40%; max-width: 190px; background: rgba(5, 20, 30, .7); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 12px 14px; z-index: 1; }
.stats-panel .crown { position: absolute; right: -6px; top: -14px; color: var(--gold); }
.stats-panel .crown .ico { fill: var(--gold); }
.sp-label { display: block; font-size: 12px; color: #b9c4da; line-height: 1.3; }
.sp-return { display: block; font-family: var(--font-head); font-size: 26px; color: var(--green); line-height: 1.2; }
.stats-panel svg { display: block; width: 100%; height: 36px; margin: 2px 0 6px; }
.sp-row { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 6px; }
.sp-row b { font-family: var(--font-head); font-size: 16px; }

/* ---------- Sections ---------- */
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.section-head h2 { font-size: 26px; font-weight: 700; margin: 0; padding-left: 14px; border-left: 4px solid var(--gold); line-height: 1.2; }
.section-head::after { content: ""; flex: 1; height: 1px; background: var(--border); order: 1; }
.section-head .more { order: 2; font-family: var(--font-head); font-size: 15px; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.home-split { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; margin-bottom: 40px; }
.cards { display: grid; gap: 16px; }
.cards-5 { grid-template-columns: repeat(5, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--navy-700); overflow: hidden; }
.card-thumb img, .thumb-ph svg { width: 100%; height: 100%; object-fit: cover; }
.thumb-ph { width: 100%; height: 100%; }
.pill { display: inline-block; background: var(--gold-grad); color: #1b1404; font-family: var(--font-head); font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 999px; text-decoration: none !important; }
.card-thumb .pill { position: absolute; left: 10px; bottom: 10px; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 16.5px; font-weight: 600; line-height: 1.45; margin-bottom: 6px; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--gold-3); text-decoration: none; }
.card-excerpt { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.card-meta { margin: auto 0 0; font-size: 13px; color: #8a93a8; }
.empty { color: var(--ink-2); background: var(--bg-soft); padding: 20px; border-radius: 12px; }

.clinic-box { background: linear-gradient(180deg, #fffaf0, #fdf3dd); border: 1px solid #f0dcaa; border-radius: var(--radius); padding: 22px; box-shadow: 0 6px 20px rgba(201,143,31,.12); }
.clinic-box h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--ink); }
.clinic-box h2 .ico { color: var(--gold-3); }
.checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; padding: 5px 0; }
.checklist .ico { color: var(--gold-3); margin-top: 5px; stroke-width: 3; }

/* Steps */
.path, .cat-block, .faq { margin-bottom: 44px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; position: relative; border: 1px solid var(--border); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.steps a { font-family: var(--font-head); font-weight: 600; }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 17.5px; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-3); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); }

/* CTA band */
.band { background: radial-gradient(circle at 85% 50%, rgba(233,185,73,.25), transparent 45%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; padding-block: 44px; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.band p { color: #cdd6ea; margin: 0; }
.band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Content pages ---------- */
.site-main { padding-bottom: 10px; }
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-block: 24px 50px; }
.breadcrumbs { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #9aa3b8; }
.breadcrumbs a { color: var(--ink-2); }
.entry-header .pill { margin-bottom: 10px; }
.entry-title { font-size: clamp(28px, 3vw, 40px); font-weight: 700; }
.entry-meta { font-size: 14.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.entry-meta .ico { margin-bottom: -2px; }
.entry-thumb { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; }
.entry-thumb img { width: 100%; }
.entry-content { font-size: 18px; }
.entry-content h2 { font-size: 27px; margin-top: 1.6em; padding-left: 12px; border-left: 4px solid var(--gold); }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 10px; height: auto; }
.entry-content blockquote { margin: 1.5em 0; padding: 16px 22px; background: var(--bg-soft); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--navy-800); color: #fff; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content .wp-block-image figcaption { font-size: 14px; color: var(--ink-2); text-align: center; }
.page .entry, .single .entry { margin-bottom: 30px; }
.narrow.site-main { padding-block: 24px 50px; }
.tags a { display: inline-block; background: var(--bg-soft); border-radius: 999px; padding: 2px 12px; margin: 0 6px 6px 0; font-size: 14px; color: var(--ink-2); }
.author-box { display: flex; gap: 16px; align-items: center; background: var(--bg-soft); border-radius: var(--radius); padding: 18px; margin-top: 20px; }
.author-box img { border-radius: 50%; }
.author-box p { margin: 0; font-size: 15px; color: var(--ink-2); }
.author-box .author-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 17px; }
.related { margin-top: 30px; }
.related h2 { font-size: 24px; }

.cta-box { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: #fff; border-radius: var(--radius); padding: 22px 24px; margin: 30px 0; }
.cta-icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: rgba(233,185,73,.15); color: var(--gold); }
.cta-kicker { color: var(--gold-2); font-family: var(--font-head); margin: 0; font-size: 15px; }
.cta-title { font-family: var(--font-head); font-size: 21px; font-weight: 700; margin: 0 0 4px; }
.cta-text { color: #cdd6ea; font-size: 15px; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 8px; }
.cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }

.sidebar { display: flex; flex-direction: column; gap: 22px; }
.sidebar > * { position: relative; }
.clinic-box-sm h2 { font-size: 19px; }
.side-copy { background: linear-gradient(135deg, #062a2b, #0b3d3a); color: #fff; border-radius: var(--radius); padding: 22px; }
.side-copy .sp-label { color: var(--gold-2); font-family: var(--font-head); font-size: 14px; }
.side-copy-title { font-family: var(--font-head); font-size: 21px; font-weight: 700; margin: 0 0 4px; }
.side-copy p { color: #d3e4e2; font-size: 15px; }
.widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.widget-title { font-size: 18px; font-weight: 700; padding-left: 10px; border-left: 4px solid var(--gold); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.widget li:last-child { border: 0; }
.widget a { color: var(--ink); }

.archive-header { padding-block: 6px 20px; }
.archive-header h1 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; }
.archive-desc { color: var(--ink-2); max-width: 820px; }
.site-main.container:not(.layout-sidebar):not(.narrow) { padding-block: 24px 40px; }
.pager .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pager .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); color: var(--ink); font-family: var(--font-head); }
.pager .page-numbers.current { background: var(--navy-800); color: var(--gold); border-color: var(--navy-800); }
.search-form { display: flex; gap: 8px; max-width: 560px; margin: 10px auto 20px 0; }
.center .search-form { margin-inline: auto; }
.search-form input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; }
.tag-cloud { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.tag-cloud a { display: block; padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); }
.big-404 { font-family: var(--font-head); font-size: 120px; font-weight: 700; color: var(--gold); line-height: 1; margin: 30px 0 10px; }

/* Landing pages */
.landing > section { margin-bottom: 44px; }
.page-hero { color: #fff; padding-block: 30px 50px; background: radial-gradient(circle at 85% 30%, rgba(233,185,73,.22), transparent 45%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: #aab5cf; }
.page-hero h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; max-width: 820px; }
.page-hero h1 span { display: block; }
.hero-clinic { background: radial-gradient(circle at 85% 30%, rgba(160,50,100,.45), transparent 50%), linear-gradient(135deg, #1d0c22, #3d1430); }
.hero-copytrade { background: radial-gradient(circle at 85% 40%, rgba(15,93,79,.7), transparent 50%), linear-gradient(135deg, #051c22, #0b3d3a); }
.page-hero-split { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: center; }
.stats-lg { position: relative; top: auto; right: auto; transform: none; width: 100%; max-width: none; padding: 22px; }
.stats-lg .sp-return { font-size: 40px; }
.stats-lg small { display: block; color: #9fb0c8; font-size: 12px; margin-top: 8px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tile { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: #fff; }
.tile .ico { color: var(--gold-3); margin-bottom: 8px; }
.tile h3 { font-size: 19px; }
.tile p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.risk-box { display: flex; gap: 12px; align-items: flex-start; background: #fff7e6; border: 1px solid #f0dcaa; border-radius: 12px; padding: 16px 18px; font-size: 15px; color: #5b4a20; }
.risk-box p { margin: 0; }
.risk-box .ico { color: var(--gold-3); margin-top: 3px; }

/* Clinic form */
.clinic-form { display: grid; gap: 14px; }
.clinic-form label { display: grid; gap: 4px; font-family: var(--font-head); font-size: 15px; font-weight: 500; }
.clinic-form input[type=text], .clinic-form input[type=email], .clinic-form select, .clinic-form textarea { width: 100%; padding: 10px 14px; border: 1px solid #e0cfa0; border-radius: 10px; background: #fff; font-family: var(--font-body); font-size: 16px; }
.clinic-form fieldset { border: 0; padding: 0; margin: 0; }
.clinic-form legend { font-family: var(--font-head); font-weight: 500; font-size: 15px; margin-bottom: 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex !important; grid-template-columns: none; align-items: center; gap: 6px !important; background: #fff; border: 1px solid #e0cfa0; border-radius: 999px; padding: 6px 12px; font-family: var(--font-body) !important; font-weight: 400 !important; cursor: pointer; }
.consent { display: flex !important; align-items: flex-start; font-family: var(--font-body) !important; font-weight: 400 !important; font-size: 14.5px !important; }
.consent input { margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 16px; }
.notice-ok { background: #e7f8ee; border: 1px solid #9fdcb8; color: #135b32; }
.notice-err { background: #fdecec; border: 1px solid #f3b4b4; color: #8a1c1c; }

/* Comments */
.comments { margin-top: 36px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { border-bottom: 1px solid var(--border); padding: 14px 0; }
.comment-author img { border-radius: 50%; float: left; margin-right: 10px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c4cde0; padding-top: 46px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer .widget-title { color: #fff; border-color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #c4cde0; }
.site-footer a:hover { color: var(--gold-2); }
.footer-about .brand { margin-bottom: 12px; }
.footer-about .brand-name { font-size: 24px; }
.footer-clinic .btn { color: #1b1404; }
.risk { display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 18px; font-size: 13.5px; color: #8f9bb8; }
.risk p { margin: 0; }
.risk .ico { color: var(--gold); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 16px 22px; font-size: 14px; color: #8f9bb8; }
.footer-bottom p { margin: 0; }
.footer-menu { display: flex; gap: 16px; }
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.menu > li > a { padding-inline: 12px; font-size: 15px; }
	.cards-5 { grid-template-columns: repeat(3, 1fr); }
	.cards-5 .card:nth-child(n+4) { display: none; }
}
@media (max-width: 1100px) {
	.topbar .social { display: none; }
	.features { grid-template-columns: 1fr 1fr; }
	.f-copy { grid-column: 1 / -1; }
	.home-split { grid-template-columns: 1fr; }
	.cards-4 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.layout-sidebar { grid-template-columns: 1fr; }
	.ticker { display: none; }
}
@media (max-width: 960px) {
	/* Mobile navigation */
	.header-search, .header-cta { display: none; }
	.topbar { justify-content: space-between; }
	.nav-toggle { display: flex; }
	.main-nav { display: none; border: 0; }
	.main-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 80px); overflow-y: auto; box-shadow: var(--shadow); }
	.main-nav > .container { flex-direction: column; padding-block: 10px 18px; }
	.menu { flex-direction: column; }
	.menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.menu > li > a { flex: 1; padding: 14px 6px; }
	.sub-toggle { margin: 0; padding: 12px; }
	.sub-menu, .menu > li.mega > .sub-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; width: 100%; min-width: 0; box-shadow: none; border-radius: 10px; margin-bottom: 12px; grid-template-columns: 1fr; }
	.menu > li.open > .sub-menu { display: block; }
	.menu > li:hover > .sub-menu { display: none; }
	.menu > li.open:hover > .sub-menu { display: block; }
	.menu > li.menu-home > a { background: none; }
	.nav-search { display: flex; margin-top: 14px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
	.nav-search input { flex: 1; background: var(--navy-900); color: #fff; border: 0; padding: 12px 14px; min-width: 0; }
	.cat-grid { grid-template-columns: repeat(3, 1fr); }
	.cat-item:nth-child(4)::before { display: none; }
	.page-hero-split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	body { font-size: 16.5px; padding-bottom: 66px; }
	.container { padding-inline: 16px; }
	.brand-name { font-size: 21px; }
	.brand-tag { font-size: 11.5px; }
	.brand-mark .ico { width: 32px; height: 32px; }
	.hero { background-position: 70% center; }
	.hero::before { background: linear-gradient(180deg, rgba(7,17,42,.82), rgba(7,17,42,.95)); }
	.hero-inner { min-height: 0; padding-block: 34px 36px; }
	.hero-text { font-size: 16.5px; }
	.hero-actions .btn { width: 100%; justify-content: space-between; }
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	.cat-item::before { display: none; }
	.cat-item { border-bottom: 1px solid var(--border); padding: 14px 8px; }
	.cat-item:nth-child(odd) { border-right: 1px solid var(--border); }
	.cat-item strong { font-size: 15.5px; }
	.cat-item span { font-size: 13px; }
	.features { grid-template-columns: 1fr; }
	.feature { min-height: 0; padding: 20px; }
	.feature-copy, .f-copy .feature-copy { max-width: 100%; }
	.feature-art { opacity: .2; width: 60%; }
	.stats-panel:not(.stats-lg) { display: none; }
	.cards-5, .cards-4, .cards-3 { grid-template-columns: 1fr; gap: 12px; }
	.cards-5 .card:nth-child(n+4) { display: grid; }
	.card { display: grid; grid-template-columns: 132px 1fr; }
	.card-thumb { aspect-ratio: auto; height: 100%; min-height: 96px; }
	.card-thumb .pill { left: 6px; bottom: 6px; font-size: 11px; padding: 1px 8px; }
	.card-body { padding: 10px 12px; }
	.card-title { font-size: 15.5px; margin-bottom: 4px; }
	.card-excerpt { display: none; }
	.steps { grid-template-columns: 1fr; }
	.section-head h2 { font-size: 21px; }
	.section-head::after { display: none; }
	.section-head { justify-content: space-between; }
	.band h2 { font-size: 23px; }
	.cta-box { grid-template-columns: 1fr; }
	.grid-2 { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 24px; }
	.entry-content { font-size: 17px; }
	.mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy-800); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
	.mobile-cta a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; color: #dfe5f2; font-family: var(--font-head); font-size: 12.5px; text-decoration: none; }
	.mobile-cta a svg { width: 22px; height: 22px; }
	.mobile-cta .is-primary { background: var(--gold-grad); color: #1b1404; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
