/*
Theme Name: טל מזרחי – הכשרות וסדנאות
Theme URI: https://taltherapy.org
Author: taltherapy.org
Description: ערכת עיצוב ייעודית לאתר של טל מזרחי: הכשרות וסדנאות לצוותים מקצועיים, מאמרים ופרטי קשר. עברית מלאה מימין לשמאל.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: taltherapy
*/

:root {
	--bg: #F7F5F1;
	--white: #FFFFFF;
	--ink: #263436;
	--head: #203336;
	--muted: #55605F;
	--line: #DDD9D2;
	--line-soft: #ECE9E3;
	--sand: #B79779;
	--sage-bg: #E7EAE5;
	--ph: #E6E3DC;
	--on-dark: #C9D0CB;
	--dark-line: #3E5154;
	--serif: "Frank Ruhl Libre", "Noto Serif Hebrew", "David", serif;
	--sans: "Assistant", "Noto Sans Hebrew", Arial, sans-serif;
	--wrap: 1200px;
	--pad: clamp(20px, 4vw, 48px);
	--section: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 18px;
	line-height: 1.65;
	text-align: start;
	overflow-wrap: break-word;
}

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

a { color: var(--head); }
a:hover { color: #4A5D5F; }

:focus-visible {
	outline: 2px solid var(--bg);
	outline-offset: 2px;
	box-shadow: 0 0 0 4px var(--head);
}

h1, h2, h3, h4 { color: var(--head); margin: 0; }

.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: 16px;
	top: -100px;
	z-index: 100;
	background: var(--head);
	color: var(--white);
	padding: 12px 20px;
	text-decoration: none;
	font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--white); }

main:focus { outline: none; }

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding-inline: var(--pad);
}

/* ---------- Buttons and links ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 30px;
	border: 1px solid var(--head);
	border-radius: 2px;
	font-family: var(--sans);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--head); color: var(--white); }
.btn--primary:hover { background: #31474A; border-color: #31474A; color: var(--white); }
.btn--ghost { background: transparent; color: var(--head); }
.btn--ghost:hover { background: var(--white); color: var(--head); }
.btn--light { background: var(--bg); border-color: var(--bg); color: var(--head); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--head); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 16px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
	color: var(--head);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--sand);
	text-decoration-thickness: 2px;
	text-underline-offset: 7px;
	display: inline-block;
	padding: 8px 0;
	transition: text-decoration-color .15s ease;
}
.link:hover { text-decoration-color: var(--head); color: var(--head); }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-block: 14px;
}

.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; padding: 4px 0; }
.brand__name { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--head); line-height: 1.15; }
.brand__tag { font-size: 14px; color: var(--muted); line-height: 1.3; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; flex-wrap: wrap; gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
	display: block;
	padding: 12px 0;
	color: var(--ink);
	text-decoration: none;
	font-size: 16px;
	border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--head); border-bottom-color: var(--sand); }
.nav-list .current-menu-item > a,
.nav-list a[aria-current="page"] { color: var(--head); font-weight: 600; border-bottom-color: var(--sand); }

.menu-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 14px;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 2px;
	color: var(--head);
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--head);
	position: relative;
	content: "";
	transition: transform .2s ease, background-color .2s ease;
}
.menu-toggle__bars::before { position: absolute; top: -6px; }
.menu-toggle__bars::after { position: absolute; top: 6px; }
.is-open .menu-toggle__bars { background: transparent; }
.is-open .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.is-open .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
	.header-inner { flex-wrap: wrap; }
	.menu-toggle { display: inline-flex; }
	.site-nav {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding-bottom: 12px;
	}
	.is-open .site-nav { display: flex; }
	.nav-list { flex-direction: column; }
	.nav-list a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 18px; }
	.nav-cta { align-self: flex-start; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--dark { background: var(--head); color: var(--bg); }
.section--sage { background: var(--sage-bg); }

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 48px;
	margin-bottom: 40px;
}
.section-head__text { flex: 1 1 480px; min-width: 0; }

.h-section {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(32px, 3.6vw, 48px);
	line-height: 1.15;
	margin-bottom: 16px;
}
.section-head .h-section:last-child { margin-bottom: 0; }

.intro { font-size: 18px; line-height: 1.7; max-width: 38em; margin: 0; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.hero__text { flex: 1 1 560px; min-width: 0; }
.hero__media { flex: 0 1 380px; min-width: 0; margin: 0; }

.eyebrow { margin: 0 0 22px; font-size: 16px; color: var(--muted); }

.hero__title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(34px, 3.4vw, 48px);
	line-height: 1.18;
	margin-bottom: 26px;
}
.hero__lead { margin: 0 0 30px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.65; max-width: 32em; }
.credentials {
	margin: 0 0 36px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-size: 15px;
	line-height: 1.7;
	color: var(--muted);
	max-width: 40em;
}
.credentials span { display: block; }

.gallery { display: grid; gap: 6px; direction: ltr; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gallery--5 > :nth-child(-n+2) { grid-column: span 3; aspect-ratio: 3 / 2; }
.gallery--5 > :nth-child(n+3) { grid-column: span 2; aspect-ratio: 4 / 5; }
.gallery--many { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.gallery--many > * { aspect-ratio: 4 / 3; }
.gallery--1 > * { aspect-ratio: 3 / 2; }

/* ---------- Experience ---------- */

.experience { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.experience__text { flex: 1 1 320px; min-width: 0; }
.experience__title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.25;
	margin-bottom: 18px;
}
.experience__text p { margin: 0; font-size: 17px; line-height: 1.7; max-width: 30em; }
.exp-list {
	flex: 2 1 560px;
	min-width: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	column-gap: 40px;
}
.exp-list li { flex: 1 1 240px; padding: 20px 0; border-top: 1px solid var(--line); }
.exp-list__name { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.35; color: var(--head); }
.exp-list__sub { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }

/* ---------- Cards ---------- */

.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
	flex: 1 1 300px;
	min-width: 0;
	background: var(--white);
	border: 1px solid var(--line);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: border-color .15s ease;
}
.card:hover { border-color: #C9C4BA; }
.card__type { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.card__title { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.3; }
.card__title a { color: inherit; text-decoration: none; }
.card__text { margin: 0; font-size: 17px; line-height: 1.65; }
.card__meta {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line-soft);
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
}
.card__meta p { margin: 0; }
.card__meta strong { color: var(--ink); font-weight: 600; }
.card .link { align-self: flex-start; font-size: 16px; text-underline-offset: 6px; }

/* ---------- Dark section: customization ---------- */

.custom { display: flex; flex-wrap: wrap; gap: 48px 96px; align-items: flex-start; }
.custom__text { flex: 1 1 420px; min-width: 0; }
.custom__text .h-section { color: var(--white); margin-bottom: 22px; }
.custom__text p { margin: 0 0 18px; font-size: 19px; line-height: 1.7; color: var(--on-dark); max-width: 30em; }
.custom__text .btn { margin-top: 18px; }
.custom__list { flex: 1 1 380px; min-width: 0; }
.custom__label { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--sand); font-family: var(--sans); }
.formats { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--dark-line); }
.formats li { padding: 16px 0; border-top: 1px solid var(--dark-line); font-family: var(--serif); font-size: 22px; line-height: 1.35; color: var(--bg); }

/* ---------- Statement ---------- */

.statement__label { margin: 0 0 clamp(32px, 4vw, 56px); font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--muted); font-family: var(--sans); }
.statement__text { margin: 0; max-width: 19em; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 56px); line-height: 1.28; color: var(--head); }
.rule { width: 72px; height: 2px; background: var(--sand); margin: clamp(36px, 4vw, 56px) 0 28px; border: 0; }
.statement__body { margin: 0; max-width: 38em; font-size: 18px; line-height: 1.75; }

/* ---------- About ---------- */

.about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 80px; }
.about__media { flex: 0 1 400px; min-width: 240px; margin: 0; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
.about__text { flex: 1 1 440px; min-width: 0; }
.about__name { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.1; margin-bottom: 10px; }
.about__role { margin: 0 0 28px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.about__bio p { margin: 0 0 18px; font-size: 18px; line-height: 1.8; max-width: 34em; }
.about__bio { margin-bottom: 36px; }

/* ---------- Articles ---------- */

.article-grid { display: flex; flex-wrap: wrap; gap: 48px 40px; }
.article-card { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; max-width: 100%; }
.article-grid--wide .article-card { flex-basis: 320px; }
.article-card__media { display: block; aspect-ratio: 3 / 2; background: var(--ph); margin-bottom: 8px; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__cat { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.article-card__title { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.3; }
.article-card__title a { color: inherit; text-decoration: none; }
.article-card__title a:hover { text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 6px; }
.article-card__excerpt { margin: 0; font-size: 17px; line-height: 1.65; }
.article-card__date { margin: 0; font-size: 14px; color: var(--muted); }
.article-card .link { align-self: flex-start; font-size: 16px; }

/* ---------- Testimonials ---------- */

.quotes { display: flex; flex-wrap: wrap; gap: 24px; }
.quote { flex: 1 1 320px; min-width: 0; margin: 0; padding: 32px; background: var(--white); border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: 21px; line-height: 1.55; color: var(--head); }
.quote blockquote p { margin: 0 0 12px; }
.quote figcaption { font-size: 15px; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); }

/* ---------- CTA band ---------- */

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 64px; }
.cta__text { flex: 1 1 480px; min-width: 0; }
.cta__title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.2; margin-bottom: 16px; }
.cta__text p { margin: 0; font-size: 19px; line-height: 1.7; max-width: 32em; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* ---------- Inner pages ---------- */

.page-head { padding-block: clamp(48px, 6vw, 88px) clamp(32px, 4vw, 56px); }
.page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.1; margin-bottom: 18px; }
.page-lead { margin: 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.65; max-width: 34em; }

.breadcrumb ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 10px; color: var(--line); }
.breadcrumb a { color: var(--muted); }

.facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0 32px;
	margin: 32px 0 0;
	padding: 0;
	border-top: 1px solid var(--line);
}
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; font-size: 17px; color: var(--ink); }

.layout { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.layout__main { flex: 999 1 560px; min-width: 0; }
.layout__aside { flex: 1 1 300px; min-width: 0; position: sticky; top: 110px; }

.aside-box { background: var(--white); border: 1px solid var(--line); padding: 28px; }
.aside-box h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
.aside-box p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; }
.aside-box .btn { width: 100%; }
.aside-box .link { margin-top: 8px; }

/* Long-form text */
.prose { max-width: 42em; font-size: 19px; line-height: 1.8; }
.prose > * { margin-block: 0 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.3; margin-block: 1.8em .6em; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.35; margin-block: 1.5em .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--sand); }
.prose a { text-decoration-color: var(--sand); text-underline-offset: 5px; }
.prose blockquote, .prose .wp-block-quote, .prose .wp-block-pullquote {
	margin: 1.8em 0;
	padding: 0;
	border: 0;
	font-family: var(--serif);
	font-size: clamp(23px, 2.4vw, 28px);
	line-height: 1.5;
	color: var(--head);
	text-align: start;
}
.prose blockquote::before {
	content: "";
	display: block;
	width: 48px;
	height: 2px;
	background: var(--sand);
	margin-bottom: 20px;
}
.prose blockquote cite, .prose .wp-block-quote cite { display: block; margin-top: 12px; font-family: var(--sans); font-size: 15px; font-style: normal; color: var(--muted); }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
.prose img { height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

.article-head { max-width: 42em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; font-size: 15px; color: var(--muted); }
.article-hero { margin: 0 0 clamp(32px, 4vw, 56px); }
.article-hero img { width: 100%; max-height: 620px; object-fit: cover; }

.quiet-cta { max-width: 42em; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 18px; }
.quiet-cta p { margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.filters a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 2px;
	color: var(--ink);
	text-decoration: none;
	font-size: 16px;
	background: var(--white);
}
.filters a:hover { border-color: var(--head); }
.filters a[aria-current="true"] { background: var(--head); border-color: var(--head); color: var(--white); }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; padding: 0 12px;
	border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white);
}
.pagination .page-numbers.current { background: var(--head); color: var(--white); border-color: var(--head); }

.empty-note { font-size: 18px; color: var(--muted); }

/* ---------- Contact form ---------- */

.contact-layout { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.contact-layout__form { flex: 999 1 520px; min-width: 0; }
.contact-layout__aside { flex: 1 1 280px; min-width: 0; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; max-width: 760px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-size: 16px; font-weight: 600; color: var(--ink); }
.form .optional { font-weight: 400; color: var(--muted); }
.form input, .form textarea, .form select {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #B9B4AA;
	border-radius: 2px;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.5;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--head); }
.form input[dir="ltr"] { text-align: right; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--muted); }
.form__actions { grid-column: 1 / -1; }
.form__hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } }

.notice { padding: 20px 24px; margin: 0 0 32px; border: 1px solid; font-size: 18px; max-width: 760px; }
.notice--ok { background: #EEF2EC; border-color: #A4AFA4; color: var(--head); }
.notice--error { background: #FBF1EC; border-color: #C9A08A; color: #5B2E1C; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }
.contact-list a { font-size: 19px; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--sand); }

/* ---------- Footer ---------- */

.site-footer { background: var(--head); color: var(--on-dark); padding: 56px 0 36px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 64px; padding-bottom: 36px; border-bottom: 1px solid var(--dark-line); }
.footer-brand { flex: 1 1 280px; min-width: 0; }
.footer-brand__name { margin: 0 0 6px; font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--white); }
.footer-brand__tag { margin: 0 0 18px; font-size: 15px; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer-contact a { color: var(--bg); text-decoration: none; font-size: 16px; padding: 6px 0; }
.footer-nav { flex: 2 1 420px; min-width: 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 32px; }
.footer-nav a { display: block; color: var(--bg); text-decoration: none; font-size: 16px; padding: 10px 0; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 6px; }
.site-footer :focus-visible { outline-color: var(--head); box-shadow: 0 0 0 4px var(--bg); }
.footer-bottom { margin: 24px 0 0; font-size: 14px; }

/* ---------- WordPress core alignment helpers ---------- */

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: 15px; color: var(--muted); }

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

@media print {
	.site-header, .site-footer, .menu-toggle, .aside-box, .cta, .quiet-cta { display: none !important; }
	body { background: #fff; }
}

.page-lead p { margin: 0 0 12px; }
.page-lead p:last-child { margin-bottom: 0; }
.intro p { margin: 0 0 14px; }
.intro p:last-child { margin-bottom: 0; }
.gallery > * { min-width: 0; }
