/*
 * Products page (EN /products-2/, post 33) — matches the Bricks build.
 * Hero (cover) + "Our products" grid of product cards with application chips.
 */

/* ---------- Hero ---------- */

.wp-block-cover.snh-products-hero {
	min-height: 0;
	padding: 200px 0 160px;
	overflow: visible;
	align-items: flex-start;
}

.snh-products-hero .wp-block-cover__background.has-background-dim {
	opacity: 0.82; /* Bricks overlay #111827d1 */
}

/* Bricks: 60px curve div, bottom -1px, above the image */
.snh-products-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 60px;
	z-index: 3;
	background: var(--snh-curve) no-repeat bottom / 100% 100%;
}

.snh-products-hero .wp-block-cover__inner-container {
	z-index: 2;
}

.snh-products-hero .snh-products-hero__content.snh-products-hero__content {
	padding: 0 40px;
	gap: 0;
}

.snh-products-hero .snh-products-hero__content > * {
	margin: 0;
}

.snh-products-hero .snh-products-hero__content .is-style-pill {
	margin-bottom: 24px !important;
}

.snh-products-hero .snh-products-hero__content h1 {
	font-family: inherit;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: normal;
	color: #fff;
	margin-bottom: 16px;
}

.snh-products-hero .snh-products-hero__content .snh-products-hero__lead {
	align-self: stretch;
	font-size: 18px;
	line-height: 1.6;
	color: #ffffffcc;
}

@media (max-width: 991px) {
	.wp-block-cover.snh-products-hero {
		padding: 160px 0 120px;
	}

	.snh-products-hero .snh-products-hero__content h1 {
		font-size: 36px;
	}
}

@media (max-width: 478px) {
	.wp-block-cover.snh-products-hero {
		padding: 140px 0 100px;
	}

	.snh-products-hero .snh-products-hero__content.snh-products-hero__content {
		padding: 0 24px;
	}

	.snh-products-hero .snh-products-hero__content h1 {
		font-size: 28px;
	}

	.snh-products-hero .snh-products-hero__content .snh-products-hero__lead {
		text-align: center;
	}
}

/* ---------- Product range ---------- */

.snh-products-range {
	padding: 120px 40px;
}

.snh-products-range .snh-products-head.snh-products-head {
	max-width: 760px;
	gap: 0;
	text-align: center;
}

/* Bricks quirk kept: the head is a flex column aligned to the start, so the
   eyebrow sits at the left edge of the centred heading block. */
.snh-products-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--snh-red);
	margin-bottom: 14px !important;
}

.snh-products-range h2.snh-products-h2 {
	align-self: stretch;
	font-family: inherit;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	color: var(--snh-ink);
	margin-bottom: 16px;
}

.snh-products-head .snh-products-intro.snh-products-intro {
	max-width: 720px;
	margin: 0 auto 40px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--snh-text);
}

.snh-products-range .snh-products-grid.snh-products-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.snh-products-card.snh-products-card {
	gap: 0;
	min-width: 0;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 15px;
}

.snh-products-card .snh-products-card__image {
	align-self: stretch;
}

.snh-products-card .snh-products-card__image img {
	width: 100%;
	height: auto;
	border-radius: 15px 15px 0 100px;
}

.snh-products-card .snh-products-card__image.is-curve-right img {
	border-radius: 15px 15px 100px 0;
}

.snh-products-card .snh-products-card__body.snh-products-card__body {
	align-self: stretch;
	gap: 0;
	padding: 25px;
}

.snh-products-card__body > * {
	margin: 0;
}

.snh-products-card__body .snh-products-card__title.snh-products-card__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--snh-ink);
	margin-bottom: 10px;
}

.snh-products-card__body .snh-products-card__desc.snh-products-card__desc {
	font-size: 15px;
	line-height: 1.6;
	color: var(--snh-text);
	margin-bottom: 18px;
}

.snh-products-card__body .snh-products-card__label.snh-products-card__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin-bottom: 10px;
}

.snh-products-card__body .snh-products-chips.snh-products-chips {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.snh-products-chips li {
	margin: 0;
	padding: 6px 12px;
	border-radius: 99px;
	background-color: #f3f5f9;
	color: var(--snh-navy);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

@media (max-width: 991px) {
	.snh-products-range {
		padding: 70px 24px;
	}

	.snh-products-range .snh-products-grid.snh-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Bricks quirk kept: four of the images get "border-style: solid" at ≤767px with no
   width/colour set, which renders a 3px light-grey frame. */
@media (max-width: 767px) {
	.snh-products-card .snh-products-framed-mobile img {
		box-sizing: border-box;
		border: 3px solid #dddedf;
	}
}

@media (max-width: 600px) {
	.snh-products-range .snh-products-grid.snh-products-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
