/* HENNER v4.0 — Technical Resource Centre */

.v40-resource-hero {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: flex-end;
	padding: 145px 0 76px;
	background: #15191e url('../images/resources/technical-resource-hero-banner.png') center / cover no-repeat;
	color: #fff;
	isolation: isolate;
}

.v40-resource-hero::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(10, 13, 17, .93) 0%, rgba(10, 13, 17, .76) 44%, rgba(10, 13, 17, .14) 78%);
	content: '';
}

.v40-resource-hero h1 {
	max-width: 980px;
	font-size: clamp(3.5rem, 4.7vw, 4.25rem);
	line-height: .98;
	letter-spacing: -.045em;
	text-transform: uppercase;
}

.v40-resource-hero > .henner-wrap > p:last-child {
	max-width: 650px;
	margin: 26px 0 0;
	color: #e5e7e8;
	font-size: 18px;
	line-height: 1.58;
}

.v40-resource-intro {
	padding: 88px 0 78px;
}

.v40-resource-intro h2,
.v40-cad-callout h2,
.v40-resource-cta h2,
.v40-related-resources h2,
.v40-resource-detail h2 {
	font-size: var(--henner-inner-h2);
	line-height: 1.04;
	letter-spacing: -.035em;
}

.v40-resource-intro .v30-editorial > p {
	max-width: 600px;
	padding: 0;
	font-size: 17px;
	line-height: 1.65;
}

.v40-library {
	padding: 96px 0 112px;
	background: #f6f5f2;
}

.v40-resource-filters {
	display: grid;
	grid-template-columns: minmax(260px, 1.45fr) minmax(190px, 1fr) minmax(190px, 1fr) auto auto;
	gap: 18px;
	align-items: end;
	padding: 20px;
	border: 1px solid #deded9;
	background: #fff;
}

.v40-resource-filters label {
	display: grid;
	gap: 7px;
}

.v40-resource-filters label > span {
	color: var(--henner-ink);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .075em;
	text-transform: uppercase;
}

.v40-resource-filters input,
.v40-resource-filters select {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #c6c6c1;
	border-radius: 0;
	background: #fff;
	color: var(--henner-graphite);
	font: 15px/1 var(--henner-font-body);
}

.v40-resource-filters input:focus-visible,
.v40-resource-filters select:focus-visible,
.v40-filter-clear:focus-visible,
.v40-resource-download:focus-visible {
	outline: 3px solid var(--henner-red);
	outline-offset: 2px;
}

.v40-filter-clear {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.v40-library__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 54px 0 22px;
}

.v40-library__head .henner-eyebrow,
.v40-library__head p {
	margin: 0;
}

.v40-library__head > p:last-child {
	color: var(--henner-slate);
	font-size: 14px;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.v40-resource-grid,
.v40-related-resource-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.v40-resource-card {
	min-height: 360px;
	display: flex;
	flex-direction: column;
	padding: 28px;
	border: 1px solid #d9d9d4;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.v40-resource-card:hover {
	border-color: #bebeb8;
	box-shadow: 0 14px 34px rgba(21, 24, 29, .06);
	transform: translateY(-2px);
}

.v40-resource-card__top {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--henner-slate);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.v40-format {
	min-width: 44px;
	height: 30px;
	display: inline-grid;
	place-items: center;
	padding: 0 9px;
	background: var(--henner-red);
	color: #fff;
	font-size: 11px;
	letter-spacing: .08em;
}

.v40-resource-card__body {
	margin-top: 38px;
}

.v40-resource-card h3 {
	max-width: 620px;
	font-size: clamp(1.25rem, 1.55vw, 1.5rem);
	line-height: 1.15;
	letter-spacing: -.025em;
	text-transform: uppercase;
}

.v40-resource-card__body p {
	max-width: 600px;
	margin: 14px 0 0;
	color: var(--henner-slate);
	font-size: 15px;
	line-height: 1.55;
}

.v40-resource-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 28px;
	margin: auto 0 24px;
	padding: 24px 0 0;
	border-top: 1px solid #e3e3df;
}

.v40-resource-meta > div {
	display: grid;
	gap: 3px;
}

.v40-resource-meta dt {
	color: var(--henner-slate);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .075em;
	text-transform: uppercase;
}

.v40-resource-meta dd {
	margin: 0;
	color: var(--henner-ink);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.35;
}

.v40-resource-meta__reference {
	flex-basis: 100%;
}

.v40-resource-download {
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 0 16px;
	background: var(--henner-graphite);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	transition: background .2s ease;
}

.v40-resource-download:hover {
	background: var(--henner-red);
}

.v40-resource-download span {
	color: var(--henner-red);
	font-size: 18px;
}

.v40-resource-download:hover span {
	color: #fff;
}

.v40-empty {
	padding: 74px clamp(24px, 6vw, 90px);
	border: 1px solid #deded9;
	background: #fff;
	text-align: center;
}

.v40-empty h2 {
	max-width: 680px;
	margin: 0 auto 28px;
	font-size: clamp(2rem, 3vw, 2.75rem);
	line-height: 1.08;
}

.v40-cad-callout {
	padding: 112px 0;
	background: #fff;
}

.v40-cad-callout__grid {
	min-height: 520px;
	display: grid;
	grid-template-columns: .82fr 1.18fr;
	background: var(--henner-concrete);
}

.v40-cad-callout__grid > div:first-child {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(44px, 5vw, 76px);
}

.v40-cad-callout__grid > div:last-child {
	background: url('../images/resources/cad-bim-callout.png') center / cover no-repeat;
}

.v40-cad-callout p:not(.henner-eyebrow) {
	max-width: 540px;
	margin: 22px 0 30px;
	color: var(--henner-slate);
	font-size: 16px;
	line-height: 1.65;
}

.v40-resource-cta {
	position: relative;
	padding: 86px 0;
	background: #f3f2ef url('../images/resources/resource-centre-cta-background.png') center right / cover no-repeat;
	isolation: isolate;
}

.v40-resource-cta::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .88) 48%, rgba(255, 255, 255, .16) 82%);
	content: '';
}

.v40-resource-cta h2 {
	max-width: 860px;
	font-size: clamp(2.25rem, 3vw, 2.875rem);
}

.v40-resource-cta .henner-button {
	margin-top: 30px;
}

/* Product and Application relationship modules */
.v40-related-resources {
	padding: 96px 0 104px;
	background: #f6f5f2;
}

.v40-related-resources .henner-section-head {
	margin-bottom: 42px;
}

.v40-resource-card--compact {
	min-height: 300px;
}

.v40-resource-card--compact .v40-resource-card__body {
	margin-top: 30px;
}

.v40-resource-card--compact .v40-resource-meta {
	margin-top: auto;
}

/* Lightweight resource detail fallback */
.v40-resource-detail__hero {
	padding: 170px 0 82px;
	background: var(--henner-graphite);
	color: #fff;
}

.v40-resource-detail__hero h1 {
	max-width: 980px;
	font-size: var(--henner-inner-hero);
	line-height: 1;
	text-transform: uppercase;
}

.v40-resource-detail__hero > .henner-wrap > p:last-child {
	max-width: 680px;
	margin: 24px 0 0;
	color: #d7d9dc;
	font-size: 17px;
}

.v40-resource-detail__body {
	padding: 96px 0;
}

.v40-resource-detail__grid {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: clamp(54px, 8vw, 120px);
}

.v40-resource-detail__grid aside {
	padding: 30px;
	border: 1px solid var(--henner-line);
	background: #f8f7f4;
}

.v40-resource-detail__grid aside .v40-resource-meta {
	margin: 0 0 28px;
	padding: 0;
	border: 0;
}

@media (max-width: 1024px) {
	.v40-resource-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.v40-resource-filters label:first-child {
		grid-column: 1 / -1;
	}

	.v40-cad-callout__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.v40-resource-hero {
		min-height: 520px;
		padding: 122px 0 58px;
		background-position: 64% center;
	}

	.v40-resource-hero::after {
		background: linear-gradient(90deg, rgba(10, 13, 17, .94), rgba(10, 13, 17, .58));
	}

	.v40-resource-hero h1 {
		font-size: clamp(2.75rem, 11vw, 3.5rem);
	}

	.v40-resource-hero > .henner-wrap > p:last-child {
		font-size: 16px;
	}

	.v40-resource-intro,
	.v40-library,
	.v40-cad-callout,
	.v40-related-resources,
	.v40-resource-detail__body {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.v40-resource-intro h2,
	.v40-cad-callout h2,
	.v40-resource-cta h2,
	.v40-related-resources h2,
	.v40-resource-detail h2 {
		font-size: clamp(2.25rem, 9.5vw, 2.75rem);
	}

	.v40-resource-filters,
	.v40-resource-grid,
	.v40-related-resource-grid,
	.v40-resource-detail__grid {
		grid-template-columns: 1fr;
	}

	.v40-resource-filters label:first-child {
		grid-column: auto;
	}

	.v40-library__head {
		margin-top: 40px;
	}

	.v40-resource-card {
		min-height: 0;
		padding: 24px;
	}

	.v40-resource-card__body {
		margin-top: 30px;
	}

	.v40-resource-card h3 {
		font-size: clamp(1.25rem, 6vw, 1.45rem);
	}

	.v40-resource-meta {
		margin-top: 34px;
	}

	.v40-cad-callout__grid {
		min-height: 0;
		grid-template-columns: 1fr;
	}

	.v40-cad-callout__grid > div:first-child {
		padding: 46px 24px 50px;
	}

	.v40-cad-callout__grid > div:last-child {
		min-height: 320px;
	}

	.v40-resource-cta {
		padding: 64px 0;
		background-position: 68% center;
	}

	.v40-resource-cta::after {
		background: rgba(255, 255, 255, .86);
	}

	.v40-resource-detail__hero {
		padding: 132px 0 62px;
	}

	.v40-resource-detail__hero h1 {
		font-size: clamp(2.65rem, 11vw, 3.35rem);
	}

	.v40-resource-detail__grid aside {
		padding: 24px;
	}
}

@media (max-width: 430px) {
	.single-henner_application .v30-hero--detail h1 {
		font-size: 2.5rem;
		overflow-wrap: anywhere;
	}

	.single-henner_application .v30-hero--long h1 {
		font-size: 2.1875rem;
	}

	.v40-resource-hero h1 {
		font-size: 2.65rem;
	}

	.v40-resource-filters {
		gap: 14px;
		padding: 18px;
	}

	.v40-library__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.v40-resource-card__top {
		align-items: flex-start;
		flex-direction: column;
	}

	.v40-resource-meta {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.v40-resource-meta__reference {
		grid-column: 1 / -1;
	}

	.v40-resource-download {
		font-size: 12px;
	}
}
.v40-calculator-entry{display:flex;justify-content:space-between;align-items:center;gap:40px;margin-bottom:44px;padding:34px;background:#22272d;color:#fff}.v40-calculator-entry h2{margin:6px 0 8px;font-size:clamp(28px,3vw,42px)}.v40-calculator-entry p{max-width:760px}.v40-calculator-entry .henner-button{flex:none}
@media(max-width:900px){.v40-calculator-entry{align-items:flex-start;flex-direction:column}}
