/*
Theme Name: Stacy McCarthy
Theme URI: https://www.yoganamastacy.com/
Author: Prepared for Stacy McCarthy · Yoga Namastacy
Description: Modern Garden block theme for Stacy McCarthy, wellness educator, author and speaker. Warm ivory, sage, blush, lavender and garden green, with Cormorant Garamond headings and Jost body text. Includes the full page set (Home, About, The Book, Yoga & Wellness, The Yoga Nest, Secret Yoga Garden, Courses & Trainings, Speaking, Journal, Contact, Media & Press), a Letters from Stacy signup connected to Robly, a built-in contact form, Arketa and Soul of Yoga link settings, and search and sharing basics.
Version: 2.0.5
Requires at least: 6.6
Tested up to: 7.1
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: stacy-mccarthy
Tags: block-patterns, full-site-editing, wide-blocks, editor-style, custom-colors
*/

/* ---------- Basics ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--wp--preset--color--forest); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- Text styles ---------- */
.is-style-eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.is-style-eyebrow:not(.has-text-color) { color: var(--wp--preset--color--forest); }
.is-style-lead { font-size: 1.18rem; line-height: 1.6; color: var(--wp--preset--color--muted); }
.sm-small { font-size: 0.92rem; color: var(--wp--preset--color--muted); }
.sm-measure { max-width: 62ch; }
.is-layout-constrained > .sm-measure { margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; }
.sm-center { text-align: center; }
.sm-center > * { margin-inline: auto; }
.sm-center-text { max-width: 62ch; margin-inline: auto; }
.sm-cite { font-size: 0.92rem; line-height: 1.5; color: var(--wp--preset--color--muted); }
.sm-cite strong { color: var(--wp--preset--color--ink); font-weight: 600; letter-spacing: 0.02em; }
.sm-quote-large { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 1.5rem; line-height: 1.35; color: var(--wp--preset--color--ink); }
.sm-sign { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 1.5rem; }

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--forest-deep); border: 2px solid var(--wp--preset--color--forest); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--forest); color: #fff; }
.wp-block-button.is-style-light > .wp-block-button__link { background: var(--wp--preset--color--ivory); color: var(--wp--preset--color--forest-deep); border-color: var(--wp--preset--color--ivory); }
.wp-block-button.is-style-light > .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--wp--preset--color--forest-deep); }
.wp-block-button.is-style-text-link > .wp-block-button__link { background: none; border: 0; padding: 0; color: var(--wp--preset--color--forest-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.wp-block-button.is-style-text-link > .wp-block-button__link::after { content: " →"; }
.wp-block-button.is-style-text-link > .wp-block-button__link:hover { color: var(--wp--preset--color--forest); background: none; }
.wp-block-button__link[target="_blank"]::after { content: " ↗"; font-size: 0.9em; }

/* ---------- Lists ---------- */
.is-style-checks { list-style: none; padding-left: 0; }
.is-style-checks li { position: relative; padding: 0.55rem 0 0.55rem 1.6rem; border-bottom: 1px solid var(--wp--preset--color--line); }
.is-style-checks li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 9px; height: 9px; border-radius: 50%; background: var(--wp--preset--color--forest); }
.sm-creds, .sm-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.sm-creds li { font-size: 0.86rem; font-weight: 500; color: var(--wp--preset--color--forest-deep); background: var(--wp--preset--color--sage); padding: 7px 14px; border-radius: 999px; }
.sm-chips li { font-size: 0.93rem; background: #fff; border: 1px solid var(--wp--preset--color--line); padding: 8px 16px; border-radius: 999px; }
.sm-meta { list-style: none; padding: 12px 0 0; border-top: 1px solid var(--wp--preset--color--line); display: grid; gap: 6px; font-size: 0.9rem; color: var(--wp--preset--color--forest-deep); }

/* ---------- Images ---------- */
.wp-block-image.is-style-arch img { border-radius: 999px 999px 18px 18px; width: 100%; }
.wp-block-image.is-style-soft img { border-radius: 18px; width: 100%; }
.sm-arch--wide img { border-radius: 300px 300px 18px 18px !important; }
.sm-arch--white img, .sm-on-white img { background: #fff; }
.sm-pos-60 img { object-position: 60% center; }
.sm-pos-right img { object-position: 76% center; }
.sm-pos-low img { object-position: 50% 70%; }
.sm-cover img { box-shadow: var(--wp--preset--shadow--book); max-width: 330px; width: 100%; margin-inline: auto; display: block; border-radius: 4px; }
.sm-cover--small img { max-width: 260px; }

/* ---------- Sections ---------- */
.sm-band { padding-block: clamp(56px, 8vw, 96px); margin-block: 0 !important; }
.sm-band--sage { background: var(--wp--preset--color--sage); }
.sm-band--blush { background: var(--wp--preset--color--blush); }
.sm-band--lavender { background: var(--wp--preset--color--lavender); }
.sm-band--forest { background: var(--wp--preset--color--forest-deep); color: #E9EFE6; }
.sm-band--forest :is(h1, h2, h3) { color: var(--wp--preset--color--ivory); }
.sm-band--tight-top { padding-top: 0; }
.sm-hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 90px); }
.sm-hero .wp-block-image { max-width: 460px; margin-inline: auto; }
.landing .wp-block-post-content > * { margin-block: 0; }
.wp-block-columns.sm-split { gap: clamp(32px, 5vw, 72px); margin-bottom: 0; }
@media (min-width: 782px) { .wp-block-columns.sm-split--reverse { flex-direction: row-reverse; } }
.sm-split .wp-block-column > :first-child { margin-top: 0; }

/* ---------- Cards ---------- */
.wp-block-columns.sm-cards { margin-top: 40px; gap: 22px; }
.sm-cards > .wp-block-column, .sm-trainings > .wp-block-column, .sm-praise-row > .wp-block-column, .sm-assets > .wp-block-column, .sm-themes > .wp-block-column, .sm-ways > .wp-block-column, .sm-plans > .wp-block-column, .sm-mini-cards > .wp-block-column { display: flex; }
.sm-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; flex: 1; transition: transform .25s ease, box-shadow .25s ease; }
.sm-card:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--soft); }
.sm-card > .wp-block-image { margin: 0; }
.sm-card > .wp-block-image img { border-radius: 0; width: 100%; display: block; }
.sm-card__body { padding: 6px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sm-card__body .wp-block-buttons { margin-top: auto; }
.sm-feature-note { background: var(--wp--preset--color--blush); border-radius: 22px; padding: clamp(24px, 4vw, 40px); }
.sm-feature-note--wide { max-width: 820px; margin: 40px auto 0; }
.sm-mini { border-left: 2px solid var(--wp--preset--color--forest); padding-left: 18px; }
.sm-mini-quote { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 1.35rem; line-height: 1.3; }
.sm-mini-card, .sm-theme, .sm-training, .sm-plan { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 18px; padding: 24px; flex: 1; }
.sm-mini-card h3, .sm-theme h3 { font-size: 1.45rem; margin: 0.2rem 0; }
.sm-theme p { color: var(--wp--preset--color--muted); }
.wp-block-columns.sm-themes, .wp-block-columns.sm-mini-cards { gap: 18px; margin-bottom: 18px; }
.sm-way { background: var(--wp--preset--color--ivory); border-radius: 16px; padding: 22px; flex: 1; }
.sm-way h3 { font-size: 1.5rem; margin: 0.25rem 0; }
.sm-way p:last-child { color: var(--wp--preset--color--muted); font-size: 0.95rem; }
.wp-block-columns.sm-ways { margin-top: 30px; gap: 16px; }

/* Book: three doorways */
.wp-block-columns.sm-doors { gap: 22px; margin-top: 36px; }
.sm-door { padding: 34px 28px; border-radius: 200px 200px 18px 18px; text-align: center; height: 100%; }
.sm-door h3 { font-size: 2rem; font-style: italic; margin-top: 40px; }
.sm-door--sage { background: var(--wp--preset--color--sage); }
.sm-door--blush { background: var(--wp--preset--color--blush); }
.sm-door--lavender { background: var(--wp--preset--color--lavender); }
.sm-note-quote { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.35; max-width: 36ch; margin-inline: auto; }

/* Book: praise */
.sm-praise-lead { text-align: center; max-width: 820px; margin-inline: auto; }
.sm-pull { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.25; max-width: 28ch; margin-inline: auto; }
.sm-pull::before { content: "\201C"; display: block; font-size: 4rem; line-height: 0.6; color: var(--wp--preset--color--forest); font-style: normal; margin-bottom: 6px; }
.sm-pull-full { text-align: left; color: var(--wp--preset--color--muted); }
.sm-praise { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 20px; padding: 28px 26px; flex: 1; }
.sm-praise--wide { margin-top: 52px; padding: clamp(28px, 4vw, 46px); }
.sm-praise--wide .sm-praise__quote { font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 44ch; }
.sm-praise__quote { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 1.5rem; line-height: 1.3; }
.sm-praise__quote::before { content: "\201C"; }
.sm-praise__quote::after { content: "\201D"; }
.wp-block-columns.sm-praise-row { gap: 22px; margin-top: 22px; margin-bottom: 0; }
.sm-praise-row > .wp-block-column:nth-child(1) .sm-praise { background: var(--wp--preset--color--blush); border-color: var(--wp--preset--color--blush); }
.sm-praise-row > .wp-block-column:nth-child(2) .sm-praise { background: var(--wp--preset--color--sage); border-color: var(--wp--preset--color--sage); }
.sm-praise-row > .wp-block-column:nth-child(3) .sm-praise { background: var(--wp--preset--color--lavender); border-color: var(--wp--preset--color--lavender); }
.sm-praise .wp-block-details summary { cursor: pointer; color: var(--wp--preset--color--forest-deep); font-weight: 500; font-size: 0.95rem; }
.sm-praise .wp-block-details p { font-size: 0.97rem; }
html.js .sm-praise-more:not(.is-open) { display: none; }
.sm-more-toggle { margin-top: 30px; }

/* Yoga Nest: plans */
.wp-block-columns.sm-plans { max-width: 800px; margin: 34px auto 0; gap: 20px; }
.sm-plan { padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; border-radius: 20px; }
.sm-plan.is-featured { border: 2px solid var(--wp--preset--color--forest); }
.sm-plan .wp-block-buttons { margin-top: auto; }
.sm-tag { align-self: flex-start; display: inline-block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; background: var(--wp--preset--color--sage); color: var(--wp--preset--color--forest-deep); padding: 6px 12px; border-radius: 999px; }
.sm-price { font-family: var(--wp--preset--font-family--display); font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; margin: 0; }
.sm-price span { font-family: var(--wp--preset--font-family--sans); font-size: 0.95rem; color: var(--wp--preset--color--muted); }

/* Garden & courses */
.sm-event, .sm-guide { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); margin-top: 28px; }
.sm-guide { background: var(--wp--preset--color--ivory); }
.wp-block-columns.sm-mosaic { gap: 14px; }
.wp-block-columns.sm-trainings { gap: 20px; margin-top: 32px; }
.sm-training { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; }
.sm-training p:not(.sm-tag) { color: var(--wp--preset--color--muted); font-size: 0.98rem; }
.sm-training .wp-block-buttons { margin-top: auto; }
.wp-block-columns.sm-assets { gap: 18px; margin-top: 24px; }
.sm-assets .sm-card__body { padding-top: 14px; gap: 2px; }

/* ---------- Video ---------- */
.sm-video { margin: 24px auto; max-width: 880px; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.sm-video iframe, .sm-video video { width: 100%; height: 100%; display: block; border: 0; }

/* ---------- Letters from Stacy ---------- */
.sm-letters-band { padding-block: clamp(56px, 8vw, 96px); }
.sm-letter { max-width: 700px; margin: 0 auto; background: #FFFCF6; border: 1px solid #C9DBC2; border-radius: 30px; outline: 1px solid var(--wp--preset--color--blush); outline-offset: -12px; padding: clamp(40px, 6vw, 68px) clamp(24px, 6vw, 68px); text-align: center; box-shadow: 0 18px 44px rgba(47, 76, 68, .08); color: var(--wp--preset--color--forest-deep); }
.sm-letter::before { content: ""; display: block; width: 64px; height: 3px; border-radius: 3px; margin: 0 auto 22px; background: linear-gradient(90deg, var(--wp--preset--color--forest) 0 33%, #E9B9C0 33% 66%, #C9DBC2 66%); }
.sm-letter__form, .sm-letter__done { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.sm-letter [hidden] { display: none !important; }
.sm-letter__title { font-size: clamp(2.3rem, 4.6vw, 3.2rem); color: var(--wp--preset--color--forest-deep); margin: 0; }
.sm-letter__title:focus { outline: none; }
.sm-letter p { margin: 0 auto; max-width: 52ch; }
.sm-letter__lede { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 1.45rem; line-height: 1.35; }
.sm-letter__fields { display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px; align-items: end; width: 100%; margin-top: 12px; text-align: left; }
.sm-letter__fields label { display: grid; gap: 5px; font-size: 0.85rem; font-weight: 500; }
.sm-letter__fields label small { color: var(--wp--preset--color--muted); font-weight: 400; }
.sm-letter__fields input[type="text"], .sm-letter__fields input[type="email"] { font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 1px solid #C9DBC2; background: #fff; color: var(--wp--preset--color--ink); width: 100%; box-sizing: border-box; }
.sm-letter__consent { grid-column: 1 / -1; display: flex !important; gap: 10px; align-items: flex-start; font-size: 0.92rem !important; font-weight: 400 !important; line-height: 1.5; }
.sm-letter__consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--wp--preset--color--forest); flex: none; }
.sm-letter__button { grid-column: 1 / -1; justify-self: center; min-width: 240px; min-height: 50px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem !important; cursor: pointer; }
.sm-letter__button[disabled] { opacity: .7; cursor: wait; }
.sm-letter__error { grid-column: 1 / -1; color: #8A3B45; font-size: 0.9rem; margin: 0 !important; }
.sm-letter__frame { position: absolute; width: 0; height: 0; border: 0; visibility: hidden; }
.sm-letter__sign { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 1.5rem; margin-top: 6px !important; }
.sm-letter__fine { font-size: 0.84rem; color: var(--wp--preset--color--muted); }
.sm-letter--compact { max-width: none; margin: 8px 0 0; padding: clamp(26px, 4vw, 40px) clamp(20px, 4vw, 40px); border-radius: 24px; outline-offset: -9px; }
.sm-letter--compact .sm-letter__title { font-size: clamp(1.7rem, 3vw, 2.1rem); }
@media (max-width: 640px) { .sm-letter__fields { grid-template-columns: 1fr; } .sm-letter__button { width: 100%; min-width: 0; } }

/* ---------- Contact form ---------- */
.sm-contact { display: grid; gap: 16px; max-width: 560px; }
.sm-contact label { display: grid; gap: 6px; font-weight: 500; font-size: 0.95rem; }
.sm-contact :is(input, select, textarea) { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid #BDB6A8; background: #fff; color: var(--wp--preset--color--ink); width: 100%; box-sizing: border-box; }
.sm-contact button { justify-self: start; cursor: pointer; }
.sm-contact__error { color: #8A3B45; }
.sm-contact__thanks { background: #fff; border-radius: 18px; padding: 24px; }
.sm-hp { position: absolute !important; left: -9999px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 0; position: relative; } }
.sm-header { background: rgba(255, 249, 240, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--wp--preset--color--line); padding-block: 12px; }
.sm-header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sm-brand-wrap { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; flex: none; }
.sm-brand-wrap > * { margin: 0; }
.sm-logo { grid-row: 1 / span 2; line-height: 0; }
.sm-logo-img { height: 48px; width: auto; display: block; }
.sm-brand, .sm-brand-sub { white-space: nowrap; }
.sm-brand { align-self: end; }
.sm-brand-sub { align-self: start; }
.sm-brand { font-family: var(--wp--preset--font-family--display); font-size: 1.7rem; font-weight: 600; line-height: 1; margin: 0; }
.sm-brand a { color: var(--wp--preset--color--ink); text-decoration: none; }
.sm-brand-sub { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wp--preset--color--forest); margin: 5px 0 0 !important; }
.sm-header-right { display: flex; align-items: center; gap: 18px; }
.sm-header-right > * { margin: 0 !important; }
.sm-nav a { text-decoration: none; white-space: nowrap; }
.sm-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--forest); }
.sm-nav .current-menu-item > .wp-block-navigation-item__content { box-shadow: inset 0 -2px 0 var(--wp--preset--color--forest); }
.sm-nav .wp-block-navigation__submenu-container { background: #fff !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 12px; padding: 8px !important; box-shadow: 0 14px 40px rgba(36, 48, 44, .12); min-width: 240px !important; }
.sm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 12px !important; border-radius: 8px; }
.sm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--sage); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--ivory) !important; padding: 2rem 1.5rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.2rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0 0 0 1rem !important; background: transparent !important; }
.sm-header-cta .wp-block-button__link { white-space: nowrap; padding: 0.65rem 1.3rem; }
/* Use the tidy mobile menu up to 1240px, so the full menu never wraps on tablets. */
@media (max-width: 1240px) {
	.sm-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.sm-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}
@media (max-width: 600px) { .sm-header-cta { display: none !important; } .sm-brand { font-size: 1.45rem; } .sm-logo-img { height: 38px; } }

/* ---------- Footer ---------- */
.sm-footer { background: var(--wp--preset--color--forest-deep); color: #E9EFE6; padding-block: 56px 34px; margin-top: 0 !important; }
.sm-footer h3 { color: var(--wp--preset--color--ivory); font-size: 1.35rem; margin: 0 0 12px; }
.sm-footer a { color: #E9EFE6; text-decoration: none; }
.sm-footer a:hover { text-decoration: underline; }
.sm-footer-links { line-height: 2; }
.sm-footer-fine { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 40px; padding-top: 20px; font-size: 0.85rem; color: #C9D6CF; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.sm-footer-fine > * { margin: 0 !important; }
.site-footer { margin-top: 0; }

/* ---------- Journal & posts ---------- */
.sm-journal-intro { padding-bottom: 24px; }
.journal-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 18px; overflow: hidden; height: 100%; }
.journal-card .wp-block-post-featured-image { margin: 0; }
.journal-card .wp-block-post-featured-image img { aspect-ratio: 3 / 2; object-fit: cover; }
.journal-card .wp-block-post-title a { text-decoration: none; }
.journal-card .wp-block-post-title a:hover { color: var(--wp--preset--color--forest); }
.wp-block-post-template.is-layout-grid > li { display: flex; }
.wp-block-post-template.is-layout-grid > li > .journal-card { flex: 1; }
.wp-block-post-excerpt__more-link { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.wp-block-query-pagination a { text-decoration: none; }
.sm-author { background: var(--wp--preset--color--sage); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.sm-author-photo img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.single .wp-block-post-content { max-width: 720px; margin-inline: auto; }

/* ---------- Legacy layouts (On-Demand, 3-Day Detox, Books & eBooks) ---------- */
.card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 18px; overflow: hidden; height: 100%; }
.card .wp-block-image { margin: 0; }
.card .wp-block-image img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.card .card__body { padding: 1.75rem 1.6rem 2rem; }
.wp-block-columns.cards > .wp-block-column { display: flex; }
.wp-block-columns.cards > .wp-block-column > .card { flex: 1; }
.book-cover img { box-shadow: var(--wp--preset--shadow--book); max-width: 380px; width: 100%; margin-inline: auto; display: block; }
.photo-tall img { border-radius: 999px 999px 18px 18px; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Helpers ---------- */
.stacy-editor-note { border: 1.5px dashed #B98C93; background: var(--wp--preset--color--blush); color: #5B3A40; padding: 0.9rem 1.1rem; font-size: 0.88rem; line-height: 1.5; text-align: left; border-radius: 12px; max-width: 640px; margin-inline: auto; }
.stacy-editor-note strong { display: block; margin-bottom: 0.2rem; }
.kind-words { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; text-align: left; }
.kind-words figure { margin: 0; background: #fff; padding: 2rem 1.75rem; border-radius: 18px; }
.kind-words blockquote { margin: 0 0 1.25rem; font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 1.25rem; line-height: 1.5; }
.kind-words figcaption { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--wp--preset--color--muted); }
.kind-words figcaption span { display: block; font-weight: 400; letter-spacing: 0.06em; margin-top: 0.2rem; text-transform: none; }

@media (max-width: 781px) {
	.sm-hero .wp-block-columns { gap: 32px; }
	.sm-door h3 { margin-top: 16px; }
	.sm-feature-note--wide { margin-top: 28px; }
}

/* Photo caption under an arch image */
.sm-caption { font-size: 0.85rem; font-style: italic; color: var(--wp--preset--color--muted, #6b6f6a); text-align: center; margin: 0.75rem auto 0 !important; max-width: 420px; }

/* Doorway Breath audio player */
.sm-audio { max-width: 560px; margin: 2rem auto 1.5rem !important; }
.sm-audio audio { width: 100%; }
.sm-audio-note { max-width: 560px; margin-left: auto !important; margin-right: auto !important; }
.sm-legal h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.sm-legal li { margin-bottom: .4rem; }
