/*
Theme Name: GlobeAyush
Theme URI: https://globeayush.com/
Author: GlobeAyush
Description: Lightweight theme for GlobeAyush: one promise, three doors (patients, students, hospital owners). Pairs with the GlobeAyush Core plugin.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: globeayush
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #1c2b24;          /* neem ink: text */
	--leaf: #2e6a4e;         /* leaf: links, accents */
	--leaf-deep: #1f4d38;    /* deep leaf: dark bands */
	--haldi: #d99a1e;        /* turmeric: fills and rules only, never small text */
	--haldi-soft: #f6e3b4;
	--paper: #f5f7f2;        /* cool paper */
	--mist: #e3ebe4;
	--line: #cfdbd2;
	--muted: #56675e;
	--white: #fff;

	--display: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", Georgia, serif;
	--body: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;

	--step--1: .875rem;
	--step-0: 1.125rem;
	--step-1: 1.35rem;
	--step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
	--step-3: clamp(2rem, 1.5rem + 2.2vw, 3rem);
	--step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem);

	--radius: 14px;
	--gutter: clamp(1.1rem, 4vw, 2.5rem);
	--shadow: 0 1px 2px rgba(28, 43, 36, .06), 0 8px 24px rgba(28, 43, 36, .06);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 var(--step-0)/1.7 var(--body);
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--leaf); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--leaf-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--haldi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.15; letter-spacing: -.005em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--white); padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

.site-main { overflow-x: clip; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(720px + 2 * var(--gutter)); }
.wrap--wide { max-width: calc(980px + 2 * var(--gutter)); }

.eyebrow {
	font: 500 var(--step--1)/1.3 var(--body);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--leaf);
	margin-bottom: .9rem;
}
.eyebrow a { text-decoration: none; }

.button, .ga-button, .ga-newsletter button, .search-form button, .wpcf7-submit, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .75rem 1.4rem;
	border: 0; border-radius: 999px;
	background: var(--leaf); color: var(--white);
	font: 500 1rem/1.2 var(--body);
	text-decoration: none; cursor: pointer;
	transition: background-color .2s ease;
}
.button:hover, .ga-button:hover, .ga-newsletter button:hover, .search-form button:hover, .wpcf7-submit:hover, .comment-form .submit:hover { background: var(--leaf-deep); color: var(--white); }

input[type="text"], input[type="email"], input[type="search"], input[type="url"], input[type="tel"], textarea, select {
	width: 100%;
	padding: .7rem .9rem;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font: 400 1rem/1.4 var(--body);
}
input:focus, textarea:focus, select:focus { border-color: var(--leaf); outline: none; box-shadow: 0 0 0 3px rgba(46, 106, 78, .18); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 40;
	background: rgba(245, 247, 242, .94);
	backdrop-filter: saturate(1.2) blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { font: 400 1.7rem/1 var(--display); text-decoration: none; color: var(--ink); margin: 0; }
.brand:hover { color: var(--ink); }
.brand__ayush { color: var(--leaf); }
.brand--logo img { max-height: 56px; width: auto; display: block; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; flex-wrap: wrap; }
.nav__list a, .nav .menu a {
	display: block; padding: .5rem .8rem; border-radius: 999px;
	color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem;
}
.nav__list a:hover, .nav__list a[aria-current="page"], .nav .current-menu-item > a { background: var(--mist); color: var(--leaf-deep); }
.nav__list .sub-menu { list-style: none; padding: 0; }
.nav__search { display: inline-flex; padding: .55rem; border-radius: 999px; color: var(--ink); }
.nav__search:hover { background: var(--mist); color: var(--leaf-deep); }
.nav__search svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-flex; align-items: center; gap: .55rem; margin-left: auto;
		padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 999px;
		background: var(--white); color: var(--ink); font: 500 1rem/1 var(--body); cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.js .nav { display: none; }
	.nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: .75rem var(--gutter) 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); margin: 0; }
	.js .nav.is-open { display: flex; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: .8rem .6rem; border-radius: 10px; font-size: 1.1rem; }
	.nav__search { align-self: flex-start; }
	.site-header__inner { position: relative; }
}

/* ---------- Homepage hero + doors (signature) ---------- */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.hero::before {
	/* a faint arch echo behind the headline */
	content: ""; position: absolute; right: -8vw; top: -10vw;
	width: min(56vw, 640px); aspect-ratio: 3 / 4;
	border-radius: 50% 50% 0 0 / 38% 38% 0 0;
	background: linear-gradient(180deg, var(--mist), rgba(227, 235, 228, 0));
	pointer-events: none;
}
.hero__inner { position: relative; }
.hero__title { font-size: var(--step-4); max-width: 17ch; margin-bottom: 1.25rem; }
.hero__sub { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 52ch; margin: 0; }

.doors-wrap { position: relative; margin-top: clamp(2.5rem, 6vw, 4rem); }
.doors-q { font-size: var(--step-2); margin-bottom: 1.5rem; }
.ga-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.ga-door {
	position: relative; isolation: isolate;
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 3.4rem 1.6rem 1.8rem;
	min-height: 100%;
	color: var(--ink); text-decoration: none;
	background: var(--white);
	border: 1.5px solid var(--line);
	border-radius: 50% 50% var(--radius) var(--radius) / 120px 120px var(--radius) var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: border-color .25s ease, transform .25s ease;
}
.ga-door::before {
	/* turmeric light rising from the threshold on hover */
	content: ""; position: absolute; inset: auto 0 0 0; height: 0; z-index: -1;
	background: linear-gradient(0deg, var(--haldi-soft), rgba(246, 227, 180, 0));
	transition: height .35s ease;
}
.ga-door:hover, .ga-door:focus-visible { border-color: var(--leaf); color: var(--ink); transform: translateY(-3px); }
.ga-door:hover::before, .ga-door:focus-visible::before { height: 70%; }
.ga-door__arch {
	display: grid; place-items: center;
	width: 84px; height: 100px; margin-bottom: 1.25rem;
	border-radius: 50% 50% 8px 8px / 42px 42px 8px 8px;
	background: var(--mist); color: var(--leaf);
}
.ga-motif { width: 46px; height: 46px; }
.ga-door__label { font: 400 var(--step-2)/1.15 var(--display); margin-bottom: .6rem; }
.ga-door__text { color: var(--muted); font-size: 1rem; line-height: 1.6; margin-bottom: 1.25rem; }
.ga-door__cta { margin-top: auto; font-weight: 700; color: var(--leaf); }
.ga-door--hospitals .ga-door__arch { background: var(--haldi-soft); color: var(--leaf-deep); }
.doors-wrap--plain { margin-bottom: 4rem; }

@media (max-width: 860px) {
	.ga-doors { grid-template-columns: 1fr; }
	.ga-door {
		display: grid; grid-template-columns: 64px 1fr; column-gap: 1.1rem; align-items: start;
		text-align: left; padding: 1.25rem; border-radius: var(--radius);
	}
	.ga-door__arch { grid-row: 1 / span 3; width: 64px; height: 76px; margin: 0; border-radius: 50% 50% 6px 6px / 32px 32px 6px 6px; }
	.ga-motif { width: 34px; height: 34px; }
	.ga-door__label { font-size: var(--step-1); margin-bottom: .3rem; }
	.ga-door__text { margin-bottom: .6rem; }
}

/* ---------- Bands ---------- */
.band { padding: clamp(3rem, 7vw, 5rem) 0; }
.band--trust { background: var(--white); border-block: 1px solid var(--line); }
.band--herbs { background: var(--white); border-top: 1px solid var(--line); }
.band--close { background: var(--leaf-deep); color: var(--white); }
.band--related { background: var(--white); border-top: 1px solid var(--line); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head__title { font-size: var(--step-3); margin: 0; }
.section-head__link { font-weight: 700; text-decoration: none; }

.close { text-align: center; max-width: 720px; }
.close__title { color: var(--white); font-size: var(--step-3); }
.close__text { color: rgba(255, 255, 255, .82); font-size: var(--step-1); margin-bottom: 1.75rem; }
.band--close .button { background: var(--haldi); color: var(--ink); }
.band--close .button:hover { background: var(--haldi-soft); color: var(--ink); }

/* Founder strip */
.ga-founder { display: flex; gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center; }
.ga-founder__photo {
	flex: none; width: 150px; height: 180px; object-fit: cover;
	border-radius: 50% 50% 12px 12px / 75px 75px 12px 12px;
}
.ga-founder__eyebrow { font: 500 var(--step--1)/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); margin-bottom: .4rem; }
.ga-founder__name { font: 400 var(--step-3)/1.1 var(--display); margin-bottom: .35rem; }
.ga-founder__role { color: var(--muted); font-size: var(--step-1); margin-bottom: .75rem; }
.ga-founder__facts { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.ga-founder__facts li { padding: .25rem .8rem; border-radius: 999px; background: var(--mist); font-size: .95rem; }
.ga-founder__bio { max-width: 62ch; margin-bottom: .5rem; }
.ga-founder__badge { font-weight: 700; color: var(--leaf-deep); margin: 0; }
@media (max-width: 600px) { .ga-founder { flex-direction: column; align-items: flex-start; } }

/* ---------- Cards ---------- */
.cards, .ga-cards { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards--three { grid-template-columns: 1fr; } }
.card { min-width: 0; }
.card__link {
	display: flex; flex-direction: column; height: 100%;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; color: var(--ink); text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.card__link:hover { border-color: var(--leaf); box-shadow: var(--shadow); color: var(--ink); }
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.card__media--empty { display: grid; place-items: center; color: var(--leaf); }
.card__media--empty .ga-motif { width: 56px; height: 56px; opacity: .55; }
.card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card__link:hover .card__img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.25rem 1.3rem; flex: 1; }
.card__label { align-self: flex-start; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-deep); background: var(--mist); padding: .15rem .6rem; border-radius: 999px; }
.card__title { font: 400 var(--step-1)/1.25 var(--display); margin: 0; }
.card__meta { margin-top: auto; font-size: .92rem; color: var(--muted); }

.ga-more { margin-top: 1.25rem; font-weight: 700; }
.ga-more a { text-decoration: none; }
.ga-empty, .empty { color: var(--muted); }

/* ---------- Herbs ---------- */
.ga-herbs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.ga-herb { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; padding: 1rem .75rem 1.1rem; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.ga-herb:hover { background: var(--mist); color: var(--ink); }
.ga-herb__img { width: 120px; height: 140px; object-fit: cover; border-radius: 50% 50% 10px 10px / 60px 60px 10px 10px; margin-bottom: .6rem; }
.ga-herb__name { font: 400 var(--step-1)/1.2 var(--display); }
.ga-herb__hindi { font-family: var(--display); color: var(--leaf); }
.ga-herb__latin, .ga-latin { font-style: italic; color: var(--muted); font-size: .95rem; }

.herb__head-inner { display: flex; gap: 2rem; align-items: center; }
.herb__arch img { width: 180px; height: 220px; object-fit: cover; border-radius: 50% 50% 12px 12px / 90px 90px 12px 12px; display: block; }
.herb__hindi { display: block; font-size: .6em; color: var(--leaf); margin-top: .2em; }
.ga-facts { display: grid; grid-template-columns: max-content 1fr; gap: .1rem 1.5rem; margin: 0 0 2rem; padding: 1.25rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.ga-facts__row { display: contents; }
.ga-facts dt { font-weight: 700; color: var(--leaf-deep); padding: .35rem 0; }
.ga-facts dd { margin: 0; padding: .35rem 0; }
@media (max-width: 600px) {
	.herb__head-inner { flex-direction: column; align-items: flex-start; }
	.ga-facts { grid-template-columns: 1fr; }
	.ga-facts dt { padding-bottom: 0; }
}

/* ---------- Page header ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.75rem, 4vw, 2.75rem); }
.page-head__title { font-size: var(--step-4); max-width: 22ch; margin-bottom: .6rem; }
.page-head__sub { font-size: var(--step-1); color: var(--muted); max-width: 60ch; margin: 0; }
.page-body { padding-bottom: clamp(3rem, 7vw, 5rem); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters__item { padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 500; }
.filters__item:hover, .filters__item[aria-current="page"] { border-color: var(--leaf); color: var(--leaf-deep); }
.filters__count { color: var(--muted); font-size: .9em; }

.pagination { margin: 2.5rem 0 4rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.pagination .page-numbers { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); }
.pagination .page-numbers.current { background: var(--leaf); border-color: var(--leaf); color: var(--white); }
.site-main > .wrap > .cards:last-child { margin-bottom: 4rem; }

.search-form { display: flex; gap: .5rem; margin: 0 0 2rem; }
.search-form input { flex: 1; }

/* ---------- Article ---------- */
.article__head { padding: clamp(2.5rem, 6vw, 4rem) 0 1.75rem; }
.article__title { font-size: var(--step-3); }
.article__meta { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: 1rem; margin: 0; }
.article__hero { margin: 0 auto 2.25rem; }
.article__hero img { width: 100%; border-radius: var(--radius); display: block; }
.article__body { padding-bottom: 2rem; }
.article__foot { padding-bottom: 3rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags a { display: inline-block; padding: .2rem .75rem; border-radius: 999px; background: var(--mist); text-decoration: none; font-size: .92rem; }

/* Long-form text */
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8em; }
.prose h4 { font: 700 1.05rem/1.4 var(--body); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--leaf); }
.prose img { border-radius: 10px; }
.prose figure { margin: 1.75em 0; }
.prose figcaption { font-size: .92rem; color: var(--muted); margin-top: .5em; }
.prose blockquote { margin: 1.5em 0; padding: .25em 0 .25em 1.25em; border-left: 3px solid var(--haldi); font-family: var(--display); font-size: var(--step-1); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose .ga-lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink); }
.table-scroll { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.prose table { border-collapse: collapse; width: 100%; font-size: .98rem; }
.prose th, .prose td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--mist); font-weight: 700; }
.prose .wp-block-table { margin: 1.5em 0; }
.prose .simpletoc, .prose .wp-block-simpletoc-toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.prose .simpletoc-title, .prose .wp-block-simpletoc-toc h2 { margin-top: 0; font-size: var(--step-1); }
.prose .services li, .prose .ga-services li { margin-bottom: .6em; }
.ga-steps { counter-reset: step; list-style: none; padding: 0 !important; display: grid; gap: .75rem; }
.ga-steps li { counter-increment: step; position: relative; padding: 1rem 1.25rem 1rem 3.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.ga-steps li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1rem; width: 1.9rem; height: 1.9rem; border-radius: 999px; background: var(--haldi-soft); color: var(--leaf-deep); font-weight: 700; display: grid; place-items: center; }

.ga-consult { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 1.5em 0; }
.ga-consult__mode { color: var(--muted); }
.ga-disclaimer { margin: 2.5rem 0 0; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--haldi); border-radius: 10px; font-size: .98rem; color: var(--muted); }
.ga-disclaimer strong { color: var(--ink); }

.contact-list { list-style: none; padding: 0 !important; display: grid; gap: .5rem; }
.contact-list li { display: flex; gap: 1rem; }
.contact-list span { min-width: 7rem; color: var(--muted); }
.wpcf7 form p { margin-bottom: 1rem; }
.wpcf7 label { display: block; font-weight: 500; }

/* ---------- Comments ---------- */
.comments-wrap { padding-bottom: 4rem; }
.comments { border-top: 1px solid var(--line); padding-top: 2rem; }
.comments__title { font-size: var(--step-2); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { margin-bottom: 1.5rem; }
.comment-list .children { list-style: none; padding-left: 1.5rem; border-left: 2px solid var(--line); }
.comment-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.comment-meta { font-size: .92rem; color: var(--muted); margin-bottom: .5rem; }
.comment-author img { border-radius: 999px; vertical-align: middle; margin-right: .5rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: 1rem; }
.site-footer a { color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr; } }
.brand--footer { color: var(--white); margin-bottom: .75rem; }
.brand--footer .brand__ayush { color: var(--haldi); }
.site-footer__contact, .site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer__nav a { text-decoration: none; padding: 0; background: none !important; color: var(--white) !important; }
.site-footer__nav a:hover { text-decoration: underline; }
.ga-newsletter__title { font: 400 var(--step-1)/1.25 var(--display); color: var(--white); margin-bottom: .35rem; }
.site-footer .ga-newsletter__text { color: rgba(255, 255, 255, .72); }
.ga-newsletter__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.ga-newsletter__row input { flex: 1 1 200px; width: auto; }
.site-footer .ga-newsletter button { background: var(--haldi); color: var(--ink); }
.site-footer .ga-newsletter button:hover { background: var(--haldi-soft); }
.ga-newsletter__msg { padding: .5rem .8rem; border-radius: 8px; background: var(--haldi-soft); color: var(--ink); }
.prose .ga-newsletter { margin: 2.5rem 0 0; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.prose .ga-newsletter__title { color: var(--ink); }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 1.5rem 2rem; font-size: .92rem; }
.site-footer__disclaimer { color: rgba(255, 255, 255, .65); max-width: 80ch; }
.site-footer__legal { margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }
.site-footer__legal .sep { opacity: .5; }

/* WhatsApp button, themed */
.ga-wa { background: var(--leaf); font-weight: 500; }
.ga-wa:hover { background: var(--leaf-deep); color: var(--white); }

/* ---------- Block editor alignments ---------- */
.alignwide { margin-inline: calc(-1 * min(8vw, 110px)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.aligncenter { margin-inline: auto; display: block; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 1em 0; } }
.wp-caption-text, .wp-element-caption { font-size: .92rem; color: var(--muted); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.ga-door:hover { transform: none; }
}
