/*
 * Industries page (EN /industries-2/, post 35) — matches the Bricks build.
 * Hero (cover) + intro + 2x2 grid of application cards with checklists.
 * Breakpoints as in the Bricks build: 991px, 767px, 478px.
 */

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

.wp-block-cover.snh-industries-hero {
	min-height: 0;
	padding: 200px 0 160px;
	overflow: hidden;
}

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

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

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

.snh-industries-hero .snh-industries-hero__content.snh-industries-hero__content {
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
	gap: 0;
}

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

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

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

.snh-industries-hero .snh-industries-hero__content .snh-industries-hero__lead {
	width: 640px;
	font-size: 18px;
	line-height: 1.6;
	color: #ffffffcc;
}

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

	.snh-industries-hero .snh-industries-hero__content h1,
	.snh-industries-hero .snh-industries-hero__content .snh-industries-hero__lead {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.snh-industries-hero .snh-industries-hero__content.snh-industries-hero__content {
		padding: 0 24px;
	}
}

@media (max-width: 478px) {
	.snh-industries-hero .snh-industries-hero__content h1 {
		font-size: 32px;
	}
}

/* ---------- Intro: "Where SNH bearings do the work." ---------- */

.snh-industries-intro {
	padding: 80px 0 0;
}

.snh-industries-intro .snh-industries-intro__inner.snh-industries-intro__inner {
	width: 720px;
	max-width: 100%;
	margin: 0 auto;
	gap: 0;
}

.snh-industries-intro__inner > * {
	margin: 0;
}

p.snh-industries-intro__eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	color: var(--snh-navy);
	margin-bottom: 12px;
}

.snh-industries-intro .snh-industries-intro__inner h2 {
	font-family: inherit;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	color: var(--snh-ink);
	margin-bottom: 16px;
}

p.snh-industries-intro__lead {
	font-size: 17px;
	line-height: 1.7;
	color: var(--snh-text);
}

@media (max-width: 991px) {
	.snh-industries-intro {
		padding-top: 48px;
	}

	.snh-industries-intro .snh-industries-intro__inner.snh-industries-intro__inner {
		width: 100%;
		padding: 0 24px;
	}
}

@media (max-width: 478px) {
	.snh-industries-intro .snh-industries-intro__inner h2 {
		font-size: 28px;
	}
}

/* ---------- Application cards ---------- */

.snh-industries-areas {
	padding: 120px 40px;
}

.snh-industries-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 28px;
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
}

/* Bricks: width calc(50% - 19px) + 2.5px side margins — the pair sits 2.5px in from each edge. */
.snh-industries-grid > .snh-industries-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: calc(50% - 19px);
	margin: 0 2.5px;
	background-color: #fff;
	border-radius: var(--snh-radius);
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.wp-block-image.snh-industries-card__image {
	width: 100%;
	overflow: hidden;
}

.snh-industries-card__image--left {
	border-radius: 24px 24px 0 160px;
}

.snh-industries-card__image--right {
	border-radius: 24px 24px 160px 0;
}

.wp-block-image.snh-industries-card__image img {
	width: 100%;
	height: 280px;
	object-fit: cover;
}

.snh-industries-card .snh-industries-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex-grow: 1;
	width: 100%;
	padding: 28px;
}

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

.snh-industries-card__body h3.wp-block-heading {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--snh-ink);
	margin-bottom: 12px;
}

.snh-industries-card__body p.snh-industries-card__text {
	font-size: 15px;
	line-height: 1.7;
	color: var(--snh-text);
	margin-bottom: 20px;
}

.snh-industries-card__body p.snh-industries-card__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--snh-navy);
	margin-bottom: 12px;
}

/* Checklist: Bricks rows of [24px icon box, 20px SVG in a text line, 2px top margin] + text. */
.snh-industries-card__body ul.snh-industries-checks {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.snh-industries-checks li {
	display: flex;
	align-items: flex-start;
	column-gap: 12px;
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.6;
	color: #374151;
}

.snh-industries-checks li:last-child {
	margin-bottom: 0;
}

/* Bricks quirk kept: the Automotive card has an empty third row, so its last item
   keeps its 8px gap (visible only once cards stack). */
.snh-industries-checks.snh-industries-checks--trail li:last-child {
	margin-bottom: 8px;
}

.snh-industries-checks li::before {
	content: "";
	flex-shrink: 0;
	width: 24px;
	height: 28.5px;
	margin-top: 2px;
	background: url(../../icons/about-check.svg) no-repeat left top / 20px 20px;
}

@media (max-width: 767px) {
	.snh-industries-checks li {
		flex-wrap: wrap;
	}
}

/* Divider pushed to the card bottom (margin-top:auto) so tags line up across a row. */
.snh-industries-card__body hr.snh-industries-card__rule {
	width: 100%;
	height: 0;
	margin: auto 0 0;
	border: 0;
	border-top: 1px solid #e5e7eb;
	opacity: 1;
}

/* Bricks sets the Robotics divider to #FFFFFF30 — effectively invisible on the white card. */
.snh-industries-card__body hr.snh-industries-card__rule--faint {
	border-top-color: #ffffff30;
}

.snh-industries-card__body p.snh-industries-card__tag {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: #9ca3af;
	margin-top: 12px;
}

@media (max-width: 991px) {
	.snh-industries-areas {
		padding: 60px 0;
	}

	.snh-industries-grid {
		flex-direction: column;
	}

	.snh-industries-grid > .snh-industries-card {
		width: 100%;
		margin: 0;
	}
}
