/* ===========================================================================
   REMAKE Skill — design system
   Palette: Deep Black #111 · Dark Red #1e4fff · White · Light Gray #F5F5F5
   Type: Poppins (display) · Inter (body)
   Signature: the "learning path spine" — a thin vertical connector with nodes
   that threads through modules and the How-It-Works steps, echoing the idea
   of turning scattered videos into one structured path.
   =========================================================================== */

:root {
	--black:    #0b1a3a;
	--ink:      #14213f;
	--red:      #1e4fff;
	--red-600:  #1840d8;   /* hover / deeper blue */
	--red-tint: #eaf0ff;   /* faint blue wash for surfaces */
	--white:    #ffffff;
	--gray:     #f5f5f5;
	--gray-200: #e7e7e7;
	--gray-400: #b9b9b9;
	--muted:    #6a6a6a;

	--maxw: 1180px;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(17,17,17,.05), 0 8px 24px rgba(17,17,17,.06);
	--shadow-lg: 0 18px 48px rgba(17,17,17,.14);
	--ease: cubic-bezier(.2,.7,.2,1);

	--ff-display: "Poppins", system-ui, sans-serif;
	--ff-body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--ff-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--red-600); }

h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.12; color: var(--black); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--gray { background: var(--gray); }

/* Section heading block ------------------------------------------------- */
.eyebrow {
	font-family: var(--ff-body);
	font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--red); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.section__head { max-width: 680px; margin-bottom: 44px; margin-left: 0 !important; margin-right: 0 !important; text-align: left !important; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.section--center .section__head { text-align: left !important; }
.section--center .eyebrow { justify-content: flex-start; }

/* Buttons --------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font-family: var(--ff-body); font-weight: 600; font-size: .95rem;
	padding: 13px 24px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
	cursor: pointer; transition: transform .12s var(--ease), background .15s var(--ease), border-color .15s, color .15s;
	line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-600); color: #fff; }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { background: transparent; color: var(--black); border-color: var(--gray-200); }
.btn--ghost:hover { border-color: var(--black); color: var(--black); }
.btn--light { background: #fff; color: var(--black); }
.btn--light:hover { background: var(--gray); color: var(--black); }
.btn--block { width: 100%; }

/* ===========================================================================
   Header
   =========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255,255,255,.86);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--gray-200);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-weight: 800; font-size: 1.18rem; color: var(--black); letter-spacing: -.02em; }
.brand:hover { color: var(--black); }
.brand__logo { height: 34px; width: auto; display: block; }
.brand__logo--light { height: 30px; }
@media (max-width: 560px) { .brand__logo { height: 28px; } }
.brand__mark {
	width: 30px; height: 30px; border-radius: 8px; background: var(--black);
	display: grid; place-items: center; color: #fff; font-size: .9rem; font-weight: 800;
	position: relative; overflow: hidden;
}
.brand__mark::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px; background: var(--red); }
.brand em { color: var(--red); font-style: normal; }

.primary-nav { margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
	display: block; padding: 9px 13px; border-radius: 7px; color: var(--ink);
	font-weight: 500; font-size: .94rem;
}
.nav-menu a:hover, .nav-menu .current-menu-item > a { background: var(--gray); color: var(--black); }
.nav-menu .donate-link > a { color: var(--red); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 18px; font-size: .9rem; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--gray-200); border-radius: 9px; background: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	content: ""; display: block; width: 18px; height: 2px; background: var(--black); margin: 0 auto; position: relative; transition: .2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ===========================================================================
   Hero
   =========================================================================== */
.hero { position: relative; overflow: hidden; padding: 60px 0 84px; background: #0a1228; color: #fff; }
.hero::before { content: ""; position: absolute; top: -200px; right: -160px; width: 660px; height: 660px; border-radius: 50%;
	background: radial-gradient(circle, rgba(164,14,14,.55), rgba(30,79,255,.12) 45%, transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: -260px; left: -160px; width: 540px; height: 540px; border-radius: 50%;
	background: radial-gradient(circle, rgba(30,79,255,.26), transparent 65%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }

.hero .eyebrow { color: #7aa0ff; background: rgba(30,79,255,.14); border: 1px solid rgba(30,79,255,.3);
	padding: 7px 16px; border-radius: 40px; letter-spacing: .04em; margin-bottom: 22px; }
.hero .eyebrow::before { display: none; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5252; box-shadow: 0 0 0 4px rgba(255,82,82,.25); animation: rsPulse 1.8s infinite; }
@keyframes rsPulse { 50% { box-shadow: 0 0 0 8px rgba(255,82,82,0); } }

.hero__title { color: #fff; margin-bottom: 30px; font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.08; }
.hero__title .accent { color: #2f5cff; position: relative; }
.hero__title .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: rgba(30,79,255,.3); border-radius: 4px; z-index: -1; }
.hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.74); max-width: 34ch; margin-bottom: 28px; }

.searchbar { position: relative; max-width: 540px; }
.searchbar form { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 48px; padding: 7px 7px 7px 20px; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.searchbar__ic { color: #999; flex: none; }
.searchbar input[type="search"] { flex: 1; border: 0; outline: none; padding: 12px 12px; font-size: 1rem; font-family: inherit; background: transparent; color: var(--ink); }
.searchbar .btn { padding: 13px 24px; border-radius: 40px; }
.search-suggest {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff;
	border: 1px solid var(--gray-200); border-radius: 16px; box-shadow: var(--shadow-lg);
	padding: 6px; display: none; z-index: 20; max-height: 320px; overflow: auto;
}
.search-suggest.open { display: block; }
.search-suggest a { display: flex; gap: 12px; align-items: center; padding: 9px 11px; border-radius: 8px; color: var(--ink); }
.search-suggest a:hover { background: var(--gray); }
.search-suggest small { color: var(--muted); display: block; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.hero__chips a { font-size: .82rem; font-weight: 500; padding: 7px 15px; border-radius: 40px;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.85); }
.hero__chips a:hover { background: rgba(30,79,255,.25); border-color: rgba(30,79,255,.5); }

.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: rgba(255,255,255,.7); font-size: .9rem; }
.hero__avs { display: flex; }
.hero__avs span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #0a1228; margin-left: -12px;
	display: grid; place-items: center; font-weight: 700; font-size: .82rem; font-family: var(--ff-display); color: #fff; }
.hero__avs span:first-child { margin-left: 0; }
.hero__trust strong { color: #fff; }

/* Hero floating course card (right column) */
.hero-visual { position: relative; min-height: 380px; }
.hv-card { position: absolute; top: 20px; left: 18px; width: min(380px, 92%); border-radius: 18px; overflow: hidden;
	border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px rgba(0,0,0,.5); transform: rotate(-3deg); background: #0e1730; }
.hv-thumb { position: relative; height: 210px; background: linear-gradient(150deg, #3a1420, #1e4fff 120%); background-size: cover; background-position: center; }
.hv-slide { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: #0e1730; opacity: 0; transition: opacity .8s ease; }
.hv-slide.on { opacity: 1; }
.hv-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 4; }
.hv-dots b { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); transition: .3s; }
.hv-dots b.on { background: #fff; width: 18px; border-radius: 4px; }
.hv-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 62px; height: 62px; border-radius: 50%;
	background: rgba(255,255,255,.95); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.hv-play::after { content: ""; border-left: 19px solid var(--red); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.hv-meta { background: #fff; color: #111; padding: 14px 16px; }
.hv-meta strong { font-family: var(--ff-display); font-weight: 600; font-size: .95rem; display: block; }
.hv-meta span { font-size: .78rem; color: var(--muted); }
.hv-bar { display: block; height: 6px; background: #eee; border-radius: 4px; margin-top: 9px; overflow: hidden; }
.hv-bar i { display: block; height: 100%; width: 64%; background: var(--red); border-radius: 4px; }
.hv-pill { position: absolute; background: #fff; color: #111; border-radius: 14px; padding: 11px 15px;
	display: flex; align-items: center; gap: 9px; box-shadow: 0 16px 40px rgba(0,0,0,.35); font-weight: 600; font-size: .82rem; }
.hv-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: .95rem; }
.hv-pill--1 { top: -6px; right: 14px; transform: rotate(4deg); }
.hv-pill--2 { bottom: 26px; left: -6px; transform: rotate(-2deg); }

/* ===========================================================================
   Stats (counters)
   =========================================================================== */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.stat__num { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; line-height: 1; }
.stat__num .suffix { color: var(--red-600); }
.stat__label { color: var(--gray-400); font-size: .85rem; margin-top: 8px; }

/* ===========================================================================
   Course cards
   =========================================================================== */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card {
	background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-card__thumb { aspect-ratio: 16/9; background: var(--gray); position: relative; overflow: hidden; }
.course-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-card__cat {
	position: absolute; top: 12px; left: 12px; background: rgba(17,17,17,.82); color: #fff;
	font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 6px; backdrop-filter: blur(4px);
}
.course-card__lang {
	position: absolute; top: 12px; right: 12px; background: rgba(58,123,213,.92); color: #fff;
	font-size: .7rem; font-weight: 600; padding: 5px 9px; border-radius: 6px; backdrop-filter: blur(4px);
}
.course-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.course-card__title { font-size: 1.08rem; margin-bottom: 10px; }
.course-card__title a { color: var(--black); }
.course-card__title a:hover { color: var(--red); }
.course-card__meta { display: flex; gap: 16px; color: var(--muted); font-size: .82rem; margin-bottom: 16px; }
.course-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.course-card__learners { font-size: .8rem; color: var(--muted); }

/* Category chips -------------------------------------------------------- */
.cats { display: flex; flex-wrap: wrap; gap: 12px; }
.cat-chip {
	display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px;
	background: #fff; border: 1px solid var(--gray-200); border-radius: 999px;
	font-weight: 500; color: var(--ink); font-size: .92rem; transition: .15s var(--ease);
}
.cat-chip:hover { border-color: var(--black); color: var(--black); transform: translateY(-2px); }
.cat-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* ===========================================================================
   How it works — the "path spine" signature
   =========================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps::before {
	content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px;
	background: linear-gradient(90deg, var(--gray-200), var(--red), var(--gray-200));
}
.step { text-align: center; padding: 0 14px; position: relative; }
.step__node {
	width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
	background: #fff; border: 2px solid var(--red); color: var(--red);
	display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: 1.15rem;
	position: relative; z-index: 2;
}
.step:hover .step__node { background: var(--red); color: #fff; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .85rem; color: var(--muted); margin: 0; }

/* ===========================================================================
   Single course layout (module list w/ spine)
   =========================================================================== */
.course-hero { background: var(--black); color: #fff; padding: 56px 0; }
.course-hero h1 { color: #fff; max-width: 18ch; }
.course-hero__meta { display: flex; gap: 26px; flex-wrap: wrap; color: var(--gray-400); margin-top: 16px; font-size: .92rem; }
.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }

.module { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.module__head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; background: #fff; }
.module__head:hover { background: var(--gray); }
.module__idx { width: 34px; height: 34px; border-radius: 8px; background: var(--red-tint); color: var(--red); font-weight: 700; display: grid; place-items: center; font-family: var(--ff-display); flex-shrink: 0; }
.module__title { font-family: var(--ff-display); font-weight: 600; flex: 1; }
.module__count { color: var(--muted); font-size: .85rem; }
.lessons { list-style: none; margin: 0; padding: 0 20px 12px 68px; }
.lessons li { padding: 11px 0; border-top: 1px solid var(--gray-200); display: flex; align-items: center; gap: 12px; }
.lessons li a { color: var(--ink); flex: 1; }
.lessons li a:hover { color: var(--red); }
.lesson-ico { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--gray-400); flex-shrink: 0; }
.lessons li.done .lesson-ico { background: var(--red); border-color: var(--red); }

.course-aside { position: sticky; top: 90px; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.progress { height: 8px; border-radius: 99px; background: var(--gray); overflow: hidden; margin: 12px 0 6px; }
.progress__bar { height: 100%; background: var(--red); width: 0; transition: width .5s var(--ease); }

/* Lesson player */
.player { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; margin-bottom: 22px; }
.player iframe { width: 100%; height: 100%; border: 0; }

/* ===========================================================================
   Dashboard
   =========================================================================== */
.dash-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 34px; }
.dash-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; }
.dash-card__num { font-family: var(--ff-display); font-weight: 800; font-size: 1.9rem; color: var(--black); }
.dash-card__label { color: var(--muted); font-size: .85rem; }

/* ===========================================================================
   Generic content / cards / forms
   =========================================================================== */
.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 9px;
	font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); }

.expert-card, .story-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; }
.expert-card__top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--gray); }

/* Donate page rows */
.pay-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--gray-200); }
.pay-row:first-child { border-top: 0; }
.pay-row strong { font-family: var(--ff-display); }

/* ===========================================================================
   Footer
   =========================================================================== */
.site-footer { background: var(--black); color: var(--gray-400); padding: 64px 0 30px; }
.site-footer h4.footer-widget__title, .footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-col a, .footer-widget a { color: var(--gray-400); }
.footer-col a:hover { color: #fff; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand__mark { background: var(--red); }
.footer-brand p { color: var(--gray-400); font-size: .9rem; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; padding: 11px 13px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--red); border-color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; text-align: center; font-size: .85rem; color: var(--gray-400); }

/* ===========================================================================
   Utilities + animation
   =========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.carousel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.carousel > * { scroll-snap-align: start; flex: 0 0 320px; }

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (max-width: 980px) {
	.hero__grid { grid-template-columns: 1fr; gap: 36px; }
	.hero-visual { min-height: 320px; margin-top: 8px; }
	.hv-card { position: relative; top: 0; left: 0; transform: none; width: 100%; max-width: 420px; }
	.hv-pill--1 { top: -10px; }
	.hv-pill--2 { bottom: -12px; left: 8px; }
	.stats { grid-template-columns: repeat(3, 1fr); }
	.grid-cards { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
	.steps::before { display: none; }
	.course-layout { grid-template-columns: 1fr; }
	.course-aside { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.dash-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
	.primary-nav, .header-actions .btn--ghost { display: none; }
	.primary-nav.open { display: block; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--gray-200); padding: 12px; box-shadow: var(--shadow); }
	.primary-nav.open .nav-menu { flex-direction: column; align-items: stretch; }
	.nav-toggle { display: block; }
	.section { padding: 56px 0; }
	.stats { grid-template-columns: 1fr 1fr; }
	.grid-cards, .cats { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.dash-cards { grid-template-columns: 1fr 1fr; }
	.hero__trust { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 2.5px solid var(--red); outline-offset: 2px; border-radius: 4px; }

/* ===========================================================================
   Login / Sign-up page
   =========================================================================== */
.auth-card { padding: 32px 30px; }
.auth-card h2 { font-size: 1.5rem; }
.auth-card form { margin: 0; }
.auth-card label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin: 14px 0 6px; }
.auth-card input[type="text"],
.auth-card input[type="password"] {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 10px;
	font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink); outline: none; transition: .15s;
}
.auth-card input[type="text"]:focus,
.auth-card input[type="password"]:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(30,79,255,.1); }
.auth-card .login-remember { font-weight: 500; color: var(--muted); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.auth-card .login-remember input { width: auto; }
.auth-card .login-submit { margin-top: 18px; }
.auth-card .button-primary,
.auth-card #wp-submit {
	width: 100%; background: var(--black); color: #fff; border: 0; padding: 13px; border-radius: 40px;
	font-weight: 600; font-size: 1rem; font-family: inherit; cursor: pointer; transition: .15s;
}
.auth-card .button-primary:hover,
.auth-card #wp-submit:hover { background: #000; }
.btn--google {
	width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
	background: #fff; border: 1.5px solid var(--gray-200); color: var(--ink);
	padding: 12px; border-radius: 40px; font-weight: 600; font-size: .98rem; transition: .15s;
}
.btn--google:hover { border-color: var(--gray-400); background: var(--gray); color: var(--ink); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: .82rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--gray-200); }
.auth-note { background: var(--red-tint); border: 1px solid #c9d6ff; border-radius: 10px; padding: 12px 14px; font-size: .85rem; color: #2a3a6a; margin-bottom: 16px; }
.auth-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: .88rem; }
.auth-foot a { color: var(--muted); font-weight: 500; }
.auth-foot a:hover { color: var(--red); }

/* ===========================================================================
   Founder / Blog / Contact / App buttons / Donate page
   =========================================================================== */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; background: #fff; border: 1px solid var(--gray-200); border-radius: 24px; padding: 40px; }
.founder__photo { position: relative; }
.founder__photo img { width: 100%; border-radius: 20px; aspect-ratio: 1; object-fit: cover; }
.founder__ph { width: 100%; aspect-ratio: 1; border-radius: 20px; background: linear-gradient(150deg, #0b1a3a, var(--red)); display: grid; place-items: center; font-size: 84px; color: rgba(255,255,255,.85); }
.founder__tag { position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 16px; border-radius: 30px; }
.founder__body h2 { font-size: 1.7rem; font-weight: 600; line-height: 1.3; margin: 10px 0 16px; }
.founder__body p { color: #444; line-height: 1.8; }
.founder__sign { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.founder__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; flex: none; }
.founder__sign b { font-family: var(--ff-display); font-weight: 600; display: block; }
.founder__sign small { color: var(--muted); font-size: .85rem; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: .22s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; display: block; background: var(--black); }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.post:hover .post__thumb img { transform: scale(1.06); }
.post__cat { position: absolute; top: 12px; left: 12px; background: rgba(13,13,15,.82); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 30px; }
.post__body { padding: 18px 20px 22px; }
.post__date { color: var(--muted); font-size: 12px; font-weight: 500; }
.post__body h3 { font-size: 1.12rem; font-weight: 600; margin: 7px 0 9px; line-height: 1.3; }
.post__body p { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.post__go { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .9rem; color: var(--black); }
.post:hover .post__go { color: var(--red); }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact__info h2 { font-size: 1.9rem; font-weight: 700; margin: 10px 0 12px; }
.contact__info p { color: var(--muted); margin-bottom: 24px; }
.contact__list { list-style: none; display: grid; gap: 16px; margin: 0; padding: 0; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--black); color: #fff; display: grid; place-items: center; font-size: 19px; flex: none; }
.contact__list small { color: var(--muted); font-size: 12px; display: block; }
.contact__list b { font-family: var(--ff-display); font-weight: 600; }
.contact__form { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 28px; }
.contact__form label { font-size: 13px; font-weight: 600; color: #333; display: block; margin-bottom: 6px; }
.contact__form input, .contact__form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 10px; font-family: var(--ff-body); font-size: 1rem; margin-bottom: 15px; outline: none; transition: .15s; }
.contact__form input:focus, .contact__form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(30,79,255,.1); }
.row2c { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact__ok { color: #1a9d5a; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.contact__err { color: var(--red); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.appbtns { display: flex; gap: 10px; flex-wrap: wrap; }
.appbtn { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 8px 15px; transition: .15s; }
.appbtn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.appbtn__ic { font-size: 20px; color: #fff; }
.appbtn small { display: block; font-size: 10px; color: rgba(255,255,255,.6); }
.appbtn b { font-family: var(--ff-display); font-size: 14px; color: #fff; }

/* Donate page */
.donate-hero { background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden; padding: 72px 0 76px; }
.donate-hero::before { content: ""; position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(164,14,14,.5), transparent 65%); }
.donate-hero .container { position: relative; z-index: 2; max-width: 680px; }
.donate-hero .eyebrow { color: #7aa0ff; background: rgba(30,79,255,.14); border: 1px solid rgba(30,79,255,.3); padding: 7px 16px; border-radius: 40px; justify-content: center; }
.donate-hero .eyebrow::before { display: none; }
.donate-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin: 18px auto 14px; }
.donate-hero p { color: rgba(255,255,255,.76); font-size: 1.08rem; margin-bottom: 26px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 880px; margin: 0 auto; }
.why-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; padding: 22px; }
.why-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 22px; flex: none; }
.why-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 5px; }
.why-card p { color: var(--muted); font-size: .92rem; }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.pay-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 26px; text-align: center; position: relative; overflow: hidden; }
.pay-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--accent, #999); }
.pay-name { font-family: var(--ff-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 4px; }
.pay-type { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; }
.pay-num { font-family: var(--ff-display); font-weight: 700; font-size: 1.4rem; padding: 12px; background: var(--gray); border-radius: 12px; }
.bank-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 30px; max-width: 560px; margin: 0 auto; }
.bank-card h3 { font-size: 1.25rem; margin-bottom: 18px; }
.bank-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--gray-200); }
.bank-row:last-child { border: 0; }
.bank-row span { color: var(--muted); }
.bank-row b { font-family: var(--ff-display); font-weight: 600; }
.thanks-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 54px; position: relative; overflow: hidden; }
.thanks-band::before { content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(164,14,14,.4), transparent 65%); }
.thanks-band > * { position: relative; z-index: 2; }
.thanks-band .eyebrow { color: #7aa0ff; justify-content: center; }
.thanks-band .eyebrow::before { display: none; }
.thanks-band h2 { color: #fff; margin: 14px 0 10px; }
.thanks-band p { color: rgba(255,255,255,.76); max-width: 540px; margin: 0 auto; }

@media (max-width: 860px) {
	.founder { grid-template-columns: 1fr; gap: 28px; padding: 28px; text-align: center; }
	.founder__photo { max-width: 240px; margin: 0 auto; }
	.founder__sign { justify-content: center; }
	.blog-grid { grid-template-columns: 1fr; }
	.contact { grid-template-columns: 1fr; gap: 30px; }
	.why-grid, .pay-grid { grid-template-columns: 1fr; }
	.row2c { grid-template-columns: 1fr; }
	.thanks-band { padding: 40px 24px; }
}

/* ===========================================================================
   Sponsors / partners marquee
   =========================================================================== */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mtrack { display: flex; gap: 18px; width: max-content; animation: rs-marquee 32s linear infinite; }
.marquee:hover .mtrack { animation-play-state: paused; }
@keyframes rs-marquee { to { transform: translateX(-50%); } }
.mtrack .logo { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--gray-200); border-radius: 50px; padding: 12px 26px 12px 12px; flex: none; }
.mtrack .logo .lm { width: 46px; height: 46px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.25rem; flex: none; }
.mtrack .logo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.mtrack .logo b { font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .mtrack { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* ===========================================================================
   About page
   =========================================================================== */
.about-hero { background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden; padding: 70px 0 64px; }
.about-hero::before { content: ""; position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(164,14,14,.5), transparent 65%); }
.about-hero .container { position: relative; z-index: 2; max-width: 720px; }
.about-hero .eyebrow { color: #7aa0ff; background: rgba(30,79,255,.14); border: 1px solid rgba(30,79,255,.3); padding: 7px 16px; border-radius: 40px; justify-content: center; }
.about-hero .eyebrow::before { display: none; }
.about-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin: 16px auto 14px; }
.about-hero p { color: rgba(255,255,255,.78); font-size: 1.1rem; }
.about-subnav { position: sticky; top: 70px; z-index: 50; background: #fff; border-bottom: 1px solid var(--gray-200); }
.about-subnav .container { display: flex; gap: 6px; overflow-x: auto; padding: 10px 24px; }
.about-subnav a { white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 14px; border-radius: 30px; }
.about-subnav a:hover { background: var(--gray); color: var(--black); }

.about2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about2__text h2 { font-size: 2rem; margin: 10px 0 16px; }
.about2__text p { color: #444; margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stats .s { background: var(--gray); border-radius: 16px; padding: 24px; }
.about-stats .n { font-family: var(--ff-display); font-weight: 800; font-size: 2rem; color: var(--red); }
.about-stats .l { color: var(--muted); font-size: 14px; margin-top: 4px; }

.aim-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 48px; text-align: center; position: relative; overflow: hidden; }
.aim-band::before { content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(164,14,14,.4), transparent 65%); }
.aim-band > * { position: relative; z-index: 2; }
.aim-band .eyebrow { color: #7aa0ff; justify-content: center; }
.aim-band .eyebrow::before { display: none; }
.aim-band h2 { color: #fff; font-size: 1.9rem; max-width: 720px; margin: 14px auto 0; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv__c { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 30px; }
.mv__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.mv__c h3 { font-size: 1.25rem; margin-bottom: 8px; }
.mv__c p { color: var(--muted); }

.donate-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--gray-200); border-radius: 24px; padding: 40px; }
.donate-cta h2 { font-size: 1.75rem; margin: 10px 0 12px; }
.donate-cta p { color: var(--muted); margin-bottom: 14px; }
.why-list { list-style: none; display: grid; gap: 12px; margin: 18px 0 24px; padding: 0; }
.why-list li { display: flex; gap: 10px; align-items: flex-start; color: #444; }
.why-list .ck { color: #1a9d5a; font-weight: 700; flex: none; }

.report { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.report .r { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; padding: 24px; text-align: center; }
.report .n { font-family: var(--ff-display); font-weight: 800; font-size: 2rem; color: var(--red); }
.report .l { color: var(--muted); font-size: 13px; margin-top: 6px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 26px; }
.quote p { color: #333; font-style: italic; margin-bottom: 16px; }
.quote .who, .story .who { display: flex; align-items: center; gap: 12px; }
.av { width: 44px; height: 44px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; flex: none; }
.quote b, .story b { font-family: var(--ff-display); font-weight: 600; display: block; font-size: 15px; }
.quote small { color: var(--muted); }
.story { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 26px; }
.story .who { margin-bottom: 14px; }
.story .role { color: var(--red); font-weight: 600; font-size: 13px; }
.story p { color: var(--muted); font-size: 14.5px; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 26px; text-align: center; }
.member .pic { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.9rem; }
.member b { font-family: var(--ff-display); font-weight: 600; display: block; }
.member small { color: var(--muted); }

@media (max-width: 860px) {
	.about2, .donate-cta { grid-template-columns: 1fr; gap: 28px; }
	.mv, .cards3 { grid-template-columns: 1fr; }
	.report { grid-template-columns: 1fr 1fr; }
	.team { grid-template-columns: 1fr 1fr; }
	.aim-band { padding: 36px 24px; }
	.about-subnav { top: 64px; }
}

/* ===========================================================================
   v3 additions: search empty, lesson nav, single post, floating donate, auth tabs
   =========================================================================== */
.search-suggest .ss-empty { padding: 14px 12px; color: var(--muted); font-size: .9rem; }
.search-suggest a span { display: block; }
.search-suggest a small { display: block; color: var(--muted); font-size: .75rem; }

/* Hero banners with a background image */
.about-hero.has-bg, .donate-hero.has-bg { background-size: cover; background-position: center; }
.about-hero.has-bg::before, .donate-hero.has-bg::before { opacity: .5; }

/* Lesson / post prev-next nav */
.lesson-nav, .post-single__nav { display: flex; gap: 14px; margin: 26px 0 0; }
.lesson-nav__spacer { flex: 1; }
.lesson-nav__btn { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1px solid var(--gray-200); border-radius: 14px; background: #fff; transition: .15s; min-width: 0; }
.lesson-nav__btn:hover { border-color: var(--red); box-shadow: var(--shadow); }
.lesson-nav__btn span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.lesson-nav__btn b { font-family: var(--ff-display); font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lesson-nav__next { text-align: right; }

/* Donate CTA block inside lessons / posts */
.lesson-donate { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding: 22px 26px; border-radius: 18px; background: var(--red-tint); border: 1px solid #ecd2d2; }
.lesson-donate strong { font-family: var(--ff-display); display: block; }
.lesson-donate span { color: var(--muted); font-size: .9rem; }

/* Single post */
.container--narrow { max-width: 760px; }
.post-single__head { padding: 48px 0 10px; }
.post-single__cat { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 13px; border-radius: 30px; }
.post-single__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 16px 0 12px; line-height: 1.15; }
.post-single__meta { display: flex; gap: 10px; color: var(--muted); font-size: .9rem; }
.post-single__cover { margin: 24px 0 8px; border-radius: 18px; overflow: hidden; }
.post-single__cover img { width: 100%; display: block; }
.post-single__body { font-size: 1.08rem; line-height: 1.85; color: #2b2b2b; padding: 16px 0; }
.post-single__body p { margin: 0 0 1.2em; }
.post-single__body h2 { font-size: 1.6rem; margin: 1.4em 0 .5em; }
.post-single__body h3 { font-size: 1.3rem; margin: 1.3em 0 .5em; }
.post-single__body img { border-radius: 12px; margin: 1em 0; }
.post-single__body blockquote { border-left: 4px solid var(--red); padding: 4px 0 4px 20px; margin: 1.2em 0; color: #444; font-style: italic; }
.post-single__body a { color: var(--red); text-decoration: underline; }
.post-single__body ul, .post-single__body ol { margin: 0 0 1.2em 1.3em; }
.post-single__body li { margin-bottom: .4em; }
.post-single__tags { margin-top: 24px; }
.post-single__tags a { display: inline-block; background: var(--gray); border-radius: 30px; padding: 5px 14px; font-size: .82rem; margin: 0 6px 6px 0; color: var(--muted); }

/* Floating site-wide donate button */
.float-donate { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; padding: 13px 20px; border-radius: 40px; font-family: var(--ff-display); font-weight: 600; box-shadow: 0 12px 30px rgba(30,79,255,.4); transition: .2s; }
.float-donate:hover { background: var(--red-600); transform: translateY(-3px); }
.float-donate__heart { font-size: 1.05rem; }

/* Auth tabs (login / register) */
.auth-tabs { display: flex; gap: 4px; background: var(--gray); padding: 4px; border-radius: 12px; margin-bottom: 20px; }
.auth-tab { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; font-family: var(--ff-body); font-weight: 600; font-size: .95rem; color: var(--muted); cursor: pointer; }
.auth-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.auth-ok { background: #e8f7ee; border: 1px solid #b7e3c6; color: #1a7d43; border-radius: 10px; padding: 12px 14px; font-size: .9rem; margin-bottom: 14px; }
.auth-hint { color: var(--muted); font-size: .82rem; margin: 4px 0 14px; }
.auth-card .button-primary, .auth-card #wp-submit { width: 100%; background: var(--black); color: #fff; border: 0; padding: 13px; border-radius: 40px; font-weight: 600; font-size: 1rem; font-family: inherit; cursor: pointer; }
.auth-card .button-primary:hover, .auth-card #wp-submit:hover { background: #000; }

@media (max-width: 620px) {
	.lesson-nav, .post-single__nav { flex-direction: column; }
	.float-donate__label { display: none; }
	.float-donate { padding: 14px; }
}

/* ===========================================================================
   Two-column donation band (slider + donate button)
   =========================================================================== */
.donate-band { background: var(--ink); color: #fff; }
.donate-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; background: #0e1730; border: 1px solid rgba(255,255,255,.08); }
.donate-split__media { position: relative; min-height: 440px; overflow: hidden; background: #0e1730; }
.donate-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s ease; }
.donate-slide.on { opacity: 1; }
.donate-slide--ph { background: linear-gradient(150deg, #3a1420, #1e4fff); }
.donate-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,15,.05), rgba(13,13,15,.66)); }
.donate-slide__cap { position: absolute; left: 22px; bottom: 20px; z-index: 2; color: #fff; font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.donate-dots { position: absolute; bottom: 18px; right: 20px; z-index: 3; display: flex; gap: 6px; }
.donate-dots b { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); transition: .3s; }
.donate-dots b.on { background: #fff; width: 18px; border-radius: 4px; }
.donate-split__badge { position: absolute; top: 16px; left: 16px; z-index: 3; background: rgba(13,13,15,.72); backdrop-filter: blur(4px); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 30px; }
.donate-split__content { padding: 50px 46px; display: flex; flex-direction: column; justify-content: center; }
.donate-split__content .eyebrow { color: #7aa0ff; background: rgba(30,79,255,.14); border: 1px solid rgba(30,79,255,.3); align-self: flex-start; }
.donate-split__content .eyebrow::before { display: none; }
.donate-split__content h2 { color: #fff; font-size: 2rem; margin: 14px 0 12px; line-height: 1.18; }
.donate-split__content p { color: rgba(255,255,255,.72); margin-bottom: 18px; }
.donate-split__list { list-style: none; display: grid; gap: 9px; margin: 0 0 26px; padding: 0; }
.donate-split__list li { display: flex; gap: 9px; align-items: center; color: rgba(255,255,255,.85); font-size: .95rem; }
.donate-split__list .ck { color: #43d17a; font-weight: 700; }
.donate-split__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--ghost-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,.06); }
@media (max-width: 820px) { .donate-split { grid-template-columns: 1fr; } .donate-split__media { min-height: 240px; } .donate-split__content { padding: 34px 24px; } }

/* Creator thank-you / subscribe prompt under lesson videos */
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.thanks-creator { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 16px 0 20px; padding: 18px 20px; border-radius: 16px; background: var(--red-tint); border: 1px solid #ecd2d2; }
.thanks-creator__ic { font-size: 1.6rem; flex: none; }
.thanks-creator__txt { flex: 1; min-width: 220px; }
.thanks-creator__txt strong { font-family: var(--ff-display); display: block; }
.thanks-creator__txt span { color: var(--muted); font-size: .9rem; }
.thanks-creator__btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* Resume builder form */
.rb-start { margin-bottom: 8px; }
.rb-form { max-width: 760px; margin: 26px auto 0; display: grid; gap: 14px; }
.rb-form label { font-size: 13px; font-weight: 600; color: #333; display: block; margin-bottom: 6px; }
.rb-form input, .rb-form textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--gray-200); border-radius: 10px; font-family: var(--ff-body); font-size: .95rem; }
.rb-form input:focus, .rb-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(30,79,255,.1); }
.rb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rb-sec { font-family: var(--ff-display); font-size: 1.05rem !important; color: var(--ink) !important; margin-top: 10px; }
.rb-row { display: grid; grid-template-columns: 1fr 1fr 140px; gap: 8px; align-items: start; background: var(--gray); border-radius: 12px; padding: 12px; margin-bottom: 10px; position: relative; }
.rb-row textarea { grid-column: 1 / -1; }
.rb-del { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.rb-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 620px) { .rb-grid { grid-template-columns: 1fr; } .rb-row { grid-template-columns: 1fr; } }

/* ===========================================================================
   Logged-in user profile menu (header)
   =========================================================================== */
.user-menu { position: relative; }
.user-menu__btn { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--gray-200); border-radius: 40px; padding: 5px 10px 5px 16px; cursor: pointer; font-family: var(--ff-body); font-weight: 600; font-size: .92rem; color: var(--ink); }
.user-menu__btn:hover { border-color: #bbb; }
.user-menu__avatar { border-radius: 50%; width: 30px; height: 30px; }
.user-menu__caret { font-size: .7rem; color: var(--muted); }
.user-menu__drop { display: none; position: absolute; top: calc(100% + 10px); right: 0; min-width: 232px; background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; box-shadow: 0 18px 50px rgba(17,17,17,.15); padding: 8px; z-index: 90; }
.user-menu.open .user-menu__drop { display: block; }
.user-menu__drop a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 9px; color: var(--ink); font-size: .93rem; font-weight: 500; }
.user-menu__drop a:hover { background: var(--gray); }
.um-ic { font-size: 1rem; width: 20px; text-align: center; }
.user-menu__logout { border-top: 1px solid var(--gray-200); margin-top: 6px; padding-top: 12px !important; color: var(--red) !important; }

/* ===========================================================================
   eBooks (grid + reader)
   =========================================================================== */
.ebook-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ebook-grid--6 { grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ebook-grid--6 .ebook-card__body { padding: 12px 14px 16px; }
.ebook-grid--6 .ebook-card__body h3 { font-size: .92rem; }
.ebook-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.ebook-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ebook-card__cover { position: relative; aspect-ratio: 3/4; background: linear-gradient(150deg, #0b1a3a, var(--red)); display: grid; place-items: center; overflow: hidden; }
.ebook-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ebook-card:hover .ebook-card__cover img { transform: scale(1.05); }
.ebook-card__ph { font-size: 3rem; }
.ebook-card__lang { position: absolute; top: 10px; right: 10px; background: rgba(58,123,213,.94); color: #fff; font-size: .68rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; backdrop-filter: blur(4px); }
.ebook-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ebook-card__body h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.ebook-card__body h3 a { color: var(--black); }
.ebook-card__body h3 a:hover { color: var(--red); }
.ebook-card__btn { margin-top: auto; align-self: flex-start; }
.ebook-card__read { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .88rem; color: var(--red); }
.ebook-hero { background: var(--ink); color: #fff; padding: 48px 0 40px; position: relative; overflow: hidden; }
.ebook-hero::before { content: ""; position: absolute; top: -160px; right: -80px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(164,14,14,.45), transparent 65%); }
.ebook-hero .container { position: relative; z-index: 2; }
.ebook-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 12px 0 8px; }
.ebook-hero .eyebrow { color: #7aa0ff; background: rgba(30,79,255,.14); border: 1px solid rgba(30,79,255,.3); }
.ebook-hero .eyebrow::before { display: none; }
.ebook-hero__author { color: rgba(255,255,255,.7); }
.ebook-back { display: inline-block; color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 14px; }
.ebook-back:hover { color: #fff; }
.ebook-reader { border-radius: 14px; overflow: hidden; border: 1px solid var(--gray-200); background: #fff; box-shadow: var(--shadow); }
.ebook-reader iframe { width: 100%; height: 80vh; min-height: 600px; border: 0; display: block; }
.ebook-reader__cover { border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.ebook-reader__cover img { width: 100%; display: block; }
@media (max-width: 980px) { .ebook-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1150px) { .ebook-grid--6 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px) { .ebook-grid--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ebook-grid, .ebook-grid--6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ebook-grid { grid-template-columns: 1fr 1fr; } }

/* Resume builder photo */
.rb-photo-row { display: flex; gap: 16px; align-items: center; margin-bottom: 4px; }
.rb-photo { width: 92px; height: 92px; border-radius: 12px; border: 2px dashed var(--gray-200); display: grid; place-items: center; cursor: pointer; text-align: center; font-size: 12px; color: var(--muted); background-size: cover; background-position: center; flex: none; overflow: hidden; }
.rb-photo:hover { border-color: var(--red); }
.rb-photo-hint { color: var(--muted); font-size: .85rem; }

/* ===========================================================================
   Top mini-bar (phone + live clock) + sticky shrinking header
   =========================================================================== */
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font-size: 13px; transition: height .25s ease, opacity .25s ease, padding .25s ease; height: 38px; overflow: hidden; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar__phone { color: rgba(255,255,255,.85); font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.topbar__phone:hover { color: #fff; }
.topbar__clock { color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; font-size: 12.5px; }
/* When scrolled, hide the top bar and shrink the header. */
body.rs-scrolled .topbar { height: 0; opacity: 0; }
body.rs-scrolled .site-header__inner { height: 56px; }
body.rs-scrolled .site-header { box-shadow: 0 4px 18px rgba(17,17,17,.07); }
.site-header__inner { transition: height .25s ease; }
@media (max-width: 600px) {
	.topbar { font-size: 11.5px; }
	.topbar__clock { display: none; }
}

/* Resume builder promo (homepage) */
.resume-promo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #fff, var(--gray)); border: 1px solid var(--gray-200); border-radius: 24px; padding: 44px 46px; }
.resume-promo__text h2 { font-size: 2rem; margin: 12px 0; }
.resume-promo__text p { color: var(--muted); margin-bottom: 18px; }
.resume-promo__list { list-style: none; display: grid; gap: 9px; margin: 0 0 24px; padding: 0; }
.resume-promo__list li { display: flex; gap: 9px; align-items: center; font-size: .95rem; }
.resume-promo__list .ck { color: #1a7d43; font-weight: 700; }
.resume-promo__art { display: grid; place-items: center; }
.resume-paper { width: 230px; aspect-ratio: 3/4; background: #fff; border-radius: 10px; box-shadow: 0 24px 60px rgba(17,17,17,.16); padding: 26px 22px; display: flex; flex-direction: column; gap: 11px; transform: rotate(-3deg); border: 1px solid #eee; }
.rp-bar { height: 8px; border-radius: 4px; }
.rp-bar--red { background: var(--red); width: 100%; }
.rp-line { height: 9px; border-radius: 5px; background: #e9e9ee; width: 100%; }
.rp-line--lg { width: 70%; height: 14px; background: #d9d9e0; }
.rp-line--md { width: 55%; }
.rp-line--sm { width: 40%; }
.rp-block { height: 46px; border-radius: 8px; background: #f0eef0; width: 100%; }
@media (max-width: 820px) { .resume-promo { grid-template-columns: 1fr; padding: 32px 24px; } .resume-promo__art { display: none; } }

/* eBooks archive grouped by category */
.ebook-cat-row { margin-bottom: 44px; }
.ebook-cat-row__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; border-bottom: 2px solid var(--gray-200); padding-bottom: 10px; }
.ebook-cat-row__head h2 { font-size: 1.4rem; }
.ebook-cat-row__link { color: var(--red); font-weight: 600; font-size: .9rem; white-space: nowrap; }

/* ===========================================================================
   eBook reader — framed UI, donate prompt
   =========================================================================== */
.ebook-hero--reader { padding-bottom: 30px; }
.ebook-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.reader { border-radius: 16px; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); background: #fff; }
.reader__bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #1c1c22; border-bottom: 1px solid rgba(255,255,255,.08); }
.reader__dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3a44; }
.reader__dot:nth-child(1) { background: #ff5f57; } .reader__dot:nth-child(2) { background: #febc2e; } .reader__dot:nth-child(3) { background: #28c840; }
.reader__name { color: rgba(255,255,255,.78); font-size: 13px; font-weight: 500; margin-left: 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader__expand { color: rgba(255,255,255,.7); font-size: 17px; text-decoration: none; }
.reader__expand:hover { color: #fff; }
.reader__frame { width: 100%; height: 82vh; min-height: 620px; border: 0; display: block; background: #525659; }
.reader-donate { max-width: 720px; margin: 30px auto 0; text-align: center; background: var(--red-tint); border: 1px solid #ecd2d2; border-radius: 20px; padding: 34px 30px; }
.reader-donate__emoji { font-size: 2.4rem; line-height: 1; margin-bottom: 10px; }
.reader-donate h3 { font-size: 1.3rem; margin-bottom: 8px; }
.reader-donate p { color: var(--muted); max-width: 540px; margin: 0 auto 20px; }
.reader-donate__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 600px) { .reader__frame { height: 70vh; min-height: 440px; } }

/* ===========================================================================
   Lesson layout + curriculum drawer + friendly player
   =========================================================================== */
.lesson-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 30px; max-width: 1280px; margin: 0 auto; padding: 32px 24px 64px; align-items: start; }
.lesson-main { min-width: 0; }
.lesson-back { display: inline-block; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.lesson-back:hover { color: var(--red); }
.player--rounded { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.lesson-title { font-size: 1.6rem; margin: 20px 0 14px; }
.drawer-toggle { display: none; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 30px; padding: 11px 20px; font-weight: 600; font-family: var(--ff-body); cursor: pointer; margin-bottom: 18px; }

.lesson-drawer { position: sticky; top: 92px; background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; overflow: hidden; max-height: calc(100vh - 120px); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.lesson-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--gray-200); background: var(--gray); }
.lesson-drawer__head strong { font-family: var(--ff-display); }
.lesson-drawer__close { display: none; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }
.lesson-drawer__progress { padding: 14px 18px; border-bottom: 1px solid var(--gray-200); }
.lesson-drawer__progress small { color: var(--muted); font-size: .82rem; }
.lesson-drawer__body { overflow-y: auto; padding: 8px 0; }
.drawer-mod { padding: 8px 0; }
.drawer-mod__title { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 18px; }
.drawer-lessons { list-style: none; margin: 0; padding: 0; }
.drawer-lesson a { display: flex; align-items: center; gap: 11px; padding: 11px 18px; color: var(--ink); font-size: .92rem; border-left: 3px solid transparent; }
.drawer-lesson a:hover { background: var(--gray); }
.drawer-lesson__ic { flex: none; width: 18px; text-align: center; color: var(--muted); font-size: .8rem; }
.drawer-lesson.is-done .drawer-lesson__ic { color: #1a7d43; }
.drawer-lesson.is-current a { background: var(--red-tint); border-left-color: var(--red); font-weight: 600; }
.drawer-lesson.is-current .drawer-lesson__ic { color: var(--red); }
.drawer-lesson.is-done .drawer-lesson__t { color: var(--muted); }
.lesson-drawer__overlay { display: none; position: fixed; inset: 0; background: rgba(13,13,15,.45); z-index: 70; }

@media (max-width: 960px) {
	.lesson-layout { grid-template-columns: 1fr; padding-top: 24px; }
	.drawer-toggle { display: inline-flex; }
	.lesson-drawer { position: fixed; top: 0; right: 0; height: 100%; max-height: none; width: 320px; max-width: 86vw; border-radius: 0; transform: translateX(100%); transition: transform .28s ease; z-index: 80; }
	.lesson-drawer.open { transform: none; }
	.lesson-drawer__close { display: block; }
	.lesson-drawer__overlay.show { display: block; }
}

/* Language filter bar */
.lang-filter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.lang-filter__label { font-weight: 600; font-size: .88rem; color: var(--muted); margin-right: 4px; }
.lang-chip { padding: 7px 16px; border-radius: 30px; border: 1.5px solid var(--gray-200); font-size: .88rem; font-weight: 500; color: var(--ink); background: #fff; }
.lang-chip:hover { border-color: var(--red); }
.lang-chip.is-active { background: var(--red); color: #fff; border-color: var(--red); }

/* Social share row */
.share-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: 22px 0; }
.share-row__label { font-weight: 600; font-size: .88rem; color: var(--muted); margin-right: 2px; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .95rem; border: 0; cursor: pointer; text-decoration: none; transition: transform .15s, filter .15s; font-family: Georgia, serif; }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.share-btn--fb { background: #1877f2; }
.share-btn--x { background: #111; font-family: Arial, sans-serif; }
.share-btn--wa { background: #25d366; font-size: 1.15rem; }
.share-btn--in { background: #0a66c2; font-style: normal; }
.share-btn--copy { background: var(--gray-200); color: var(--ink); }
.share-btn--copy.copied { background: #1a7d43; color: #fff; }

/* eBook bookmark button */
.ebook-bm { display: inline-flex; align-items: center; gap: 7px; }
.ebook-hero--reader .ebook-bm { border-color: rgba(255,255,255,.4); color: #fff; }
.ebook-bm.is-on { background: #f5a623; border-color: #f5a623; color: #111; }
.ebook-bm__ic { font-size: 1.05rem; }

/* International donation section */
.donate-intl { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.bank-card--online { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(140deg, #fff, var(--red-tint)); }
@media (max-width: 760px) { .donate-intl { grid-template-columns: 1fr; } }

/* ===========================================================================
   YouTube facade (loads the real player only on click — much lighter)
   =========================================================================== */
.yt-facade { position: relative; cursor: pointer; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.yt-facade__thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s, filter .3s; }
.yt-facade:hover .yt-facade__thumb { transform: scale(1.04); filter: brightness(.85); }
.yt-facade__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 74px; height: 52px; border-radius: 14px; background: rgba(30,79,255,.92); transition: .2s; box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.yt-facade__play::before { content: ""; position: absolute; top: 50%; left: 52%; transform: translate(-50%, -50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.yt-facade:hover .yt-facade__play { background: #1e4fff; transform: translate(-50%, -50%) scale(1.08); }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Ad slots (only render when the admin adds ad code) */
.ad-slot { margin: 26px auto; padding: 10px; text-align: center; max-width: 100%; overflow: hidden; }
.ad-slot__label { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #b8b8be; margin-bottom: 6px; }

/* ===========================================================================
   Hero polish — cleaner, more attractive, animated
   =========================================================================== */
.hero { position: relative; overflow: hidden; }
/* soft animated glow blobs behind the hero */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 0; pointer-events: none; }
.hero::before { width: 460px; height: 460px; background: radial-gradient(circle, rgba(30,79,255,.55), transparent 70%); top: -140px; right: -120px; animation: rsFloat 14s ease-in-out infinite; }
.hero::after { width: 380px; height: 380px; background: radial-gradient(circle, rgba(58,123,213,.35), transparent 70%); bottom: -160px; left: -120px; animation: rsFloat 18s ease-in-out infinite reverse; }
.hero .container { position: relative; z-index: 1; }
@keyframes rsFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(26px, 30px); } }

/* entrance animations */
.hero__left > * { opacity: 0; transform: translateY(16px); animation: rsHeroIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__left .eyebrow { animation-delay: .05s; }
.hero__left .hero__title { animation-delay: .15s; }
.hero__left .searchbar { animation-delay: .28s; }
.hero__left .hero__stats, .hero__left .hero__meta { animation-delay: .4s; }
.hero__right { opacity: 0; transform: translateY(20px) scale(.98); animation: rsHeroIn .8s cubic-bezier(.2,.7,.2,1) .35s forwards; }
@keyframes rsHeroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__left > *, .hero__right { animation: none; opacity: 1; transform: none; } .hero::before, .hero::after { animation: none; } }

/* search bar — bigger, glowing, animated focus ring */
.searchbar--hero { max-width: 580px; margin-top: 8px; }
.searchbar--hero form { padding: 9px 9px 9px 22px; border-radius: 52px; box-shadow: 0 20px 55px rgba(0,0,0,.45); transition: box-shadow .3s, transform .3s; position: relative; }
.searchbar--hero form::after { content: ""; position: absolute; inset: -2px; border-radius: 54px; padding: 2px; background: linear-gradient(120deg, #1e4fff, #7aa0ff, #3a7bd5); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.searchbar--hero:focus-within form { box-shadow: 0 24px 64px rgba(30,79,255,.4); transform: translateY(-1px); }
.searchbar--hero:focus-within form::after { opacity: 1; }
.searchbar--hero .searchbar__ic { color: #1e4fff; }
.searchbar--hero input[type="search"] { font-size: 1.05rem; padding: 14px 12px; }
.searchbar--hero .btn { padding: 14px 30px; box-shadow: 0 8px 20px rgba(30,79,255,.35); }
.searchbar--hero .btn:hover { transform: translateX(2px); }

/* Demo ad placeholder */
.ad-demo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 110px; max-width: 728px; margin: 0 auto; padding: 18px; border: 2px dashed var(--gray-200); border-radius: 14px; background: repeating-linear-gradient(45deg, #fafafa, #fafafa 12px, #f3f3f5 12px, #f3f3f5 24px); position: relative; }
.ad-demo__tag { position: absolute; top: 8px; left: 10px; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 7px; border-radius: 5px; }
.ad-demo strong { font-size: 1.02rem; color: #3a3a42; }
.ad-demo__sub { font-size: .76rem; color: #9a9aa2; }

/* Ad zones (top below header, bottom above footer) */
.ad-zone { margin: 0 auto; }
.ad-zone--top { margin-top: 14px; }
.ad-zone--bottom { margin-bottom: 8px; }
.ad-zone .ad-slot { margin: 14px auto; }

/* Footer legal row + disclosure */
.footer-legal-row { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; padding: 18px 0 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 24px; }
.footer-legal-row a { color: rgba(255,255,255,.72); font-size: .85rem; }
.footer-legal-row a:hover { color: #fff; }
.footer-disclosure { text-align: center; color: rgba(255,255,255,.5); font-size: .78rem; max-width: 820px; margin: 0 auto 8px; line-height: 1.6; }

/* Ad slot sizes (AdSense standard) — constrain real ad units too */
.ad-slot--leaderboard { max-width: 728px; margin-left: auto; margin-right: auto; }
.ad-slot--billboard { max-width: 970px; margin-left: auto; margin-right: auto; }
.ad-slot--large-rectangle { max-width: 336px; margin-left: auto; margin-right: auto; }
.ad-slot--medium-rectangle { max-width: 300px; margin-left: auto; margin-right: auto; }
.ad-slot--large-mobile { max-width: 320px; margin-left: auto; margin-right: auto; }
.ad-slot--half-page { max-width: 300px; margin-left: auto; margin-right: auto; }
