/* =========================================================================
   Gulf Med Ethics: "Najdi gate" design system
   Tokens → base → signature → header → hero → bands → components →
   page templates → course page → footer → responsive.
   ========================================================================= */

:root {
	--maroon: #6B1E2C;
	--maroon-d: #4E1420;
	--maroon-t: rgba(107, 30, 44, .06);
	--maroon-l: rgba(107, 30, 44, .18);
	--saffron: #C98E2B;
	--saffron-d: #8A5B14;
	--saffron-t: #F6EBD7;
	--stone: #F4F2EE;
	--stone-2: #EAE5DD;
	--paper: #FFFFFF;
	--ink: #1F1A1C;
	--mute: #6A6164;
	--line: #E4DED6;
	--line-2: #D9D1C7;
	--sage: #5E7A6B;
	--night: #2A0F15;
	--on-night: #F4F2EE;
	--on-night-m: rgba(244, 242, 238, .74);
	--display: "Young Serif", Georgia, "Times New Roman", serif;
	--sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--r: 4px;
	--r2: 6px;
	--sh: 0 18px 40px -22px rgba(42, 15, 21, .38);
	--gut: 32px;
	--max: 1200px;
	--hh: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--maroon); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon-d); text-decoration-thickness: 2px; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.4vw, 46px); }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-family: var(--sans); font-size: 20px; line-height: 1.35; font-weight: 600; margin: 0 0 .45em; color: var(--ink); }
h4 { font-size: 17px; font-weight: 700; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: 0 0 .35em; }
b, strong { font-weight: 700; }
small { font-size: 15px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
table { border-collapse: collapse; width: 100%; }
abbr[title] { text-decoration: none; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--saffron-t); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--maroon); color: #fff; padding: 10px 16px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.muted { color: var(--mute); }
.section-sm { padding-top: 40px; padding-bottom: 56px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 11px 22px; border: 1.5px solid var(--maroon); border-radius: var(--r);
	background: var(--maroon); color: #fff; font: 600 17px/1.2 var(--sans); text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease; text-align: center;
}
.btn:hover { background: var(--maroon-d); border-color: var(--maroon-d); color: #fff; text-decoration: none; }
.btn .ic { width: 18px; height: 18px; }
.btn-o { background: transparent; color: var(--maroon); }
.btn-o:hover { background: var(--maroon-t); color: var(--maroon-d); border-color: var(--maroon-d); }
.btn-light { background: var(--on-night); border-color: var(--on-night); color: var(--maroon-d); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--maroon-d); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-xs { min-height: 36px; padding: 6px 12px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 14px 26px; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 0; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--maroon); }
.link-more .ic { width: 18px; height: 18px; transition: transform .15s ease; }
.link-more:hover { text-decoration: underline; }
.link-more:hover .ic { transform: translateX(3px); }

/* ---------- Signature: crenellation + triangle row ---------- */
.crenel { display: block; height: 10px; line-height: 0; }
.crenel svg { display: block; width: 100%; height: 10px; }
.trirow { display: block; line-height: 0; margin: 0 0 14px; }
.trirow svg { display: block; }

/* ---------- Country chip ---------- */
.cchip {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	min-width: 30px; height: 22px; padding: 0 6px; border: 1.5px solid var(--maroon); border-radius: 3px;
	font: 700 12px/1 var(--sans); letter-spacing: .06em; color: var(--maroon); background: var(--paper);
}
.cchip abbr { text-decoration: none; cursor: inherit; }
.cchip.sm { min-width: 28px; height: 20px; font-size: 11px; }
.cchip.lg { min-width: 44px; height: 32px; font-size: 15px; }
.cchip.is-soon { border-color: var(--line-2); color: var(--mute); background: transparent; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--stone); border-bottom: 1px solid var(--line); font-size: 15px; color: var(--mute); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-note { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar-note .ic { width: 16px; height: 16px; color: var(--sage); }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-links a:hover { color: var(--maroon); text-decoration: underline; }
.topbar-links .ic { width: 16px; height: 16px; }

.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: var(--hh); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo-mark { display: block; flex: none; }
.logo-word { font-family: var(--display); font-size: 22px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.logo-word span { color: var(--maroon); }
.logo-img { max-height: 48px; width: auto; }

.menu { flex: 1; display: flex; justify-content: center; min-width: 0; }
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu-list > li { margin: 0; position: relative; }
.menu-list > li > a, .dd-btn {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: var(--r);
	background: none; border: 0; font: 500 16px/1.2 var(--sans); color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.menu-list > li > a:hover, .dd-btn:hover, .has-dd.open > .dd-btn { color: var(--maroon); background: var(--maroon-t); text-decoration: none; }
.dd-btn .ic-chev { width: 16px; height: 16px; transition: transform .15s ease; }
.has-dd.open > .dd-btn .ic-chev { transform: rotate(180deg); }
.menu-list .cchip { margin-right: 4px; }
.has-dd { position: relative; }
.dd {
	display: none; position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 70;
	width: 520px; max-width: calc(100vw - 32px); padding: 16px; background: var(--paper); border: 1px solid var(--line);
	border-top: 3px solid var(--maroon); border-radius: var(--r2); box-shadow: var(--sh);
}
.dd-narrow { width: 300px; }
.dd-right { left: auto; right: 0; transform: none; width: 300px; }
.has-dd.open > .dd { display: block; }
.dd a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 16px; }
.dd a:hover, .dd a.on { background: var(--stone); color: var(--maroon); }
.dd-hub { flex-direction: column; align-items: flex-start !important; gap: 2px !important; background: var(--stone); margin-bottom: 8px; }
.dd-hub b { font-weight: 600; color: var(--maroon); }
.dd-hub small { color: var(--mute); }
.dd-note { margin: 8px 10px 4px; font-size: 15px; font-weight: 600; color: var(--mute); }
.dd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.dd-foot { margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0 !important; padding-top: 12px !important; }
.dd-foot .ic { color: var(--maroon); }
.dd-soon { display: flex; align-items: center; gap: 8px; padding: 9px 10px; color: var(--mute); font-size: 16px; }
.dd-soon em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--mute); }

.hdr-acts { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.ctry-btn { gap: 8px; padding: 8px 10px; }
.ctry-btn .ic-globe { width: 20px; height: 20px; }
.hdr-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r); color: var(--ink); }
.hdr-cart:hover { background: var(--maroon-t); color: var(--maroon); }
.hdr-cart .ic { width: 22px; height: 22px; }
.cart-n { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--saffron); color: var(--ink); font: 700 11px/18px var(--sans); text-align: center; }
.cart-n[hidden] { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; padding: 0; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn span:nth-child(1) { top: 14px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 28px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-btn em { font-style: normal; }
.menu-extra { display: none; }

/* ---------- Hero ---------- */
.hero { background: var(--stone); border-bottom: 1px solid var(--line); }
.hero > .crenel { margin-bottom: 0; }
.hero-grid { padding-top: 40px; padding-bottom: 64px; }
.hero-grid.has-aside { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.hero-main { max-width: 760px; }
.hero h1 { margin-bottom: 18px; }
.hero-home h1 { font-size: clamp(36px, 5.6vw, 58px); line-height: 1.06; }
.hero-root h1, .hero-country h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; }
.lead { font-size: 20px; line-height: 1.55; color: #4A4245; max-width: 64ch; }
.hero .lead { margin-bottom: 0; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; color: var(--mute); }
.crumbs li { margin: 0; display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-right: 1.5px solid var(--line-2); border-top: 1.5px solid var(--line-2); transform: rotate(45deg); }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--maroon); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--maroon); }
.hero-pts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.hero-pts li { display: flex; gap: 10px; margin: 0; align-items: flex-start; }
.hero-pts .ic { color: var(--sage); margin-top: 3px; stroke-width: 2.4; }
.hero-refs { margin: 20px 0 0; font-size: 15px; color: var(--mute); max-width: 64ch; }
.hero-facts { margin: 24px 0 0; font-size: 15px; color: var(--mute); }
.hero-facts a { font-weight: 600; margin-left: 6px; }
.hero-kind { display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.hero-kind .ic { color: var(--maroon); }
.hero-kind + .btn-row { margin-top: 14px; }

/* At-a-glance */
.glance { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r2); padding: 20px 22px; }
.glance-h { margin: 0 0 8px; font-weight: 700; font-size: 15px; color: var(--maroon); }
.glance dl { margin: 0; }
.glance dl > div { padding: 10px 0; border-top: 1px solid var(--line); }
.glance dl > div:first-child { border-top: 0; }
.glance dt { font-size: 15px; color: var(--mute); }
.glance dd { margin: 2px 0 0; font-weight: 600; font-size: 16px; line-height: 1.45; }

/* Router + edition panel (the "gate") */
.router, .editions { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--maroon); border-radius: var(--r2); padding: 24px; box-shadow: var(--sh); }
.router-h { font-size: 26px; margin: 0 0 16px; }
.routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.routes li { margin: 0; }
.route {
	display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 14px; align-items: center;
	min-height: 76px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r);
	color: var(--ink); text-decoration: none; background: var(--paper); transition: border-color .15s ease, background-color .15s ease;
}
.route:hover { border-color: var(--maroon); background: var(--maroon-t); color: var(--ink); text-decoration: none; }
.route-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--stone); color: var(--maroon); }
.route-ic .ic { width: 22px; height: 22px; }
.route-t { display: flex; flex-direction: column; gap: 3px; }
.route-t b { font-weight: 600; font-size: 17px; line-height: 1.3; }
.route-t small { color: var(--mute); line-height: 1.4; }
.route > .ic-arrow { color: var(--maroon); transition: transform .15s ease; }
.route:hover > .ic-arrow { transform: translateX(3px); }
.router-prof { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.router-prof label { display: block; font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.rp-row { display: flex; gap: 8px; }
.rp-row select { flex: 1; min-width: 0; }
.rp-row .btn { flex: none; min-width: 72px; }
select, input[type="text"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="password"], textarea {
	min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink); font: 400 16px/1.4 var(--sans); max-width: 100%;
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%236B1E2C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }

.ed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ed-list > li { margin: 0; }
.ed { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); }
.ed-live { color: var(--ink); text-decoration: none; padding: 18px 16px; }
.ed-live:hover { border-color: var(--maroon); background: var(--maroon-t); color: var(--ink); text-decoration: none; }
.ed-t { display: flex; flex-direction: column; gap: 4px; }
.ed-t b { font-weight: 700; font-size: 18px; }
.ed-t small { color: var(--mute); line-height: 1.45; }
.ed-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; font-weight: 600; color: var(--saffron-d); }
.ed-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--maroon); }
.ed-soon { border-style: dashed; background: transparent; padding-top: 10px; padding-bottom: 10px; }
.ed-soon .ed-t b { font-weight: 500; font-size: 16px; color: var(--mute); }
.ed-flag { font-size: 13px; color: var(--mute); }

/* 404 + plain title band */
.nf { padding-top: 56px; padding-bottom: 80px; }
.nf > * { max-width: 760px; }
.nf-code { font-family: var(--display); font-size: 96px; line-height: 1; color: var(--maroon); margin: 0 0 12px; }
.title-band { background: var(--stone); border-bottom: 1px solid var(--line); }
.title-band .wrap { padding-top: 32px; padding-bottom: 32px; }
.page-title { margin: 0; }
.entry-meta { color: var(--mute); font-size: 15px; margin: 8px 0 0; }

/* ---------- Bands + section heads ---------- */
.band { padding: 72px 0; }
.band.stone { background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.night { background: var(--night); color: var(--on-night); }
.band.night h2, .band.night h3 { color: var(--on-night); }
.band.night .sec-sub { color: var(--on-night-m); }
.band.night a { color: #E9C489; }
.band.night .trirow path:first-child { fill: #A9485A; }
.sec-head { max-width: 760px; margin: 0 0 32px; }
.sec-head h2 { margin-bottom: 10px; }
.sec-sub { color: var(--mute); font-size: 18px; margin: 0; }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; }
.sec-row h2 { margin: 0; }
.h3like { font-family: var(--sans); font-size: 20px; font-weight: 600; letter-spacing: 0; margin: 0 0 16px; }

/* USPs: compact row and full strip (no boxes) */
.usp-band { border-bottom: 1px solid var(--line); background: var(--paper); }
.usp-row { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 15px; font-weight: 500; }
.usp-row li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0 16px; border-left: 1px solid var(--line); }
.usp-row li:first-child { padding-left: 0; border-left: 0; }
.usp-row .ic { width: 18px; height: 18px; color: var(--maroon); }
.band-usps { padding: 64px 0; }
.usps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.usps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; margin: 0; padding: 20px 0; border-top: 1px solid var(--line); }
.usps .ic { width: 24px; height: 24px; color: var(--maroon); margin-top: 2px; }
.usps b { display: block; font-weight: 600; margin-bottom: 2px; }
.usps span { display: block; color: var(--mute); font-size: 16px; line-height: 1.55; }

/* Profession list (country home) */
.pp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: center; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pp-name { margin: 0; font-weight: 600; font-size: 20px; }
.pp-reg { margin: 2px 0 0; color: var(--mute); font-size: 15px; }
.pp-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.pp-links li { margin: 0; }
.pp-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.pp-links a .ic { width: 16px; height: 16px; color: var(--maroon); }
.pp-links a:hover { border-color: var(--maroon); color: var(--maroon); background: var(--maroon-t); }
.pp-links a.pp-rc { border-color: var(--maroon); color: var(--maroon); }

/* Remediation steps (real sequence, night band) */
.rsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.rsteps li { margin: 0; padding: 0 28px 0 0; position: relative; }
.rsteps li + li { padding-left: 28px; border-left: 1px solid rgba(244, 242, 238, .16); }
.rs-n { display: block; font-family: var(--display); font-size: 46px; line-height: 1; color: var(--saffron); margin: 0 0 16px; }
.rsteps h3 { font-size: 20px; }
.rsteps p { color: var(--on-night-m); font-size: 16px; }
.rsteps .link-more { color: #E9C489; font-size: 15px; }

/* ---------- Ledger rows (course listings) ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); background: var(--paper); }
.band.stone .ledger { border: 1px solid var(--line); border-radius: var(--r2); padding: 0 24px; }
.lr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.band.stone .ledger .lr:last-child { border-bottom: 0; }
.lr-main { min-width: 0; }
.lr-group, .lr-tag { margin: 0 0 4px; font-size: 15px; color: var(--mute); }
.lr-tag { font-weight: 600; color: var(--maroon); }
.lr-title { margin: 0; font-size: 20px; line-height: 1.35; font-weight: 600; }
.lr-title a { color: var(--ink); text-decoration: none; }
.lr-title a:hover { color: var(--maroon); text-decoration: underline; }
.lr-text { margin: 6px 0 0; color: #4A4245; font-size: 16px; line-height: 1.5; max-width: 72ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lr-meta { margin: 6px 0 0; font-size: 15px; color: var(--mute); }
.lr-side { display: flex; align-items: center; gap: 18px; justify-content: flex-end; }
.hrs { display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 10px; border-radius: var(--r); background: var(--saffron-t); border: 1px solid rgba(201, 142, 43, .45); color: var(--saffron-d); font-size: 15px; font-weight: 600; white-space: nowrap; }
.hrs b { font-weight: 700; }
.lr-price { font-weight: 700; font-size: 20px; white-space: nowrap; min-width: 92px; text-align: right; }
.fts-was { opacity: .62; font-weight: 400; margin-right: 6px; font-size: .85em; }
.lr-btns { display: flex; align-items: center; gap: 14px; }
.lr-details { font-weight: 600; font-size: 15px; white-space: nowrap; }
.ledger-more .lr { padding: 14px 0; }
.ledger-more .lr-title { font-size: 17px; }
.ledger-more .lr-text, .ledger-more .lr-meta { display: none; }
.ledger-more .lr-price { font-size: 17px; }
.empty-note { padding: 20px 22px; border: 1px dashed var(--line-2); border-radius: var(--r2); background: var(--stone); color: var(--mute); }

/* Compact course lines (concern table, guide sections) */
.course-links { list-style: none; margin: 0; padding: 0; }
.course-links li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 10px 0; margin: 0; border-bottom: 1px solid var(--line); }
.course-links li:last-child { border-bottom: 0; }
.cl-title { font-weight: 600; color: var(--ink); text-decoration: none; }
.cl-title:hover { color: var(--maroon); text-decoration: underline; }
.cl-act { display: flex; align-items: center; gap: 12px; }
.cl-price { font-weight: 700; white-space: nowrap; }
.psec > .course-links { margin-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Content layout ---------- */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding-top: 56px; padding-bottom: 72px; align-items: start; }
.guide-layout.single { grid-template-columns: minmax(0, 1fr); }
.guide-layout.single .guide-main { max-width: 820px; }
.guide-main { min-width: 0; }
.guide-aside { align-self: stretch; display: flex; flex-direction: column; gap: 20px; }
.guide-aside .toc { position: sticky; top: calc(var(--hh) + 24px); max-height: calc(100vh - var(--hh) - 48px); overflow: auto; }
.psec { margin: 0 0 56px; }
.psec:last-child { margin-bottom: 0; }
.psec > h2 { margin-bottom: 18px; }
.prose { max-width: 72ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul li::marker { color: var(--maroon); }
.prose ol li::marker { color: var(--maroon); font-weight: 600; }
.prose table { margin: 20px 0; font-size: 16px; border: 1px solid var(--line); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--stone); font-weight: 600; }
.prose blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--saffron); color: #4A4245; }
.prose .steps, .prose ol.steps { list-style: none; padding: 0; counter-reset: st; }
.prose .steps > li { counter-increment: st; position: relative; padding: 0 0 0 48px; margin: 0 0 16px; }
.prose .steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: var(--r); background: var(--stone); color: var(--maroon); font: 400 18px/32px var(--display); text-align: center; }
.prose .table-wrap, .table-wrap { overflow-x: auto; }
.note-line { margin: 24px 0 0; color: var(--mute); font-size: 16px; }

/* TOC */
.toc { border-left: 1px solid var(--line); padding: 2px 0 2px 0; }
.toc-h { margin: 0 0 8px 16px; font-size: 15px; font-weight: 700; color: var(--ink); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 12px 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--mute); text-decoration: none; font-size: 15px; line-height: 1.4; }
.toc a:hover { color: var(--maroon); }
.toc a.on { color: var(--maroon); border-left-color: var(--maroon); font-weight: 600; }
.toc-m { display: none; }
.twin { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r2); text-decoration: none; color: var(--ink); background: var(--stone); }
.twin span { display: block; font-size: 15px; color: var(--mute); }
.twin b { display: block; font-weight: 600; margin-top: 2px; line-height: 1.35; }
.twin:hover { border-color: var(--maroon); color: var(--maroon); text-decoration: none; }
.aside-help { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r2); font-size: 16px; }
.aside-help p { margin: 0 0 8px; }

/* FAQs */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 18px 0; font-weight: 600; font-size: 18px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(var(--maroon), var(--maroon)) center/14px 2px no-repeat, linear-gradient(var(--maroon), var(--maroon)) center/2px 14px no-repeat; transition: transform .15s ease; }
.faq details[open] summary::after { background: linear-gradient(var(--maroon), var(--maroon)) center/14px 2px no-repeat; }
.faq summary:hover { color: var(--maroon); }
.faq-a { padding: 0 0 18px; max-width: 72ch; color: #3A3336; }
.faq-a p { margin: 0; }

/* Sources */
.sources ul { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
.sources li { margin: 0; border-bottom: 1px solid var(--line); }
.sources a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--ink); font-size: 16px; }
.sources a .ic { width: 16px; height: 16px; color: var(--maroon); margin-top: 4px; }
.sources a:hover { color: var(--maroon); text-decoration: underline; }
.sources .muted { font-size: 15px; }

/* Concerns table */
.ctable { border-top: 1px solid var(--line); }
.ct-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ct-c h3 { font-size: 18px; margin: 0 0 4px; }
.ct-c p { margin: 0; color: var(--mute); font-size: 16px; }
.ct-k .course-links li:first-child { padding-top: 0; }

/* Related guides */
.rel-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rel-list li { margin: 0; border-bottom: 1px solid var(--line); }
.rel-list a { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 2px 12px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.rel-list a span { grid-column: 1; font-size: 15px; color: var(--mute); }
.rel-list a b { grid-column: 1; font-weight: 600; }
.rel-list a .ic { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--maroon); }
.rel-list a:hover b { color: var(--maroon); text-decoration: underline; }

/* Key facts */
.keyfacts { margin: 0 0 56px; }
.kf-h { margin-bottom: 16px; }
.keyfacts dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.keyfacts dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.keyfacts dt { font-size: 15px; color: var(--mute); }
.keyfacts dd { margin: 2px 0 0; font-weight: 600; line-height: 1.45; }

/* Standards (E-E-A-T) */
.eeat-head { max-width: 760px; margin: 0 0 24px; }
.eeat-head h2 { margin: 0; }
.eeat-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.eeat-list > div { padding: 18px 0; border-top: 1px solid var(--line-2); }
.eeat-list dt { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; margin: 0 0 6px; }
.eeat-list dt .ic { color: var(--maroon); }
.eeat-list dd { margin: 0; color: #4A4245; font-size: 16px; }
.eeat-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.eeat-meta { margin: 0; color: var(--mute); font-size: 15px; }
.eeat-links { margin: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.course-main .eeat { margin: 0 0 56px; }

/* Honest callout (About page) */
.honest { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; margin: 40px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-left: 3px solid var(--sage); border-radius: var(--r2); background: var(--stone); }
.honest .ic { color: var(--sage); width: 24px; height: 24px; }
.honest-h { font-weight: 700; margin: 0 0 6px; }
.honest p:last-child { margin: 0; font-size: 16px; }

/* CTA band */
.cta-band { background: var(--paper); border-top: 1px solid var(--line); padding: 64px 0 56px; }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-txt { max-width: 640px; }
.cta-txt h2 { margin-bottom: 8px; }
.cta-txt p { margin: 0; color: var(--mute); font-size: 18px; }
.cta-band .btn-row { margin: 0; }

/* Other professions */
.others-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.others-grid a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 500; }
.others-grid a .ic { width: 16px; height: 16px; color: var(--maroon); }
.others-grid a:hover { border-color: var(--maroon); color: var(--maroon); }
.others-grid a.strong { border-color: var(--maroon); color: var(--maroon); font-weight: 600; }

/* Bulk-buy */
.bulk-wrap { padding-top: 40px; }
.bulk-strip.in-main { margin-bottom: 56px; }
.bulk-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 16px 20px; border: 1px solid rgba(201, 142, 43, .5); border-radius: var(--r2); background: var(--saffron-t); margin: 0 0 24px; }
.bs-h { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.bs-h .ic { color: var(--saffron-d); }
.bulk-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.bulk-strip li { margin: 0; display: inline-flex; gap: 6px; font-size: 16px; }
.bulk-strip li b { color: var(--maroon-d); }
.bs-f { margin: 0 0 0 auto; font-size: 15px; color: #5A4A35; }
.bulk-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.bn-h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.bn-h .ic { color: var(--saffron-d); width: 18px; height: 18px; }
.bn-tiers { list-style: none; margin: 0 0 8px; padding: 0; }
.bn-tiers li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 4px 0; }
.bn-tiers b { color: var(--maroon-d); }
.bn-f { margin: 0; color: var(--mute); }

/* Section CTA (inline) */
.guide-main > .cta-in { margin: -24px 0 56px; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 28px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-left: 3px solid var(--maroon); border-radius: var(--r2); background: var(--stone); }
.cta-in-txt { flex: 1 1 320px; }
.cta-in-h { font-weight: 700; margin: 0 0 4px; }
.cta-in p:last-child { margin: 0; color: #4A4245; font-size: 16px; }
.cta-in-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Course columns on profession pages */
.ccols { display: grid; gap: 28px; margin-top: 24px; }
.ccol-h, .core-rest .ccol-h { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 6px; font-size: 15px; color: var(--mute); }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 3px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 700; color: var(--ink); background: var(--paper); }
.pill-rec { border-color: var(--maroon); color: var(--maroon); }
.core-rest { margin-top: 28px; }
.duo { margin-top: 8px; }
.duo .lr { padding: 22px 0; }
.which { margin: 28px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r2); }
.which-h { font-weight: 700; margin: 0 0 12px; }
.which-t { font-size: 16px; }
.which-t th, .which-t td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.which-t thead th { font-weight: 600; color: var(--maroon); }
.which-t tbody th { font-weight: 600; color: var(--mute); width: 22%; }
.which-t tbody tr:last-child > * { border-bottom: 0; }
.which-both { display: flex; gap: 10px; margin: 12px 0 0; font-size: 16px; color: #4A4245; }
.which-both .ic { color: var(--sage); }

/* Core panel (profession hero + aside) */
.core-panel { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--maroon); border-radius: var(--r2); padding: 22px; box-shadow: var(--sh); }
.cp-h { font-family: var(--display); font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
.core-panel > ul { list-style: none; margin: 0; padding: 0; }
.cp-item { margin: 0; padding: 16px 0; border-top: 1px solid var(--line); }
.cp-tag { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--maroon); display: flex; gap: 8px; }
.cp-tag span { color: var(--mute); font-weight: 600; }
.cp-title { display: block; font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--ink); text-decoration: none; }
.cp-title:hover { color: var(--maroon); text-decoration: underline; }
.cp-meta { margin: 4px 0 10px; font-size: 15px; color: var(--mute); }
.cp-foot { display: flex; align-items: center; gap: 12px; }
.cp-price { font-weight: 700; font-size: 18px; margin-left: auto; }
.cp-more { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 15px; font-weight: 600; text-decoration: none; }
.cp-safe { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 15px; color: var(--mute); }
.cp-safe .ic { width: 16px; height: 16px; color: var(--sage); }
.cp-mini { box-shadow: none; padding: 18px; }
.cp-mini .cp-h { font-size: 18px; }
.cp-mini .cp-meta { display: none; }
.cp-mini .cp-item { padding: 12px 0; }

/* Hub profession rows */
.pcards { border-top: 1px solid var(--line); }
.pcard { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 10px 32px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pcard:hover { background: var(--maroon-t); color: var(--ink); text-decoration: none; }
.pcard-name { font-weight: 600; font-size: 20px; grid-column: 1; }
.pcard-reg { grid-column: 1; font-size: 15px; color: var(--mute); margin-top: -6px; }
.pcard-core { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 6px; }
.pcard-core > span { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-size: 16px; }
.pcard-core .ic { width: 16px; height: 16px; color: var(--sage); stroke-width: 2.4; }
.pcard-core em { font-style: normal; }
.pcard-core b { font-weight: 700; white-space: nowrap; }
.pcard-go { grid-column: 3; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--maroon); font-size: 15px; white-space: nowrap; }

/* Catalogue */
.band.catalogue { padding-top: 40px; }
.filters-wrap { display: grid; gap: 14px; padding: 20px 22px; margin: 0 0 28px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--stone); }
.filter-block { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 16px; align-items: start; }
.filter-label { font-size: 15px; font-weight: 700; padding-top: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters a { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.filters a:hover { border-color: var(--maroon); color: var(--maroon); }
.filters a.on { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.filter-count { margin: 0; font-size: 15px; color: var(--mute); font-weight: 600; }
.cgroup { margin: 0 0 48px; }
.cgroup-h { display: flex; align-items: baseline; gap: 12px; font-size: 26px; margin: 0 0 8px; }
.cgroup-h span { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--saffron-d); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-top: 56px; padding-bottom: 56px; align-items: start; }
.contact-main h2 { margin-bottom: 8px; }
.contact-main > .muted { margin-bottom: 24px; max-width: 64ch; }
.contact-aside { display: grid; gap: 16px; }
.ca-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--stone); font-size: 16px; }
.ca-card p { margin: 0 0 10px; }
.ca-card p:last-child { margin: 0; }
.ca-h { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.ca-h .ic { width: 18px; height: 18px; color: var(--maroon); }
.info-contact { padding-top: 0; }

/* Resume banner */
.resume { background: var(--saffron-t); border-bottom: 1px solid rgba(201, 142, 43, .4); }
.resume[hidden], .resume a[hidden] { display: none !important; }
.resume-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 48px; font-size: 16px; }
.resume a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* ---------- Course page ---------- */
.course-top { background: var(--stone); }
.course-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 56px; align-items: start; }
.course-head-wrap { grid-column: 1; grid-row: 1; position: relative; padding: 32px 0 48px; }
.course-head-wrap { background: var(--stone); box-shadow: 0 0 0 100vmax var(--stone); clip-path: inset(0 -100vmax); }
.course-page { position: relative; z-index: 0; }
.course-head { max-width: 760px; }
.course-head h1 { margin-bottom: 14px; }
.buy-col { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--hh) + 20px); padding-top: 32px; z-index: 2; }
.course-main { grid-column: 1; grid-row: 2; min-width: 0; padding: 48px 0 72px; }
.facts-strip { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.facts-strip li { margin: 0; padding: 12px 24px 12px 0; display: flex; flex-direction: column; }
.facts-strip li + li { padding-left: 24px; border-left: 1px solid var(--line-2); }
.facts-strip b { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--maroon); }
.facts-strip span { font-size: 15px; color: var(--mute); }
.hero-incl { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.hero-incl li { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 16px; }
.hero-incl .ic { color: var(--maroon); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 20px 0 0; font-size: 15px; color: var(--mute); }
.hero-meta .ic { width: 16px; height: 16px; color: var(--maroon); }
.rating { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 15px; color: var(--ink); text-decoration: none; }
.stars { position: relative; display: inline-block; width: 90px; height: 16px; background: linear-gradient(90deg, var(--line-2) 0 100%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 16'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M8 .8l2.2 4.6 5 .6-3.7 3.4 1 5L8 12 3.5 14.4l1-5L.8 6l5-.6z'/%3E%3Cuse href='%23s' x='18'/%3E%3Cuse href='%23s' x='36'/%3E%3Cuse href='%23s' x='54'/%3E%3Cuse href='%23s' x='72'/%3E%3C/g%3E%3C/svg%3E") no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 16'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M8 .8l2.2 4.6 5 .6-3.7 3.4 1 5L8 12 3.5 14.4l1-5L.8 6l5-.6z'/%3E%3Cuse href='%23s' x='18'/%3E%3Cuse href='%23s' x='36'/%3E%3Cuse href='%23s' x='54'/%3E%3Cuse href='%23s' x='72'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }
.stars span { position: absolute; inset: 0 auto 0 0; background: var(--saffron); }
.rt-n { color: var(--mute); }

.buy-card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--maroon); border-radius: var(--r2); padding: 24px; box-shadow: var(--sh); }
.bc-label { margin: 0; font-size: 15px; font-weight: 600; color: var(--mute); }
.bc-price { font-family: var(--display); font-size: 46px; line-height: 1.05; margin: 4px 0 16px; color: var(--ink); }
.bc-price .fts-was { font-family: var(--sans); font-size: 18px; }
.bc-facts { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.bc-facts li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.bc-facts .ic { color: var(--maroon); width: 18px; height: 18px; }
.bc-facts li:first-child { color: var(--saffron-d); font-weight: 600; }
.bc-facts li:first-child .ic { color: var(--saffron-d); }
.bc-small { margin: 12px 0 0; font-size: 15px; color: var(--mute); }
.bc-safe { display: flex; align-items: center; gap: 8px; }
.bc-safe .ic { width: 16px; height: 16px; color: var(--sage); }
.bc-progress { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 8px; }
.bc-progress strong { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; color: var(--maroon); }
.bc-bar { height: 8px; border-radius: 4px; background: var(--stone-2); overflow: hidden; margin: 0 0 18px; }
.bc-bar span { display: block; height: 100%; background: var(--sage); }
.bc-link { display: block; margin: 14px 0 0; font-weight: 600; font-size: 15px; text-align: center; }

.course-main > .psec { margin-bottom: 56px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin: 0 0 10px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2.4px solid var(--sage); border-bottom: 2.4px solid var(--sage); transform: rotate(-45deg); }
.ticks.cols { columns: 2; column-gap: 40px; }
.ticks.cols li { break-inside: avoid; }
.who-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.who-chips a, .who-chips span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.who-chips a:hover { border-color: var(--maroon); color: var(--maroon); }
.who-uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.who-uses > div { padding: 16px 0 0; }
.who-uses b { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.who-uses b .ic { color: var(--maroon); }
.who-uses p { margin: 6px 0 0; color: #4A4245; font-size: 16px; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--mute); font-size: 16px; }
.facts dd { margin: 0; font-weight: 500; }
.sy-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 12px; }
.sy-head h2 { margin: 0; }
.sy-head .muted { margin: 0; font-size: 15px; }
.syllabus { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.syllabus > li { margin: 0; border-bottom: 1px solid var(--line); }
.syllabus summary, .sy-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; }
.syllabus summary { cursor: pointer; list-style: none; }
.syllabus summary::-webkit-details-marker { display: none; }
.syllabus summary:hover .sy-t { color: var(--maroon); }
.sy-n { font-family: var(--display); font-size: 20px; color: var(--maroon); }
.sy-t { font-weight: 600; }
.syllabus em { font-style: normal; font-size: 15px; color: var(--mute); }
.syllabus details ul { list-style: none; margin: 0 0 14px 48px; padding: 0; }
.syllabus details li { margin: 0; padding: 6px 0; font-size: 16px; color: #4A4245; border-top: 1px dashed var(--line); }
.ac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0 0 32px; }
.ac-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r2); }
.ac-k { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 8px; }
.ac-k .ic { color: var(--maroon); }
.ac-big { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.ac-big b { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; color: var(--maroon); }
.ac-big span { color: var(--mute); }
.ac-card .ticks li { font-size: 16px; }
.reflect-sec { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 24px; border-radius: var(--r2); background: var(--stone); border: 1px solid var(--line); }
.rf-ic { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--r); background: var(--paper); color: var(--maroon); }
.rf-ic .ic { width: 24px; height: 24px; }
.reflect-sec h2 { font-size: 26px; }
.reflect-sec p:last-child { margin: 0; font-size: 16px; }
.team-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 0 0 56px; padding: 20px 22px; border: 1px solid rgba(201, 142, 43, .5); border-radius: var(--r2); background: var(--saffron-t); }
.team-buy > div { flex: 1 1 320px; }
.team-h { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 4px; }
.team-h .ic { color: var(--saffron-d); }
.team-buy p:last-child { margin: 0; font-size: 16px; }
.reviews-wrap { margin: 0 0 56px; }
.notice-bar { margin: 0 0 24px; padding: 12px 16px; border: 1px solid var(--line); border-left: 3px solid var(--maroon); border-radius: var(--r); background: var(--stone); font-size: 16px; }
.notice-bar.warn { border-left-color: var(--saffron); background: var(--saffron-t); }
.enrolled-box, .elearn-cert-panel { margin: 0 0 40px; padding: 22px 24px; border: 1px solid var(--line); border-left: 3px solid var(--sage); border-radius: var(--r2); background: var(--stone); }
.elearn-cert-panel { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
.elearn-cert-panel-ic .ic { width: 40px; height: 40px; color: var(--sage); }
.enrolled-box h2, .elearn-cert-panel h2 { font-size: 26px; }
.elearn-cert-panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.enrolled-box .btn-row { margin-top: 12px; }

/* Certificate preview */
.cert-col { max-width: 640px; }
.cert { container-type: inline-size; width: 100%; }
.cert-frame { position: relative; aspect-ratio: 1.414 / 1; background: #FFFDF9; border: 1px solid var(--line-2); box-shadow: 0 1px 0 var(--line); padding: 3.2cqw; }
.cert-frame::before { content: ""; position: absolute; inset: 2.2cqw; border: .35cqw solid var(--maroon); pointer-events: none; }
.cert-frame::after { content: ""; position: absolute; inset: 3cqw; border: .12cqw solid var(--saffron); pointer-events: none; }
.cert-band { position: absolute; left: 2.2cqw; right: 2.2cqw; top: 2.2cqw; height: 1.8cqw; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 0 10 10 20 0Z' fill='%236B1E2C'/%3E%3C/svg%3E") repeat-x left top / 3.6cqw 1.8cqw; }
.cert-in { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4.6cqw 5cqw 1.6cqw; color: var(--ink); }
.cert-brand { display: inline-flex; align-items: center; gap: 1.2cqw; font: 400 2.6cqw/1 var(--display); color: var(--ink); }
.cert-brand .logo-mark { width: 4.6cqw; height: 4.6cqw; }
.cert-h { margin-top: 2.8cqw; font: 400 5.6cqw/1 var(--display); color: var(--maroon); }
.cert-s { margin-top: 1.6cqw; font-size: 1.9cqw; color: var(--mute); }
.cert-name { margin-top: 1cqw; font: 400 4.4cqw/1.1 var(--display); border-bottom: .15cqw solid var(--line-2); padding: 0 4cqw .8cqw; }
.cert-course { margin-top: 1cqw; font-size: 2.7cqw; font-weight: 700; line-height: 1.25; max-width: 80%; }
.cert-foot { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2cqw; }
.cert-meta { display: flex; flex-direction: column; align-items: center; font-size: 1.6cqw; color: var(--mute); }
.cert-meta b { font-size: 1.9cqw; color: var(--ink); }
.cert-sig { font-family: "Great Vibes", cursive; font-style: normal; font-size: 3.6cqw; line-height: 1; color: var(--maroon-d); border-bottom: .12cqw solid var(--line-2); padding: 0 2cqw .3cqw; margin-bottom: .6cqw; }
.cert-seal { position: relative; width: 14cqw; height: 14cqw; display: flex; align-items: center; justify-content: center; }
.cert-stamp { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .92; }
.cert-hrs { position: absolute; bottom: -2.4cqw; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 1.6cqw; color: var(--saffron-d); font-weight: 700; }
.cert-line { margin-top: 3cqw; font-size: 1.5cqw; color: var(--mute); }

/* Sticky enrol bar (mobile, course page) */
.sticky-buy { display: none; }

/* WordPress content, WooCommerce wrapper */
.entry > :first-child { margin-top: 0; }
.entry a { word-break: break-word; }
.page-narrow { max-width: 860px; }
.wc-main { padding-top: 40px; padding-bottom: 72px; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .wc-block-components-button:not(.is-link) {
	background: var(--maroon) !important; color: #fff !important; border-radius: var(--r) !important; font-family: var(--sans) !important; font-weight: 600 !important;
}
.woocommerce .button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--maroon-d) !important; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--maroon) !important; background: var(--stone) !important; }
.woocommerce-info::before, .woocommerce-message::before { color: var(--maroon) !important; }
.post-list .post-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.post-list h2 { font-size: 26px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; }
.site-footer > .crenel { background: transparent; }
.ft-body { background: var(--night); color: var(--on-night-m); font-size: 16px; padding: 56px 0 28px; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.ft-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.ft-brand .logo { color: var(--on-night); }
.ft-brand .logo:hover { text-decoration: none; }
.ft-brand .logo-word span { color: #E9C489; }
.ft-tag { margin: 16px 0 12px; max-width: 40ch; }
.ft-mail { display: flex; align-items: center; gap: 8px; margin: 0; }
.ft-mail .ic { width: 18px; height: 18px; color: #E9C489; }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ft-cols-root { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ft-h { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--on-night); margin: 0 0 12px; letter-spacing: 0; }
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.ft-col li { margin: 0 0 8px; }
.ft-two { columns: 2; column-gap: 24px; }
.ft-ed li { display: flex; align-items: center; gap: 10px; }
.ft-ed a { display: inline-flex; align-items: center; gap: 10px; }
.ft-ed .cchip { background: transparent; border-color: #E9C489; color: #E9C489; }
.ft-ed .is-soon { color: var(--on-night-m); }
.ft-ed .is-soon .cchip { border-color: rgba(244, 242, 238, .3); color: var(--on-night-m); }
.ft-ed em { font-style: normal; font-size: 13px; opacity: .8; }
.ft-indep { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; margin: 44px 0 0; padding: 22px 0; border-top: 1px solid rgba(244, 242, 238, .14); border-bottom: 1px solid rgba(244, 242, 238, .14); }
.ft-indep .ic { color: #E9C489; width: 22px; height: 22px; margin-top: 2px; }
.ft-indep p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 110ch; color: var(--on-night); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; font-size: 15px; }
.ft-bottom p { margin: 0; }
.ft-pay { display: flex; align-items: center; gap: 8px; }
.ft-pay .ic { width: 16px; height: 16px; color: #A9C2B4; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
	.menu-list > li > a, .dd-btn { padding: 8px 9px; font-size: 15px; }
	.ctry-name { display: none; }
}
@media (max-width: 1080px) {
	:root { --hh: 64px; }
	.nav { gap: 12px; }
	.menu-btn { display: inline-block; }
	.hdr-cta { display: none; }
	.menu { display: none; position: fixed; left: 0; right: 0; top: var(--menu-top, 64px); bottom: 0; z-index: 55; background: var(--paper); overflow-y: auto; padding: 8px var(--gut) 32px; border-top: 1px solid var(--line); flex-direction: column; justify-content: flex-start; }
	.menu.show { display: flex; }
	body.menu-open { overflow: hidden; }
	.menu-list { flex-direction: column; align-items: stretch; gap: 0; }
	.menu-list > li { border-bottom: 1px solid var(--line); }
	.menu-list > li > a, .dd-btn { width: 100%; justify-content: space-between; min-height: 56px; padding: 12px 4px; font-size: 18px; font-weight: 600; border-radius: 0; }
	.menu-list > li > a:hover, .dd-btn:hover, .has-dd.open > .dd-btn { background: none; }
	.menu .dd { position: static; transform: none; width: auto; max-width: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 12px; }
	.dd-cols { grid-template-columns: 1fr 1fr; }
	.menu-extra { display: block; margin-top: 20px; }
	.menu-extra-links { display: grid; gap: 4px; margin-top: 16px; }
	.menu-extra-links a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; }
	.menu-extra-links .ic { color: var(--maroon); }
	.ctry .dd-right { right: 0; }
}
@media (max-width: 1024px) {
	:root { --gut: 24px; }
	.hero-grid.has-aside { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.hero-main { max-width: none; }
	.guide-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
	.guide-aside { align-self: auto; }
	.guide-aside .toc { display: none; }
	.toc-m { display: block; margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--r2); }
	.toc-m summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 600; display: flex; justify-content: space-between; }
	.toc-m summary::-webkit-details-marker { display: none; }
	.toc-m summary::after { content: "+"; color: var(--maroon); font-weight: 700; }
	.toc-m[open] summary::after { content: "–"; }
	.toc-m .toc { display: block; border-left: 0; padding: 0 8px 12px; }
	.toc-m .toc-h { display: none; }
	.usps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
	.rsteps li:nth-child(3) { padding-left: 0; border-left: 0; }
	.course-grid { grid-template-columns: minmax(0, 1fr); }
	.course-head-wrap { grid-row: 1; padding-bottom: 32px; }
	.buy-col { grid-column: 1; grid-row: 2; position: static; padding-top: 24px; }
	.course-main { grid-row: 3; padding-top: 40px; }
	.buy-card { max-width: 560px; }
	.contact-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ft-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pcard { grid-template-columns: minmax(0, 1fr) auto; }
	.pcard-core { grid-column: 1 / -1; grid-row: auto; }
	.pcard-go { grid-column: 2; grid-row: 1; }
	.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gut); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(42, 15, 21, .35); transform: translateY(110%); transition: transform .2s ease; }
	.sticky-buy.show { transform: none; }
	.sticky-buy div { display: flex; flex-direction: column; line-height: 1.25; }
	.sticky-buy b { font-size: 18px; }
	.sticky-buy span { font-size: 13px; color: var(--mute); }
}
@media (max-width: 720px) {
	:root { --gut: 16px; }
	body { font-size: 17px; }
	.topbar-links a:not(:last-child) { display: none; }
	.topbar-note span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
	.logo-word { font-size: 19px; }
	.logo-mark { width: 34px; height: 34px; }
	.hero-grid { padding-top: 28px; padding-bottom: 40px; }
	.lead { font-size: 18px; }
	.band { padding: 48px 0; }
	.router, .editions { padding: 18px 16px; }
	.router-h { font-size: 24px; }
	.route { grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 12px; padding: 12px; }
	.route-ic { width: 36px; height: 36px; }
	.ed { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 12px; }
	.ed-live { grid-template-columns: 40px minmax(0, 1fr); align-items: start; }
	.ed-live .ed-go { grid-column: 2; }
	.ed .cchip.lg { min-width: 40px; height: 28px; font-size: 13px; }
	.usp-row { padding: 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
	.usp-row li { padding: 0; border-left: 0; align-items: flex-start; }
	.usps { grid-template-columns: minmax(0, 1fr); }
	.rsteps { grid-template-columns: minmax(0, 1fr); }
	.rsteps li, .rsteps li + li { padding: 0 0 0 0; border-left: 0; }
	.rsteps li + li { padding-top: 28px; border-top: 1px solid rgba(244, 242, 238, .16); }
	.rs-n { font-size: 34px; margin-bottom: 10px; }
	.pp { grid-template-columns: minmax(0, 1fr); }
	.pp-links { justify-content: flex-start; }
	.lr { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.lr-side { justify-content: flex-start; flex-wrap: wrap; gap: 12px 16px; }
	.lr-price { min-width: 0; text-align: left; margin-right: auto; }
	.band.stone .ledger { padding: 0 16px; }
	.ct-row { grid-template-columns: minmax(0, 1fr); }
	.keyfacts dl, .eeat-list, .who-uses, .ac-grid { grid-template-columns: minmax(0, 1fr); }
	.facts > div { grid-template-columns: minmax(0, 1fr); }
	.ticks.cols { columns: 1; }
	.hero-incl { grid-template-columns: minmax(0, 1fr); }
	.facts-strip { display: grid; grid-template-columns: 1fr 1fr; }
	.facts-strip li, .facts-strip li + li { padding: 10px 12px 10px 0; border-left: 0; }
	.facts-strip li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
	.facts-strip b { font-size: 22px; }
	.filter-block { grid-template-columns: minmax(0, 1fr); }
	.filter-label { padding-top: 0; }
	.filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-right: -22px; scrollbar-width: thin; }
	.filters a { flex: none; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
	.ft-cols, .ft-cols-root { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.which { padding: 16px; }
	.which-t thead { display: none; }
	.which-t, .which-t tbody, .which-t tr, .which-t th, .which-t td { display: block; width: 100% !important; }
	.which-t tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
	.which-t tbody tr:last-child { border-bottom: 0; }
	.which-t th, .which-t td { border: 0; padding: 4px 0; }
	.which-t td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--maroon); }
	.reflect-sec { grid-template-columns: minmax(0, 1fr); }
	.elearn-cert-panel { grid-template-columns: minmax(0, 1fr); }
	.nf-code { font-size: 72px; }
	.bs-f { margin-left: 0; }
	.cp-foot { flex-wrap: wrap; }
}
@media (max-width: 400px) {
	.logo-word { font-size: 17px; }
	.hdr-acts { gap: 4px; }
	.usp-row { grid-template-columns: minmax(0, 1fr); }
	.dd-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .site-header, .sticky-buy, .crenel, .router, .cta-band { display: none !important; }
}

/* Narrow screens: prose tables wrap long words and never push the page sideways. */
@media (max-width: 720px) {
	.prose table { display: block; max-width: 100%; overflow-x: auto; font-size: 15px; }
	.prose th, .prose td { padding: 8px 10px; overflow-wrap: anywhere; }
}
