/*
Theme Name: Wellfit Aura
Theme URI: https://wellfitlook.com
Author: WellFit Look
Author URI: https://wellfitlook.com
Description: A fully 3D, animated and mobile-friendly blog theme for health, fitness and wellness sites. Real CSS 3D hero (podium with dumbbell, bottle and yoga mat), coverflow category slider, 3D buttons, tilting cards, and a Pinterest-ready layout (16:9 images with a Pin it button). No page builder or jQuery needed on the front end.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wellfit-aura
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, grid-layout
*/

/* =====================================================================
   1. COLOURS, FONTS, SIZES  (edit the values here to re-colour the theme)
   ===================================================================== */
:root {
	--cream: #FFF6EC;
	--cream-2: #FFEBD9;
	--paper: #FFFFFF;
	--trust-bg: #FFEBD9;

	--navy: #1F2A44;
	--navy-2: #2E3B5E;
	--ink: #2A3350;
	--muted: #5E6785;

	--orange: #F4623A;
	--orange-d: #D9502A;
	--orange-dd: #B53C1B;

	--teal: #1B998B;
	--teal-d: #147A6F;
	--teal-dd: #0E5E55;

	--sage: #8CC084;
	--butter: #FFD166;
	--butter-d: #E0AE3E;
	--butter-dd: #B98A22;
	--peach: #FFB59B;

	--font-head: 'Fredoka', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-script: 'Pacifico', 'Brush Script MT', cursive;

	--wrap: 1200px;
	--head-h: 74px;
	--wfa-st: 0px;  /* sticky header offset (admin bar) */
	--wfa-ab: 0px;  /* drawer offset (admin bar) */
}

body.admin-bar { --wfa-st: 32px; --wfa-ab: 32px; }
@media (max-width: 782px) { body.admin-bar { --wfa-st: 46px; --wfa-ab: 46px; } }
@media (max-width: 600px) { body.admin-bar { --wfa-st: 0px; --wfa-ab: 46px; } }

/* =====================================================================
   2. BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	min-width: 320px;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--cream);
	overflow-x: clip;
	overflow-wrap: break-word;
}

main { display: block; overflow-x: clip; }

img, svg, video { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--teal-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-d); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; overflow-wrap: anywhere; }
p { margin: 0 0 1em; }

.ic { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-inline: 20px; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; margin: 0; padding: 12px 18px;
	clip: auto; clip-path: none; background: var(--navy); color: #fff; z-index: 99999; border-radius: 12px;
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* =====================================================================
   3. 3D BUILDING BLOCKS  (headings, buttons)
   ===================================================================== */
.h3d {
	color: var(--navy);
	text-shadow:
		1px 1px 0 #FFD3C2, 2px 2px 0 #FFBFA6, 3px 3px 0 #FFAA8B,
		4px 4px 0 #FA8C69, 5px 5px 0 #F4623A, 6px 6px 0 #D9502A,
		8px 14px 20px rgba(31, 42, 68, .28);
}
.h3d em {
	font-family: var(--font-script);
	font-style: normal;
	font-weight: 400;
	color: var(--teal);
	text-shadow:
		1px 1px 0 #7EDDD1, 2px 2px 0 #4FC4B6, 3px 3px 0 #26A99B,
		4px 4px 0 #1B998B, 5px 5px 0 #147A6F, 6px 6px 0 #0E5E55,
		8px 14px 18px rgba(14, 94, 85, .35);
	padding-inline: .06em;
}
.h3d-s {
	text-shadow:
		1px 1px 0 #FFD3C2, 2px 2px 0 #FFBFA6, 3px 3px 0 #FFAA8B,
		4px 4px 0 #F4623A, 5px 8px 12px rgba(31, 42, 68, .25);
}
.h3d-s em {
	text-shadow: 1px 1px 0 #7EDDD1, 2px 2px 0 #4FC4B6, 3px 3px 0 #1B998B, 4px 4px 0 #147A6F, 5px 8px 12px rgba(14, 94, 85, .3);
}

.btn {
	--b1: #D9502A; --b2: #C24621; --b3: #A93A1A; --bs: rgba(169, 58, 26, .38);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 12px 30px;
	border: 0; border-radius: 999px; cursor: pointer;
	font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.2; letter-spacing: .2px;
	color: #fff; text-decoration: none; text-align: center;
	background: linear-gradient(180deg, #FF7A52, var(--orange));
	box-shadow: 0 2px 0 var(--b1), 0 4px 0 var(--b2), 0 6px 0 var(--b3), 0 14px 20px var(--bs);
	transform: translateY(0);
	transition: transform .12s ease, box-shadow .12s ease, filter .2s;
	-webkit-tap-highlight-color: transparent;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 3px 0 var(--b1), 0 6px 0 var(--b2), 0 9px 0 var(--b3), 0 18px 24px var(--bs); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--b1), 0 1px 0 var(--b2), 0 2px 0 var(--b3), 0 4px 6px var(--bs); }
.btn-sm { min-height: 46px; padding: 9px 22px; font-size: 15px; }
.btn-teal {
	--b1: #147A6F; --b2: #10665D; --b3: #0B4F48; --bs: rgba(14, 94, 85, .38);
	background: linear-gradient(180deg, #2DB8A8, var(--teal));
}
.btn-white {
	--b1: #E7D9C8; --b2: #D6C5B0; --b3: #C2AE95; --bs: rgba(0, 0, 0, .25);
	background: #fff; color: var(--orange-dd);
}
.btn-white:hover { color: var(--orange-dd); }

.icon-btn {
	display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
	border: 0; border-radius: 50%; cursor: pointer; color: var(--navy); background: #fff;
	box-shadow: 0 2px 0 #E7D9C8, 0 4px 0 #D6C5B0, 0 6px 0 #C2AE95, 0 10px 14px rgba(31, 42, 68, .18);
	transition: transform .12s ease, box-shadow .12s ease;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn:active { transform: translateY(5px); box-shadow: 0 0 0 #E7D9C8, 0 1px 0 #D6C5B0, 0 2px 0 #C2AE95, 0 3px 5px rgba(31, 42, 68, .18); }
.icon-btn .ic { width: 22px; height: 22px; }

/* pointer tilt + glare (JS sets --rx --ry --gx --gy only for mouse users) */
.tilt { transform-style: preserve-3d; }
.glare {
	position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
	background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%);
	transform: translateZ(1px);
}
@media (hover: hover) and (pointer: fine) {
	.tilt:hover > .glare, .tilt:hover > .tile-bg .glare { opacity: 1; }
}

/* =====================================================================
   4. TOP BAR + HEADER + MENUS
   ===================================================================== */
.topbar { background: var(--navy); color: #E8ECF7; font-size: 14px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; }
.topbar-text { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }

.soc { display: flex; align-items: center; flex: 0 0 auto; }
.soc a {
	position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: #fff; text-decoration: none;
}
.soc a::before {
	content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%;
	background: rgba(255, 255, 255, .14); transition: background .2s, transform .2s;
}
.soc a:hover::before { background: var(--orange); transform: scale(1.1); }
.soc a:hover { color: #fff; }
.soc .ic { position: relative; width: 17px; height: 17px; }

.site-header {
	position: sticky; top: var(--wfa-st); z-index: 100;
	background: #FFFDF9;
	box-shadow: 0 4px 0 var(--cream-2), 0 10px 24px rgba(31, 42, 68, .1);
}
.site-header::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
	background: linear-gradient(90deg, var(--orange), var(--butter), var(--teal), var(--sage));
}
.bar { display: flex; align-items: center; gap: 18px; min-height: var(--head-h); }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 1 auto; max-width: 46%; text-decoration: none; color: var(--navy); }
.brand .custom-logo { width: auto; max-height: 52px; }
.brand-mark {
	display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 15px; color: #fff;
	background: linear-gradient(145deg, #FF7A52, var(--orange));
	box-shadow: 0 2px 0 var(--orange-d), 0 4px 0 var(--orange-dd), 0 9px 12px rgba(169, 58, 26, .35);
	transform: rotate(-6deg);
}
.brand-mark .ic { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.brand-name {
	font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--navy);
	text-shadow: 1px 1px 0 var(--butter), 2px 2px 0 var(--butter-d), 3px 4px 6px rgba(31, 42, 68, .2);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.brand-tag { margin-top: 3px; font-size: 12px; font-weight: 700; color: var(--muted); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.main-nav { display: flex; align-items: center; margin-left: auto; min-width: 0; }
.nav-head, .drawer-cta { display: none; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu li { position: relative; min-width: 0; }
.menu a {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 15px; border-radius: 999px;
	font-family: var(--font-head); font-weight: 500; font-size: 16px; color: var(--navy); text-decoration: none; white-space: nowrap;
	transition: background .2s, color .2s;
}
.menu a:hover, .menu li:focus-within > a { background: var(--cream-2); color: var(--orange-dd); }
.menu .current-menu-item > a, .menu .current-menu-ancestor > a, .menu .current_page_item > a { background: var(--navy); color: #fff; }
.menu .menu-item-has-children > a::after, .menu .page_item_has_children > a::after {
	content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}

.sub-menu, .children {
	list-style: none; margin: 0; padding: 8px; min-width: 230px;
	position: absolute; left: 0; top: calc(100% - 2px); z-index: 20;
	background: #fff; border-radius: 18px;
	box-shadow: 0 3px 0 #EADBC8, 0 18px 34px rgba(31, 42, 68, .2);
	opacity: 0; visibility: hidden; translate: 0 8px; transition: opacity .2s, translate .2s, visibility 0s linear .2s;
}
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu, .menu li:hover > .children, .menu li:focus-within > .children {
	opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s;
}
.sub-menu a, .children a { display: flex; width: 100%; border-radius: 12px; }
.sub-menu .sub-menu { left: 100%; top: 0; }

.head-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.burger, .nav-close { display: none; }

.search-panel {
	display: grid; grid-template-rows: 0fr; visibility: hidden; background: var(--cream-2);
	transition: grid-template-rows .3s ease, visibility 0s linear .3s;
}
.sp-clip { overflow: hidden; min-height: 0; }
.site-header.search-open .search-panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.sp-in { padding-block: 14px; }

.search-form { display: flex; gap: 10px; align-items: center; max-width: 640px; margin-inline: auto; }
.search-field {
	flex: 1 1 auto; min-width: 0; min-height: 50px; padding: 0 22px; font: inherit; font-weight: 600; color: var(--navy);
	background: #fff; border: 3px solid var(--navy); border-radius: 999px;
	box-shadow: 0 4px 0 rgba(31, 42, 68, .2);
}
.search-field:focus { outline: 3px solid var(--butter); outline-offset: 2px; }

.nav-overlay {
	position: fixed; inset: var(--wfa-ab) 0 0 0; z-index: 90;
	background: rgba(31, 42, 68, .55); opacity: 0; visibility: hidden;
	transition: opacity .3s, visibility 0s linear .3s;
}

/* ---- mobile / tablet drawer (switches at 1024px) ---- */
@media (max-width: 1024px) {
	.burger, .nav-close { display: inline-grid; }
	.head-actions { margin-left: auto; }

	.main-nav {
		position: fixed; top: var(--wfa-ab); right: 0; bottom: 0; z-index: 110;
		width: min(86vw, 360px); height: calc(100vh - var(--wfa-ab)); height: calc(100dvh - var(--wfa-ab));
		margin: 0; padding: 0 20px 30px; display: block;
		background: #fff; overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(105%); visibility: hidden; box-shadow: none;
		transition: transform .35s cubic-bezier(.3, .7, .2, 1), visibility 0s linear .35s;
	}
	body.nav-open .main-nav {
		transform: none; visibility: visible; box-shadow: -16px 0 40px rgba(31, 42, 68, .3);
		transition: transform .35s cubic-bezier(.3, .7, .2, 1), visibility 0s;
	}
	body.nav-open { overflow: hidden; }
	body.nav-open .nav-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }

	.nav-head {
		position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
		height: 72px; margin: 0 -20px 8px; padding: 0 20px; background: #fff; border-bottom: 3px dashed var(--cream-2);
	}
	.nav-title { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--navy); }

	.menu { flex-direction: column; align-items: stretch; gap: 4px; }
	.menu a { width: 100%; min-height: 48px; border-radius: 14px; font-size: 18px; }
	.menu .menu-item-has-children > a::after, .menu .page_item_has_children > a::after { display: none; }
	.sub-menu, .children {
		position: static; min-width: 0; padding: 0 0 0 14px; background: transparent; box-shadow: none; border-radius: 0;
		opacity: 1; visibility: visible; translate: none; transition: none; border-left: 3px solid var(--cream-2); margin-left: 12px;
	}
	.sub-menu a, .children a { font-size: 16px; }
}
@media (max-width: 700px) {
	.head-cta, .brand-tag { display: none; }
	.drawer-cta { display: inline-flex; width: 100%; margin-top: 18px; }
	.brand-name { font-size: 21px; }
}

/* =====================================================================
   5. HERO + 3D STAGE
   ===================================================================== */
.hero {
	position: relative; overflow: hidden; padding: 54px 0 96px;
	background:
		radial-gradient(circle at 88% 14%, rgba(255, 209, 102, .6), rgba(255, 209, 102, 0) 42%),
		radial-gradient(circle at 4% 86%, rgba(27, 153, 139, .2), rgba(27, 153, 139, 0) 44%),
		radial-gradient(circle at 50% 100%, rgba(244, 98, 58, .12), rgba(244, 98, 58, 0) 50%),
		var(--cream);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: radial-gradient(rgba(31, 42, 68, .13) 1.4px, transparent 1.6px);
	background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 45%, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 24px; }
.hero-copy { min-width: 0; }
.hero-copy > * { animation: wfa-rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }

.hero-script {
	display: inline-block; margin: 0 0 8px; font-family: var(--font-script); font-size: clamp(22px, 3vw, 30px); line-height: 1.3;
	color: var(--teal-d); transform: rotate(-2deg);
}
.hero-title { margin: 0 0 20px; font-size: clamp(38px, 6.2vw, 74px); line-height: 1.08; font-weight: 700; }
.hero-text { max-width: 520px; margin: 0 0 28px; font-size: 18px; color: var(--muted); font-weight: 600; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 18px 18px; }

.stage { --sc: 1; display: flex; justify-content: center; align-items: flex-start; min-width: 0; height: calc(570px * var(--sc)); }
.stage-in {
	position: relative; flex: 0 0 auto; width: 440px; height: 570px;
	margin-inline: calc(220px * (var(--sc) - 1));
	scale: var(--sc); transform-origin: 50% 0;
	animation: wfa-pop 1s cubic-bezier(.2, .7, .2, 1) .15s backwards;
}
.scene-wrap { position: absolute; inset: 0; perspective: 1300px; perspective-origin: 50% 38%; }
.scene-sway, .scene-mouse { position: absolute; inset: 0; transform-style: preserve-3d; }
.scene-sway { animation: wfa-sway 10s ease-in-out infinite; }
.scene-mouse {
	transform: rotateX(calc(13deg + var(--my, 0deg))) rotateY(var(--mx, 0deg));
	transition: transform .3s ease-out;
}
.scene { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }

.ob { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: translate3d(var(--x, 0px), var(--y, 0px), var(--z, 0px)); }

.ground {
	position: absolute; left: -210px; top: -210px; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(31, 42, 68, .34), rgba(31, 42, 68, 0) 66%);
	transform: translateY(222px) rotateX(90deg);
}

.arch {
	position: absolute; left: -160px; top: -281px; width: 320px; height: 420px;
	border-radius: 160px 160px 28px 28px; transform: translateZ(var(--z, 0px));
}
.arch.a3 { left: -172px; top: -293px; width: 344px; height: 444px; border-radius: 172px 172px 30px 30px; background: linear-gradient(180deg, var(--butter), #FFE9AD); }
.arch.a2 { background: linear-gradient(180deg, #FFC4AE, var(--peach)); }
.arch.a1 {
	left: -150px; top: -270px; width: 300px; height: 400px; border-radius: 150px 150px 26px 26px;
	overflow: hidden; background: #fff; border: 8px solid #fff;
	box-shadow: 0 30px 50px rgba(31, 42, 68, .28);
}
.arch.a1 > svg, .arch.a1 > img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 142px 142px 18px 18px; }

/* cylinders built from rotated faces */
.cyl { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.cyl > i {
	position: absolute; display: block;
	left: calc(var(--w) / -2); top: calc(var(--h) / -2); width: var(--w); height: var(--h);
	background: linear-gradient(90deg, rgba(0, 0, 0, .16), rgba(255, 255, 255, .22) 50%, rgba(0, 0, 0, .16)), var(--c);
	transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--r));
	backface-visibility: hidden;
}
.cyl > i:nth-child(even) { background: linear-gradient(90deg, rgba(0, 0, 0, .32), rgba(255, 255, 255, .08) 50%, rgba(0, 0, 0, .32)), var(--c); }
.cap {
	position: absolute; display: block; border-radius: 50%; backface-visibility: hidden;
	left: calc(var(--r) * -1.02); top: calc(var(--r) * -1.02); width: calc(var(--r) * 2.04); height: calc(var(--r) * 2.04);
	background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 62%), var(--c2, var(--c));
}
.cap.t { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.cap.b { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }

.spin { position: absolute; left: 0; top: 0; transform-style: preserve-3d; animation: wfa-turn var(--t, 14s) linear infinite; }
.spin.rev { animation-direction: reverse; }
.lay { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: rotateZ(90deg); }
.part { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }

/* orbiting icon discs */
.orbit-spin { position: absolute; left: 0; top: 0; transform-style: preserve-3d; animation: wfa-orbit 18s linear infinite; }
.o-pos {
	position: absolute; left: 0; top: 0; transform-style: preserve-3d;
	transform: rotateY(calc(var(--i) * 90deg)) translateZ(178px) rotateY(calc(var(--i) * -90deg));
}
.o-chip {
	position: absolute; left: -28px; top: -28px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff;
	background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 46%), var(--c);
	box-shadow: 0 3px 0 rgba(0, 0, 0, .2), 0 6px 0 rgba(0, 0, 0, .12), 0 14px 20px rgba(31, 42, 68, .28);
	animation: wfa-counter 18s linear infinite;
}
.o-chip .ic { width: 26px; height: 26px; }

.pic {
	position: absolute; left: -48px; top: -48px; width: 96px; height: 96px; overflow: hidden; border-radius: 50%; border: 5px solid #fff;
	background: var(--cream-2); box-shadow: 0 4px 0 rgba(31, 42, 68, .12), 0 14px 24px rgba(31, 42, 68, .3);
	animation: wfa-float 5s ease-in-out infinite;
}
.pic.pic-b { animation-delay: -2.2s; }
.pic img { width: 100%; height: 100%; object-fit: cover; }

.spark {
	position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
	transform: translate3d(var(--x), var(--y), var(--z)); color: var(--butter-d);
	animation: wfa-twinkle 3.2s ease-in-out infinite; animation-delay: var(--d);
}
.spark .ic { width: 100%; height: 100%; display: block; }

.badge-3d {
	position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%; color: #fff;
	background: radial-gradient(circle at 30% 25%, #FF8A63, var(--orange));
	box-shadow: 0 3px 0 var(--orange-d), 0 6px 0 var(--orange-dd), 0 14px 20px rgba(31, 42, 68, .3);
	animation: wfa-float 6s ease-in-out infinite;
}
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: wfa-spin 16s linear infinite; }
.badge-ring text { font-family: var(--font-head); font-weight: 600; font-size: 11.5px; fill: #fff; letter-spacing: .4px; }
.badge-core { position: absolute; inset: 0; display: grid; place-items: center; }
.badge-core .ic { width: 24px; height: 24px; }

.glass-chip {
	position: absolute; left: 0; top: 0; translate: -50% -50%; display: flex; align-items: center; gap: 10px;
	padding: 8px 20px 8px 8px; border-radius: 999px; white-space: nowrap;
	font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--navy);
	background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border: 2px solid rgba(255, 255, 255, .95);
	box-shadow: 0 3px 0 rgba(31, 42, 68, .1), 0 14px 26px rgba(31, 42, 68, .22);
}
.glass-chip .ci { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #2DB8A8, var(--teal)); box-shadow: 0 2px 0 var(--teal-dd); }
.glass-chip .ic { width: 20px; height: 20px; }

@keyframes wfa-sway { 0%, 100% { transform: rotateY(-14deg); } 50% { transform: rotateY(14deg); } }
@keyframes wfa-turn { to { transform: rotateY(360deg); } }
@keyframes wfa-orbit { to { transform: rotateY(360deg); } }
@keyframes wfa-counter { to { transform: rotateY(-360deg); } }
@keyframes wfa-spin { to { rotate: 360deg; } }
@keyframes wfa-float { 50% { translate: 0 -12px; } }
@keyframes wfa-twinkle { 0%, 100% { scale: .7; opacity: .55; rotate: 0deg; } 50% { scale: 1.15; opacity: 1; rotate: 22deg; } }
@keyframes wfa-rise { from { opacity: 0; translate: 0 26px; } }
@keyframes wfa-pop { from { opacity: 0; translate: 0 40px; } }

/* =====================================================================
   6. SECTIONS
   ===================================================================== */
.sec { position: relative; padding: 78px 0; }
.sec-head { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.sec-title { margin: 0 0 12px; font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; }
.sec-sub { margin: 0; color: var(--muted); font-weight: 600; }
.center-btn { margin: 42px 0 0; text-align: center; }
.empty-note { text-align: center; padding: 28px 18px; border: 3px dashed var(--peach); border-radius: 22px; color: var(--muted); font-weight: 700; background: #fff; }

/* ---- categories (coverflow slider) ---- */
.topics { background: #fff; border-radius: 44px 44px 0 0; margin-top: -44px; padding-bottom: 70px; z-index: 1; }
.cat-wrap { position: relative; }
.cat-track {
	--cw: 214px; --gap: 18px;
	position: relative; display: flex; gap: var(--gap); padding: 36px 0 56px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch; cursor: grab;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-track::before, .cat-track::after { content: ""; flex: 0 0 max(0px, calc(50% - var(--cw) / 2 - var(--gap))); }
.cat-track.dragging { scroll-snap-type: none; cursor: grabbing; scroll-behavior: auto; user-select: none; }
.cat-track:focus-visible { outline-offset: -4px; border-radius: 30px; }

.cat-card {
	flex: 0 0 var(--cw); display: flex; min-width: 0; scroll-snap-align: center;
	color: inherit; text-decoration: none; will-change: transform; -webkit-user-drag: none;
}
.cat-in {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; padding: 24px 14px 20px;
	text-align: center; border-radius: 30px; background: #fff;
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .2s ease-out;
	box-shadow: 0 3px 0 #EADBC8, 0 6px 0 #E0CDB6, 0 9px 0 #D6C1A8, 0 24px 32px rgba(31, 42, 68, .16);
}
.cat-ring {
	display: grid; place-items: center; width: 142px; height: 142px; padding: 7px; border-radius: 50%;
	background: conic-gradient(var(--orange), var(--butter), var(--teal), var(--sage), var(--orange));
	box-shadow: 0 4px 0 rgba(31, 42, 68, .14), 0 14px 20px rgba(31, 42, 68, .2);
	transform: translateZ(44px);
}
.cat-img {
	display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 50%;
	background: var(--cream-2); border: 4px solid #fff;
}
.cat-img img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.cat-letter { font-family: var(--font-head); font-weight: 700; font-size: 54px; line-height: 1; color: var(--orange); text-shadow: 2px 2px 0 var(--butter), 4px 4px 0 var(--butter-d); }
.cat-name {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
	min-height: 2.5em; max-width: 100%; font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.25; color: var(--navy);
	overflow-wrap: anywhere; transform: translateZ(26px);
}
.cat-count {
	margin-top: auto; padding: 3px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #fff; background: var(--teal);
	box-shadow: 0 2px 0 var(--teal-dd); transform: translateZ(26px);
}
.cat-card:hover .cat-name { color: var(--orange-dd); }

.cat-arrow {
	position: absolute; top: calc(50% - 10px); z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
	border: 0; border-radius: 50%; cursor: pointer; color: #fff; translate: 0 -50%;
	background: linear-gradient(180deg, #2DB8A8, var(--teal));
	box-shadow: 0 2px 0 var(--teal-d), 0 4px 0 var(--teal-dd), 0 10px 16px rgba(14, 94, 85, .35);
	transition: transform .12s, box-shadow .12s;
}
.cat-arrow:active { transform: translateY(4px); box-shadow: 0 0 0 var(--teal-d), 0 1px 0 var(--teal-dd), 0 3px 6px rgba(14, 94, 85, .35); }
.cat-prev { left: max(14px, calc(50% - 600px)); }
.cat-next { right: max(14px, calc(50% - 600px)); }

/* ---- feature tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tile { --t: var(--orange); --td: var(--orange-d); --tdd: var(--orange-dd); --tc: #fff; display: block; min-width: 0; color: inherit; text-decoration: none; }
.tile:nth-child(2) { --t: var(--teal); --td: var(--teal-d); --tdd: var(--teal-dd); }
.tile:nth-child(3) { --t: var(--butter); --td: var(--butter-d); --tdd: var(--butter-dd); --tc: var(--navy); }
.tile-in {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
	min-height: 210px; padding: 28px 26px; border-radius: 32px; color: var(--tc);
	background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 45%), var(--t);
	transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .25s ease-out;
	box-shadow: 0 4px 0 var(--td), 0 8px 0 var(--tdd), 0 28px 40px rgba(31, 42, 68, .22);
}
.tile-bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.tile-dot { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.tile-dot.d1 { width: 190px; height: 190px; right: -50px; top: -60px; }
.tile-dot.d2 { width: 120px; height: 120px; left: -40px; bottom: -50px; }
.tile-bg .glare { transform: none; }
.tile-text { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; transform: translateZ(30px); }
.tile-name { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 2.2vw, 29px); line-height: 1.2; overflow-wrap: anywhere; text-shadow: 0 2px 0 rgba(0, 0, 0, .14); }
.tile:nth-child(3) .tile-name { text-shadow: 0 2px 0 rgba(255, 255, 255, .55); }
.tile-btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px;
	font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--navy); background: #fff;
	box-shadow: 0 3px 0 rgba(0, 0, 0, .16), 0 6px 0 rgba(0, 0, 0, .1), 0 12px 16px rgba(0, 0, 0, .16);
	transition: transform .12s;
}
.tile:hover .tile-btn { transform: translateX(4px); }
.tile-btn .ic { width: 18px; height: 18px; }
.tile-img {
	position: relative; display: grid; place-items: center; width: 136px; height: 136px; overflow: hidden; border-radius: 50%;
	border: 6px solid #fff; background: var(--cream-2); transform: translateZ(54px);
	box-shadow: 0 4px 0 rgba(0, 0, 0, .12), 0 18px 26px rgba(0, 0, 0, .26);
}
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-img .cat-letter { font-size: 58px; }
.topics .tiles { margin-top: 8px; }

/* ---- article cards ---- */
.latest { background: var(--cream); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 26px; }
.card { display: flex; min-width: 0; }
.card-tilt {
	position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; border-radius: 24px; background: #fff;
	transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .25s ease-out;
	box-shadow: 0 3px 0 #EADBC8, 0 6px 0 #E0CDB6, 0 9px 0 #D6C1A8, 0 26px 34px rgba(31, 42, 68, .16);
}
.card-media-wrap { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px 24px 0 0; background: var(--cream-2); }
.card-media { display: block; width: 100%; height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.ph {
	display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .85);
	background: linear-gradient(135deg, var(--p1, var(--butter)), var(--p2, var(--orange)));
}
.ph .ic { width: 56px; height: 56px; }

.badge {
	position: absolute; left: 12px; top: 12px; z-index: 2; max-width: calc(100% - 118px);
	padding: 5px 13px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 13px; line-height: 1.4; color: var(--navy); text-decoration: none;
	background: var(--butter); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	box-shadow: 0 2px 0 var(--butter-d), 0 4px 0 var(--butter-dd), 0 9px 12px rgba(31, 42, 68, .22);
	transform: translateZ(34px);
}
.badge::after { content: ""; position: absolute; inset: -8px -2px; }
.badge:hover { color: var(--navy); background: #FFE08F; }
.badge-static { position: static; display: inline-block; max-width: 100%; margin-bottom: 14px; transform: none; }

.pin {
	position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 13px 5px 9px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 13px; line-height: 1.4; color: #fff; text-decoration: none;
	background: #E60023; box-shadow: 0 2px 0 #B8001B, 0 4px 0 #8F0015, 0 9px 12px rgba(31, 42, 68, .28);
	transform: translateZ(34px); transition: filter .2s;
}
.pin::after { content: ""; position: absolute; inset: -6px; }
.pin:hover { color: #fff; filter: brightness(1.08); }
.pin .ic { width: 16px; height: 16px; }

.card-body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; padding: 16px 18px 18px; transform-style: preserve-3d; }
.card-title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
	margin: 0 0 8px; font-weight: 600; font-size: 19px; line-height: 1.3; transform: translateZ(22px);
}
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a:hover { color: var(--orange-dd); }
.card-excerpt {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
	margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted);
}
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta .ic { width: 15px; height: 15px; color: var(--orange); }

/* ---- why trust us ---- */
.trust { background: var(--trust-bg); padding-bottom: 96px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 62px 26px; padding-top: 36px; }
.trust-card { --c: var(--orange); --cd: var(--orange-d); --cdd: var(--orange-dd); min-width: 0; }
.trust-card.c2 { --c: var(--teal); --cd: var(--teal-d); --cdd: var(--teal-dd); }
.trust-card.c3 { --c: var(--butter-d); --cd: var(--butter-dd); --cdd: #8E6A15; }
.trust-card.c4 { --c: #5FA463; --cd: #468549; --cdd: #346638; }
.trust-in {
	position: relative; height: 100%; padding: 58px 22px 28px; text-align: center; border-radius: 28px; background: #fff;
	transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .25s ease-out;
	box-shadow: 0 3px 0 #EADBC8, 0 6px 0 #E0CDB6, 0 9px 0 #D6C1A8, 0 26px 34px rgba(31, 42, 68, .14);
}
.trust-icon {
	position: absolute; left: 50%; top: -40px; display: grid; place-items: center; width: 80px; height: 80px; margin-left: -40px; border-radius: 50%; color: #fff;
	background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 45%), var(--c);
	box-shadow: 0 3px 0 var(--cd), 0 7px 0 var(--cdd), 0 16px 22px rgba(31, 42, 68, .25);
	transform: translateZ(54px);
}
.trust-icon .ic { width: 36px; height: 36px; }
.trust-title { margin: 0 0 8px; font-size: 21px; font-weight: 600; transform: translateZ(24px); }
.trust-in p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---- page title band ---- */
.page-band {
	position: relative; overflow: hidden; padding: 58px 0 74px; text-align: center;
	background:
		radial-gradient(circle at 12% 20%, rgba(255, 209, 102, .55), rgba(255, 209, 102, 0) 40%),
		radial-gradient(circle at 90% 80%, rgba(27, 153, 139, .22), rgba(27, 153, 139, 0) 45%),
		var(--cream-2);
}
.page-band::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; background: var(--cream);
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.band-kicker { margin: 0 0 4px; font-family: var(--font-script); font-size: 24px; color: var(--teal-d); transform: rotate(-2deg); }
.band-title { margin: 0; font-size: clamp(32px, 5vw, 56px); font-weight: 700; }
.band-desc { max-width: 640px; margin: 14px auto 0; color: var(--muted); font-weight: 600; }
.band-desc p { margin: 0; }
.list-sec { padding-top: 34px; }
.none-found { max-width: 640px; margin: 0 auto; text-align: center; }

.navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 6px 16px; border-radius: 999px;
	font-family: var(--font-head); font-weight: 600; color: var(--navy); text-decoration: none; background: #fff;
	box-shadow: 0 2px 0 #E7D9C8, 0 4px 0 #D6C5B0, 0 8px 12px rgba(31, 42, 68, .12);
	transition: transform .12s;
}
a.page-numbers:hover { transform: translateY(-2px); color: var(--orange-dd); }
.page-numbers.current { color: #fff; background: var(--orange); box-shadow: 0 2px 0 var(--orange-d), 0 4px 0 var(--orange-dd), 0 8px 12px rgba(169, 58, 26, .3); }
.page-numbers.dots { background: transparent; box-shadow: none; }

/* =====================================================================
   7. SINGLE POST, PAGE, COMMENTS, 404
   ===================================================================== */
.single-head { padding: 54px 0 24px; text-align: center; }
.single-title { margin: 0 0 16px; font-size: clamp(30px, 5vw, 52px); font-weight: 700; line-height: 1.15; }
.single-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.single-meta span { display: inline-flex; align-items: center; gap: 7px; }
.single-meta .ic { width: 17px; height: 17px; color: var(--orange); }

.single-fig-wrap { max-width: 1000px; }
.single-fig { margin: 0 0 40px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 28px; background: var(--cream-2); box-shadow: 0 4px 0 #EADBC8, 0 8px 0 #E0CDB6, 0 30px 44px rgba(31, 42, 68, .2); }
.single-fig img { width: 100%; height: 100%; object-fit: cover; }
.single-fig-page { margin-top: 30px; }

.page-article { padding: 20px 0 70px; }
.entry-content { font-size: 18px; line-height: 1.85; overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 1.8em 0 .5em; font-size: clamp(26px, 3.4vw, 34px); }
.entry-content h3 { margin: 1.6em 0 .5em; font-size: clamp(22px, 2.6vw, 27px); }
.entry-content h4 { margin: 1.4em 0 .4em; font-size: 20px; }
.entry-content a { font-weight: 700; }
.entry-content img { border-radius: 18px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--orange); font-weight: 800; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 22px 26px; border-left: 6px solid var(--orange); border-radius: 0 22px 22px 0;
	background: #fff; font-size: 1.05em; font-weight: 600; color: var(--navy); box-shadow: 0 6px 0 var(--cream-2);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.4em; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 2px solid var(--cream-2); text-align: left; }
.entry-content th { background: var(--cream-2); font-family: var(--font-head); color: var(--navy); }
.entry-content pre { overflow-x: auto; padding: 18px; border-radius: 16px; background: var(--navy); color: #E8ECF7; font-size: 15px; }
.entry-content figure { margin: 1.6em 0; max-width: 100%; }
.entry-content figcaption, .wp-caption-text { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.page-links { font-weight: 800; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tags a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 4px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--navy); text-decoration: none; background: #fff;
	box-shadow: 0 2px 0 #E7D9C8, 0 4px 0 #D6C5B0;
}
.tags a::before { content: "#"; margin-right: 2px; color: var(--orange); }
.tags a:hover { color: var(--orange-dd); }

.share { margin-top: 38px; padding: 24px; text-align: center; border-radius: 26px; background: #fff; box-shadow: 0 4px 0 #EADBC8, 0 8px 0 #E0CDB6, 0 20px 30px rgba(31, 42, 68, .1); }
.share-label { display: block; margin-bottom: 14px; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--navy); }
.share-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.share-btn {
	--sb: #E60023; --sbd: #B8001B; --sbdd: #8F0015;
	display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 8px 22px; border-radius: 999px;
	font-family: var(--font-head); font-weight: 600; font-size: 16px; color: #fff; text-decoration: none; background: var(--sb);
	box-shadow: 0 2px 0 var(--sbd), 0 4px 0 var(--sbdd), 0 10px 14px rgba(31, 42, 68, .22); transition: transform .12s, box-shadow .12s;
}
.share-btn:hover { color: #fff; transform: translateY(-2px); }
.share-btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--sbd), 0 1px 0 var(--sbdd), 0 3px 5px rgba(31, 42, 68, .22); }
.share-btn .ic { width: 20px; height: 20px; }
.s-fb { --sb: #1877F2; --sbd: #1260C4; --sbdd: #0D4A98; }
.s-wa { --sb: #1FA855; --sbd: #178241; --sbdd: #0F5E2F; }

.related { background: #fff; border-radius: 44px 44px 0 0; }
.comments-sec { padding-top: 40px; }
.comments-area { padding: 28px; border-radius: 28px; background: #fff; box-shadow: 0 4px 0 #EADBC8, 0 8px 0 #E0CDB6, 0 20px 30px rgba(31, 42, 68, .1); }
.comments-title, .comment-reply-title { font-size: 26px; }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 20px; }
.comment-list li { margin-bottom: 18px; }
.comment-body { padding: 16px 18px; border-radius: 18px; background: var(--cream); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; font-size: 14px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.comment-author img { border-radius: 50%; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.reply a { font-weight: 800; }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 800; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; min-height: 48px; padding: 10px 16px; font: inherit; color: var(--navy); background: #fff; border: 3px solid var(--cream-2); border-radius: 16px;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--orange); }
.comment-form p { margin-bottom: 14px; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; font-weight: 600; }

.not-found { padding-top: 70px; padding-bottom: 90px; }
.nf-num { margin: 0 0 8px; font-family: var(--font-head); font-weight: 700; font-size: clamp(90px, 22vw, 190px); line-height: 1; color: var(--orange); }
.nf-search { margin-top: 30px; }

/* =====================================================================
   8. FOOTER
   ===================================================================== */
.site-footer { position: relative; margin-top: 0; color: #CBD3EA; }
.footer-wave { line-height: 0; color: var(--navy); background: var(--cream); }
body.home .footer-wave, body.front-page .footer-wave { background: var(--trust-bg); }
.footer-wave svg { display: block; width: 100%; height: 64px; }
.footer-body { padding-top: 22px; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px 34px; padding-bottom: 44px; }
.f-col { min-width: 0; }
.f-name { margin: 0 0 12px; font-family: var(--font-head); font-weight: 700; font-size: 28px; line-height: 1.15; color: #fff; text-shadow: 1px 1px 0 var(--orange), 2px 2px 0 var(--orange-d), 3px 5px 8px rgba(0, 0, 0, .3); }
.f-about { margin: 0 0 16px; font-size: 15.5px; }
.f-title { margin: 0 0 14px; font-size: 19px; font-weight: 600; color: #fff; }
.f-menu { display: block; }
.f-menu li { display: block; }
.f-menu a {
	display: flex; align-items: center; min-height: 40px; padding: 4px 0; border-radius: 0; font-family: var(--font-body); font-weight: 700; font-size: 15.5px; color: #CBD3EA; background: none;
}
.f-menu a:hover { background: none; color: var(--butter); }
.f-menu a::before { content: ""; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--orange); flex: 0 0 auto; }
.f-menu .sub-menu { display: none; }
.soc-footer { margin-left: -6px; }

.pin-box {
	position: relative; padding: 26px 22px 24px; border-radius: 26px; color: #fff;
	background: linear-gradient(145deg, #FF4560, #E60023 55%, #C4001D);
	box-shadow: 0 4px 0 #A30018, 0 8px 0 #7C0012, 0 20px 30px rgba(0, 0, 0, .35);
}
.pin-box-icon { position: absolute; right: 18px; top: 16px; opacity: .22; }
.pin-box-icon .ic { width: 58px; height: 58px; }
.pin-box-title { margin: 0 0 8px; font-size: 22px; font-weight: 600; color: #fff; }
.pin-box p { margin: 0 0 18px; font-size: 15px; }

.footer-bottom { padding-block: 20px 26px; text-align: center; font-size: 14px; border-top: 2px dashed rgba(255, 255, 255, .14); }
.footer-bottom p { margin: 0; }

.to-top {
	position: fixed; right: 16px; bottom: 16px; z-index: 80; display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
	border: 0; border-radius: 50%; cursor: pointer; color: #fff;
	background: linear-gradient(180deg, #FF7A52, var(--orange));
	box-shadow: 0 2px 0 var(--orange-d), 0 4px 0 var(--orange-dd), 0 12px 18px rgba(31, 42, 68, .3);
	opacity: 0; visibility: hidden; translate: 0 12px; transition: opacity .25s, translate .25s, visibility 0s linear .25s;
}
.to-top.show { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.to-top:active { transform: translateY(4px); }

/* =====================================================================
   9. SCROLL ENTRANCE (CSS only, never hides content when unsupported)
   ===================================================================== */
@keyframes wfa-reveal {
	from { opacity: .2; translate: 0 46px; scale: .94; }
	to { opacity: 1; translate: 0 0; scale: 1; }
}
@supports (animation-timeline: view()) {
	.reveal {
		animation: wfa-reveal linear backwards;
		animation-timeline: view();
		animation-range: entry 0% entry 55%;
	}
}

/* =====================================================================
   10. RESPONSIVE  (nothing may be wider than the screen)
   ===================================================================== */
@media (max-width: 1180px) {
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tiles { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stage { --sc: .92; }
}
@media (max-width: 900px) {
	.hero { padding: 40px 0 84px; }
	.hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 8px; }
	.hero-text { margin-inline: auto; }
	.hero-btns { justify-content: center; }
	.stage { --sc: .9; }
}
@media (max-width: 820px) {
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.cat-arrow { display: none; }
	.stage { --sc: .8; }
	.sec { padding: 62px 0; }
	.topics { border-radius: 34px 34px 0 0; margin-top: -34px; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.grid, .trust-grid { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.hero-btns .btn { width: 100%; }
	.share-btn { flex: 1 1 100%; }
	.search-form .btn { padding-inline: 18px; }
	.stage { --sc: .72; }
	.cat-track { --cw: 190px; --gap: 14px; }
	.cat-ring { width: 124px; height: 124px; }
	.tile-in { min-height: 0; padding: 22px 18px; }
	.tile-img { width: 100px; height: 100px; border-width: 5px; }
	.tile-img .cat-letter { font-size: 44px; }
	.entry-content { font-size: 17px; }
	.comments-area { padding: 20px 16px; }
	.h3d { text-shadow: 1px 1px 0 #FFD3C2, 2px 2px 0 #FFAA8B, 3px 3px 0 #FA8C69, 4px 4px 0 #F4623A, 6px 9px 12px rgba(31, 42, 68, .26); }
	.h3d em { text-shadow: 1px 1px 0 #7EDDD1, 2px 2px 0 #26A99B, 3px 3px 0 #1B998B, 4px 4px 0 #147A6F, 6px 9px 12px rgba(14, 94, 85, .3); }
	.h3d-s { text-shadow: 1px 1px 0 #FFD3C2, 2px 2px 0 #FFAA8B, 3px 3px 0 #F4623A, 4px 6px 8px rgba(31, 42, 68, .24); }
}
@media (max-width: 420px) {
	.stage { --sc: .66; }
	.topbar-text { font-size: 13px; }
}
@media (max-width: 370px) {
	.stage { --sc: .6; }
	.cat-track { --cw: 176px; }
	.wrap { padding-inline: 16px; }
}

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