/*
Theme Name: She Matters Health
Theme URI: https://shemattershealth.com
Author: She Matters Health
Description: Custom theme for She Matters Health, matching the Amanda Robins Coaching look (Outfit, sage, sand and terracotta). Activating it sets up the pages, articles and menus automatically the first time.
Version: 1.0.3
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: shemattershealth
*/

:root {
	--smh-bg: #FAF8F4;
	--smh-cream: #FBF7F0;
	--smh-sand: #EFE6DA;
	--smh-oat: #ECE3D3;
	--smh-linen: #F4EFE6;
	--smh-peach: #F3DCCB;
	--smh-sage-1: #DFE5D8;
	--smh-sage-2: #E4E9DD;
	--smh-sage: #55654F;
	--smh-tick: #687866;
	--smh-forest: #3F4C3B;
	--smh-ink: #2F3A2C;
	--smh-muted: #4D5649;
	--smh-soft: #5D6659;
	--smh-terracotta: #A1573A;
	--smh-terracotta-dark: #8A4A31;
	--smh-line: #E2D9CB;
	--smh-radius-lg: 32px;
	--smh-radius: 24px;
	--smh-pad-y: clamp(44px, 6vw, 88px);
	--smh-pad-x: clamp(22px, 5vw, 72px);
	--smh-serif: 'Playfair Display', Georgia, serif;
	--smh-sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

body {
	margin: 0;
	background: var(--smh-bg);
	color: var(--smh-ink);
	font-family: var(--smh-sans);
	font-weight: 300;
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--smh-ink); }
a:hover, a:focus-visible { color: var(--smh-terracotta-dark); }
img { max-width: 100%; height: auto; }
strong, b { font-weight: 500; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px;
	background: #fff; padding: 12px 18px; border-radius: 12px;
}

/* ---------- Site frame ---------- */
.smh-site { padding: 0 16px 16px; display: flex; flex-direction: column; min-height: 100vh; }
.smh-main { flex: 1; }

.smh-header {
	width: 100%; max-width: 85rem; margin: 0 auto; padding: 16px 24px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.smh-logo img, .smh-logo .custom-logo { width: 76px; height: 76px; display: block; }
.smh-logo-text { font-size: 22px; font-weight: 500; text-decoration: none; }

.smh-nav ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
	font-size: 16px; font-weight: 400;
}
.smh-nav a { text-decoration: none; }
.smh-nav .current-menu-item > a, .smh-nav .current_page_parent > a, .smh-nav .current-menu-parent > a { color: var(--smh-terracotta); font-weight: 500; }
.smh-nav .smh-nav-cta a {
	background: var(--smh-terracotta); color: #fff; padding: 12px 24px; border-radius: 999px; font-weight: 500;
	display: inline-block;
}
.smh-nav .smh-nav-cta a:hover { background: var(--smh-terracotta-dark); color: #fff; }

.smh-menu-toggle { display: none; }
@media (max-width: 860px) {
	.smh-header { padding: 12px 8px; position: relative; }
	.smh-logo img, .smh-logo .custom-logo { width: 64px; height: 64px; }
	.smh-menu-toggle {
		display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px;
		font: inherit; font-size: 16px; font-weight: 500; color: var(--smh-ink);
		background: var(--smh-cream); border: 1.5px solid var(--smh-line); border-radius: 999px; cursor: pointer;
	}
	.smh-burger { display: inline-flex; flex-direction: column; gap: 4px; }
	.smh-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--smh-ink); transition: transform .2s, opacity .2s; }
	.smh-menu-toggle[aria-expanded="true"] .smh-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.smh-menu-toggle[aria-expanded="true"] .smh-burger span:nth-child(2) { opacity: 0; }
	.smh-menu-toggle[aria-expanded="true"] .smh-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
	.smh-nav { display: none; flex-basis: 100%; }
	.smh-nav.is-open { display: block; }
	.smh-nav ul {
		flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; margin-top: 4px;
		background: var(--smh-cream); border-radius: 24px; font-size: 18px;
	}
	.smh-nav li a { display: block; padding: 12px 16px; border-radius: 14px; }
	.smh-nav li:not(.smh-nav-cta) a:hover { background: var(--smh-sand); }
	.smh-nav .smh-nav-cta { margin-top: 8px; }
	.smh-nav .smh-nav-cta a { text-align: center; }
}
@media (min-width: 861px) { .smh-nav { display: block !important; } }


/* ---------- Content sections (block groups) ---------- */
.smh-content > * { margin-top: 0; }
.smh-section {
	width: 100%; max-width: 85rem; margin: 0 auto 16px !important;
	padding: var(--smh-pad-y) var(--smh-pad-x);
	border-radius: var(--smh-radius-lg);
}
.smh-section.is-flush { padding-top: 40px; padding-bottom: 40px; }
.smh-section.is-narrow { max-width: 46rem; padding-left: 24px; padding-right: 24px; }
.smh-section > * + * { margin-top: 20px; }
.smh-section > *:first-child { margin-top: 0; }

.bg-sand { background: var(--smh-sand); }
.bg-oat { background: var(--smh-oat); }
.bg-linen { background: var(--smh-linen); }
.bg-peach { background: var(--smh-peach); }
.bg-sage-1 { background: var(--smh-sage-1); }
.bg-sage-2 { background: var(--smh-sage-2); }
.bg-cream { background: var(--smh-cream); }
.bg-forest { background: var(--smh-forest); color: var(--smh-cream); }
.bg-forest h1, .bg-forest h2, .bg-forest h3 { color: var(--smh-cream); }
.bg-forest .smh-eyebrow { color: var(--smh-peach); }
.is-centered { text-align: center; }
.is-centered > * { margin-left: auto; margin-right: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--smh-sans); font-weight: 400; letter-spacing: -0.02em; color: var(--smh-forest); margin: 0; }
h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.05; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; font-weight: 500; letter-spacing: 0; color: var(--smh-ink); }
h4 { font-size: 20px; font-weight: 500; letter-spacing: 0; color: var(--smh-ink); }
.smh-sage { color: var(--smh-sage) !important; }
p { margin: 0; }
.smh-eyebrow {
	font-size: 13px !important; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--smh-terracotta); line-height: 1.5;
}
.smh-lead { font-size: 20px; line-height: 1.55; color: var(--smh-muted); max-width: 35rem; }
.smh-note { font-size: 15px; font-weight: 400; color: var(--smh-soft); }
.smh-max { max-width: 40rem; }
.smh-box { background: var(--smh-linen); border-radius: 20px; padding: 22px 26px; font-size: 16px; color: var(--smh-muted); }

.wp-block-quote.smh-pull, blockquote.smh-pull {
	margin: 8px 0; padding: 32px 36px; border: 0; border-radius: var(--smh-radius);
	background: var(--smh-peach); font-family: var(--smh-serif); font-style: italic;
	font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: var(--smh-forest);
}
.wp-block-quote.smh-pull p { margin: 0; }
.wp-block-quote.smh-plain {
	border: 0; padding: 0; margin: 0; font-family: var(--smh-serif); font-style: italic;
	font-size: clamp(26px, 2.8vw, 34px); line-height: 1.3; color: var(--smh-forest);
}
.bg-forest .wp-block-quote.smh-plain { color: var(--smh-cream); }

/* ---------- Buttons ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.wp-block-button__link, .smh-button, .smh-form button {
	display: inline-block; font: inherit; font-size: 17px; font-weight: 500; line-height: 1.3;
	background: var(--smh-terracotta); color: #fff !important; border: 1.5px solid transparent;
	padding: 16px 30px; border-radius: 999px; text-decoration: none; cursor: pointer;
	transition: transform .2s, background-color .2s;
}
.wp-block-button__link:hover, .smh-button:hover, .smh-form button:hover { background: var(--smh-terracotta-dark); transform: translateY(-2px); }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; color: var(--smh-ink) !important; border-color: var(--smh-ink); padding: 14px 28px; font-size: 16px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: transparent; }
.wp-block-button.smh-btn-sage .wp-block-button__link { background: var(--smh-sage); color: var(--smh-cream) !important; }
.wp-block-button.smh-btn-sage .wp-block-button__link:hover { background: #46543F; }
.smh-textlink a { color: var(--smh-terracotta); font-weight: 500; text-decoration: none; }

/* ---------- Columns ---------- */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-columns.smh-gap-lg { gap: 56px; }
.wp-block-columns.is-vcenter { align-items: center !important; }
.wp-block-columns.is-vend { align-items: flex-end !important; }
@media (max-width: 781px) {
	.wp-block-columns { flex-direction: column; }
	.wp-block-column { flex-basis: 100% !important; }
}

/* ---------- Hero ---------- */
.smh-hero { padding: 20px !important; }
.smh-hero > .wp-block-columns { gap: 16px; align-items: stretch; }
.smh-hero-text { padding: clamp(36px, 5vw, 72px) clamp(20px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.smh-hero-media { position: relative; min-height: 520px; border-radius: var(--smh-radius); overflow: hidden; }
.smh-hero-media .wp-block-image, .smh-hero-media figure { margin: 0; position: absolute; inset: 0; }
.smh-hero-media img { width: 100%; height: 100% !important; object-fit: cover; object-position: center 25%; }
.smh-hero-quote {
	position: absolute; left: 24px; right: 24px; bottom: 24px; max-width: 20rem;
	padding: 16px 22px; border-radius: 20px; background: var(--smh-cream);
	font-family: var(--smh-serif); font-size: 19px; line-height: 1.45; color: var(--smh-ink);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}
.smh-hero-quote em { font-family: var(--smh-sans); font-style: normal; font-size: 14px; color: var(--smh-soft); display: block; }
@media (max-width: 781px) { .smh-hero-media { min-height: 420px; } }

/* ---------- Tiles, cards ---------- */
.smh-tiles { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.smh-tiles > p, .smh-tiles > .wp-block-group__inner-container > p {
	margin: 0; border-radius: 20px; padding: 22px 24px; font-size: 20px; font-weight: 500; line-height: 1.3;
	display: flex; align-items: center; gap: 12px;
	box-shadow: 0 1px 0 rgba(47, 58, 44, .04);
	transition: transform .25s ease, box-shadow .25s ease;
	cursor: default;
}
.smh-tiles > p::before, .smh-tiles > .wp-block-group__inner-container > p::before {
	content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--smh-terracotta); flex: none; opacity: .75;
}
.smh-tiles > p:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(47, 58, 44, .10); }
.smh-tiles > p:nth-child(1) { background: var(--smh-sage-1); }
.smh-tiles > p:nth-child(2) { background: var(--smh-peach); }
.smh-tiles > p:nth-child(3) { background: var(--smh-oat); }
.smh-tiles > p:nth-child(4) { background: var(--smh-sage-2); }
@media (prefers-reduced-motion: reduce) { .smh-tiles > p { transition: none; } .smh-tiles > p:hover { transform: none; } }
@media (max-width: 900px) { .smh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .smh-tiles { grid-template-columns: 1fr; } }

.smh-cards > .wp-block-column {
	border-radius: 28px; padding: 36px 30px; display: flex; flex-direction: column; gap: 14px;
}
.smh-cards > .wp-block-column > * { margin: 0; }
.smh-cards > .wp-block-column:nth-child(3n+1) { background: var(--smh-sage-1); }
.smh-cards > .wp-block-column:nth-child(3n+2) { background: var(--smh-peach); }
.smh-cards > .wp-block-column:nth-child(3n+3) { background: var(--smh-cream); }
.bg-cream .smh-cards > .wp-block-column:nth-child(3n+3), .bg-linen .smh-cards > .wp-block-column:nth-child(3n+3) { background: var(--smh-oat); }
.smh-cards.is-guide > .wp-block-column:nth-child(4n+1) { background: var(--smh-sage-1); }
.smh-cards.is-guide > .wp-block-column:nth-child(4n+2) { background: var(--smh-peach); }
.smh-cards.is-guide > .wp-block-column:nth-child(4n+3) { background: var(--smh-oat); }
.smh-cards.is-guide > .wp-block-column:nth-child(4n+4) { background: var(--smh-sage-2); }
.smh-cards h3 a { text-decoration: none; }
.smh-icon { width: 40px; height: 40px; display: block; }

/* ---------- Checklist ---------- */
ul.smh-checks { list-style: none; margin: 0; padding: 0; }
ul.smh-checks li {
	padding: 18px 0 18px 36px; border-bottom: 1px solid var(--smh-line); position: relative;
}
ul.smh-checks li:last-child { border-bottom: 0; }
ul.smh-checks li::before {
	content: ""; position: absolute; left: 4px; top: 50%; width: 6px; height: 12px; margin-top: -9px;
	border-right: 2px solid var(--smh-tick); border-bottom: 2px solid var(--smh-tick); transform: rotate(45deg);
}
ul.smh-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.smh-pills li { padding: 10px 18px; border-radius: 999px; background: var(--smh-cream); font-size: 15px; font-weight: 400; }

/* ---------- Stats ---------- */
.smh-stats > .wp-block-column { border-top: 1px solid #6E7C69; padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.smh-stat-num { font-size: clamp(44px, 5vw, 60px) !important; font-weight: 300; line-height: 1 !important; color: var(--smh-peach); }
.smh-stat-text { font-size: 16px; color: var(--smh-sage-1); }
.bg-forest .smh-note { color: #C4CDBC; }

/* ---------- Media ---------- */
.smh-portrait img { border-radius: var(--smh-radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; width: 100%; }
.smh-portrait { margin: 0; }

/* ---------- Article cards / lists ---------- */
.smh-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.smh-post-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .smh-post-grid, .smh-post-grid.cols-2 { grid-template-columns: 1fr; } }
.smh-post-card {
	display: flex; flex-direction: column; gap: 12px; text-decoration: none; border-radius: var(--smh-radius);
	padding: 34px 30px; background: var(--smh-linen); font-size: 17px; line-height: 1.6;
	transition: transform .25s;
}
.smh-post-card:nth-child(3n+2) { background: var(--smh-peach); }
.bg-sand .smh-post-card, .bg-peach .smh-post-card:nth-child(n) { background: var(--smh-cream); }
.smh-post-card:hover { transform: translateY(-4px); color: var(--smh-ink); }
.smh-post-cat { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--smh-sage); }
.smh-post-title { font-size: 25px; font-weight: 500; line-height: 1.2; }
.smh-post-featured {
	display: flex; flex-wrap: wrap; gap: 40px; align-items: center; text-decoration: none;
	padding: clamp(28px, 4vw, 48px); border-radius: var(--smh-radius-lg); background: var(--smh-sage-1); margin-bottom: 20px;
}
.smh-post-featured .smh-post-title { font-size: clamp(30px, 3vw, 40px); font-weight: 400; letter-spacing: -0.02em; color: var(--smh-forest); }
.smh-post-featured > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.smh-post-featured .smh-more { color: var(--smh-terracotta); font-weight: 500; font-size: 16px; }
.smh-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }

.smh-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px !important; font-size: 15px; font-weight: 400; }
.smh-filters a {
	padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--smh-forest); text-decoration: none;
}
.smh-filters a.is-active { background: var(--smh-forest); color: var(--smh-cream); }

/* ---------- Single article ---------- */
.smh-article-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.smh-article-hero h1 { max-width: 14em; }
.smh-article-hero .smh-lead { margin: 0 auto; max-width: 36rem; }
.smh-back { font-size: 15px; font-weight: 400; color: var(--smh-sage); text-decoration: none; }
.smh-byline { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 400; color: var(--smh-muted); }
.smh-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.smh-article { max-width: 44rem; margin: 0 auto; padding: 56px 24px 32px; font-size: 19px; line-height: 1.75; }
.smh-article > * + * { margin-top: 22px; }
.smh-article h2, .smh-article h3, .smh-article h4 {
	margin-top: 44px; font-size: clamp(26px, 2.6vw, 32px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; color: var(--smh-sage);
}
.smh-article ul, .smh-article ol { padding-left: 1.2em; }
.smh-article .smh-disclaimer { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--smh-line); font-size: 15px; line-height: 1.6; color: var(--smh-soft); }
.smh-page-body { max-width: 46rem; margin: 0 auto; padding: 56px 24px 40px; }
.smh-page-body > * + * { margin-top: 20px; }

/* ---------- Forms ---------- */
.smh-form { display: flex; flex-direction: column; gap: 16px; background: var(--smh-cream); border-radius: 28px; padding: clamp(28px, 3vw, 40px); }
.smh-form.is-inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; background: transparent; padding: 0; gap: 12px; }
.smh-form.is-inline label { flex: 1 1 180px; }
.smh-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.smh-form input[type=text], .smh-form input[type=email], .smh-form textarea {
	font: inherit; font-size: 17px; font-weight: 300; padding: 14px 18px; border: 1px solid #CBC2B3;
	border-radius: 14px; background: #fff; color: var(--smh-ink); width: 100%;
}
.smh-form input:focus, .smh-form textarea:focus { outline: 2px solid var(--smh-terracotta); outline-offset: 1px; border-color: transparent; }
.smh-form .smh-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.smh-form .smh-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--smh-terracotta); }
.smh-form .smh-hp { position: absolute; left: -9999px; }
.smh-form .smh-note a { color: var(--smh-soft); }
.smh-form-msg { border-radius: 16px; padding: 16px 20px; font-weight: 400; background: var(--smh-sage-1); }
.smh-form-msg.is-error { background: var(--smh-peach); }
.smh-community { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.smh-community > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.smh-community > form { flex: 1 1 380px; min-width: 0; }

/* ---------- Footer ---------- */
.smh-footer {
	width: 100%; max-width: 85rem; margin: 0 auto; padding: 56px var(--smh-pad-x) 36px;
	border-radius: var(--smh-radius-lg); background: var(--smh-forest); color: var(--smh-sage-1);
	display: flex; flex-direction: column; gap: 36px; font-size: 16px;
}
.smh-footer a { color: var(--smh-sage-1); text-decoration: none; }
.smh-footer a:hover { color: #fff; }
.smh-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.smh-footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 24rem; }
.smh-footer-brand .smh-footer-name { font-size: 28px; color: var(--smh-cream); }
.smh-footer-brand .smh-sister { color: var(--smh-peach); font-weight: 400; }
.smh-footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.smh-footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.smh-footer-cols h2 { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--smh-cream); margin-bottom: 12px; }
.smh-footer-bottom { padding-top: 24px; border-top: 1px solid #5A6855; font-size: 14px; color: #C4CDBC; }

/* ---------- Misc ---------- */
.smh-pagination { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }
.smh-pagination a, .smh-pagination span { padding: 10px 18px; border-radius: 999px; background: var(--smh-linen); text-decoration: none; }
.wp-block-image { margin: 0; }
.wp-block-separator { border: 0; border-top: 1px solid var(--smh-line); margin: 32px 0; }
.is-centered .smh-cards { text-align: left; margin-top: 40px; }
.is-centered .smh-max { margin-left: auto; margin-right: auto; }
.smh-head-row { margin-top: 0 !important; }
.smh-head-row .smh-head-text > * + * { margin-top: 12px; }
.smh-head-row .wp-block-buttons { margin: 0; }
.smh-hero-text .wp-block-buttons + .smh-note { margin-top: -8px; }
.smh-cards.is-guide + .smh-cards.is-guide { margin-top: 20px; }
.smh-box a { text-decoration: none; display: block; }
.smh-hero .smh-hero-text .smh-box { background: var(--smh-cream); }
.wp-block-column > * + * { margin-top: 16px; }
.wp-block-column > .wp-block-buttons { margin-top: 24px; }
.smh-section > .wp-block-columns + *, .smh-section > * + .smh-tiles { margin-top: 36px; }
.smh-stats { margin-top: 44px !important; }
.is-centered .wp-block-buttons { justify-content: center; }
.is-centered .smh-lead { margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .smh-nav .smh-nav-cta { flex-basis: auto; } }

/* Lead paragraph beside a section heading */
.wp-block-columns.is-vend .wp-block-column:last-child p { font-size: 19px; line-height: 1.6; color: var(--smh-muted); max-width: 30rem; }
.smh-tiles { margin-top: 40px !important; }

/* Phone & tablet spacing */
@media (max-width: 781px) {
	.wp-block-columns.smh-gap-lg { gap: 28px; }
	.smh-section { border-radius: 24px; }
	.smh-tiles > p { padding: 18px; font-size: 17px; }
	.smh-hero-text { padding: 32px 16px 8px; }
	.smh-stats { gap: 0 !important; }
	.smh-stats > .wp-block-column { padding: 18px 0; }
	.smh-community { gap: 28px; }
	.smh-footer-cols { gap: 32px; }
}
@media (min-width: 782px) and (max-width: 1100px) {
	.smh-cards:not(.is-guide) > .wp-block-column { padding: 28px 22px; }
	.smh-stats { flex-wrap: wrap !important; }
	.smh-stats > .wp-block-column { flex: 1 1 40% !important; }
}

/* Mobile menu: centred, like Amanda Robins Coaching */
@media (max-width: 860px) {
	.smh-nav ul { align-items: center; text-align: center; padding: 20px 16px 24px; gap: 2px; }
	.smh-nav li { width: 100%; }
	.smh-nav li a { padding: 12px 16px; }
	.smh-nav .smh-nav-cta { margin-top: 12px; width: auto; }
	.smh-nav .smh-nav-cta a { padding: 14px 28px; }
}
