/*
Theme Name: Sam Hudek Studio
Theme URI: https://samhudekstudio.com
Description: Editorial child theme for Sam Hudek Studio, built on Twenty Twenty-Five. Layout and brand styles live here; all page content stays editable in the WordPress editor.
Author: Sam Hudek Studio
Template: twentytwentyfive
Version: 1.2.7
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sam-hudek-studio
*/

/* ---------- Basics ---------- */
:root {
	--shs-maroon: #7A2C3D;
	--shs-maroon-dark: #5A1F2C;
	--shs-ink: #2B1E22;
	--shs-body: #4A3A3E;
	--shs-muted: #6B5A5E;
	--shs-cream: #FBF6F2;
	--shs-blush: #F6ECE9;
	--shs-line: #EFE4E1;
	--shs-radius: 22px;
	--shs-gutter: clamp(20px, 4vw, 32px);
}

.shs-section { padding-top: clamp(52px, 8vw, 96px); padding-bottom: clamp(52px, 8vw, 96px); }
.shs-cream { background: var(--shs-cream); }
.shs-maroon { background: var(--shs-maroon); color: #fff; }
.shs-maroon h2, .shs-maroon h3, .shs-maroon a { color: #fff; }

/* Small uppercase label above headings */
.shs-eyebrow {
	font-size: 0.8rem !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--shs-maroon);
	margin-bottom: 0.6rem !important;
}
.shs-maroon .shs-eyebrow { color: #F3D9DD; }
.shs-muted { color: var(--shs-muted); }
.shs-lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--shs-body); }

/* Rounded artwork */
.shs-rounded img,
.shs-rounded.wp-block-post-featured-image img,
.shs-rounded .wp-block-post-featured-image img { border-radius: var(--shs-radius); }
.shs-rounded.wp-block-post-featured-image,
.shs-rounded .wp-block-post-featured-image { border-radius: var(--shs-radius); overflow: hidden; }

/* ---------- Header ---------- */
.shs-header-wrap { border-bottom: 1px solid var(--shs-line); background: #fff; }
.shs-header { padding-top: 18px; padding-bottom: 18px; gap: 16px 40px; }
.shs-brand { gap: 4px !important; }
.shs-brand .wp-block-site-title { font-family: var(--wp--preset--font-family--fraunces); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.1; margin: 0; }
.shs-brand .wp-block-site-title a { color: var(--shs-maroon); text-decoration: none; }
.shs-tagline { font-size: 0.78rem !important; letter-spacing: 0.22em; text-transform: uppercase; color: var(--shs-muted); margin: 0 !important; }
.shs-nav { font-size: 1.05rem; font-weight: 600; gap: 8px 26px; }
.shs-nav a { color: var(--shs-ink); text-decoration: none; }
.shs-nav a:hover { color: var(--shs-maroon); }
.shs-nav .wp-block-navigation__responsive-container-open,
.shs-nav .wp-block-navigation__responsive-container-close {
	width: 48px; height: 48px; border-radius: 999px; border: 1px solid #E3D3D0; background: var(--shs-cream);
	align-items: center; justify-content: center; color: var(--shs-maroon);
}
.shs-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
	font-family: var(--wp--preset--font-family--fraunces); font-size: 1.35rem; font-weight: 500;
}
.shs-header-cta .wp-block-button__link { padding: 12px 22px; font-size: 1rem; }
@media (max-width: 781px) {
	.shs-header-cta { display: none !important; }
}

/* "Free guide" shows as a menu item only inside the phone menu */
.shs-nav .shs-nav-free-guide { display: none; }
.shs-nav .is-menu-open .shs-nav-free-guide { display: flex; }
.shs-nav .is-menu-open .shs-nav-free-guide a { color: var(--shs-maroon) !important; }

/* Shop / cart icon in the header. Links to the shop list for now;
   change the link in Appearance > Editor > Patterns > Header once checkout is decided. */
.shs-cart {
	width: 48px; height: 48px; border-radius: 999px; border: 1px solid #E3D3D0; background: var(--shs-cream);
	display: inline-flex; align-items: center; justify-content: center; color: var(--shs-maroon); flex: 0 0 auto;
}
.shs-cart:hover { background: var(--shs-blush); color: var(--shs-maroon-dark); }

/* ---------- Hero ---------- */
.shs-hero { gap: clamp(28px, 5vw, 56px) !important; }
.shs-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.25rem); line-height: 1.05; letter-spacing: -0.02em; }
.shs-hero h1 em { color: var(--shs-maroon); }
.shs-hero-image img { border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(90, 31, 44, 0.35); object-fit: cover; object-position: left center; width: 100%; height: 460px; }
.shs-hero-image figcaption { font-style: italic; color: var(--shs-muted); font-size: 0.9rem; text-align: left; }
.shs-proof { font-size: 0.95rem !important; color: var(--shs-muted); }
@media (max-width: 781px) {
	.shs-hero { flex-direction: column-reverse; }
	.shs-hero-image img { height: 190px; border-radius: 20px; }
	.shs-hero-image figcaption { display: none; }
	.shs-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.shs-hero .wp-block-button__link { width: 100%; }
	.shs-hero .shs-lead { font-size: 1.05rem; }
	.shs-hero.wp-block-columns { padding-top: 12px !important; }
}

/* ---------- Tiles (pathways) and swipe rows ---------- */
.shs-tile figure { margin-bottom: 18px; }
.shs-tile img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--shs-radius); transition: transform .5s ease; }
.shs-tile figure { overflow: hidden; border-radius: var(--shs-radius); }
.shs-tile:hover img { transform: scale(1.03); }
.shs-tile h3 { font-size: 1.8rem; margin: 0 0 6px; }
.shs-tile h3 a { color: var(--shs-ink); text-decoration: none; }
.shs-tile p { margin-top: 0; }
@media (max-width: 781px) {
	.shs-swipe.wp-block-columns {
		flex-wrap: nowrap !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 16px !important;
		margin-right: calc(-1 * var(--wp--style--root--padding-right, 20px));
		padding-right: var(--wp--style--root--padding-right, 20px);
		padding-bottom: 8px;
		scrollbar-width: none;
	}
	.shs-swipe.wp-block-columns::-webkit-scrollbar { display: none; }
	body .wp-block-columns.shs-swipe > .wp-block-column { flex: 0 0 78% !important; scroll-snap-align: start; }
	.shs-tile img { height: 320px; }
	.shs-swipe-hint { display: block !important; }
}
.shs-swipe-hint { display: none !important; }

/* ---------- Flat to Beautiful ---------- */
.shs-compare img { width: 100%; height: clamp(190px, 32vw, 440px); object-fit: cover; border-radius: 28px 28px 0 0; }
.shs-compare-labels { font-family: var(--wp--preset--font-family--fraunces); font-size: clamp(1rem, 1.6vw, 1.375rem); color: var(--shs-body); padding: 14px 20px 18px; }
.shs-compare-labels p { margin: 0; flex: 1 1 0; }
.shs-compare-labels p:last-child { color: var(--shs-maroon); text-align: right; }

/* Product cards */
.shs-products .wp-block-post-template { gap: 32px; }
.shs-product-card .wp-block-post-featured-image { margin-bottom: 16px; }
.shs-product-card .wp-block-post-featured-image img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; background: var(--shs-blush); }
.shs-product-card h3 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 6px; }
.shs-product-card h3 a { color: var(--shs-ink); text-decoration: none; }
.shs-product-card .wp-block-post-excerpt { font-size: 1.05rem; color: var(--shs-body); margin: 0 0 10px; }
.shs-product-card .wp-block-post-excerpt__excerpt { margin: 0; }
.shs-price { font-weight: 700; margin: 0 0 8px !important; }
.shs-product-card .wp-block-read-more { font-weight: 700; text-decoration: none; color: var(--shs-maroon); }
.shs-product-label { font-size: 0.8rem !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--shs-muted); font-weight: 700; margin: 0 0 2px !important; }
@media (max-width: 781px) {
	/* Guides become a readable list on phones */
	.shs-products .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr !important; gap: 22px; }
	.shs-product-card { display: grid; grid-template-columns: 104px 1fr; column-gap: 16px; align-items: center; }
	.shs-product-card > .wp-block-post-featured-image { grid-row: 1 / span 6; margin: 0; }
	.shs-product-card h3 { font-size: 1.3rem; }
	.shs-product-card .wp-block-post-excerpt { font-size: 0.95rem; }
}

/* ---------- Journal ---------- */
.shs-journal-feature .wp-block-post-featured-image img { height: clamp(300px, 40vw, 520px); object-fit: cover; }
.shs-journal-feature h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; margin: 0 0 12px; }
.shs-journal-feature h3 a, .shs-journal-row h3 a { color: var(--shs-ink); text-decoration: none; }
.shs-journal-feature h3 a:hover, .shs-journal-row h3 a:hover { color: var(--shs-maroon); }
.shs-journal-feature .wp-block-post-terms, .shs-journal-row .wp-block-post-terms {
	font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; margin: 18px 0 8px;
}
.shs-journal-feature .wp-block-post-terms a, .shs-journal-row .wp-block-post-terms a { color: var(--shs-maroon); text-decoration: none; }
.shs-journal-list .wp-block-post-template { gap: 0; }
.shs-journal-list .wp-block-post-template > li { border-top: 1px solid #E8D9D5; padding: 22px 0; }
.shs-journal-list .wp-block-post-template > li:first-child { border-top: none; padding-top: 0; }
.shs-journal-row { gap: 20px !important; align-items: center; flex-wrap: nowrap !important; }
.shs-journal-row .wp-block-post-featured-image { flex: 0 0 140px; width: 140px; margin: 0; }
.shs-journal-row .wp-block-post-featured-image img { width: 140px; height: 140px; object-fit: cover; border-radius: 18px; }
.shs-journal-row .wp-block-post-terms { margin: 0 0 6px; }
.shs-journal-row h3 { font-size: 1.45rem; line-height: 1.2; margin: 0 0 4px; }
.shs-journal-row .wp-block-post-excerpt { font-size: 1rem; color: var(--shs-body); margin: 0; }
@media (max-width: 781px) {
	.shs-journal-row .wp-block-post-featured-image { flex-basis: 92px; width: 92px; }
	.shs-journal-row .wp-block-post-featured-image img { width: 92px; height: 92px; border-radius: 14px; }
	.shs-journal-row h3 { font-size: 1.2rem; }
	.shs-journal-row .wp-block-post-excerpt { display: none; }
}

/* Blog index grid */
.shs-post-grid .wp-block-post-featured-image img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.shs-post-grid h2 { font-size: 1.5rem; line-height: 1.2; }
.shs-post-grid h2 a { color: var(--shs-ink); text-decoration: none; }

/* ---------- Reviews ---------- */
.shs-review blockquote, .shs-review .wp-block-quote { border: none; padding: 0; margin: 0; }
.shs-review .wp-block-quote p { font-family: var(--wp--preset--font-family--fraunces); font-size: 1.3rem; line-height: 1.45; }
.shs-review .wp-block-quote cite { font-style: normal; font-size: 0.95rem; color: var(--shs-muted); }
.shs-review img { width: 100%; height: 300px; object-fit: cover; border-radius: 20px; }

/* ---------- Free guide ---------- */
.shs-signup label { display: block; font-weight: 700; font-size: 0.95rem; margin: 10px 0 6px; }
.shs-signup input[type="text"], .shs-signup input[type="email"] {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 1.1rem; padding: 14px 18px; min-height: 54px;
	border: none; border-radius: 14px; background: #fff; color: var(--shs-ink);
}
.shs-signup button {
	width: 100%; margin-top: 16px; min-height: 56px; border: none; border-radius: 999px; cursor: pointer;
	background: var(--shs-cream); color: var(--shs-maroon-dark); font: inherit; font-weight: 700; font-size: 1.1rem;
}
.shs-signup button:hover { background: #fff; }
.shs-signup .shs-small { font-size: 0.9rem; color: #F3D9DD; margin-top: 10px; text-align: center; }

/* ---------- Single product ---------- */
.shs-product-hero .wp-block-post-featured-image img { border-radius: 20px; box-shadow: 0 30px 60px -34px rgba(90, 31, 44, 0.4); }
.shs-product-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.08; }
.shs-product-hero .shs-price { font-size: 1.6rem; font-family: var(--wp--preset--font-family--fraunces); font-weight: 500; }
.shs-buy .wp-block-button__link { padding: 18px 34px; font-size: 1.1rem; }
@media (max-width: 781px) {
	.shs-buy .wp-block-button, .shs-buy .wp-block-button__link { width: 100%; }
}

/* ---------- Blog post ---------- */
.shs-post-cta { border-radius: 24px; padding: clamp(28px, 4vw, 44px) !important; }

/* ---------- Footer ---------- */
.shs-footer { background: var(--shs-ink); color: #E9DCDD; }
.shs-footer a { color: #F3E3E0; text-decoration: none; }
.shs-footer a:hover { color: #fff; text-decoration: underline; }
.shs-footer .wp-block-site-title, .shs-footer-title { font-family: var(--wp--preset--font-family--fraunces); font-size: 1.75rem !important; color: #fff; margin: 0 0 10px; }
.shs-footer-head { font-size: 0.78rem !important; letter-spacing: 0.2em; text-transform: uppercase; color: #BFA9AD; font-weight: 700; margin-bottom: 8px !important; }
.shs-footer-links p { margin: 0 0 10px; }
.shs-footer-bottom { border-top: 1px solid #4A3A3E; padding-top: 24px; margin-top: 48px; font-size: 0.85rem; color: #BFA9AD; gap: 12px 32px; }
.shs-footer .wp-block-social-links .wp-social-link { border: 1px solid #6B5A5E; }
.shs-footer .wp-block-social-links .wp-social-link a { padding: 10px; }
@media (max-width: 781px) {
	.shs-footer-cols.wp-block-columns { flex-wrap: wrap !important; }
	.shs-footer-cols > .wp-block-column.shs-footer-about { flex-basis: 100% !important; }
	.shs-footer-cols > .wp-block-column:not(.shs-footer-about) { flex-basis: calc(50% - 20px) !important; flex-grow: 0; }
}

/* Large tap targets everywhere */
.wp-block-button__link { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }

/* =========================================================
   Version 1.2: agreed page-by-page refinements
   ========================================================= */

/* Calmer spacing between sections */
.shs-section { padding-top: clamp(40px, 5.5vw, 76px); padding-bottom: clamp(40px, 5.5vw, 76px); }
.shs-blush { background: var(--shs-blush); }
main.wp-block-group { margin-bottom: 0; }
footer.wp-block-template-part, .wp-site-blocks > footer { margin-top: 0 !important; }
.wp-site-blocks > main + footer, .shs-signup-band + footer { margin-top: 0 !important; }
.shs-hidden { display: none !important; }
.shs-section-head { margin-bottom: clamp(20px, 3vw, 36px); }
.shs-section-head .shs-lead { max-width: 760px; }

/* Secondary "text link" buttons */
.wp-block-button.is-style-shs-text .wp-block-button__link {
	background: transparent; color: var(--shs-maroon); padding: 10px 4px; min-height: 44px;
	text-decoration: underline; text-underline-offset: 4px; border: none;
}
.wp-block-button.is-style-shs-text .wp-block-button__link:hover { color: var(--shs-maroon-dark); background: transparent; }

/* Homepage pathways: three equal landscape tiles */
.shs-tile img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.shs-tile h3 { font-size: 1.6rem; }
@media (max-width: 781px) { .shs-tile img { height: auto; } }

/* Before-and-after peony: half the height, labels under each half */
.shs-compare img { height: clamp(150px, 18vw, 230px); }
.shs-compare-labels p { text-align: center !important; flex: 1 1 50%; }
.shs-compare-labels p:last-child { text-align: center !important; }

/* Product cards (guides on the homepage, bundles) */
.shs-products .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 28px; }
.shs-product-card .wp-block-post-featured-image img,
.shs-product-card .shs-card-cover img { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; border-radius: 16px; background: var(--shs-blush); }
.shs-product-card .shs-card-cover { margin: 0 0 14px; }
.shs-product-card h3 { font-size: 1.35rem; }
.shs-card-excerpt { font-size: 1.02rem; color: var(--shs-body); margin: 0 0 8px; }
.shs-card-buttons { gap: 4px 14px; margin-top: 6px; }
.shs-card-buttons .wp-block-button:not(.is-style-shs-text) .wp-block-button__link { padding: 12px 24px; font-size: 1rem; }
.shs-start-here { font-weight: 600; color: var(--shs-maroon); margin-top: 28px; }
.shs-start-here a { color: var(--shs-maroon); }
@media (max-width: 781px) {
	.shs-products .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr !important; }
	.shs-product-card { grid-template-columns: 112px 1fr; }
	.shs-product-card > .wp-block-post-featured-image { grid-row: 1 / span 7; }
	.shs-card-buttons { flex-direction: column; align-items: flex-start; }
}

/* Journal on the homepage: featured image a third shorter */
.shs-journal-feature .wp-block-post-featured-image img { height: clamp(220px, 27vw, 350px); }

/* Card rows (bundles, gifts) */
.shs-cards { gap: clamp(20px, 3vw, 36px) !important; }
.shs-cards .shs-product-card { display: block; }
.shs-gift-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--shs-radius); }
.shs-gift-card h3 { font-size: 1.5rem; margin: 0 0 6px; }
.shs-gift-card .wp-block-buttons { margin-top: 12px; }
.shs-coming { margin-top: clamp(28px, 4vw, 44px); }
.shs-gift-idea a { color: var(--shs-maroon); }
@media (max-width: 781px) {
	.shs-cards.wp-block-columns > .wp-block-column { flex: 0 0 82% !important; }
	.shs-cards .shs-product-card { display: block; }
	.shs-gift-card .wp-block-button, .shs-gift-card .wp-block-button__link { width: 100%; }
}

/* Page intros */
.shs-page-hero .shs-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.shs-page-hero .shs-hero-image img { height: clamp(240px, 30vw, 420px); object-position: center; }
.shs-intro { text-align: center; padding-bottom: clamp(16px, 3vw, 32px); }
.shs-intro h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.shs-intro .shs-lead { max-width: 820px; margin-left: auto; margin-right: auto; }
@media (max-width: 781px) {
	.shs-page-hero .shs-hero { flex-direction: column !important; }
	.shs-page-hero .shs-hero-image img { height: auto; aspect-ratio: 4 / 3; max-height: 66vh; }
}

/* Large product rows (Learn to Color, Coloring Books) */
.shs-feature-cols { gap: clamp(28px, 5vw, 72px) !important; }
.shs-feature-cover img { width: 100%; height: auto; max-height: 560px; object-fit: contain; border-radius: 18px; box-shadow: 0 28px 56px -32px rgba(90, 31, 44, 0.45); }
.shs-feature h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 4px; }
.shs-feature-sub { font-family: var(--wp--preset--font-family--fraunces); font-size: 1.25rem !important; color: var(--shs-maroon); margin-top: 0 !important; }
.shs-peek-label { font-size: 0.8rem !important; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--shs-muted); margin: 26px 0 8px !important; }
.wp-block-gallery.shs-peek { gap: 12px !important; max-width: 460px; margin-bottom: 26px; }
.wp-block-gallery.shs-peek .wp-block-image { background: var(--shs-cream); border: 1px solid var(--shs-line); border-radius: 12px; overflow: hidden; }
.wp-block-gallery.shs-peek .wp-block-image img { height: 150px !important; width: 100%; object-fit: cover; object-position: center 55%; cursor: zoom-in; }
.shs-blush .wp-block-gallery.shs-peek .wp-block-image { background: #fff; }
@media (min-width: 782px) {
	.shs-feature-cols.shs-reverse { flex-direction: row-reverse; }
}
@media (max-width: 781px) {
	.shs-feature-cover { max-width: 260px; margin: 0 auto; }
	.wp-block-gallery.shs-peek { max-width: none; }
	.wp-block-gallery.shs-peek .wp-block-image img { height: 120px !important; }
	.shs-buy .wp-block-button, .shs-buy .wp-block-button__link { width: 100%; }
}

/* Free guide page */
.shs-free-guide-cover img { border-radius: 16px; box-shadow: 0 28px 56px -32px rgba(90, 31, 44, 0.45); max-height: 620px; width: auto; margin: 0 auto; display: block; }
.shs-checklist { list-style: none; padding-left: 0; }
.shs-checklist li { padding-left: 34px; position: relative; margin-bottom: 10px; }
.shs-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--shs-maroon); font-weight: 700; }
@media (max-width: 781px) {
	.shs-free-guide-cols { flex-direction: column !important; }
	.shs-free-guide-cover img { max-height: 380px; }
}

/* About, contact, privacy */
.shs-about h1, .shs-contact h1, .shs-legal h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.shs-about-pause { font-family: var(--wp--preset--font-family--fraunces); font-size: 1.6rem !important; color: var(--shs-maroon); }
.shs-signature { font-family: var(--wp--preset--font-family--fraunces); font-style: italic; font-size: 1.8rem !important; color: var(--shs-maroon); margin-top: 8px !important; }
.shs-contact-email { font-family: var(--wp--preset--font-family--fraunces); font-size: clamp(1.4rem, 3vw, 2rem) !important; }
.shs-legal h2 { font-size: 1.5rem; margin-top: 2.2em; }

/* Blog list */
.shs-post-grid .wp-block-post-featured-image img { aspect-ratio: 3 / 2; }
.shs-post-grid .wp-block-post-terms.shs-eyebrow { margin: 16px 0 6px !important; }
.shs-post-grid .wp-block-post-terms a, .wp-block-post-terms.shs-eyebrow a { color: var(--shs-maroon); text-decoration: none; }
.shs-post-grid h2, .shs-post-grid h3 { font-size: 1.4rem; line-height: 1.25; margin-top: 0; }
.shs-post-grid h3 a { color: var(--shs-ink); text-decoration: none; }

/* Articles */
.shs-article { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(32px, 4vw, 56px); }
.shs-article-meta { gap: 6px 16px; align-items: baseline; }
.shs-article-meta > * { margin: 0 !important; }
.shs-reading-time { color: var(--shs-muted) !important; }
.shs-article-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.1; margin-top: 10px; }
.shs-article-image img { max-height: 460px; object-fit: cover; width: 100%; }
.shs-article-body h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin-top: 1.8em; margin-bottom: 0.4em; }
.shs-article-body h3 { font-size: clamp(1.3rem, 1.9vw, 1.5rem); margin-top: 1.5em; margin-bottom: 0.3em; }
.shs-article-body h4 { font-size: 1.2rem; }
.shs-article-body img { border-radius: 16px; }
.shs-article-body figcaption { text-align: center; }
.shs-article-body ul, .shs-article-body ol { padding-left: 1.3em; }
.shs-article-body li { margin-bottom: 0.4em; }

/* Boxes Sam can add */
.wp-block-group.is-style-shs-tip, .wp-block-group.is-style-shs-mistake, .wp-block-group.is-style-shs-disclosure {
	border-radius: 18px; padding: 22px 26px !important; margin-top: 1.6em; margin-bottom: 1.6em;
}
.wp-block-group.is-style-shs-tip { background: var(--shs-blush); border-left: 5px solid var(--shs-maroon); }
.wp-block-group.is-style-shs-mistake { background: #FFF7EC; border-left: 5px solid #C2853D; }
.wp-block-group.is-style-shs-disclosure { background: var(--shs-cream); font-size: 0.95rem; color: var(--shs-muted); padding: 14px 20px !important; }
.wp-block-group.is-style-shs-tip > *, .wp-block-group.is-style-shs-mistake > * { margin-top: 0.4em; margin-bottom: 0.4em; }
.shs-box-title { font-weight: 700; color: var(--shs-maroon); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem !important; }
.is-style-shs-mistake .shs-box-title { color: #8A5A1E; }
.shs-recommend, .shs-related-guide { background: var(--shs-cream); border-radius: 22px; padding: clamp(22px, 3vw, 32px) !important; margin-top: 2em; }
.shs-recommend img, .shs-related-guide img { border-radius: 12px; width: 100%; height: auto; }
.shs-related-guide h3, .shs-recommend h3 { font-size: 1.5rem; margin: 0 0 6px; }
.shs-related-guide-cols { gap: 28px !important; }
@media (max-width: 781px) {
	.shs-related-guide-cols > .wp-block-column:first-child { max-width: 180px; }
}
.shs-related-posts h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* Mobile comfort */
@media (max-width: 781px) {
	body { font-size: max(17px, 1.0625rem); }
	.wp-block-button__link { min-height: 50px; }
}

/* Look inside: always three small thumbnails in a row, on every screen */
.wp-block-gallery.has-nested-images.shs-peek { display: flex; flex-wrap: nowrap; }
.wp-block-gallery.has-nested-images.shs-peek figure.wp-block-image:not(#individual-image) {
	width: calc((100% - 24px) / 3) !important; flex: 0 0 calc((100% - 24px) / 3) !important; margin: 0 !important;
}
.wp-block-gallery.has-nested-images.is-cropped.shs-peek figure.wp-block-image:not(#individual-image) img { height: 150px !important; flex: none; }
@media (max-width: 781px) {
	.wp-block-gallery.has-nested-images.is-cropped.shs-peek figure.wp-block-image:not(#individual-image) img { height: 118px !important; }
}

/* Card rows never stretch wider than a comfortable card */
@media (min-width: 782px) {
	.shs-cards.wp-block-columns > .wp-block-column { flex: 0 1 calc((100% - 72px) / 3) !important; max-width: calc((100% - 72px) / 3); }
}
/* Two plain white sections in a row share their spacing */
.wp-block-group.alignfull.shs-section:not(.shs-cream):not(.shs-maroon):not(.shs-blush) + .wp-block-group.alignfull.shs-section:not(.shs-cream):not(.shs-maroon):not(.shs-blush) { padding-top: 0; }
@media (max-width: 781px) {
	.shs-hero.wp-block-columns { flex-direction: column !important; }
}

/* 1.2.1: line up prices, buttons and links across product cards */
@media (min-width: 782px) {
	.shs-products .wp-block-post-template > li { display: flex; }
	.shs-products .shs-product-card,
	.shs-cards .shs-product-card { display: flex !important; flex-direction: column; height: 100%; width: 100%; }
	.shs-product-card .shs-price { margin-top: auto !important; padding-top: 8px; }
}
.shs-card-buttons { flex-wrap: wrap; align-items: center; }
.shs-card-buttons > .wp-block-button:first-child { flex-basis: 100%; }
.shs-card-buttons > .wp-block-button.is-style-shs-text .wp-block-button__link { padding: 6px 0; min-height: 40px; }
.shs-card-buttons { gap: 2px 18px !important; }
@media (max-width: 781px) {
	.shs-card-buttons { flex-direction: row; }
}
@media (min-width: 782px) {
	/* Room for both text links, so prices and Buy buttons line up even when a guide has no paperback */
	.shs-products .shs-card-buttons { min-height: 150px; align-content: flex-start; }
}

/* 1.2.2: before-and-after as its own feature, then the guides */
.shs-ftb-intro { gap: clamp(28px, 5vw, 64px) !important; margin-bottom: clamp(40px, 6vw, 72px); }
.shs-ftb .shs-compare img { height: auto !important; aspect-ratio: auto; object-fit: contain; border-radius: 20px; }
.shs-ftb .shs-compare-labels { padding: 12px 0 0; gap: 12px; }
.shs-ftb .shs-compare-labels p { font-size: clamp(0.95rem, 1.3vw, 1.15rem); line-height: 1.3; }
.shs-compare-tag { display: block; font-family: var(--wp--preset--font-family--nunito-sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--shs-muted); margin-bottom: 2px; }
.shs-ftb .shs-compare-labels p:last-child .shs-compare-tag { color: var(--shs-maroon); }
.shs-guides-row h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 4px; }
.shs-guides-row .shs-products { margin-top: 24px; }
.shs-guides-row .wp-block-buttons { margin-top: 28px; }
@media (max-width: 781px) {
	.shs-products .shs-product-card { align-items: start; row-gap: 0; }
	.shs-products .shs-product-card > .wp-block-post-featured-image { margin-top: 4px; }
}

/* 1.2.3: Sender sign-up form */
.sender-form-field { width: 100%; max-width: 520px; min-height: 120px; }
.shs-signup-band .sender-form-field { margin-left: auto; }
.shs-form-card { margin-top: 18px; }
.shs-free-guide .sender-form-field { max-width: 560px; }

/* 1.2.4: real customer pages */
.shs-review img { height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; }
.shs-review .wp-block-quote p { font-size: 1.15rem; }
.shs-review .wp-block-quote cite, .shs-review-caption { font-size: 0.95rem; color: var(--shs-muted); font-style: normal; display: block; margin-top: 10px; }
.shs-review-caption { font-family: var(--wp--preset--font-family--fraunces); font-size: 1.15rem !important; color: var(--shs-ink); }
.shs-review .wp-block-image { margin-bottom: 16px; }
.shs-review .wp-block-quote cite strong, .shs-review-caption strong { color: var(--shs-ink); font-weight: 700; }
.shs-review-caption { font-family: inherit; font-size: 0.95rem !important; color: var(--shs-muted); }
.shs-review .shs-review-caption { font-family: var(--wp--preset--font-family--fraunces); }
