/* P1 Home (page 38) only. */

/* Hero, wide: panel on the wide edge; a soft white veil keeps the script crisp on every slide. */
@media (min-width: 782px) {
	body.page-home .mma-hero { min-height: min(100svh, 56.25vw, 960px); }
	body.page-home .mma-hero__slides > figure img[src*="San-diego-wedding-hair-and-makeup-home-slide-1-1"] { object-position: center top; }
	body.page-home .mma-hero__panel { position: relative; margin-right: 0 !important; }
	body.page-home .mma-hero__panel::before { content: ""; position: absolute; z-index: -1; inset: -14% -12% -18% -16%; background: radial-gradient(closest-side, rgba(255,255,255,.7), rgba(255,255,255,.45) 60%, rgba(255,255,255,0)); pointer-events: none; }
}
@media (min-width: 1200px) { body.page-home .mma-hero__content { max-width: 1340px !important; } }

/* Hero, phones: photo on top, text on blush below it. */
@media (max-width: 781px) {
	body.page-home .mma-hero { min-height: 0; padding: var(--mma-header-h) 0 36px !important; }
	body.page-home .mma-hero::after { bottom: auto; height: 110px; background: linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,0)); }
	body.page-home .mma-hero__slides { position: relative !important; inset: auto; height: clamp(225px, 61vw, 430px); }
	body.page-home .mma-hero__slides > figure img[src*="San-diego-wedding-hair-and-makeup-home-slide-1-1"] { object-position: 47% 35%; }
	body.page-home .mma-hero__content { padding: 26px var(--mma-gutter) 0; }
	body.page-home .mma-hero__nav { top: calc(var(--mma-header-h) + clamp(225px, 61vw, 430px) - 62px); bottom: auto; }
}

/* Facts strip (C8) and love note (C15): global specs in components.css / blocks/quote.css (F polish pass, Nov 15). */
@media (min-width: 782px) { body.page-home .is-style-section-ink { padding-block: var(--wp--preset--spacing--80) !important; } }

/* Pricing teaser: Poppins lining numerals (CBYG "$175" read as "$l75"); tighter cards; no dead space under the link.
   Amends C13 "script price" on Home only: Andrae's OK at the Q9 side-by-side. */
body.page-home .mma-home-pricing .mma-price-cards > .is-style-card { justify-content: flex-end; padding: var(--wp--preset--spacing--40) !important; }
body.page-home .mma-home-pricing .mma-price { font: 400 clamp(30px, 3vw, 40px)/1.1 var(--mma-sans) !important; font-variant-numeric: lining-nums tabular-nums !important; letter-spacing: -.01em !important; }
body.page-home .mma-home-pricing .mma-price::before { width: 32px; margin-bottom: 14px; }
body.page-home .mma-home-pricing .is-style-eyebrow { margin-bottom: 14px !important; }
@media (max-width: 781px) { body.page-home .mma-home-pricing .mma-price-cards > .is-style-card { padding: 24px 12px !important; } }
body.page-home .mma-price-cards + .mma-section-cta { margin-top: var(--wp--preset--spacing--40) !important; }
@media (min-width: 782px) { body.page-home .mma-home-pricing { padding-bottom: var(--wp--preset--spacing--60) !important; } }

/* Booking steps: equal wide columns come from blocks/list.css (F polish pass, Nov 15). */

/* Reviews (H9, C16): the GHL widget sits in a frameless slot; the link sits close under it. */
body.page-home .mma-home-reviews .mma-review-card + .wp-block-buttons { margin-top: var(--wp--preset--spacing--30) !important; }
@media (max-width: 781px) { body.page-home .mma-home-reviews .mma-review-card { padding: 0; border: 0; background: none; } body.page-home .mma-home-reviews .mma-section-head { margin-bottom: 8px !important; } }


/* Mosaic: per-photo crops. */
body.page-home .is-style-mosaic img { object-position: 50% 25%; }

/* Phones: tighter section rhythm. */
@media (max-width: 781px) {
	body.page-home .wp-block-post-content > .alignfull[class*="is-style-section-"] { padding-top: 48px !important; padding-bottom: 48px !important; }
}
@media (min-width: 782px) {
	/* Desktop: five even portrait tiles in one centered row (Megan, Nov 24 note). Phones keep the mosaic. */
	body.page-home .wp-block-gallery.is-style-mosaic { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; justify-content: center; }
	body.page-home .is-style-mosaic > figure.wp-block-image { grid-area: auto; height: auto; aspect-ratio: 2 / 3; }
}
