/*
 * EHS Section Pages: product pages, listings and legal pages.
 * Matches ehsghealth.com. Tokens (colours, font) come from the theme's .ehs-section.
 */

.ehssp-sec {
	position: relative;
	padding-block: 36px;
}

.ehssp-wrap {
	position: relative;
	z-index: 1;
	width: min(1224px, calc(100% - 72px));
	margin-inline: auto;
}

.ehssp-bg {
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 70% auto;
	opacity: 0.55;
	pointer-events: none;
}

/* ---------- Badge, titles, text ---------- */

.ehssp-badge {
	display: inline-block;
	margin: 0 0 36px;
	padding: 4px 11px;
	border-radius: 3px;
	background: var(--ehs-orange);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.ehssp-title {
	margin-bottom: 27px;
	color: var(--ehs-teal-dark);
	font-family: inherit;
	font-size: clamp(28px, 25.5px + 0.75vw, 35px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
}

.ehssp-title--deep {
	color: #125671;
}

.ehssp-title--ink {
	color: #141618;
}

.ehssp-prose {
	color: var(--ehs-muted);
}

.ehssp-prose h2,
.ehssp-prose h3,
.ehssp-prose h4 {
	margin-top: 1.6em;
	color: #141618;
	font-family: inherit;
	font-weight: 600;
	line-height: 1.25;
}

.ehssp-prose h2 {
	font-size: 26px;
}

.ehssp-prose h3 {
	font-size: 21px;
}

.ehssp-prose a {
	color: var(--ehs-teal);
}

.ehssp-prose ul > li::before {
	color: var(--ehs-orange);
}

.ehssp-buttons {
	margin-top: 27px;
}

.ehs-button--dark {
	border-color: #2c2c2c;
	background: #2c2c2c;
	color: #fff;
}

.ehs-button--dark:hover {
	background: transparent;
	color: #2c2c2c;
}

/* ---------- Overview ---------- */

.ehssp-overview {
	padding-top: 90px;
	padding-bottom: 18px;
}

.ehssp-overview__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 54px;
	align-items: center;
}

.ehssp-overview--image .ehssp-overview__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ehssp-overview--left .ehssp-overview__media {
	order: -1;
}

.ehssp-overview--text .ehssp-overview__text {
	max-width: 66.6%;
}

.ehssp-overview__media {
	display: flex;
	justify-content: center;
}

.ehssp-overview__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 520px;
}

/* ---------- Promo card ---------- */

.ehssp-promo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 72px;
	align-items: center;
	padding: 36px;
	border-radius: 8px;
	background: #f7f7f7;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
}

.ehssp-promo--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.ehssp-promo__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 2px;
}

.ehssp-promo__text {
	font-size: 16px;
	line-height: 1.8;
}

.ehssp-promo .ehssp-badge {
	margin-bottom: 27px;
}

/* ---------- Cards ---------- */

.ehssp-grid {
	display: grid;
	gap: 36px;
}

.ehssp-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ehssp-card {
	padding: 36px;
	border-radius: 8px;
}

.ehssp-card__icon {
	width: 60px;
	height: 60px;
	margin-bottom: 30px;
}

.ehssp-card__icon:empty {
	display: none;
}

.ehssp-icon,
.ehssp-card__img {
	display: block;
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.ehssp-card__title {
	margin-bottom: 18px;
	font-family: inherit;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
}

.ehssp-card__lead {
	margin-bottom: 18px;
	font-weight: 700;
}

.ehssp-card--teal {
	border-bottom: 4px solid var(--ehs-orange);
	background: var(--ehs-teal);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	color: #fff;
}

.ehssp-card--teal .ehssp-card__icon {
	color: #fff;
}

.ehssp-card--teal .ehssp-card__title,
.ehssp-card--teal .ehssp-card__lead,
.ehssp-card--teal .ehssp-card__text {
	color: #fff;
}

.ehssp-card--white {
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ehssp-card--white .ehssp-card__icon {
	color: var(--ehs-teal);
}

.ehssp-card--white .ehssp-card__title {
	color: #141618;
}

.ehssp-card--white .ehssp-card__text {
	color: var(--ehs-muted);
}

.ehssp-teal {
	padding-block: 54px;
}

.ehssp-features {
	padding-block: 72px;
	background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
}

.ehssp-features .ehssp-badge {
	margin-bottom: 48px;
}

/* ---------- Centred heading + image ---------- */

.ehssp-imageblock {
	padding-block: 72px 36px;
}

.ehssp-imageblock__head {
	text-align: center;
}

.ehssp-imageblock__head .ehssp-badge {
	margin-bottom: 27px;
}

.ehssp-imageblock__media {
	margin-top: 18px;
}

.ehssp-imageblock__img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Tabs ---------- */

.ehssp-tabs-sec {
	padding-block: 54px 72px;
}

.ehssp-tabs {
	display: grid;
	grid-template-columns: 360px minmax(0, 1fr);
	gap: 72px;
	align-items: start;
}

.ehssp-tabs__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ehssp-tabs__tab {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	padding: 17px 24px;
	border: 0;
	border-radius: 2px;
	background: var(--ehs-orange);
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
	transition: background-color 0.2s ease;
}

.ehssp-tabs__tab svg {
	flex: none;
	width: 16px;
	height: 16px;
}

.ehssp-tabs__tab[aria-selected="true"] {
	background: var(--ehs-teal);
}

.ehssp-tabs__tab:hover:not([aria-selected="true"]) {
	background: #e8890f;
}

.ehssp-tabs__panels {
	padding: 36px;
	border-radius: 4px;
	background: #f5f5f5;
}

.ehssp-tabs__panel[hidden] {
	display: none;
}

.ehssp-tabs__img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 27px;
	border-radius: 8px;
}

.ehssp-tabs__heading {
	color: #141618;
	font-family: inherit;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0;
}

.ehssp-tabs__panel .ehssp-prose {
	margin-top: 18px;
}

/* ---------- FAQ ---------- */

.ehssp-faq {
	padding-block: 90px 36px;
}

.ehssp-faq__item {
	margin-bottom: 8px;
	border-radius: 4px;
	background: #f6f6f6;
}

.ehssp-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 36px;
	color: #141618;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
}

.ehssp-faq__q::-webkit-details-marker {
	display: none;
}

.ehssp-faq__q::after {
	content: "+";
	flex: none;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s ease;
}

.ehssp-faq__item[open] .ehssp-faq__q::after {
	transform: rotate(45deg);
}

.ehssp-faq__a {
	padding: 0 36px 27px;
	font-size: 16px;
	line-height: 1.7;
}

/* ---------- Get in touch banner ---------- */

.ehssp-cta-sec {
	padding-block: 54px 90px;
}

.ehssp-cta {
	position: relative;
	display: flex;
	min-height: 375px;
	overflow: hidden;
	border-bottom: 4px solid var(--ehs-orange);
	border-radius: 8px;
	background: var(--ehs-teal);
	color: #fff;
	isolation: isolate;
}

.ehssp-cta__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-position: center;
	background-size: cover;
}

.ehssp-cta__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(0, 119, 146, var(--ehssp-overlay, 0.7));
}

.ehssp-cta__inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 50%;
	padding: 36px;
}

.ehssp-cta__title {
	margin-bottom: 18px;
	color: #fff;
	font-family: inherit;
	font-size: clamp(28px, 24px + 1.1vw, 40px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
}

.ehssp-cta__text {
	color: #fff;
}

.ehssp-cta .ehssp-buttons {
	margin-top: 36px;
}

/* ---------- Plain text ---------- */

.ehssp-text {
	padding-block: 72px;
}

.ehssp-text__body {
	max-width: 1000px;
}

.ehssp-text__body > * + * {
	margin-top: 18px;
}

/* ---------- Listings ---------- */

.ehssp-listing {
	padding-block: 18px 72px;
}

.ehssp-listing .ehs-broch {
	padding-block: 18px;
}

.ehssp-listing .ehs-filter__item.ehssp-depth-1 {
	padding-left: 24px;
}

.ehssp-listing .ehs-filter__item.ehssp-depth-2 {
	padding-left: 44px;
}

.ehssp-clear {
	margin-top: 12px;
	font-size: 13px;
}

.ehssp-clear a {
	color: #1a1a1a;
	text-decoration: underline;
}

.ehssp-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 27px;
}

.ehssp-pager .page-numbers {
	min-width: 38px;
	padding: 8px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	color: #1a1a1a;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
}

.ehssp-pager .page-numbers.current {
	border-color: #1a1a1a;
	background: #1a1a1a;
	color: #fff;
}

/* News & events */

.ehssp-ne-featured {
	margin-bottom: 36px;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.ehssp-ne-featured__inner {
	display: flex;
	align-items: stretch;
	min-height: 300px;
	color: inherit;
	text-decoration: none;
}

.ehssp-ne-featured__media {
	position: relative;
	flex: 0 0 42%;
	max-width: 42%;
	overflow: hidden;
	background: #e6eef0;
}

.ehssp-ne-featured__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ehssp-ne-featured__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 14px;
	padding: 36px 40px;
}

.ehssp-ne-featured__title {
	color: #1a1a1a;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
}

.ehssp-ne-featured__desc {
	color: #666;
	font-size: 13px;
	line-height: 1.6;
}

.ehssp-ne-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	background: #1a1a1a;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.6;
	text-transform: uppercase;
}

.ehssp-ne-date {
	color: #888;
	font-size: 12px;
}

.ehssp-ne-btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 4px;
	background: #1a1a1a;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	line-height: 1.2;
	text-transform: uppercase;
	transition: background-color 0.2s ease;
}

a:hover > .ehssp-ne-featured__body .ehssp-ne-btn,
a:hover > .ehssp-ne-card__body .ehssp-ne-btn {
	background: #444;
}

.ehssp-ne-heading {
	margin-bottom: 24px;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0;
}

.ehssp-ne-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ehssp-ne-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	color: inherit;
	text-decoration: none;
}

.ehssp-ne-card__media {
	position: relative;
	padding-top: 60%;
	overflow: hidden;
	background: #e6eef0;
}

.ehssp-ne-card__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ehssp-ne-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 20px 24px 24px;
}

.ehssp-ne-card__title {
	margin-bottom: 4px;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

/* Fills the card so "Read more" lines up at the bottom of every card. */
.ehssp-ne-card__desc {
	flex: 1;
	margin: 0 0 4px;
	color: #666;
	font-size: 13px;
	line-height: 1.6;
}

/* Articles */

.ehssp-blog {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

.ehssp-blog__main {
	flex: 0 0 calc(65% - 20px);
	max-width: calc(65% - 20px);
	min-width: 0;
}

.ehssp-blog__side {
	position: sticky;
	top: 100px;
	flex: 0 0 calc(35% - 20px);
	max-width: calc(35% - 20px);
}

.ehssp-blog-featured {
	display: block;
	position: relative;
	margin-bottom: 24px;
	overflow: hidden;
	border-radius: 14px;
	color: #fff;
	text-decoration: none;
}

.ehssp-blog-featured__media {
	position: relative;
	padding-top: 60%;
	overflow: hidden;
	background: #0d2137;
}

.ehssp-blog-featured__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ehssp-blog-featured__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(5, 28, 55, 0.93) 0%, rgba(0, 75, 115, 0.55) 50%, rgba(0, 100, 140, 0.12) 100%);
}

.ehssp-blog-featured__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 32px 36px;
}

.ehssp-blog-featured__title {
	margin: 12px 0;
	color: #fff;
	font-family: inherit;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

.ehssp-blog-featured__desc {
	margin-bottom: 18px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	line-height: 1.6;
}

.ehssp-blog-featured__link {
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	font-size: 14px;
	font-weight: 600;
}

.ehssp-blog-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	background: #0078a0;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.7px;
	line-height: 1.4;
	text-transform: uppercase;
}

.ehssp-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 32px;
}

.ehssp-blog-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e8eaed;
	border-radius: 10px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ehssp-blog-card:hover {
	border-color: #c5cdd8;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
	transform: translateY(-2px);
}

.ehssp-blog-card__media {
	position: relative;
	flex: none;
	padding-top: 68%;
	overflow: hidden;
	background: #dde3ea;
}

.ehssp-blog-card__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.ehssp-blog-card:hover .ehssp-blog-card__img {
	transform: scale(1.05);
}

.ehssp-blog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 14px 16px 18px;
}

.ehssp-blog-card .ehssp-blog-badge {
	margin-bottom: 8px;
	padding: 3px 8px;
	font-size: 10px;
}

.ehssp-blog-card__title {
	margin-bottom: auto;
	padding-bottom: 10px;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
}

.ehssp-blog-card__meta {
	margin-top: 8px;
	color: #888;
	font-size: 12px;
}

.ehssp-blog-viewall {
	text-align: center;
}

.ehssp-blog-viewall__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 11px 32px;
	border: 1.5px solid #c0c0c0;
	border-radius: 50px;
	background: #fff;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ehssp-blog-viewall__btn:hover {
	border-color: #1a1a1a;
	background: #1a1a1a;
	color: #fff;
}

.ehssp-blog-widget {
	margin-bottom: 20px;
	padding: 22px 24px;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	background: #f8f9fb;
}

.ehssp-blog-widget__heading {
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 2px solid #e4e7ec;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
}

.ehssp-blog-widget__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ehssp-blog-widget__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.ehssp-blog-widget__list li::before {
	content: none;
}

.ehssp-blog-widget__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 7px;
}

.ehssp-blog-widget__list a {
	color: #2a2a2a;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ehssp-blog-widget__list a:hover,
.ehssp-blog-widget__list a.is-active {
	color: #0078a0;
}

.ehssp-blog-widget__list a.is-active {
	font-weight: 700;
}

.ehssp-blog-widget__list--trending {
	gap: 0;
}

.ehssp-blog-widget__list--trending li {
	padding: 10px 0;
	border-bottom: 1px solid #e4e7ec;
}

.ehssp-blog-widget__list--trending li:first-child {
	padding-top: 0;
}

.ehssp-blog-widget__list--trending li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

/* ---------- iPad landscape and small laptops ---------- */

@media (max-width: 1199px) {
	.ehssp-tabs {
		grid-template-columns: 300px minmax(0, 1fr);
		gap: 36px;
	}

	.ehssp-promo {
		gap: 36px;
	}

	.ehssp-ne-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- iPad portrait and phones ---------- */

@media (max-width: 959px) {
	.ehssp-wrap {
		width: min(1224px, calc(100% - 48px));
	}

	.ehssp-overview {
		padding-top: 54px;
	}

	.ehssp-overview--image .ehssp-overview__grid,
	.ehssp-promo,
	.ehssp-tabs {
		grid-template-columns: minmax(0, 1fr);
	}

	.ehssp-overview--text .ehssp-overview__text {
		max-width: none;
	}

	.ehssp-overview--left .ehssp-overview__media {
		order: 0;
	}

	.ehssp-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.ehssp-card {
		padding: 30px 24px;
	}

	.ehssp-tabs {
		gap: 24px;
	}

	.ehssp-cta__inner {
		width: 100%;
		padding: 30px 24px;
	}

	.ehssp-faq {
		padding-top: 54px;
	}

	.ehssp-faq__q {
		padding: 18px 24px;
	}

	.ehssp-faq__a {
		padding: 0 24px 24px;
	}

	.ehssp-ne-featured__inner {
		flex-direction: column;
	}

	.ehssp-ne-featured__media {
		flex: none;
		max-width: none;
		min-height: 220px;
	}

	.ehssp-ne-featured__body {
		padding: 24px 20px;
	}

	.ehssp-blog {
		flex-direction: column;
		gap: 32px;
	}

	.ehssp-blog__main,
	.ehssp-blog__side {
		flex: 0 0 100%;
		max-width: 100%;
		width: 100%;
		position: static;
	}

	.ehssp-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ehssp-blog-featured__title {
		font-size: 22px;
	}

	.ehssp-blog-featured__body {
		padding: 22px 24px;
	}
}

/* ---------- Phones ---------- */

@media (max-width: 569px) {
	.ehssp-grid--3,
	.ehssp-blog-grid,
	.ehssp-ne-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ehssp-promo {
		padding: 24px;
	}

	.ehssp-tabs__panels {
		padding: 24px;
	}

	.ehssp-tabs__tab {
		font-size: 16px;
	}

	.ehssp-icon,
	.ehssp-card__img,
	.ehssp-card__icon {
		width: 48px;
		height: 48px;
	}

	.ehssp-card__title,
	.ehssp-tabs__heading {
		font-size: 22px;
	}

	.ehssp-buttons .ehs-button {
		width: 100%;
	}
}

/* The theme sets text-wrap: pretty, which shortens last lines; the live site wraps normally. */
.ehssp-sec :is(p, h1, h2, h3, h4, li, summary, span, a) {
	text-wrap: wrap;
}

/* ---------- Single pages: case studies, news & events, articles ---------- */

.ehssp-single {
	padding-block: 54px 36px;
}

.ehssp-single__grid {
	display: block;
}

.ehssp-single__grid.has-aside {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 385px;
	gap: 40px;
	align-items: start;
}

.ehssp-single__label {
	margin-bottom: 18px;
	color: var(--ehs-muted);
	font-size: 16px;
}

.ehssp-single__label:has(+ .ehssp-single__date) {
	margin-bottom: 4px;
}

.ehssp-single__date {
	margin-bottom: 18px;
	color: var(--ehs-muted);
	font-size: 16px;
	font-weight: 600;
}

.ehssp-single__content {
	color: var(--ehs-muted);
	font-size: 18px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.ehssp-single__content > * + * {
	margin-top: 18px;
}

.ehssp-single__content h2,
.ehssp-single__content h3,
.ehssp-single__content h4,
.ehssp-single__content h5 {
	margin-top: 1.6em;
	color: #141618;
	font-family: inherit;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
}

.ehssp-single__content h2 {
	font-size: 28px;
}

.ehssp-single__content h3 {
	font-size: 22px;
}

.ehssp-single__content h4 {
	font-size: 18px;
}

.ehssp-single__content h5 {
	font-size: 16px;
}

.ehssp-single__content > :first-child {
	margin-top: 0;
}

.ehssp-single__content strong,
.ehssp-single__content b {
	color: #141618;
	font-weight: 600;
}

.ehssp-single__content a {
	color: #141618;
	text-decoration: underline;
	text-decoration-color: rgba(20, 22, 24, 0.25);
}

.ehssp-single__content ul,
.ehssp-single__content ol {
	padding-left: 1.3em;
}

.ehssp-single__content ul {
	list-style: disc;
}

.ehssp-single__content ol {
	list-style: decimal;
}

.ehssp-single__content li + li {
	margin-top: 4px;
}

/* The short orange line the live site draws under case-study headings. */
.ehssp-single__content hr {
	width: 120px;
	height: 2px;
	margin: 18px 0 27px;
	border: 0;
	background: var(--ehs-orange);
}

.ehssp-single__content img {
	max-width: 100%;
	height: auto;
}

.ehssp-single__content figure {
	margin: 0;
}

.ehssp-single__content .gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.ehssp-single__content .gallery.gallery-columns-1 {
	grid-template-columns: minmax(0, 1fr);
}

.ehssp-single__content .gallery.gallery-columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ehssp-single__content .gallery.gallery-columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ehssp-single__content .gallery .gallery-item {
	float: none;
	width: auto;
	margin: 0;
}

.ehssp-single__content .gallery .gallery-icon img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}

.ehssp-glance {
	position: sticky;
	top: 100px;
	padding: 36px;
	background: var(--ehs-teal);
	color: #fff;
}

.ehssp-glance__title {
	margin-bottom: 18px;
	color: #fff;
	font-family: inherit;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
}

.ehssp-glance__list {
	display: grid;
	grid-template-columns: 105px minmax(0, 1fr);
	gap: 12px 18px;
	margin: 0;
}

.ehssp-glance__list dt {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.55;
}

.ehssp-glance__list dd {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
}

.ehssp-quotes {
	padding-block: 18px 36px;
}

.ehssp-quote-card {
	position: relative;
	padding: 54px 36px;
	border-bottom: 4px solid var(--ehs-orange);
	border-radius: 8px;
	background: var(--ehs-teal);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	color: #fff;
}

.ehssp-quote {
	display: flow-root;
	margin: 0;
	color: #fff;
}

.ehssp-quote__img {
	display: block;
	width: 72px;
	height: 72px;
	margin: 0 0 18px;
	border-radius: 50%;
	object-fit: cover;
}

.ehssp-quote__text {
	margin: 0;
	color: #fff;
	font-size: clamp(17px, 15.5px + 0.45vw, 20px);
	line-height: 1.5;
}

.ehssp-quote__by {
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 15px;
	line-height: 1.5;
}

/* Previous / next bar */

.ehssp-nav {
	margin-top: 36px;
	padding-block: 22px;
	background: #f7f7f7;
}

.ehssp-nav__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ehssp-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1a1a1a;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.ehssp-nav__link.is-off {
	color: #b5b5b5;
}

a.ehssp-nav__link:hover {
	color: var(--ehs-teal);
}

@media (max-width: 959px) {
	.ehssp-single {
		padding-top: 36px;
	}

	.ehssp-single__grid.has-aside {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.ehssp-glance {
		position: static;
		padding: 30px 24px;
	}

	.ehssp-single__content {
		font-size: 17px;
	}

	.ehssp-single__content h2 {
		font-size: 24px;
	}

	.ehssp-single__content h3 {
		font-size: 20px;
	}

	.ehssp-quote-card {
		padding: 36px 24px;
	}

	.ehssp-single__content .gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 569px) {
	.ehssp-glance__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}

	.ehssp-glance__list dd {
		margin-bottom: 12px;
	}

}

/* ---------- Testimonial carousel (case studies with several testimonials) ---------- */

.ehssp-carousel {
	position: relative;
}

.ehssp-carousel__track {
	position: relative;
	display: flex;
	gap: 36px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ehssp-carousel__track::-webkit-scrollbar {
	display: none;
}

/* Slides share the tallest slide's height, so changing slides never moves the page. */
.ehssp-carousel__slide {
	flex: 0 0 100%;
	min-width: 0;
	scroll-snap-align: start;
}

.ehssp-carousel__controls {
	display: flex;
	align-items: center;
	margin-top: 24px;
}

.ehssp-carousel__controls[hidden] {
	display: none;
}

.ehssp-carousel__dots {
	display: flex;
	gap: 4px;
	margin-left: -7px;
}

/* 24px touch target around a 10px dot. */
.ehssp-carousel__dot {
	position: relative;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.ehssp-carousel__dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	margin: -5px 0 0 -5px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.7);
	transition: background-color 0.2s ease;
}

.ehssp-carousel__dot[aria-current="true"]::before,
.ehssp-carousel__dot:hover::before {
	background: var(--ehs-orange);
}

/* Previous / next arrows: shown on hover and keyboard focus, on screens with a pointer, like the theme's carousels. */
.ehssp-carousel__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
	color: var(--ehs-teal);
	cursor: pointer;
	opacity: 0;
	transform: translateY(-50%);
	transition: opacity 0.2s ease, color 0.2s ease;
}

.ehssp-carousel__nav--prev {
	left: -24px;
}

.ehssp-carousel__nav--next {
	right: -24px;
}

.ehssp-carousel__nav:hover {
	color: var(--ehs-orange);
}

@media (min-width: 960px) and (hover: hover) {
	.ehssp-carousel__nav:not([hidden]) {
		display: inline-flex;
	}

	.ehssp-carousel:hover .ehssp-carousel__nav,
	.ehssp-carousel__nav:focus-visible {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ehssp-carousel__nav,
	.ehssp-carousel__dot::before {
		transition: none;
	}
}
