/* ==========================================================================
   Amin Glass — liquid glass base styles (navy / cream / gold).
   ========================================================================== */

:root {
	--navy-950: #0b1628;
	--navy-900: #10213a;
	--navy-700: #1f3a63;
	--cream-50: #fbf8f2;
	--cream-100: #f4ecdd;
	--cream-200: #e7d9be;
	--white: #ffffff;
	--line: #e0d3ba;
	--line-strong: #8a7f6c;
	--navy-line: rgba(226, 195, 132, 0.22);
	--ink: #13213a;
	--ink-muted: #4a5568;
	--on-navy: #f4efe6;
	--on-navy-muted: #aeb9cb;
	--on-navy-soft: #c3ccd9;
	--gold-300: #e2c384;
	--gold-400: #d4af63;
	--gold-500: #c59a45;
	--gold-700: #86601e;
	--danger: #a3322a;
	--success: #2e6b4e;
	--font: "Inter", "Segoe UI", sans-serif;
	--lg-blur: 22px;
	--lg-frost: 0.12;
	--wrap: 1200px;
	--header-h: 84px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--navy-950);
	color: var(--on-navy);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.95;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--gold-300); text-underline-offset: 3px; }
a:hover { color: var(--on-navy); }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }
.on-light :focus-visible { outline-color: var(--navy-700); }
.ag-icon { flex: none; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	top: 12px; inset-inline-start: 12px; padding: 10px 18px; border-radius: 12px;
	background: var(--gold-400); color: var(--navy-950); font-weight: 800; text-decoration: none;
}
.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-inline: 20px; }

/* ---------- liquid glass material ---------- */
.lg {
	position: relative;
	isolation: isolate;
	background: linear-gradient(150deg,
		rgba(255, 255, 255, calc(var(--lg-frost) + 0.07)) 0%,
		rgba(255, 255, 255, var(--lg-frost)) 40%,
		rgba(255, 255, 255, calc(var(--lg-frost) * 0.45)) 100%);
	-webkit-backdrop-filter: blur(var(--lg-blur)) saturate(165%);
	backdrop-filter: blur(var(--lg-blur)) saturate(165%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.42),
		inset 0 -1px 0 rgba(255, 255, 255, 0.08),
		inset 0 0 0 1px rgba(255, 255, 255, 0.1),
		0 1px 1px rgba(4, 9, 18, 0.2),
		0 24px 64px rgba(4, 9, 18, 0.42);
}
.lg::before { /* specular rim: white at the top, gold at the bottom */
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1.2px;
	background: linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.1) 26%, rgba(255, 255, 255, 0) 52%, rgba(226, 195, 132, 0.16) 76%, rgba(226, 195, 132, 0.6));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: -1;
}
.lg::after { /* soft highlight from the top corner */
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(120% 70% at 88% -12%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 56%);
	pointer-events: none;
	z-index: -1;
}
.lg-dark { background: linear-gradient(150deg, rgba(31, 58, 99, 0.5), rgba(11, 22, 40, 0.6) 55%, rgba(11, 22, 40, 0.72)); }
.lg-light {
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 1px 1px rgba(19, 33, 58, 0.06), 0 18px 48px rgba(19, 33, 58, 0.16);
	color: var(--ink);
}
.lg-light::before { background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.2) 40%, rgba(197, 154, 69, 0.3)); }
.chip { border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.lg, .lg-dark { background: rgba(16, 33, 58, 0.94); }
	.lg-light { background: rgba(255, 255, 255, 0.95); }
}

/* ---------- buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
	font-family: inherit; font-size: 16px; font-weight: 800; line-height: 1.2;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn .ag-icon { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-400); color: var(--navy-950); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(134, 96, 30, 0.22), 0 10px 28px rgba(212, 175, 99, 0.26); }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--gold-500); color: var(--navy-950); }
.btn-glass { color: var(--on-navy); }
.btn-glass:hover { color: var(--on-navy); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--cream-200); color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--gold-300); }
.more .ag-icon { width: 16px; height: 16px; transition: transform 0.2s ease; }
.more:hover .ag-icon { transform: translateX(-3px); }

/* ---------- type ---------- */
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--gold-300); }
.on-light .eyebrow { color: var(--gold-700); }
.h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.4; font-weight: 800; text-wrap: balance; }
.lead { margin: 0; font-size: clamp(17px, 1.4vw, 18px); line-height: 1.95; color: var(--on-navy-soft); max-width: 40rem; }
.on-light .lead { color: var(--ink-muted); }
.body-muted { margin: 0; color: var(--on-navy-soft); }
.callout { margin: 0; padding-inline-start: 16px; border-inline-start: 2px solid var(--gold-500); font-size: 20px; line-height: 1.75; font-weight: 700; color: var(--gold-300); }
.opt { font-weight: 500; color: var(--on-navy-muted); }

/* ---------- header ---------- */
.ag-header { position: fixed; top: 0; inset-inline: 0; z-index: 100; padding: 14px 16px 0; pointer-events: none; }
.admin-bar .ag-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ag-header { top: 46px; } }
.ag-nav {
	pointer-events: auto; max-width: var(--wrap); margin: 0 auto; border-radius: 999px;
	padding: 8px; padding-inline-start: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	transition: background-color 0.3s ease;
}
.ag-header.is-scrolled .ag-nav { background: linear-gradient(150deg, rgba(22, 42, 72, 0.9), rgba(11, 22, 40, 0.93)); }
.ag-brand { font-size: 19px; font-weight: 800; color: var(--on-navy); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; }
.ag-brand:hover { color: var(--on-navy); }
.ag-brand-logo { max-height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.94; }
.ag-nav-links { display: flex; align-items: center; }
.ag-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.ag-menu a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
	font-size: 15px; font-weight: 600; color: var(--on-navy-muted); text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.ag-menu a:hover, .ag-menu .current-menu-item > a, .ag-menu .current_page_item > a { color: var(--on-navy); background: rgba(255, 255, 255, 0.08); }
.ag-menu-cta { display: none; }
.ag-nav-actions { display: flex; align-items: center; gap: 8px; }
.ag-nav-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }
.ag-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; color: var(--on-navy); align-items: center; justify-content: center; cursor: pointer; font: inherit; padding: 0; }
.ag-burger-close { display: none; }

@media (max-width: 960px) {
	.ag-burger { display: inline-flex; }
	.ag-nav-links { display: none; }
	.ag-header.is-open .ag-nav-links {
		display: flex; flex-direction: column; align-items: stretch; gap: 4px;
		position: absolute; top: calc(100% + 10px); inset-inline: 0; padding: 12px; border-radius: 26px;
		background: rgba(11, 22, 40, 0.95); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 64px rgba(4, 9, 18, 0.5);
	}
	.ag-header.is-open .ag-menu { flex-direction: column; align-items: stretch; }
	.ag-header.is-open .ag-menu a { width: 100%; min-height: 48px; font-size: 16px; padding: 0 18px; }
	.ag-header.is-open .ag-menu-cta { display: inline-flex; margin-top: 6px; }
	.ag-header.is-open .ag-burger-open { display: none; }
	.ag-header.is-open .ag-burger-close { display: inline-flex; }
	.ag-burger-open, .ag-burger-close { align-items: center; justify-content: center; }
	.ag-burger-open { display: inline-flex; }
}
@media (max-width: 560px) { .ag-nav-cta { display: none; } }

/* ---------- section scaffolding ---------- */
.ag-section { position: relative; overflow: hidden; padding-block: clamp(72px, 8vw, 112px); }
.ag-section > .wrap { position: relative; }
.ag-plain { background: var(--navy-950); }
.ag-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ag-shade { position: absolute; inset: 0; }
.ag-shade-soft { background: linear-gradient(180deg, var(--navy-950) 0%, rgba(11, 22, 40, 0.46) 24%, rgba(11, 22, 40, 0.42) 74%, var(--navy-950) 100%); }
.ag-shade-top { background: linear-gradient(180deg, var(--navy-950) 0%, rgba(11, 22, 40, 0.45) 28%, rgba(11, 22, 40, 0.62) 100%); }
.ag-shade-side { background: linear-gradient(to left, rgba(11, 22, 40, 0.1) 25%, rgba(11, 22, 40, 0.62) 60%, rgba(11, 22, 40, 0.9) 100%), linear-gradient(180deg, var(--navy-950) 0%, rgba(11, 22, 40, 0) 18%, rgba(11, 22, 40, 0) 82%, var(--navy-950) 100%); }
.ag-head { display: flex; flex-direction: column; gap: 12px; max-width: 42rem; }
.ag-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.ag-head-row .ag-head { flex: 1 1 480px; min-width: 0; }
.ag-stack-48 { display: flex; flex-direction: column; gap: 48px; }
.ag-stack-40 { display: flex; flex-direction: column; gap: 40px; }
.ag-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- hero ---------- */
.ag-hero { position: relative; min-height: clamp(720px, 100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; }
.ag-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 66% 28%; }
.ag-hero-shade { position: absolute; inset: 0; background: linear-gradient(to left, rgba(11, 22, 40, 0) 28%, rgba(11, 22, 40, 0.5) 58%, rgba(11, 22, 40, 0.86) 100%), linear-gradient(to top, var(--navy-950) 0%, rgba(11, 22, 40, 0) 42%); }
.ag-hero-inner { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-block: 140px 64px; }
.ag-next { flex: 0 1 310px; display: flex; align-items: center; gap: 14px; padding: 14px; padding-inline-end: 20px; border-radius: 24px; text-decoration: none; color: var(--on-navy); }
.ag-next:hover { color: var(--on-navy); }
.ag-next-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: var(--gold-300); flex: none; }
.ag-next-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ag-next-label { font-size: 12.5px; font-weight: 700; line-height: 1.6; color: var(--gold-300); }
.ag-next-title { font-size: 15px; font-weight: 700; line-height: 1.6; }
.ag-next-meta { font-size: 13px; line-height: 1.6; color: var(--on-navy-muted); }
.ag-hero-card { flex: 0 1 600px; min-width: 0; border-radius: 32px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.ag-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-chips .chip { border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 700; line-height: 1.8; }
.ag-hero-title { margin: 0; font-size: clamp(44px, 6vw, 74px); line-height: 1.18; font-weight: 800; color: var(--on-navy); text-wrap: balance; }
.ag-hero-title span { color: var(--gold-300); }
.ag-hero-lead { margin: 0; max-width: 34rem; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.9; font-weight: 500; color: var(--on-navy-muted); }
.ag-hero-facts { display: flex; flex-wrap: wrap; gap: 16px 32px; padding-top: 18px; border-top: 1px solid var(--navy-line); }
.ag-hero-facts > div { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; }
.ag-hero-facts span { font-size: 12.5px; font-weight: 700; color: var(--on-navy-muted); }
.ag-hero-facts strong { font-size: 14.5px; font-weight: 700; line-height: 1.7; }

@media (max-width: 760px) {
	.ag-hero { display: block; min-height: 0; }
	.ag-hero-img { position: relative; height: 66svh; min-height: 420px; object-position: 70% 22%; }
	.ag-hero-shade { bottom: auto; height: 66svh; min-height: 420px; background: linear-gradient(to top, var(--navy-950) 0%, rgba(11, 22, 40, 0) 50%), linear-gradient(to bottom, rgba(11, 22, 40, 0.55) 0%, rgba(11, 22, 40, 0) 22%); }
	.ag-hero-inner { margin-top: -170px; padding-block: 0 48px; gap: 14px; }
	.ag-next, .ag-hero-card { flex-basis: 100%; }
	.ag-hero-card { border-radius: 28px; }
}

/* ---------- services ---------- */
.ag-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.ag-card { flex: 1 1 300px; min-width: 0; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.ag-card-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--gold-300); }
.ag-card h3 { margin: 4px 0 0; font-size: 21px; line-height: 1.65; font-weight: 800; }
.ag-card p { margin: 0; flex-grow: 1; font-size: 16px; line-height: 1.95; color: var(--on-navy-soft); }

/* ---------- method ---------- */
.ag-split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 80px); }
.ag-split-top { align-items: flex-start; }
.ag-split-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ag-offers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ag-offer { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 6px; padding-inline-end: 16px; font-size: 14px; font-weight: 700; }
.ag-q { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-300); color: var(--gold-300); font-weight: 800; line-height: 1; }
.ag-sheet { flex: 1 1 460px; min-width: 0; border-radius: 28px; overflow: hidden; }
.ag-sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 26px; border-bottom: 1px solid var(--navy-line); font-size: 14px; font-weight: 700; }
.ag-sheet-head span:last-child { color: var(--gold-300); }
.ag-sheet-row { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-bottom: 1px solid rgba(226, 195, 132, 0.14); }
.ag-sheet-row:last-child { border-bottom: 0; }
.ag-sheet-row > div { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }
.ag-sheet-row span { font-size: 13px; font-weight: 700; color: var(--gold-300); }
.ag-sheet-row strong { font-size: 18px; font-weight: 600; line-height: 1.75; }
.ag-tick { width: 26px; height: 26px; border-radius: 8px; flex: none; }

/* ---------- about ---------- */
.ag-about { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 7vw, 96px); }
.ag-portrait { position: relative; flex: 0 1 440px; min-width: 0; margin-inline: auto; }
.ag-portrait-glow { position: absolute; top: -72px; right: -72px; bottom: -72px; left: -72px; width: calc(100% + 144px); height: calc(100% + 144px); max-width: none; object-fit: cover; opacity: 0.9; -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 100%); mask-image: radial-gradient(closest-side, #000 52%, transparent 100%); }
.ag-portrait-frame { margin: 0; border-radius: 36px; padding: 12px; }
.ag-portrait-frame img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 26px; }
.ag-portrait-frame figcaption { position: absolute; left: 28px; right: 28px; bottom: 28px; border-radius: 20px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.ag-portrait-frame figcaption strong { font-size: 17px; font-weight: 800; line-height: 1.6; }
.ag-portrait-frame figcaption span { font-size: 13.5px; line-height: 1.7; color: var(--on-navy-muted); }
.ag-about-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ag-creds { margin: 0; border-radius: 24px; padding: 6px 24px; }
.ag-creds > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(226, 195, 132, 0.16); }
.ag-creds > div:last-child { border-bottom: 0; }
.ag-creds dt { font-size: 14px; font-weight: 600; color: var(--on-navy-muted); padding-top: 2px; }
.ag-creds dd { margin: 0; font-size: 16px; line-height: 1.85; }
@media (max-width: 480px) { .ag-creds > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- webinar ---------- */
.ag-webinar { padding-block: clamp(96px, 11vw, 140px); }
.ag-bg-photo { object-position: 58% 35%; }
.ag-end { display: flex; justify-content: flex-end; }
.ag-panel { flex: 0 1 620px; min-width: 0; border-radius: 32px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.ag-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--navy-line); border-radius: 18px; overflow: hidden; }
.ag-facts > div { background: rgba(11, 22, 40, 0.55); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.ag-facts .wide { grid-column: 1 / -1; }
.ag-facts dt { font-size: 12.5px; font-weight: 700; color: var(--on-navy-muted); }
.ag-facts dd { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.7; }
.ag-note { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.85; color: var(--on-navy-muted); }
.ag-note .ag-icon { margin-top: 4px; color: var(--gold-300); }
@media (max-width: 760px) {
	.ag-webinar { padding-top: 0; }
	.ag-webinar .ag-bg-photo { position: relative; height: 56svh; min-height: 360px; object-position: 62% 30%; }
	.ag-webinar .ag-shade-side { background: linear-gradient(to top, var(--navy-950) 0%, rgba(11, 22, 40, 0) 40%); height: 56svh; min-height: 360px; bottom: auto; }
	.ag-webinar .ag-end { margin-top: -120px; }
}

/* ---------- events (light) ---------- */
.ag-light-band { background: var(--cream-50); color: var(--ink); }
.ag-gallery { display: flex; flex-wrap: wrap; gap: 20px; }
.ag-shot { position: relative; flex: 1 1 320px; min-width: 0; height: clamp(320px, 38vw, 480px); margin: 0; border-radius: 28px; overflow: hidden; }
.ag-shot-wide { flex: 2 1 560px; }
.ag-shot img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ag-shot figcaption { position: absolute; right: 20px; bottom: 20px; max-width: calc(100% - 40px); border-radius: 18px; padding: 12px 18px; display: flex; flex-direction: column; gap: 2px; }
.ag-shot figcaption strong { font-size: 15px; font-weight: 800; line-height: 1.6; }
.ag-shot figcaption span { font-size: 13px; line-height: 1.6; color: var(--ink-muted); }

/* ---------- posts ---------- */
.ag-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.ag-post { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; min-width: 0; }
.ag-post-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.ag-post-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ag-post:hover .ag-post-media img { transform: scale(1.04); }
.ag-post-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px 26px; }
.ag-post-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; line-height: 1.6; color: var(--on-navy-muted); }
.ag-post-cat { font-weight: 700; color: var(--gold-300); }
.ag-post-title { margin: 0; font-size: 19px; line-height: 1.7; font-weight: 800; }
.ag-post-title a { color: inherit; text-decoration: none; }
.ag-post-title a:hover { color: var(--gold-300); }
.ag-post-excerpt { margin: 0; font-size: 15px; line-height: 1.9; color: var(--on-navy-soft); }
.ag-post-light { background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 22, 40, 0.05), 0 12px 32px rgba(11, 22, 40, 0.06); }
.ag-post-light .ag-post-meta, .ag-post-light .ag-post-excerpt { color: var(--ink-muted); }
.ag-post-light .ag-post-cat { color: var(--gold-700); }
.ag-post-light .ag-post-title a:hover { color: var(--navy-700); }

/* ---------- contact ---------- */
.ag-contacts { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ag-contact { display: flex; align-items: center; gap: 14px; border-radius: 20px; padding: 12px 16px; color: var(--on-navy); text-decoration: none; }
.ag-contact:hover { color: var(--on-navy); }
.ag-contact .chip { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-300); flex: none; }
.ag-contact > span:last-child { display: flex; flex-direction: column; }
.ag-contact small { font-size: 12.5px; font-weight: 700; color: var(--on-navy-muted); }
.ag-contact strong { font-size: 15px; font-weight: 700; }
.ag-form-wrap { flex: 1 1 460px; min-width: 0; border-radius: 32px; padding: clamp(24px, 3.5vw, 36px); }
.ag-form { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.ag-form-head { display: flex; flex-direction: column; gap: 2px; }
.ag-form-title { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.6; }
.ag-form-sub { margin: 0; font-size: 14.5px; color: var(--on-navy-muted); }
.ag-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ag-field-row > .ag-field { flex: 1 1 200px; }
.ag-field label { font-size: 14.5px; font-weight: 700; }
.ag-field-row { display: flex; flex-wrap: wrap; gap: 18px; }
.fld {
	display: block; width: 100%; min-height: 52px; margin: 0; padding: 12px 16px; border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.07); color: var(--on-navy);
	font-family: inherit; font-size: 16px; line-height: 1.6;
}
.fld::placeholder { color: var(--on-navy-muted); opacity: 1; }
.fld:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 2px; border-color: var(--gold-300); }
input.fld[dir="ltr"] { text-align: left; }
textarea.fld { min-height: 112px; resize: vertical; }
.ag-select { position: relative; }
.ag-select select.fld { appearance: none; -webkit-appearance: none; padding-left: 44px; cursor: pointer; }
.ag-select select.fld option { color: var(--ink); }
.ag-select svg { position: absolute; left: 16px; top: 50%; margin-top: -8px; pointer-events: none; color: var(--on-navy-muted); }
.ag-field.is-invalid .fld { border-color: #ff9a8f; }
.ag-form-error { margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(163, 50, 42, 0.28); border: 1px solid rgba(255, 154, 143, 0.55); color: #ffe1dc; font-size: 14.5px; font-weight: 600; line-height: 1.8; }
.ag-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ag-consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.8; cursor: pointer; }
.ag-consent input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--gold-400); }
.ag-submit { width: 100%; min-height: 56px; font-size: 17px; }
.ag-privacy { margin: 0; font-size: 13px; line-height: 1.8; color: var(--on-navy-muted); }
.ag-success { display: flex; flex-direction: column; gap: 14px; }
.ag-success:focus { outline: none; }
.ag-success p { margin: 0; color: var(--on-navy-soft); }
.ag-success .ag-success-title { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 800; color: #9fdcbc; }

/* ---------- footer ---------- */
.ag-footer { padding: 0 16px 24px; background: var(--navy-950); }
.ag-inner .ag-footer { padding-top: 24px; }
.ag-footer-card { max-width: var(--wrap); margin: 0 auto; border-radius: 28px; padding: 28px clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.ag-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.ag-footer-brand { display: flex; flex-direction: column; gap: 2px; }
.ag-footer-name { font-size: 20px; font-weight: 800; }
.ag-footer-tag { font-size: 14px; color: var(--on-navy-muted); }
.ag-menu-footer { flex-wrap: wrap; }
.ag-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid rgba(226, 195, 132, 0.18); font-size: 13px; line-height: 1.8; color: var(--on-navy-muted); }

/* ==========================================================================
   Inner pages: navy title band + light reading area
   ========================================================================== */
.ag-pagehead { position: relative; overflow: hidden; padding-block: 136px 56px; }
.ag-pagehead > .wrap { position: relative; }
.ag-pagehead-card { max-width: 860px; border-radius: 30px; padding: clamp(22px, 3.4vw, 36px); display: flex; flex-direction: column; gap: 8px; }
.ag-pagehead-title { margin: 0; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.45; font-weight: 800; text-wrap: balance; }
.ag-pagehead-meta { margin: 0; font-size: 14.5px; color: var(--on-navy-muted); }
.ag-pagehead-meta a { color: var(--gold-300); }
.ag-main { background: var(--navy-950); color: var(--on-navy); padding-block: 56px 96px; }
.ag-main-flush { padding-top: 104px; }
.admin-bar .ag-main-flush { padding-top: 136px; }
.ag-main-nopad { padding-bottom: 0; }
.ag-main a { color: var(--gold-300); }
.ag-main a:hover { color: var(--on-navy); }
.ag-main a.btn-gold, .ag-main .btn-gold { color: var(--navy-950); }
.ag-main a.btn-glass { color: var(--on-navy); }

.ag-entry { font-size: 17px; line-height: 2; }
.ag-entry-narrow { max-width: 46rem; margin-inline: auto; }
.ag-entry-full { max-width: none; }
.ag-entry > * { margin-block: 0 1.1em; }
.ag-entry-full > * { margin-block: 0; }
.ag-entry h2, .ag-entry h3, .ag-entry h4 { line-height: 1.6; font-weight: 800; margin-block: 1.8em 0.6em; }
.ag-entry h2 { font-size: clamp(22px, 2.4vw, 28px); }
.ag-entry h3 { font-size: 21px; }
.ag-entry h4 { font-size: 18px; }
.ag-entry ul, .ag-entry ol { padding-inline-start: 1.4em; }
.ag-entry li { margin-bottom: 0.4em; }
.ag-entry li::marker { color: var(--gold-400); }
.ag-entry blockquote { margin-inline: 0; padding: 16px 20px; border-inline-start: 3px solid var(--gold-500); background: rgba(255, 255, 255, 0.05); border-radius: 14px; font-weight: 600; }
.ag-entry img { border-radius: 16px; }
.ag-entry figure { margin-inline: 0; }
.ag-entry figcaption { font-size: 14px; color: var(--on-navy-muted); text-align: center; margin-top: 8px; }
.ag-entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ag-entry th, .ag-entry td { border-bottom: 1px solid var(--navy-line); padding: 10px 12px; text-align: start; }
.ag-entry hr { border: 0; border-top: 1px solid var(--navy-line); }
.ag-entry .alignwide { max-width: var(--wrap); margin-inline: auto; }
.ag-entry .alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.ag-entry-full .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.ag-entry .kb-button, .ag-entry .kt-button { border-radius: 999px; font-weight: 800; }
.ag-entry .wp-block-button__link { border-radius: 999px; background: var(--gold-400); color: var(--navy-950); font-weight: 800; }

.ag-article-cover { max-width: 980px; margin: 0 auto 40px; border-radius: 26px; overflow: hidden; }
.ag-article-cover img { display: block; width: 100%; height: auto; }
.ag-tags { max-width: 46rem; margin: 32px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ag-tags a { font-size: 13.5px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); text-decoration: none; color: var(--on-navy); }
.ag-postnav { max-width: 46rem; margin: 40px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.ag-postnav-item a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); text-decoration: none; color: var(--on-navy); }
.ag-postnav-item a:hover { border-color: var(--gold-300); color: var(--on-navy); }
.ag-postnav-item small { font-size: 12.5px; font-weight: 700; color: var(--gold-300); }
.ag-postnav-item span { font-weight: 700; line-height: 1.7; }

.ag-comments { max-width: 46rem; margin: 56px auto 0; }
.ag-comments-title { font-size: 21px; font-weight: 800; margin: 0 0 16px; }
.ag-comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.ag-comment-list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
.ag-comments input[type="text"], .ag-comments input[type="email"], .ag-comments input[type="url"], .ag-comments textarea,
.ag-empty input[type="search"] {
	width: 100%; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 14px; background: rgba(255, 255, 255, 0.07);
	font-family: inherit; font-size: 16px; color: var(--on-navy);
}
.ag-comments label { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }

.ag-empty { max-width: 40rem; display: flex; flex-direction: column; gap: 18px; }
.ag-empty p { margin: 0; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form .search-submit { min-height: 48px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--gold-400); color: var(--navy-950); font-family: inherit; font-weight: 800; cursor: pointer; }

.ag-pagination { margin-top: 48px; }
.ag-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ag-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18); text-decoration: none; color: var(--on-navy); font-weight: 700; }
.ag-pagination .page-numbers.current { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-950); }

/* WooCommerce on the dark ground */
.ag-woo .woocommerce-breadcrumb { font-size: 14px; color: var(--on-navy-muted); }
.ag-woo .woocommerce-breadcrumb a { color: var(--on-navy-muted); }
.woocommerce-page .ag-main a.button, .woocommerce-page .ag-main button.button, .woocommerce-page .ag-main input.button, .woocommerce-page .ag-main #respond input#submit {
	border-radius: 999px; background: var(--gold-400); color: var(--navy-950); font-family: inherit; font-weight: 800; padding: 12px 22px;
}
.woocommerce-page .ag-main a.button:hover, .woocommerce-page .ag-main button.button:hover { background: var(--gold-500); color: var(--navy-950); }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce div.product .product_title { font-family: inherit; font-weight: 800; color: var(--on-navy); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--gold-300); font-weight: 700; }
.woocommerce ul.products li.product a img { border-radius: 18px; }
.woocommerce-page .ag-main table.shop_table { border-color: var(--navy-line); }
.woocommerce-page .ag-main .woocommerce-info, .woocommerce-page .ag-main .woocommerce-message, .woocommerce-page .ag-main .woocommerce-error { background: rgba(255, 255, 255, 0.06); color: var(--on-navy); border-top-color: var(--gold-400); }
.woocommerce-page .ag-main .input-text, .woocommerce-page .ag-main select { background: rgba(255, 255, 255, 0.07); color: var(--on-navy); border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 12px; padding: 10px 14px; }

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

/* ---------- round 2 ---------- */
/* WooCommerce sets ".woocommerce img { height:auto }": keep background photos covering their box. */
body img.ag-bg, body img.ag-hero-img, body img.ag-portrait-glow, body .ag-shot img { height: 100%; max-width: none; }
.ag-footer-name { display: inline-flex; align-items: center; color: var(--on-navy); text-decoration: none; }
.ag-footer-name:hover { color: var(--on-navy); }
.ag-footer-logo { max-height: 52px; }
.ag-achieve { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ag-achieve li { position: relative; padding-inline-start: 16px; line-height: 1.85; }
.ag-achieve li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.85em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); }
.ag-course-media { aspect-ratio: 1 / 1; }
.ag-course .ag-post-body { flex: 1 1 auto; }
.ag-course .ag-post-title { flex-grow: 1; }
.ag-course-price { margin: 0; font-size: 16px; font-weight: 700; color: var(--gold-300); }
.ag-course-price del { opacity: 0.6; font-weight: 500; }
.ag-course-price ins { text-decoration: none; }

/* ---------- round 3: WooCommerce course pages ---------- */
.ag-woo { --card-bg: linear-gradient(150deg, rgba(31, 58, 99, 0.42), rgba(11, 22, 40, 0.6)); }
.woocommerce .ag-woo .woocommerce-products-header__title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0 0 12px; }
.woocommerce .ag-woo .woocommerce-result-count { margin: 0 0 24px; color: var(--on-navy-muted); font-size: 14.5px; }
.woocommerce .ag-woo .woocommerce-ordering { margin: 0 0 24px; }
.woocommerce .ag-woo .woocommerce-ordering select { min-height: 44px; padding: 0 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); color: var(--on-navy); border: 1px solid rgba(255, 255, 255, 0.35); font-family: inherit; }
.woocommerce .ag-woo .woocommerce-ordering select option { color: var(--ink); }

/* product grid: even glass cards, button pinned to the bottom */
.woocommerce .ag-main ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; margin: 0 0 32px; padding: 0; clear: both; }
.woocommerce .ag-main ul.products::before, .woocommerce .ag-main ul.products::after { display: none; }
.woocommerce .ag-main ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; padding: 12px 12px 20px; position: relative;
	display: flex; flex-direction: column; border-radius: 24px; background: var(--card-bg);
	border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 44px rgba(4, 9, 18, 0.35);
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.woocommerce .ag-main ul.products li.product:hover { border-color: rgba(226, 195, 132, 0.5); transform: translateY(-2px); }
.woocommerce .ag-main ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1 1 auto; color: var(--on-navy); text-decoration: none; }
.woocommerce .ag-main ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; margin: 0 0 14px; border-radius: 16px; }
.woocommerce .ag-main ul.products li.product .woocommerce-loop-product__title { padding: 0 8px; margin: 0 0 8px; font-size: 16.5px; line-height: 1.75; font-weight: 800; flex: 1 1 auto; }
.woocommerce .ag-main ul.products li.product .price { padding: 0 8px; margin: 0 0 14px; font-size: 15px; color: var(--gold-300); }
.woocommerce .ag-main ul.products li.product .button { margin: 0 8px; align-self: stretch; text-align: center; display: flex; align-items: center; justify-content: center; min-height: 46px; }
.woocommerce .ag-main ul.products li.product .onsale { top: 20px; right: 20px; left: auto; margin: 0; min-height: 0; min-width: 0; padding: 2px 12px; border-radius: 999px; background: var(--gold-400); color: var(--navy-950); font-weight: 800; line-height: 1.8; }
.woocommerce .ag-main ul.products li.product.outofstock .button { background: rgba(255, 255, 255, 0.08); color: var(--on-navy); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }

/* single course: summary card + gallery, then tabs and related, full width */
.woocommerce .ag-main div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 40px; align-items: start; }
.woocommerce .ag-main div.product > * { grid-column: 1 / -1; }
.woocommerce .ag-main div.product div.images, .woocommerce .ag-main div.product div.summary { grid-column: auto; float: none; width: auto; margin: 0; }
.woocommerce .ag-main div.product div.summary {
	order: -1; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: 28px;
	background: var(--card-bg); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 24px 60px rgba(4, 9, 18, 0.4);
}
.woocommerce .ag-main div.product div.summary > * { margin: 0; }
.woocommerce .ag-main div.product p.price { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; color: var(--gold-300); }
.woocommerce .ag-main div.product .woocommerce-product-details__short-description { color: var(--on-navy-soft); }
.woocommerce .ag-main div.product .stock { font-weight: 700; font-size: 15px; }
.woocommerce .ag-main div.product .stock.out-of-stock { color: #ffb4aa; }
.woocommerce .ag-main div.product .stock.in-stock { color: #9fdcbc; }
.woocommerce .ag-main div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.woocommerce .ag-main div.product form.cart .quantity { display: none; }
.woocommerce .ag-main div.product form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 54px; font-size: 17px; }
.woocommerce .ag-main div.product .product_meta { padding-top: 14px; border-top: 1px solid var(--navy-line); font-size: 14px; color: var(--on-navy-muted); }
.woocommerce .ag-main div.product .product_meta a { color: var(--gold-300); }
.ag-course-next { display: flex; flex-wrap: wrap; gap: 12px; }
.ag-course-next .btn { flex: 1 1 200px; }
.ag-course-full { flex: 1 1 100%; margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 15px; line-height: 1.85; color: var(--on-navy-soft); }
.woocommerce .ag-main div.product div.images { position: relative; }
.woocommerce .ag-main div.product div.images img { border-radius: 24px; }
.woocommerce .ag-main div.product div.images .woocommerce-product-gallery__trigger { top: 16px; left: 16px; right: auto; }
.woocommerce .ag-main div.product div.images .flex-control-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.woocommerce .ag-main div.product div.images .flex-control-thumbs li { width: 72px; float: none; }

/* tabs */
.woocommerce .ag-main div.product .woocommerce-tabs { margin-top: 16px; }
.woocommerce .ag-main div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; overflow: visible; }
.woocommerce .ag-main div.product .woocommerce-tabs ul.tabs::before, .woocommerce .ag-main div.product .woocommerce-tabs ul.tabs li::before, .woocommerce .ag-main div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce .ag-main div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.woocommerce .ag-main div.product .woocommerce-tabs ul.tabs li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; color: var(--on-navy-muted); font-weight: 700; }
.woocommerce .ag-main div.product .woocommerce-tabs ul.tabs li.active { background: var(--gold-400); border-color: var(--gold-400); }
.woocommerce .ag-main div.product .woocommerce-tabs ul.tabs li.active a { color: var(--navy-950); }
.woocommerce .ag-main div.product .woocommerce-tabs .panel {
	margin: 0; padding: clamp(20px, 3.4vw, 40px); border-radius: 28px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.1);
	line-height: 2;
}
.woocommerce .ag-main div.product .woocommerce-tabs .panel > * { max-width: 52rem; }
.woocommerce .ag-main div.product .woocommerce-tabs .panel > h2:first-child { font-size: 20px; color: var(--gold-300); margin-top: 0; }
.woocommerce .ag-main div.product .woocommerce-tabs .panel h2, .woocommerce .ag-main div.product .woocommerce-tabs .panel h3 { line-height: 1.6; margin: 1.6em 0 0.6em; }
.woocommerce .ag-main div.product .woocommerce-tabs .panel ul { padding-inline-start: 1.3em; }
.woocommerce .ag-main div.product .woocommerce-tabs .panel li::marker { color: var(--gold-400); }
.woocommerce .ag-main div.product .woocommerce-tabs .panel .wp-video, .woocommerce .ag-main div.product .woocommerce-tabs .panel video { max-width: 100%; border-radius: 18px; overflow: hidden; }
.woocommerce .ag-main #reviews #comments h2, .woocommerce .ag-main #reviews .comment-reply-title { font-size: 18px; font-weight: 800; }
.woocommerce .ag-main #review_form input, .woocommerce .ag-main #review_form textarea { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.07); color: var(--on-navy); font-family: inherit; }
.woocommerce .ag-main #review_form input[type="submit"] { width: auto; background: var(--gold-400); color: var(--navy-950); border: 0; border-radius: 999px; font-weight: 800; padding: 12px 26px; }

/* related courses */
.woocommerce .ag-main div.product .related > h2, .woocommerce .ag-main div.product .upsells > h2 { font-size: 22px; font-weight: 800; margin: 24px 0 16px; }

@media (max-width: 860px) {
	.woocommerce .ag-main div.product { grid-template-columns: minmax(0, 1fr); }
	.woocommerce .ag-main div.product div.summary { order: 0; }
}

/* ---------- prices: number first, then «تومان» ---------- */
.woocommerce-Price-amount, .woocommerce-Price-amount bdi { direction: rtl; unicode-bidi: isolate; }
.woocommerce-Price-currencySymbol { margin-inline-start: 0.2em; }

/* ---------- empty spacers in course descriptions and posts ---------- */
.woocommerce-Tabs-panel > br, .ag-entry-narrow > br { display: none; }
.woocommerce-Tabs-panel p:empty, .ag-entry-narrow p:empty { display: none; }
