/* ===========================================================================
   CARE-CARDS-3UP — Hospice page "Care That Meets You Where You Are"
   Section heading on AODC cross-pattern bg + 3 photo cards on white below.
   Standalone CSS (does NOT extend services-cards-3up-tone-light.css — the
   patterned-heading-band treatment is different).
   Source slice: docs/figma/hospice/_slices/05-care-cards-3up.png
   =========================================================================== */

.wp-block-group.hodc-care-cards-3up.is-style-section-pattern {
	background-color: var(--wp--preset--color--white);
	padding: 80px 24px 127px;       /* 127 bottom per Figma — gap from CTA to next section */
	margin: 0 !important;
	box-sizing: border-box;
}

.hodc-care-cards-3up__heading {
	font-family: var(--wp--preset--font-family--source-serif-pro);
	font-size: 42px;
	line-height: 52px;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--accent);
	margin: 0 0 56px;
	text-align: center;
}

.hodc-care-cards-3up__grid {
	max-width: 1200px;
	margin-inline: auto;
	gap: 24px;
	align-items: stretch;
}

.hodc-care-cards-3up__card {
	display: flex;
	flex-direction: column;
}

/* Photo — asymmetric corners (0 / 50 / 0 / 50, top-right + bottom-left)
   inherited from is-style-asymmetric-radius global style. */
.hodc-care-cards-3up__photo {
	margin: 0 0 24px;
}

.hodc-care-cards-3up__photo img {
	display: block;
	width: 100%;
	height: auto;
}

.hodc-care-cards-3up__title {
	font-family: var(--wp--preset--font-family--source-serif-pro);
	font-size: 24px;
	line-height: 32px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.hodc-care-cards-3up__copy {
	font-family: var(--wp--preset--font-family--mr-eaves-xl-modern);
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.hodc-care-cards-3up__card--cta .wp-block-buttons {
	margin-top: 32px;
}

/* Mobile — NOT IN FIGMA.
 * Forrest 6/13 (BC #9993800723, hospice1.PNG): on /hospice/ the section reads
 * flush to the viewport edge on mobile (heading + cards at left:0, card images
 * full-bleed). Root cause: the original mobile rule was scoped to
 * .is-style-section-pattern but this page's instance uses is-style-default, so
 * the rule never fired. Broadened the selector to match the section regardless
 * of style variation — restores 24px horizontal gutter for heading + cards. */
@media (max-width: 1024px) {
	.wp-block-group.hodc-care-cards-3up {
		padding: clamp(48px, 6vw, 80px) 24px;
		min-height: 0;
	}
	.hodc-care-cards-3up__grid {
		flex-direction: column;
		gap: 48px;
	}
}
