/*
Theme Name: Vitaloom
Theme URI: https://vitaloom.com
Author: Vitaloom
Description: Bilingual (Arabic RTL / English LTR) marketing & blog theme for Vitaloom — a clearer view of you. Landing page per the brand guide, built-in language switch (or Polylang), brand palette in the editor. فيتالوم: ثيم عربي/إنجليزي لصفحة المنتج والمدونة.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
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: vitaloom
Tags: rtl-language-support, translation-ready, custom-logo, custom-menu, featured-images, one-column, blog
*/

/* ------------------------------------------------------------------ tokens */
:root {
	--midnight: #102B3F;
	--teal: #087F8C;
	--teal-dark: #066A75;
	--mint: #93E5CF;
	--mint-soft: #E3F6F1;
	--ivory: #F5F8F6;
	--lavender: #B7ACF2;
	--lav-soft: #EEEBFC;
	--white: #fff;
	--muted: #4E6474;
	--line: rgba(16, 43, 63, .10);

	--r-card: 16px;
	--r-btn: 12px;
	--space: 8px;
	--container: 1180px;
	--shadow: 0 10px 30px rgba(16, 43, 63, .08);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--dur: 220ms;

	--font-en: "Manrope", "Segoe UI", system-ui, sans-serif;
	--font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
	--font: var(--font-ar);
	--lh: 1.6;
}
.lang-en { --font: var(--font-en), var(--font-ar); --lh: 1.55; }
.lang-ar { --font: var(--font-ar), var(--font-en); --lh: 1.6; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0; background: var(--ivory); color: var(--midnight);
	font-family: var(--font); font-size: 16px; line-height: var(--lh);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--midnight); line-height: 1.25; margin: 0 0 calc(var(--space) * 2); font-weight: 700; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { font-weight: 600; line-height: 1.4; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 calc(var(--space) * 2); }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.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; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--midnight); color: #fff; padding: 10px 16px; border-radius: var(--r-btn); }
.skip-link:focus { top: 12px; color: #fff; }
.icon { flex: none; vertical-align: middle; }
/* numbers & units stay readable inside Arabic text */
.ph-list b, .family-rows em, .step-num { unicode-bidi: isolate; }

/* ------------------------------------------------------------------ buttons */
.btn {
	display: inline-flex; align-items: center; gap: 10px; justify-content: center;
	min-height: 50px; padding: 0 24px; border-radius: var(--r-btn);
	font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; border: 1.5px solid transparent;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-primary { background: var(--midnight); color: #fff; }
.btn-primary:hover { background: var(--teal); color: #fff; }
.btn-ghost { background: transparent; color: var(--midnight); border-color: var(--midnight); }
.btn-ghost:hover { background: var(--midnight); color: #fff; }
.btn-mint { background: var(--mint); color: var(--midnight); }
.btn-mint:hover { background: #fff; color: var(--midnight); }
.is-rtl .btn .icon-arrow, .is-rtl .link-arrow .icon-arrow { transform: scaleX(-1); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal); }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 248, 246, .86); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow var(--dur) var(--ease); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(16, 43, 63, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand-logo img, .custom-logo { display: block; height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav-list a { color: var(--midnight); font-weight: 500; font-size: .97rem; position: relative; padding-block: 6px; }
.nav-list a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform var(--dur) var(--ease); }
.nav-list a:hover::after, .nav-list .current-menu-item > a::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; color: var(--midnight); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: var(--r-btn); border: 1px solid var(--line); background: #fff; }
.lang-switch:hover { border-color: var(--teal); color: var(--teal); }
.lang-switch span { font-family: var(--font-en), var(--font-ar); }
.lang-en .lang-switch span { font-family: var(--font-ar); }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-btn); width: 46px; height: 46px; color: var(--midnight); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
		background: var(--ivory); padding: 20px; border-top: 1px solid var(--line); box-shadow: var(--shadow);
		transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
		max-height: calc(100vh - 76px); overflow: auto;
	}
	.main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.nav-list { flex-direction: column; gap: 4px; }
	.nav-list a { display: block; padding: 12px 8px; font-size: 1.05rem; }
	.nav-actions { flex-direction: column; align-items: stretch; }
	.nav-actions .btn, .nav-actions .lang-switch { justify-content: center; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding-block: 56px 150px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); background: var(--mint-soft); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; margin-bottom: 20px; }
.hero-title { font-family: var(--font-en); font-size: clamp(3rem, 2rem + 4.6vw, 4.6rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.02; margin-bottom: 18px; }
.hero-title span { display: block; font-family: var(--font); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 600; letter-spacing: 0; color: var(--teal); margin-top: 10px; line-height: 1.35; }
.hero-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 600; margin-bottom: 10px; }
.hero-text { color: var(--muted); max-width: 560px; font-size: 1.05rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ribbons { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 220px; pointer-events: none; z-index: 1; }
.is-rtl .ribbons { transform: scaleX(-1); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.orb { position: absolute; border-radius: 50%; filter: blur(8px); z-index: 0; }
.orb--mint { width: 340px; height: 340px; background: radial-gradient(circle at 30% 30%, var(--mint), rgba(147, 229, 207, 0) 70%); inset-inline-end: 4%; top: 6%; }
.orb--lav { width: 260px; height: 260px; background: radial-gradient(circle at 60% 60%, var(--lavender), rgba(183, 172, 242, 0) 70%); inset-inline-start: 4%; bottom: 4%; }

.phone { position: relative; z-index: 1; width: 290px; padding: 12px; background: var(--midnight); border-radius: 44px; box-shadow: 0 30px 60px rgba(16, 43, 63, .25); }
.phone-notch { position: absolute; top: 18px; inset-inline-start: 50%; width: 92px; height: 24px; background: var(--midnight); border-radius: 20px; transform: translateX(-50%); z-index: 2; }
.is-rtl .phone-notch { transform: translateX(50%); }
.phone-screen { background: var(--ivory); border-radius: 34px; padding: 52px 16px 18px; min-height: 520px; }
.ph-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ph-top img { height: 26px; width: auto; }
.ph-bell { color: var(--midnight); }
.ph-check { display: flex; align-items: center; gap: 12px; background: linear-gradient(120deg, var(--mint-soft), var(--lav-soft)); border-radius: var(--r-card); padding: 14px; margin-bottom: 16px; }
.ph-check-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; }
.ph-check strong { display: block; font-size: .95rem; }
.ph-check small { color: var(--muted); font-family: var(--font-en); }
.ph-label { font-weight: 700; font-size: .9rem; display: flex; justify-content: space-between; margin-bottom: 8px; }
.ph-label small { font-weight: 400; color: var(--muted); }
.ph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ph-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .85rem; }
.ph-list b { margin-inline-start: auto; font-family: var(--font-en), var(--font-ar); font-size: 1rem; }
.ph-list b small { font-size: .7rem; color: var(--muted); font-weight: 500; }
.ph-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.ph-ic--teal { background: var(--mint-soft); color: var(--teal); }
.ph-ic--mint { background: #DDF6EF; color: #0E7B66; }
.ph-ic--lav { background: var(--lav-soft); color: #6253C7; }
.ph-chart { width: 100%; height: 60px; margin-top: 14px; }
.ph-demo { font-size: .7rem; color: var(--muted); text-align: center; margin: 6px 0 0; }

@media (max-width: 960px) {
	.hero { padding-block: 32px 120px; }
	.hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
	.hero-text { margin-inline: auto; }
	.hero-ctas { justify-content: center; }
	.hero-visual { min-height: 0; }
	.phone { width: 260px; }
	.phone-screen { min-height: 460px; }
}

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding-block: clamp(56px, 4vw + 40px, 104px); }
.section--tight { padding-block: 40px 80px; }
.section--tint { background: linear-gradient(180deg, #fff, var(--mint-soft)); }
.section--dark { background: var(--midnight); color: #D7E3EA; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head--light p { color: #B9CBD6; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; text-align: start; }
.section--dark .ribbons { top: 0; bottom: auto; opacity: .35; transform: scaleY(-1); }
.is-rtl .section--dark .ribbons { transform: scale(-1, -1); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: #C8D7E0; position: relative; z-index: 1; }
.card--dark:hover { box-shadow: none; background: rgba(255, 255, 255, .08); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } .section-head--row { flex-direction: column; align-items: start; gap: 8px; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step-num { position: absolute; inset-inline-end: 22px; top: 18px; font-family: var(--font-en); font-weight: 800; font-size: 2.4rem; color: var(--mint); line-height: 1; }
.step-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--mint-soft); color: var(--teal); margin-bottom: 18px; }
.step p, .feature p { color: var(--muted); margin: 0; }

/* features */
.feature-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px; }
.feature-ic--teal { background: var(--mint-soft); color: var(--teal); }
.feature-ic--mint { background: var(--mint); color: var(--midnight); }
.feature-ic--lav { background: var(--lav-soft); color: #5446B8; }

/* families split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-copy p { color: var(--muted); font-size: 1.06rem; }
.checklist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist .icon { color: #fff; background: var(--teal); border-radius: 50%; padding: 3px; margin-top: 2px; }
.family-card { background: linear-gradient(140deg, #fff 30%, var(--mint-soft)); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); max-width: 460px; margin-inline: auto; position: relative; }
.family-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--lav-soft); color: #5446B8; margin-bottom: 20px; }
.family-rows { display: grid; gap: 10px; }
.family-rows div { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.family-rows em { margin-inline-start: auto; font-style: normal; font-weight: 700; font-family: var(--font-en), var(--font-ar); }
.av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 700; color: var(--midnight); }
.av--teal { background: var(--mint); } .av--mint { background: var(--mint-soft); } .av--lav { background: var(--lavender); }

/* privacy */
.privacy-item { display: flex; gap: 16px; align-items: flex-start; }
.privacy-item h3 { margin-bottom: 6px; }
.privacy-item p { color: var(--muted); margin: 0; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 0 22px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-en); font-size: 1.5rem; line-height: 1; color: var(--teal); transition: transform var(--dur) var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* app cta */
.app-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: linear-gradient(120deg, var(--mint-soft), var(--lav-soft)); border-radius: 28px; padding: 40px; }
.app-cta-symbol { width: 88px; height: auto; }
.app-cta h2 { margin-bottom: 6px; }
.app-cta p { margin: 0; color: var(--muted); }
.app-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .app-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; } .app-cta-btns { justify-content: center; } }

/* ------------------------------------------------------------------ blog */
.page-hero { padding-block: 56px 32px; background: linear-gradient(180deg, var(--mint-soft), var(--ivory)); }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 12px; }
.page-hero--post { padding-bottom: 24px; }
.page-hero--404 img { width: 88px; margin-bottom: 16px; }
.page-hero__desc { color: var(--muted); }
.post-card { padding: 0; overflow: hidden; display: flex; }
.post-card__link { display: flex; flex-direction: column; color: inherit; width: 100%; }
.post-card__link:hover { color: inherit; }
.post-card__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__img--ph { display: grid; place-items: center; background: linear-gradient(120deg, var(--mint-soft), var(--lav-soft)); }
.post-card__img--ph img { width: 56px; opacity: .9; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__title { margin: 0; font-size: 1.15rem; }
.post-card__excerpt { color: var(--muted); margin: 0; flex: 1; }
.post-meta { color: var(--muted); font-size: .88rem; margin: 0; }
.entry-thumb img { border-radius: var(--r-card); display: block; margin-block: 8px 24px; }
.entry-content { font-size: 1.08rem; padding-bottom: 32px; }
.entry-content h2 { font-size: 1.6rem; margin-top: 40px; }
.entry-content h3 { font-size: 1.25rem; margin-top: 28px; }
.entry-content img { border-radius: var(--r-card); }
.entry-content blockquote { margin: 24px 0; padding: 16px 22px; border-inline-start: 4px solid var(--teal); background: #fff; border-radius: 0 var(--r-card) var(--r-card) 0; }
.is-rtl .entry-content blockquote { border-radius: var(--r-card) 0 0 var(--r-card); }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px; text-align: start; }
.note { display: flex; gap: 12px; align-items: flex-start; background: var(--lav-soft); border-radius: var(--r-card); padding: 16px 18px; margin-top: 32px; font-size: .95rem; }
.note p { margin: 0; }
.note .icon { color: #5446B8; margin-top: 2px; }
.tags a { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin: 4px; font-size: .88rem; }
.post-nav .nav-links { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: flex; flex-direction: column; color: var(--midnight); font-weight: 600; }
.post-nav a span { color: var(--muted); font-size: .85rem; font-weight: 400; }
.navigation.pagination { margin-top: 40px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-btn); background: #fff; border: 1px solid var(--line); margin: 3px; color: var(--midnight); }
.nav-links .page-numbers.current { background: var(--midnight); color: #fff; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

.search-form { display: flex; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-btn); overflow: hidden; margin-top: 16px; }
.page-hero--404 .search-form { margin-inline: auto; }
.search-form input[type="search"] { flex: 1; border: 0; padding: 14px 16px; font: inherit; background: transparent; color: var(--midnight); min-width: 0; }
.search-form input[type="search"]:focus { outline: none; }
.search-form button { border: 0; background: var(--midnight); color: #fff; width: 52px; cursor: pointer; }

/* comments */
.comments { padding-block: 24px 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; margin-bottom: 12px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-btn); background: #fff; }
.comment-form .submit { background: var(--midnight); color: #fff; border: 0; border-radius: var(--r-btn); padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; background: var(--midnight); color: #B9CBD6; padding-top: 72px; overflow: hidden; }
.site-footer .ribbons { top: 0; bottom: auto; height: 160px; opacity: .25; transform: scaleY(-1); }
.is-rtl .site-footer .ribbons { transform: scale(-1, -1); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-logo img { height: 42px; }
.footer-tagline { color: #fff; font-weight: 600; margin: 16px 0 4px; }
.footer-desc { margin: 0; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer .nav-list, .footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #DCE7EE; }
.site-footer a:hover { color: var(--mint); }
.site-footer .nav-list a { color: #DCE7EE; font-weight: 400; }
.site-footer .lang-switch { background: transparent; border-color: rgba(255, 255, 255, .2); color: #fff; }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px 28px; font-size: .88rem; }
.footer-disclaimer { color: #9DB2BF; max-width: 860px; }
.footer-widget { margin-top: 20px; }
.footer-widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-widget h2, .footer-widget__title, .footer-widget .wp-block-heading { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer-widget .wp-block-search__input { border-radius: var(--r-btn); border: 0; padding: 10px; font: inherit; }
.connect-cta { margin-top: 40px; position: relative; z-index: 1; }
.post-meta time { unicode-bidi: isolate; }

/* ------------------------------------------------------------------ reveal (JS adds .js-reveal) */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity 240ms var(--ease), transform 240ms var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ block editor alignment */
.alignwide { width: min(100vw - 40px, 1100px); margin-inline: 50%; transform: translateX(-50%); }
.is-rtl .alignwide { transform: translateX(50%); }
.alignfull { width: 100vw; margin-inline: 50%; transform: translateX(-50%); }
.is-rtl .alignfull { transform: translateX(50%); }
.has-midnight-color { color: var(--midnight); } .has-teal-color { color: var(--teal); } .has-mint-color { color: var(--mint); } .has-ivory-color { color: var(--ivory); } .has-lavender-color { color: var(--lavender); }
.has-midnight-background-color { background: var(--midnight); } .has-teal-background-color { background: var(--teal); } .has-mint-background-color { background: var(--mint); } .has-ivory-background-color { background: var(--ivory); } .has-lavender-background-color { background: var(--lavender); }
.wp-block-button__link { background: var(--midnight); color: #fff; border-radius: var(--r-btn); padding: 14px 24px; font-weight: 700; }
