/* =========================================================
   Reddy Anna Pro – main stylesheet
   Dark premium UI, gold accent, mobile-first.
   ========================================================= */

:root {
	--navy: #0B1220;
	--navy-2: #0E1628;
	--surface: #111A2E;
	--surface-2: #172238;
	--border: #223050;
	--border-2: #2C3B5E;
	--gold: #F5B82E;
	--gold-2: #FFCB4D;
	--gold-dim: rgba(245, 184, 46, 0.14);
	--green: #22C55E;
	--wa: #25D366;
	--wa-2: #1EBE5A;
	--tg: #2AABEE;
	--text: #EAF0FA;
	--muted: #9FB0C8;
	--muted-2: #6F7F99;
	--danger: #EF4444;
	--radius: 14px;
	--radius-lg: 20px;
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	--shadow-gold: 0 10px 30px rgba(245, 184, 46, 0.18);
	--container: 1200px;
	--gutter: 1.25rem;
	--font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--header-h: 68px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	background: var(--navy);
	color: var(--text);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.has-sticky-bar { padding-bottom: 72px; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { color: #fff; font-weight: 800; line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 5.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; }
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--gold); color: var(--navy); padding: 0.5rem 1rem; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
	padding: 0.8rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
	font: inherit; font-weight: 700; font-size: 0.95rem; line-height: 1; cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--sm { padding: 0.6rem 1rem; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn--whatsapp { background: var(--wa); color: #06210f; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28); }
.btn--whatsapp:hover { background: var(--wa-2); color: #06210f; box-shadow: 0 12px 28px rgba(37, 211, 102, 0.38); }
.btn--telegram { background: var(--tg); color: #04202e; }
.btn--telegram:hover { color: #04202e; filter: brightness(1.05); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-2); color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; border-color: rgba(255, 255, 255, 0.12); }
.btn--dark:hover { color: #fff; background: #000; }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: var(--border-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn--outline { background: transparent; color: #fff; border-color: var(--border-2); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(11, 18, 32, 0.82);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(11, 18, 32, 0.94); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.site-brand .custom-logo-link img { max-height: 44px; width: auto; }
.site-brand__text { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.site-brand__text:hover { color: #fff; }
.site-brand__mark {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
	background: linear-gradient(135deg, var(--gold-2), #d99a12); color: var(--navy); font-size: 0.9rem; font-weight: 800;
	box-shadow: var(--shadow-gold);
}
.site-header__actions { display: flex; align-items: center; gap: 0.6rem; }
.site-header__cta { display: none; }
.nav-toggle {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
	background: var(--surface); border: 1px solid var(--border); color: #fff; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
body.nav-open .nav-toggle__open { display: none; }
body.nav-open .nav-toggle__close { display: block; }

.site-nav {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
	background: var(--navy); padding: 1rem var(--gutter) 2rem; overflow-y: auto;
	transform: translateY(-8px); opacity: 0; visibility: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
body.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; }
.site-nav .menu > li > a { display: block; padding: 0.9rem 0.25rem; color: #fff; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
.site-nav .menu li.current-menu-item > a, .site-nav .menu li.current_page_item > a { color: var(--gold); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 0 0 0 1rem; }
.site-nav .sub-menu a { display: block; padding: 0.6rem 0.25rem; color: var(--muted); }
.site-nav__cta { display: grid; gap: 0.6rem; margin-top: 1.25rem; }

@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.site-header__cta { display: inline-flex; }
	.site-nav { position: static; inset: auto; background: none; padding: 0; overflow: visible; transform: none; opacity: 1; visibility: visible; }
	.site-nav .menu { display: flex; align-items: center; gap: 0.25rem; }
	.site-nav .menu > li { position: relative; }
	.site-nav .menu > li > a { padding: 0.55rem 0.8rem; border: 0; font-size: 0.95rem; border-radius: 8px; color: var(--text); }
	.site-nav .menu > li > a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
	.site-nav .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 220px; padding: 0.5rem;
		background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.15s ease;
	}
	.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.site-nav .sub-menu a { padding: 0.55rem 0.7rem; border-radius: 8px; color: var(--text); }
	.site-nav .sub-menu a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
	.site-nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 3rem 0 3.5rem; }
.hero__glow {
	position: absolute; inset: -30% -10% auto; height: 120%; pointer-events: none;
	background:
		radial-gradient(60% 50% at 20% 10%, rgba(245, 184, 46, 0.16), transparent 60%),
		radial-gradient(45% 40% at 85% 20%, rgba(37, 211, 102, 0.12), transparent 60%);
}
.hero__inner { position: relative; display: grid; gap: 2rem; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 0.45rem;
	margin: 0 0 1rem; padding: 0.35rem 0.8rem; border-radius: 999px;
	background: var(--gold-dim); color: var(--gold); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero__title { margin-bottom: 0.8rem; }
.hero__subtitle { font-size: 1.08rem; color: var(--muted); max-width: 40rem; margin-bottom: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero__badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.hero__badges li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__badges .icon { color: var(--green); width: 1.1em; height: 1.1em; }

.id-card {
	background: linear-gradient(180deg, var(--surface-2), var(--surface));
	border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow);
	position: relative; overflow: hidden;
}
.id-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold)); }
.id-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.id-card__label { font-weight: 800; color: #fff; }
.id-card__live, .cta-card__eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 700; color: var(--green); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); } 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.05); } }
.id-card__steps { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.7rem; }
.id-card__steps li { display: flex; gap: 0.8rem; align-items: flex-start; }
.id-card__steps .num, .step__num {
	display: inline-grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px;
	background: var(--gold); color: var(--navy); font-weight: 800; font-size: 0.9rem;
}
.id-card__steps strong { display: block; color: #fff; font-size: 0.95rem; }
.id-card__steps small { color: var(--muted); font-size: 0.82rem; }
.id-card__note { display: flex; align-items: center; gap: 0.4rem; margin: 0.9rem 0 0; color: var(--muted); font-size: 0.82rem; justify-content: center; }

@media (min-width: 900px) {
	.hero { padding: 4.5rem 0 5rem; }
	.hero__inner { grid-template-columns: 1.25fr 0.85fr; align-items: center; gap: 3rem; }
}

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--navy-2); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 1.1rem 0.5rem; text-align: center; border-right: 1px solid var(--border); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.stat__value { display: block; font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.stat__label { display: block; font-size: 0.82rem; color: var(--muted); font-weight: 600; margin-top: 0.2rem; }
@media (min-width: 720px) {
	.stats__grid { grid-template-columns: repeat(4, 1fr); }
	.stat { border-bottom: 0 !important; }
	.stat:nth-child(2n) { border-right: 1px solid var(--border); }
	.stat:last-child { border-right: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section--alt { background: var(--navy-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { max-width: 46rem; margin-bottom: 2rem; }
.section__lead { color: var(--muted); font-size: 1.05rem; }
.section__cta { margin-top: 2rem; display: flex; justify-content: center; }
@media (min-width: 900px) { .section { padding: 5rem 0; } }

/* Services */
.services-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.service-card {
	display: flex; flex-direction: column; gap: 0.5rem; padding: 1.4rem;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); color: var(--text); }
.service-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-dim); color: var(--gold); margin-bottom: 0.4rem; }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__title { margin: 0; font-size: 1.15rem; }
.service-card__desc { margin: 0; color: var(--muted); font-size: 0.95rem; flex: 1; }
.service-card__link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--gold); font-weight: 700; font-size: 0.9rem; margin-top: 0.5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.step { position: relative; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step__num { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; margin-bottom: 0.9rem; }
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 900px) {
	.steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
	.step:not(:last-child)::after {
		content: ''; position: absolute; top: 44px; right: -1.25rem; width: 1.25rem; height: 2px;
		background: linear-gradient(90deg, var(--gold), transparent);
	}
}

/* Features */
.features { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.feature { padding: 1.3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.feature > .icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 0.7rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.93rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--gold) 0%, #f0a815 60%, #e59a0b 100%); color: var(--navy); padding: 2.5rem 0; }
.cta-band__inner { display: grid; gap: 1.25rem; align-items: center; }
.cta-band h2 { color: var(--navy); margin-bottom: 0.3rem; }
.cta-band p { margin: 0; color: rgba(11, 18, 32, 0.8); font-weight: 500; }
@media (min-width: 800px) { .cta-band__inner { grid-template-columns: 1fr auto; } }

/* ---------- Page hero / breadcrumbs ---------- */
.page-hero { position: relative; padding: 2rem 0 2.25rem; border-bottom: 1px solid var(--border); background: var(--navy-2); overflow: hidden; }
.page-hero--landing { padding: 2.5rem 0 3rem; }
.page-hero .container { position: relative; }
.page-hero__title { margin-bottom: 0.6rem; max-width: 52rem; }
.page-hero__lead { color: var(--muted); font-size: 1.08rem; max-width: 44rem; margin-bottom: 1.25rem; }
.page-hero .hero__badges { margin-top: 1rem; }
.breadcrumbs { font-size: 0.85rem; margin-bottom: 1rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 0.35rem; color: var(--muted-2); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--text); }
.entry-meta { color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }

/* ---------- Two-column layout with sticky rail ---------- */
.layout-rail { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 3rem; }
.rail { display: none; }
@media (min-width: 1024px) {
	.layout-rail { grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; padding-top: 3.5rem; padding-bottom: 4rem; }
	.rail { display: block; }
	.rail > * { position: sticky; top: calc(var(--header-h) + 20px); }
}
.cta-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow); }
.cta-card__eyebrow { margin-bottom: 0.5rem; }
.cta-card__title { font-size: 1.25rem; }
.cta-card__list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.5rem; font-size: 0.93rem; color: var(--muted); }
.cta-card__list li { display: flex; gap: 0.5rem; align-items: center; }
.cta-card__list .icon { color: var(--green); width: 1.1em; height: 1.1em; }
.cta-card .btn + .btn { margin-top: 0.6rem; }
.cta-card__note { margin: 1rem 0 0; font-size: 0.8rem; color: var(--muted); text-align: center; }

/* ---------- Prose (editor content) ---------- */
.prose { max-width: 860px; min-width: 0; }
.section--content .prose { margin: 0 auto; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.4em; padding-top: 0.2em; }
.prose h3 { margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: #D5DEEC; }
.prose li + li { margin-top: 0.35em; }
.prose strong { color: #fff; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.25rem; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }
.entry-thumb { margin: 0 0 1.5rem; }
.entry-thumb img { border-radius: var(--radius-lg); width: 100%; }

/* Tables */
.prose table, .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.wp-block-table { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--border); border-radius: var(--radius); }
.prose th, .prose td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--gold); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.prose tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.prose tbody tr:last-child td { border-bottom: 0; }
.rap-table tbody td:nth-child(2) { color: #fff; font-weight: 600; }

/* FAQ accordion (core/details) */
.wp-block-details, .prose details {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 0; margin: 0 0 0.6rem; overflow: hidden; transition: border-color 0.15s ease;
}
.wp-block-details[open], .prose details[open] { border-color: var(--border-2); }
.wp-block-details summary, .prose summary {
	list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; position: relative;
	font-weight: 700; color: #fff; font-size: 1rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after, .prose summary::after {
	content: ''; position: absolute; right: 1.2rem; top: 50%; width: 10px; height: 10px;
	border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
	transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.wp-block-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.wp-block-details > *:not(summary) { padding: 0 1.2rem; }
.wp-block-details > *:last-child { padding-bottom: 1.1rem; }
.wp-block-details p { margin: 0 0 0.6em; color: var(--muted); }
.rap-faq > * + * { margin-top: 0; }

/* Pattern helpers */
.rap-steps, .rap-features { display: grid; gap: 1rem; margin: 1.5em 0; }
.rap-step, .rap-feature { padding: 1.3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.rap-step > * + *, .rap-feature > * + * { margin-top: 0.5em; }
.rap-step h3, .rap-feature h3 { margin-top: 0.5em; font-size: 1.1rem; }
.rap-step p, .rap-feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.rap-step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold); color: var(--navy) !important; font-weight: 800; }
@media (min-width: 720px) { .rap-steps { grid-template-columns: repeat(3, 1fr); } .rap-features { grid-template-columns: repeat(2, 1fr); } }
.rap-cta-banner { text-align: center; padding: 2rem 1.5rem; margin: 2em 0; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-2); border-radius: var(--radius-lg); }
.rap-cta-banner h2 { margin-top: 0; }
.rap-cta-banner p { color: var(--muted); }
.rap-cta-inline { display: flex; margin: 1.5em 0; }
.rap-cta-inline--center { justify-content: center; }
.rap-cta-inline--left { justify-content: flex-start; }
.rap-cta-inline--right { justify-content: flex-end; }
.rap-pill { display: inline-block; padding: 0.3rem 0.8rem; margin: 0 0.3rem 0.4rem 0; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); font-size: 0.85rem; font-weight: 600; color: var(--text); }
a.rap-pill:hover { border-color: var(--gold); color: var(--gold); }
.rap-pill-row p { margin: 0; }
.badge-18 { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 5px; border-radius: 6px; border: 1.5px solid var(--danger); color: var(--danger); font-size: 0.7rem; font-weight: 800; vertical-align: middle; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s ease, border-color 0.18s ease; }
.post-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.post-card__thumb { display: block; aspect-ratio: 16/9; background: var(--surface-2); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--border-2); }
.post-card__placeholder .icon { width: 44px; height: 44px; }
.post-card__body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card__cat { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); }
.post-card__title { margin: 0; font-size: 1.1rem; }
.post-card__title a { color: #fff; }
.post-card__title a:hover { color: var(--gold); }
.post-card__excerpt { margin: 0; color: var(--muted); font-size: 0.93rem; flex: 1; }
.post-card__meta { margin: 0; color: var(--muted-2); font-size: 0.82rem; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.author-box { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.25rem 1.4rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.author-box__avatar img { border-radius: 50%; display: block; }
.author-box__label { margin: 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.author-box__name { margin: 0.1rem 0 0.35rem; font-weight: 700; font-size: 1.05rem; }
.author-box__bio { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.55; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-weight: 600; }
.post-nav__next { margin-left: auto; text-align: right; }
.entry-tags { margin-top: 2rem; }
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 0.8rem; border-radius: 10px; border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.pagination .page-numbers.current { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.pagination a.page-numbers:hover { border-color: var(--gold); color: var(--gold); }

/* Search form */
.search-form { display: flex; gap: 0.5rem; max-width: 520px; }
.search-form__input { flex: 1; min-width: 0; padding: 0.8rem 1rem; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); color: #fff; font: inherit; }
.search-form__input:focus { outline: none; border-color: var(--gold); }

/* Comments */
.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.comment-form label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 0.7rem 0.9rem; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); color: #fff; font: inherit; }
.comment-form input[type="submit"] { background: var(--gold); color: var(--navy); border: 0; border-radius: 999px; padding: 0.8rem 1.4rem; font-weight: 700; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: #070C17; border-top: 1px solid var(--border); padding: 3rem 0 2rem; color: var(--muted); font-size: 0.93rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-col--about p { margin: 1rem 0; max-width: 34rem; }
.footer-col__title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 0.9rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-menu a { color: var(--muted); }
.footer-menu a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: #fff; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social .icon { width: 20px; height: 20px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.82rem; }
.footer-disclaimer { color: var(--muted-2); }
.footer-copy { margin: 0.75rem 0 0; color: var(--muted-2); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: flex; gap: 0.5rem; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
	background: rgba(7, 12, 23, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-top: 1px solid var(--border);
}
.sticky-bar__btn { flex: 1; padding: 0.85rem 1rem; }
@media (min-width: 1024px) { .sticky-bar { display: none; } body.has-sticky-bar { padding-bottom: 0; } }

/* ---------- WordPress core bits ---------- */
.alignwide { max-width: var(--container); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-buttons .wp-block-button__link { border-radius: 999px; font-weight: 700; }
.wp-block-button.is-style-outline .wp-block-button__link { border-color: var(--border-2); color: #fff; }
.wp-element-caption { color: var(--muted); font-size: 0.85rem; }
.sticky { position: static; }
.bypostauthor { display: block; }
.gallery-caption { color: var(--muted); }

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