/*
Theme Name: VIP Flight Academy
Theme URI: https://www.vipflightacademy.com
Description: Standalone custom theme for VIP Flight Academy — replaces Brizy. Renders native WordPress block content inside a bespoke, luxury-aviation header/footer, with a hierarchical course index for the Course CPT. Maintained directly via code / Claude Code.
Author: VIP Flight Academy
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: vfa
*/

/* ============================================================= *
 * Design tokens — "quiet luxury at high altitude"
 * ============================================================= */
:root {
	/* Signature gold */
	--gold:       #D8B469;
	--gold-deep:  #BE9A45;
	--gold-soft:  #EADFBE;
	--gold-line:  rgba(216, 180, 105, .38);

	/* Ink & atmosphere */
	--ink:        #17171a;
	--charcoal:   #22262c;
	--navy:       #141e2b;

	/* Warm paper */
	--cream:      #FBF8F1;
	--cream-2:    #F3ECDC;
	--paper:      #ffffff;
	--line:       #E7DCC4;

	--text:       #3d3a34;
	--muted:      #8c8474;

	--font-display: 'Playfair Display', Georgia, serif;
	--font-serif:   'Noto Serif', Georgia, serif;
	--font-body:    'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

	--maxw: 1240px;
	--gap: clamp(1.5rem, 4vw, 3.25rem);
	--radius: 3px;
	--ease: cubic-bezier(.22,.61,.36,1);
}

/* ============================================================= *
 * Base
 * ============================================================= */
*, *::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: 18px;
	font-weight: 400;
	line-height: 1.75;
	color: var(--text);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1.3em; }
a { color: var(--gold-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gap); }

/* Decorative eyebrow / kicker */
.kicker {
	font-family: var(--font-body); font-weight: 700;
	text-transform: uppercase; letter-spacing: .28em; font-size: .72rem;
	color: var(--gold-deep);
}

/* Thin gold rule */
.rule-gold { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 1.4rem 0; }

/* ============================================================= *
 * Header
 * ============================================================= */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(251,248,241,.86);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 84px; }
.site-logo img { max-height: 52px; width: auto; }
.site-logo .brand-text { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); letter-spacing: .02em; }
.main-nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; align-items: center; }
.main-nav a {
	position: relative; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
	color: var(--charcoal); text-transform: uppercase; padding: .4rem 0;
}
.main-nav a::after {
	content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
	background: var(--gold); transition: right .3s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

/* Header dropdown (Courses mega) */
.main-nav li { position: relative; }
.main-nav .sub-menu {
	display: block; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(10px);
	width: 320px; margin: 0; padding: .5rem; list-style: none;
	background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold);
	box-shadow: 0 34px 64px -34px rgba(23,23,26,.5);
	opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s var(--ease), transform .22s var(--ease); z-index: 200;
}
/* little gold pointer connecting the panel to the Courses item */
.main-nav .sub-menu::before {
	content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
	width: 12px; height: 12px; background: var(--paper); border-left: 1px solid var(--line); border-top: 2px solid var(--gold);
}
/* invisible hover-bridge over the gap so the menu doesn't drop when moving into it */
.main-nav .sub-menu::after { content: ''; position: absolute; top: -14px; left: -8px; right: -8px; height: 16px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav .sub-menu:hover { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.main-nav .sub-menu li { position: static; display: block; }
.main-nav .sub-menu a {
	display: flex; align-items: center; gap: .6rem; padding: .62rem .8rem; border-radius: 5px;
	font-family: var(--font-serif); font-size: .92rem; font-weight: 400; line-height: 1.25;
	text-transform: none; letter-spacing: 0; color: var(--charcoal); transition: all .18s var(--ease);
}
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a::before {
	content: ''; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%;
	background: var(--gold); opacity: .5; transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.main-nav .sub-menu a:hover { background: var(--cream-2); color: var(--gold-deep); }
.main-nav .sub-menu a:hover::before { opacity: 1; transform: scale(1.6); }
.menu-has-mega > a::before { content: ''; }

/* ============================================================= *
 * Archive / listing pages — luxury course grid
 * ============================================================= */
.page-hero { position: relative; isolation: isolate; color: #f4efe4; background: var(--navy); overflow: hidden;
	padding: clamp(3.5rem,9vw,6.5rem) 0 clamp(3rem,7vw,5rem); text-align: center; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(120% 120% at 50% 0%, rgba(216,180,105,.16), transparent 55%), linear-gradient(180deg, rgba(20,30,43,.7), rgba(20,30,43,.94)); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .22; }
.page-hero .kicker { color: var(--gold); }
.page-hero h1 { color: #fdfaf2; font-size: clamp(2.2rem,5vw,3.6rem); margin: .5rem 0 0; }
.page-hero .rule-gold { margin: 1.5rem auto 0; }
.page-hero p.lede { max-width: 620px; margin: 1.3rem auto 0; color: rgba(244,239,228,.8); font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; }

.cat-section { margin: clamp(2.5rem,5vw,4rem) 0 0; }
.cat-section > h2 { font-size: clamp(1.6rem,3vw,2.15rem); display: flex; align-items: center; gap: 1rem; }
.cat-section > h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.75rem; margin-top: 1.75rem; }
.course-card {
	display: flex; flex-direction: column; background: var(--paper);
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.course-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 30px 55px -30px rgba(23,23,26,.45); }
.course-card__img { aspect-ratio: 16/10; background: var(--cream-2) center/cover no-repeat; position: relative; }
.course-card__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(23,23,26,.28)); }
.course-card__body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.course-card__cat { font-family: var(--font-body); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-deep); }
.course-card__title { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.25; color: var(--ink); margin: 0; }
.course-card a.stretched { position: absolute; inset: 0; z-index: 1; }

@media (max-width: 900px) {
	.main-nav { display: none; }
	.main-nav.open { display: block; position: absolute; top: 84px; left: 0; right: 0;
		background: var(--cream); border-bottom: 1px solid var(--line); padding: 1.25rem var(--gap); }
	.main-nav.open ul { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
	.nav-toggle { display: inline-flex; }
}

/* ============================================================= *
 * Course hero — full-bleed, dark, aviation imagery + gold
 * ============================================================= */
.course-hero {
	position: relative; isolation: isolate;
	color: #f4efe4; overflow: hidden;
	padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
	background: var(--navy);
}
.course-hero__bg {
	position: absolute; inset: 0; z-index: -2;
	background-size: cover; background-position: center;
	opacity: .28; filter: grayscale(.2) saturate(.9);
}
.course-hero::after {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(120% 120% at 15% 0%, rgba(216,180,105,.18), transparent 55%),
		linear-gradient(180deg, rgba(20,30,43,.72), rgba(20,30,43,.92));
}
.course-hero .kicker { color: var(--gold); }
.course-hero h1 {
	color: #fdfaf2; margin: .6rem 0 0;
	font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08;
}
.course-hero .rule-gold { margin: 1.6rem 0 0; }
.vfa-crumbs {
	font-family: var(--font-body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
	color: rgba(244,239,228,.6); margin: 0 0 1.4rem;
}
.vfa-crumbs a { color: rgba(244,239,228,.72); }
.vfa-crumbs a:hover { color: var(--gold); }
.vfa-crumbs .sep { margin: 0 .55rem; color: var(--gold-deep); }

/* ============================================================= *
 * Course layout
 * ============================================================= */
.course-layout {
	display: grid; grid-template-columns: 312px 1fr; gap: clamp(2rem, 5vw, 4.5rem);
	max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem,6vw,4.5rem) var(--gap) 0;
	align-items: start;
}
@media (max-width: 980px) {
	.course-layout { grid-template-columns: 1fr; }
	.course-index { position: static !important; max-height: 58vh; }
	.course-content { max-width: none !important; }
}

/* Course index — cream card, gold accents */
.course-index {
	position: sticky; top: 108px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
	padding: 1.5rem 1.4rem;
	font-family: var(--font-body); font-size: .95rem;
	max-height: calc(100vh - 140px); overflow-y: auto;
	box-shadow: 0 22px 50px -30px rgba(23,23,26,.4);
}
.course-index::-webkit-scrollbar { width: 7px; }
.course-index::-webkit-scrollbar-thumb { background: var(--gold-soft); border-radius: 4px; }
.course-index > h2 {
	font-family: var(--font-body); font-size: .72rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: .26em; color: var(--gold-deep); margin: 0 0 1.1rem; padding-bottom: .9rem;
	border-bottom: 1px solid var(--line);
}
.course-index details { border-bottom: 1px solid var(--line); }
.course-index details:last-of-type { border-bottom: 0; }
.course-index summary {
	cursor: pointer; padding: .72rem 0; color: var(--ink);
	font-family: var(--font-display); font-size: 1rem; font-weight: 700;
	list-style: none; display: flex; justify-content: space-between; align-items: center; gap: .5rem;
	transition: color .2s var(--ease);
}
.course-index summary:hover { color: var(--gold-deep); }
.course-index summary::-webkit-details-marker { display: none; }
.course-index summary::after {
	content: '+'; color: var(--gold-deep); font-family: var(--font-body); font-weight: 400;
	font-size: 1.15rem; transition: transform .25s var(--ease); line-height: 1;
}
.course-index details[open] > summary::after { content: '\2013'; }
.course-index details details { border: 0; margin-left: .3rem; }
.course-index details details > summary { font-size: .9rem; font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.course-index ul { list-style: none; margin: .1rem 0 .7rem; padding: 0; }
.course-index li a {
	position: relative; display: block; padding: .38rem .7rem; border-radius: var(--radius);
	color: var(--text); font-size: .9rem; line-height: 1.35; transition: all .18s var(--ease);
}
.course-index li a:hover { background: var(--cream-2); color: var(--ink); padding-left: .95rem; }
.course-index li.current a {
	background: var(--gold); color: var(--ink); font-weight: 700;
	box-shadow: 0 6px 16px -6px rgba(216,180,105,.8);
}

/* ============================================================= *
 * Course content
 * ============================================================= */
.course-content { min-width: 0; max-width: 760px; }

.course-objective {
	position: relative; background: var(--cream-2);
	border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
	padding: 1.5rem 1.75rem; margin: 0 0 2.75rem;
}
.course-objective .label {
	font-family: var(--font-body); text-transform: uppercase; letter-spacing: .22em;
	font-size: .7rem; font-weight: 700; color: var(--gold-deep); display: block; margin-bottom: .5rem;
}
.course-objective p { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; color: var(--charcoal); line-height: 1.6; }

.course-featured { margin: 0 0 2.5rem; }
.course-featured img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -35px rgba(23,23,26,.55); }

.entry-content { font-size: 1.075rem; color: var(--text); }
.entry-content > :first-child { margin-top: 0; }
/* Refined drop-cap on the opening paragraph */
.entry-content > p:first-of-type::first-letter {
	font-family: var(--font-display); font-weight: 700; font-size: 3.6em; line-height: .82;
	float: left; margin: .05em .12em 0 0; color: var(--gold-deep);
}
.entry-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2em 0 .6em; }
.entry-content h2::before { content: ''; display: block; width: 40px; height: 2px; background: var(--gold); margin-bottom: .8rem; }
.entry-content h3 { font-size: 1.4rem; margin: 1.6em 0 .5em; }
.entry-content img { border-radius: var(--radius); max-height: 560px; width: 100%; object-fit: cover; box-shadow: 0 24px 50px -34px rgba(23,23,26,.5); }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { font-family: var(--font-serif); font-style: italic; font-size: .9rem; color: var(--muted); text-align: center; margin-top: .7rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.entry-content li { margin: 0 0 .5em; }
.entry-content li::marker { color: var(--gold-deep); }
.entry-content a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-line); }
.entry-content a:hover { color: var(--ink); text-decoration-color: var(--gold); }
.entry-content blockquote {
	margin: 2em 0; padding: .4rem 0 .4rem 1.75rem; border-left: 2px solid var(--gold);
	font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--ink); line-height: 1.4;
}

/* Prev / next */
.course-pager { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 3.5rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.course-pager a {
	display: flex; flex-direction: column; gap: .45rem; flex: 0 1 48%;
	padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--paper); transition: all .25s var(--ease);
}
.course-pager a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(23,23,26,.5); }
.course-pager .dir { font-family: var(--font-body); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--gold-deep); }
.course-pager .ttl { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); line-height: 1.3; }
.course-pager .next { text-align: right; margin-left: auto; align-items: flex-end; }

/* ============================================================= *
 * Footer
 * ============================================================= */
.site-footer { background: var(--ink); color: #b9b2a2; margin-top: clamp(4rem,8vw,6rem); padding: clamp(3rem,6vw,4.5rem) 0 2.5rem; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.site-footer a { color: #cfc7b5; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--gold); }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; align-items: flex-end; }
.site-footer .brand { font-family: var(--font-display); font-size: 1.7rem; color: #fbf6ea; }
.site-footer .tagline { font-family: var(--font-serif); font-style: italic; color: var(--gold); margin-top: .3rem; }
.footer-menu ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.footer-menu a { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }
.site-footer .copy { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(216,180,105,.18); font-size: .8rem; letter-spacing: .04em; color: #8b8474; }

/* Preview flag */
.vfa-preview-flag {
	position: fixed; bottom: 18px; left: 18px; z-index: 9999;
	background: var(--gold); color: var(--ink); padding: .5rem 1rem; border-radius: 999px;
	font: 700 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
	box-shadow: 0 10px 30px -8px rgba(216,180,105,.7);
}

/* Page-load reveal */
@keyframes vfaRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.course-hero .kicker, .course-hero h1, .course-hero .rule-gold { animation: vfaRise .8s var(--ease) both; }
.course-hero h1 { animation-delay: .08s; }
.course-hero .rule-gold { animation-delay: .16s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* ============================================================= *
 * HOMEPAGE
 * ============================================================= */
.btn-gold, .btn-ghost {
	display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
	letter-spacing: .14em; font-size: .78rem; padding: 1rem 1.9rem; border-radius: var(--radius);
	transition: all .25s var(--ease); cursor: pointer; border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e6c67e; color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(216,180,105,.8); }
.btn-ghost { background: transparent; color: #f4efe4; border-color: rgba(244,239,228,.5); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Hero */
.home-hero { position: relative; isolation: isolate; min-height: 92vh; display: flex; align-items: center;
	color: #f4efe4; overflow: hidden; text-align: center; padding: 7rem 0 5rem; }
.home-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.home-hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(130% 100% at 50% 10%, rgba(216,180,105,.14), transparent 50%), linear-gradient(180deg, rgba(20,30,43,.7), rgba(17,23,34,.86)); }
.home-hero .kicker { color: var(--gold); }
.home-hero h1 { color: #fdfaf2; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.02; margin: 1rem auto; max-width: 15ch; }
.home-hero .tagline { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.05rem,2.2vw,1.4rem); color: var(--gold-soft); letter-spacing: .04em; }
.home-hero .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }
.home-hero .scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); color: var(--gold); font-size: 1.4rem; animation: vfaBob 2s ease-in-out infinite; }
@keyframes vfaBob { 0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,8px);} }

/* Section scaffolding */
.home-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.home-section.tint { background: var(--cream-2); }
.home-section.ink { background: var(--ink); color: #c4bcac; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem,5vw,3.5rem); }
.section-head .kicker { display: block; margin-bottom: .8rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head.on-ink h2 { color: #fbf6ea; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.home-section.ink .section-head p { color: #9c9584; }

/* Intro / editorial split */
.intro-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
@media (max-width: 900px){ .intro-split { grid-template-columns: 1fr; } }
.intro-split__media { aspect-ratio: 4/5; border-radius: var(--radius); background: center/cover no-repeat var(--cream-2); box-shadow: 0 40px 80px -40px rgba(23,23,26,.6); position: relative; }
.intro-split__media::after { content:''; position:absolute; inset:0; border:1px solid var(--gold-line); border-radius: var(--radius); transform: translate(16px,16px); z-index:-1; }
.intro-split h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); }
.intro-split .lead { font-family: var(--font-serif); font-size: 1.2rem; color: var(--charcoal); }
.pull-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem,2.5vw,1.7rem); color: var(--gold-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.2rem 0; margin: 1.8rem 0 0; }

/* Why-choose feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.5rem; }
.feature { padding: 2rem 1.75rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: all .28s var(--ease); }
.home-section.ink .feature { background: #1e1e22; border-color: #2c2c31; }
.feature:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 30px 55px -32px rgba(0,0,0,.5); }
.feature .num { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.feature h3 { font-size: 1.25rem; margin: .8rem 0 .4rem; }
.home-section.ink .feature h3 { color: #fbf6ea; }
.feature p { font-size: .96rem; color: var(--muted); margin: 0; }
.home-section.ink .feature p { color: #9c9584; }

/* Category showcase */
.cat-showcase { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 1.25rem; }
.cat-tile { position: relative; aspect-ratio: 3/2.2; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end;
	background: center/cover no-repeat var(--navy); color: #fff; }
.cat-tile::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,30,43,.1), rgba(17,23,34,.82)); transition: background .3s var(--ease); }
.cat-tile:hover::after { background: linear-gradient(180deg, rgba(20,30,43,.25), rgba(190,154,69,.7)); }
.cat-tile span { position: relative; z-index: 1; padding: 1.15rem 1.25rem; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.cat-tile a.stretched { position:absolute; inset:0; z-index:2; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.75rem; }
.testi { background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); padding: 2rem 1.85rem; }
.testi .quote-mark { font-family: var(--font-display); font-size: 3rem; color: var(--gold); line-height: .6; }
.testi p { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--charcoal); }
.testi .who { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; margin-top: 1rem; }
.testi .where { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-deep); }

/* Sponsors */
.sponsor-row { display: flex; flex-wrap: wrap; gap: clamp(2rem,5vw,4rem); align-items: center; justify-content: center; }
.sponsor-row img { max-height: 66px; width: auto; filter: grayscale(1) opacity(.6); transition: filter .3s var(--ease); }
.sponsor-row img:hover { filter: grayscale(0) opacity(1); }

/* Final CTA band */
.home-cta { position: relative; isolation: isolate; text-align: center; color: #f4efe4; padding: clamp(4rem,8vw,6rem) 0; overflow: hidden; }
.home-cta__bg { position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center; opacity:.3; }
.home-cta::after { content:''; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(17,23,34,.82), rgba(17,23,34,.9)); }
.home-cta h2 { color: #fdfaf2; font-size: clamp(2rem,4.5vw,3.2rem); max-width: 18ch; margin: .5rem auto 1.4rem; }

/* ============================================================= *
 * HOMEPAGE — faithful rebuild with parallax bands
 * ============================================================= */
.para { position: relative; isolation: isolate; color: #f6f1e6; text-align: center;
	background-size: cover; background-position: center; background-attachment: fixed;
	padding: clamp(4rem, 10vw, 8rem) 0; overflow: hidden; }
.para::after { content: ''; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(17,23,34,.78), rgba(17,23,34,.86)); }
.para--light::after { background: linear-gradient(180deg, rgba(17,23,34,.55), rgba(20,30,43,.72)); }
.para .container { max-width: 940px; }
.para .kicker { color: var(--gold); }
.para h1, .para h2, .para h3 { color: #fdfaf2; }
.para h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.04; }
.para h3.band-title { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 .3rem; }
.para p { color: rgba(246,241,230,.9); }
.para .lead-serif { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem,2.2vw,1.45rem); color: var(--gold-soft); }
@media (max-width: 820px) { .para { background-attachment: scroll; } }

/* Intro band content */
.intro-band .tagline { font-family: var(--font-serif); font-style: italic; letter-spacing: .04em; color: var(--gold-soft); font-size: clamp(1.05rem,2.2vw,1.35rem); margin-bottom: 1.6rem; }
.intro-band p { max-width: 760px; margin-left: auto; margin-right: auto; }
.intro-band .pull { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem,3vw,2rem); color: var(--gold); margin-top: 2rem; }

/* Enroll / attendant band */
.band-sub { font-family: var(--font-serif); font-size: clamp(1.05rem,2.2vw,1.35rem); max-width: 640px; margin: 1rem auto 2rem; color: #f0e9da; }

/* Why-choose */
.why-band { text-align: left; }
.why-band .section-head { text-align: center; margin-bottom: 2.5rem; }
.why-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.5rem; text-align: left; }
@media (max-width: 820px){ .why-cols { grid-template-columns: 1fr; } }
.why-cols p { font-size: .98rem; color: rgba(246,241,230,.82); }
.why-cols p strong, .why-cols .h { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--gold); margin-bottom: .3rem; }
.skills-band { margin-top: 3rem; text-align: center; }
.skills-grid { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.4rem; }
.skills-grid span { border: 1px solid var(--gold-line); color: var(--gold-soft); padding: .6rem 1.15rem; border-radius: 999px;
	font-family: var(--font-body); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.5rem; margin-top: 1rem; text-align: left; }
.blog-card { background: rgba(255,255,255,.05); border: 1px solid rgba(216,180,105,.28); border-radius: var(--radius); overflow: hidden; transition: all .28s var(--ease); }
.blog-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.blog-card__img { aspect-ratio: 16/9; background: center/cover no-repeat var(--navy); }
.blog-card__body { padding: 1.15rem 1.3rem 1.4rem; }
.blog-card h4 { font-size: 1.12rem; color: #fdfaf2; margin: 0 0 .5rem; line-height: 1.3; }
.blog-card a.stretched { position:absolute; inset:0; }
.blog-card { position: relative; }

/* Contact band */
.contact-band .lead-serif { margin-bottom: .6rem; }

/* ============================================================= *
 * FAITHFUL HOMEPAGE (hp-*) — light/editorial, matches original
 * ============================================================= */
:root { --nvy: #192a3d; }
.hp h2, .hp h3 { color: var(--nvy); }
.hp .wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gap); }

/* Header CTA cluster */
.hdr-cta { display: flex; align-items: center; gap: 1rem; }
.book-now { display: inline-flex; align-items: center; gap: .55rem; background: var(--gold); color: #fff;
	font-family: var(--font-body); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem;
	padding: .85rem 1.5rem; border-radius: 6px; transition: all .25s var(--ease); }
.book-now:hover { background: var(--gold-deep); color: #fff; transform: translateY(-1px); }
@media (max-width: 1050px){ .book-now span.lbl { display:none; } .book-now { padding:.8rem; } }

/* 1. HERO */
.hp-hero img { width: 100%; display: block; }
.hp-slogan { background: var(--nvy) center/cover no-repeat; position: relative; text-align: center; padding: clamp(1.5rem,4vw,2.8rem) 1rem; }
.hp-slogan::after { content:''; position:absolute; inset:0; background: rgba(20,30,43,.55); }
.hp-slogan img { position: relative; max-width: min(760px, 88%); margin: 0 auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }

/* 2. INTRO */
.hp-intro { padding: 0 0 clamp(3rem,6vw,5rem); }
.hp-intro__photo img { width: 100%; max-height: 460px; object-fit: cover; }
.hp-intro__text { max-width: 1180px; margin: 0 auto; padding: clamp(2rem,4vw,3rem) var(--gap) 0; }
.hp-intro__text h2 { font-size: clamp(1.5rem,3vw,2.1rem); margin: 0 0 1.2rem; }
.hp-intro__text { column-gap: 3rem; }
.hp-intro__cols { columns: 2; column-gap: 3rem; }
@media (max-width: 820px){ .hp-intro__cols { columns: 1; } }
.hp-intro__cols p { break-inside: avoid; }
.hp-intro .quote { font-family: var(--font-display); font-style: italic; font-weight: 700; color: var(--nvy); font-size: 1.2rem; margin-top: 1rem; }

/* Section head (left aligned or centered) */
.hp-head { margin-bottom: 2.5rem; }
.hp-head.center { text-align: center; }
.hp-head h2, .hp-head h3 { font-size: clamp(1.7rem,3.5vw,2.6rem); margin: 0; }
.hp-head .sub { font-family: var(--font-serif); font-style: italic; color: var(--muted); font-size: 1.1rem; margin-top: .4rem; }

/* Faded worldmap band (light) */
.band-map { background: #f3f6f9 center/cover no-repeat; background-blend-mode: lighten; position: relative; padding: clamp(3rem,7vw,5.5rem) 0; }
.band-map::before { content:''; position:absolute; inset:0; background: rgba(248,250,252,.72); }
.band-map .wrap { position: relative; }

/* 3. Two-column text + image */
.hp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 820px){ .hp-split { grid-template-columns: 1fr; } }
.hp-split__img img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -34px rgba(23,23,26,.5); }
.hp-split h3 { font-size: clamp(1.6rem,3vw,2.2rem); margin: 0 0 1rem; }

/* 4. Full-bleed photo + panel */
.hp-feature { position: relative; min-height: 560px; display: flex; align-items: center;
	background: var(--nvy) center/cover no-repeat; }
.hp-feature__panel { margin-left: auto; width: min(480px, 90%); margin-right: clamp(1rem,5vw,4rem);
	background: rgba(20,30,43,.72); color: #fff; padding: clamp(1.8rem,3vw,2.6rem); border-radius: var(--radius); }
.hp-feature__panel h2 { color: #fff; font-size: clamp(1.7rem,3.2vw,2.4rem); margin: 0 0 .8rem; }
.hp-feature__panel p { color: #eee; font-weight: 700; margin: 0; }

/* 5. Centered dark band (VIP Flight Attendant / Enhance knowledge) */
.hp-dark { background: #3b3f45 center/cover no-repeat; position: relative; color: #f4efe4; padding: clamp(3.5rem,8vw,6rem) 0; }
.hp-dark::before { content:''; position:absolute; inset:0; background: rgba(40,44,50,.78); }
.hp-dark .wrap { position: relative; text-align: center; }
.hp-dark h3 { color: #fff; font-size: clamp(1.7rem,3.5vw,2.4rem); margin: 0; }
.hp-dark .sub { color: #ddd; margin: 1rem auto 2rem; max-width: 640px; }
.enroll { display:inline-flex; align-items:center; gap:.6rem; background: var(--gold); color:#fff; font-family:var(--font-body); font-weight:700; letter-spacing:.14em; text-transform:uppercase; font-size:.8rem; padding:1rem 2.4rem; border-radius:6px; transition:all .25s var(--ease); }
.enroll:hover { background: var(--gold-deep); color:#fff; }

/* 6. Why choose — 6 icon features */
.hp-why { padding: clamp(3.5rem,7vw,5.5rem) 0; }
.why6 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem 3rem; margin-top: 2.5rem; }
@media (max-width: 820px){ .why6 { grid-template-columns: 1fr; } }
.why6 .ico { width: 34px; height: 34px; color: var(--gold); margin-bottom: .7rem; }
.why6 h4 { font-size: 1.12rem; color: var(--nvy); margin: 0 0 .5rem; font-family: var(--font-display); }
.why6 p { font-size: .96rem; color: var(--text); margin: 0; }

/* 7. Carousel (Enhance your knowledge) */
.hp-carousel { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.25rem; }
.hp-carousel::-webkit-scrollbar { height: 6px; } .hp-carousel::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
.hp-slide { flex: 0 0 300px; scroll-snap-align: center; }
.hp-slide__img { aspect-ratio: 4/3; background: center/cover no-repeat #222; border-radius: var(--radius) var(--radius) 0 0; }
.hp-slide__cap { background: var(--gold); color: var(--nvy); text-align: center; padding: .8rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; border-radius: 0 0 var(--radius) var(--radius); }

/* 8. Testimonials with avatars */
.hp-testi { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; margin-top: 2.5rem; }
@media (max-width: 820px){ .hp-testi { grid-template-columns: 1fr; } }
.hp-testi .card { text-align: center; }
.hp-testi .avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto .9rem; border: 3px solid var(--gold-soft); }
.hp-testi .name { font-family: var(--font-display); font-size: 1.15rem; color: var(--nvy); }
.hp-testi .loc { font-family: var(--font-serif); font-style: italic; color: var(--gold-deep); font-size: .92rem; margin-bottom: .8rem; }
.hp-testi .body { font-size: .95rem; color: var(--text); text-align: left; }

/* 9. Blog cards (light band) */
.hp-blog { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; margin-top: 2rem; }
@media (max-width: 820px){ .hp-blog { grid-template-columns: 1fr; } }
.hp-blog .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.hp-blog .card__img { aspect-ratio: 16/10; background: center/cover no-repeat var(--cream-2); }
.hp-blog .card__b { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.hp-blog .card h4 { font-size: 1.05rem; color: var(--nvy); margin: 0; line-height: 1.3; }
.hp-blog .card p { font-size: .9rem; color: var(--muted); margin: 0; flex: 1; }
.readmore { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; background: var(--gold); color: #fff; font-family: var(--font-body); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; padding: .7rem 1.2rem; border-radius: 5px; }
.readmore:hover { background: var(--gold-deep); color: #fff; }

/* 10. Sponsors */
.hp-sponsors { background: #3b3f45; padding: clamp(3rem,6vw,4.5rem) 0; }
.hp-sponsors .bartitle { border: 1px solid var(--gold); background: var(--gold); color: #fff; font-family: var(--font-display); font-size: clamp(1.4rem,3vw,2rem); padding: 1rem 1.6rem; }
.hp-sponsors .logos { background: #fff; padding: 2rem; display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; justify-content: center; }
.hp-sponsors .logos img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .8; }

/* 11. Contact */
.hp-contact { padding: clamp(3.5rem,7vw,5.5rem) 0; }
.hp-contact .grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
@media (max-width: 820px){ .hp-contact .grid { grid-template-columns: 1fr; } }
.hp-contact h3 { font-size: clamp(1.7rem,3.2vw,2.4rem); margin: 0 0 .3rem; }
.hp-contact .sub { font-family: var(--font-serif); font-style: italic; color: var(--gold-deep); font-size: 1.15rem; margin-bottom: 1.2rem; }
.hp-contact .logo img { width: 100%; max-width: 340px; margin-left: auto; }

/* ============================================================= *
 * HOMEPAGE FIXES (round 2 — user feedback)
 * ============================================================= */
/* 1. Header full-width */
.site-header .bar { max-width: 100%; }

/* 2. Hero height constrained */
.hp-hero { overflow: hidden; }
.hp-hero img { width: 100%; height: clamp(360px, 58vh, 600px); object-fit: cover; object-position: center 42%; }

/* 3. Slogan prominent + readable */
.hp-slogan { padding: clamp(2.2rem, 5vw, 3.6rem) 1rem; background-color: #143240; }
.hp-slogan::after { background: rgba(16,40,52,.35); }
.hp-slogan img { max-width: min(940px, 92%); filter: brightness(1.12); }

/* 4. Parallax on the atmospheric bands */
.band-map, .hp-feature, .hp-dark, .hp-slogan { background-attachment: fixed; }
@media (max-width: 820px) { .band-map, .hp-feature, .hp-dark, .hp-slogan { background-attachment: scroll; } }

/* 5. Testimonial card padding */
.hp-testi .card { padding: 1.9rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 50px -34px rgba(23,23,26,.35); }

/* 6. Carousel with arrows */
.hp-carousel-wrap { position: relative; }
.caro-btn { position: absolute; top: calc(50% - 20px); transform: translateY(-50%); z-index: 4;
	background: var(--gold); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%;
	cursor: pointer; font: 700 1.25rem/1 var(--font-body); box-shadow: 0 10px 24px -8px rgba(0,0,0,.6); transition: background .2s; }
.caro-btn:hover { background: var(--gold-deep); }
.caro-btn.prev { left: -8px; } .caro-btn.next { right: -8px; }
@media (max-width: 560px){ .caro-btn { display: none; } }

/* 7. FOOTER — light, matches original */
.site-footer { background: #eaf1f7 center/cover no-repeat; color: #2a3b4d; margin-top: 0; padding: clamp(3rem,6vw,4.5rem) 0 2.5rem; position: relative; }
.site-footer::before { display: none; }
.site-footer .container { position: relative; text-align: center; z-index: 1; }
.site-footer .cols, .site-footer .brand, .site-footer .tagline { all: unset; }
.footer-legal ul { list-style: none; display: flex; gap: 2.5rem; justify-content: center; margin: 0 0 1.4rem; padding: 0; flex-wrap: wrap; }
.footer-legal a { color: #2a3b4d; font-family: var(--font-body); font-size: .92rem; }
.footer-legal a:hover { color: var(--gold-deep); }
.footer-social { display: flex; gap: 1.2rem; justify-content: center; margin: 0 0 1.4rem; }
.footer-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: #2a3b4d; }
.footer-social svg { width: 24px; height: 24px; }
.footer-social a:hover { color: var(--gold-deep); }
.footer-brand { font-family: var(--font-serif); font-style: italic; color: #2a3b4d; }
.footer-copy { font-size: .85rem; color: #5a6b7d; margin-top: .2rem; }
.footer-areas { margin-top: 1.2rem; display: flex; gap: 2rem; justify-content: center; }
.footer-areas a { color: var(--gold-deep); font-family: var(--font-body); font-size: .9rem; font-weight: 700; }

/* ============================================================= *
 * HOMEPAGE FIXES (round 3)
 * ============================================================= */
/* Intro crew photo — contained, full image (all faces visible) */
.hp-intro__photo { max-width: 1150px; margin: 0 auto; padding: 0 var(--gap); }
.hp-intro__photo img { width: 100%; height: auto; max-height: none; object-fit: initial; border-radius: var(--radius); box-shadow: 0 30px 60px -38px rgba(23,23,26,.4); }

/* Header: user login + language chooser */
.hdr-cta { display: flex; align-items: center; gap: .9rem; }
.hdr-user { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
	display: inline-flex; align-items: center; justify-content: center; color: var(--charcoal); flex: 0 0 auto; }
.hdr-user:hover { border-color: var(--gold); color: var(--gold-deep); }
.hdr-user svg { width: 22px; height: 22px; }
.hdr-lang { position: relative; }
.hdr-lang summary { list-style: none; display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
	border: 1px solid var(--line); border-radius: 6px; padding: .5rem .7rem; font: 700 .78rem/1 var(--font-body);
	color: var(--charcoal); letter-spacing: .08em; }
.hdr-lang summary::-webkit-details-marker { display: none; }
.hdr-lang summary:hover { border-color: var(--gold); }
.hdr-lang .flag { font-size: 1rem; line-height: 1; }
.hdr-lang[open] summary { border-color: var(--gold); }
.hdr-lang ul { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line);
	border-radius: 6px; list-style: none; margin: 0; padding: .35rem; min-width: 120px; box-shadow: 0 20px 40px -22px rgba(0,0,0,.4); z-index: 300; }
.hdr-lang li a { display: block; padding: .45rem .6rem; font-size: .82rem; color: var(--charcoal); border-radius: 4px; }
.hdr-lang li a:hover { background: var(--cream-2); }
@media (max-width: 1150px){ .hdr-lang, .hdr-user { display: none; } }

/* Footer logo */
.footer-logo { margin: 0 auto 1.5rem; text-align: center; }
.footer-logo img { height: 68px; width: auto; margin: 0 auto; display: inline-block; }

/* ============================================================= *
 * COURSES PAGE
 * ============================================================= */
.courses-subhead { background: #22262c center/cover no-repeat; color: #f4efe4; padding: 1.1rem 0; }
.courses-subhead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
	max-width: 1180px; margin: 0 auto; padding: 0 var(--gap); }
.courses-subhead .title { font-family: var(--font-display); font-size: clamp(1.3rem,2.6vw,1.9rem); color: var(--gold); letter-spacing: .04em; }
.courses-subhead .who { font-family: var(--font-serif); font-style: italic; color: #e8e1d2; }
.courses-pick { position: relative; min-width: 260px; }
.courses-pick summary { list-style: none; cursor: pointer; background: #14171b; color: #f4efe4; border: 1px solid #3a3f45;
	border-radius: 6px; padding: .8rem 1.1rem; display: flex; justify-content: space-between; align-items: center; font-size: .92rem; }
.courses-pick summary::-webkit-details-marker { display: none; }
.courses-pick ul { position: absolute; right: 0; left: 0; top: calc(100% + 6px); background: #fff; color: var(--text);
	border: 1px solid var(--line); border-radius: 6px; list-style: none; margin: 0; padding: .4rem; max-height: 360px; overflow-y: auto; z-index: 300; box-shadow: 0 24px 50px -26px rgba(0,0,0,.5); }
.courses-pick li a { display: block; padding: .5rem .7rem; font-size: .9rem; color: var(--charcoal); border-radius: 4px; }
.courses-pick li a:hover { background: var(--cream-2); }
.courses-pick li.grp { font-family: var(--font-display); font-size: .8rem; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .1em; padding: .6rem .7rem .2rem; }

.courses-welcome { padding: clamp(2.5rem,5vw,4rem) 0 0; }
.courses-welcome .card { background: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(23,23,26,.4);
	display: grid; grid-template-columns: 1.35fr .65fr; overflow: hidden; }
@media (max-width: 820px){ .courses-welcome .card { grid-template-columns: 1fr; } }
.courses-welcome .txt { padding: clamp(1.8rem,3vw,2.6rem); }
.courses-welcome h1 { font-size: clamp(1.6rem,3vw,2.2rem); color: var(--nvy); margin: 0 0 1rem; }
.courses-welcome .img { background: center/cover no-repeat var(--cream-2); min-height: 240px; }

.courses-cats { padding: clamp(2.5rem,5vw,4rem) 0 clamp(3rem,6vw,5rem); }
.cat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px){ .cat-cards { grid-template-columns: 1fr; } }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem;
	box-shadow: 0 24px 50px -38px rgba(23,23,26,.35); }
.cat-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; color: var(--nvy);
	text-transform: uppercase; letter-spacing: .04em; margin: 0 0 1rem; font-family: var(--font-display); }
.cat-card h3 .plane { color: var(--gold); flex: 0 0 auto; }
.cat-card ul { list-style: none; margin: 0; padding: 0; }
.cat-card li a { display: block; padding: .4rem .5rem; color: var(--text); font-size: .95rem; border-radius: 5px; }
.cat-card li a:hover { background: var(--cream-2); color: var(--gold-deep); padding-left: .8rem; }

/* Blog listing page — light cards */
.blog-listing .card { background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -38px rgba(23,23,26,.3); }
.blog-listing .card h4 { color: var(--nvy); }
.blog-listing .card p { color: var(--muted); }
.page-hero p.lede { max-width: 620px; margin: 1.3rem auto 0; color: rgba(244,239,228,.85); font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; }

/* ============================================================= *
 * SINGLE BLOG POST
 * ============================================================= */
.post-hero { position: relative; isolation: isolate; min-height: 460px; display: flex; align-items: flex-end;
	color: #f6f1e6; background: var(--navy) center/cover no-repeat; overflow: hidden; }
.post-hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(17,23,34,.15) 30%, rgba(17,23,34,.86)); }
.post-hero .container { padding-top: clamp(3rem,7vw,5rem); padding-bottom: clamp(2rem,4vw,3rem); max-width: 940px; }
.post-hero .kicker { color: var(--gold); }
.post-hero h1 { color: #fdfaf2; font-size: clamp(2rem,4.5vw,3.4rem); line-height: 1.08; margin: .6rem 0 .5rem; }
.post-hero .meta { font-family: var(--font-serif); font-style: italic; color: rgba(246,241,230,.8); font-size: .95rem; }

.post-back { max-width: 820px; margin: 0 auto; padding: 1.5rem var(--gap) 0; }
.post-back a { font-family: var(--font-body); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-deep); }
.post-back a:hover { color: var(--ink); }

.post-body { max-width: 820px; margin: 0 auto; padding: clamp(1.5rem,4vw,2.5rem) var(--gap) clamp(3rem,6vw,4.5rem); }
.see-all-blogs { text-align: center; margin: clamp(2.5rem,5vw,3.5rem) 0 0; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.btn-seeall { display: inline-flex; align-items: center; gap: .6rem; background: var(--gold); color: #fff;
	font-family: var(--font-body); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem;
	padding: 1rem 2.2rem; border-radius: 6px; transition: all .25s var(--ease); }
.btn-seeall:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }

/* Header language: let the translator plugin's dropdown sit inline */
.hdr-lang-plugin { display: inline-flex; align-items: center; }
.hdr-lang-plugin .trp-language-switcher, .hdr-lang-plugin > * { margin: 0; }
