/* ========================================
   Resource Hero Block
   ======================================== */

.block.resource-hero {
	width: 100%;
	position: relative;
}

/* --- Full-width hero background --- */
.resource-hero__hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 610px;
	z-index: 0;
}

.resource-hero__hero-bg.bg-green {
	background-color: #1F7268;
}

.resource-hero__hero-bg.bg-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* --- 2-column outer grid --- */
.resource-hero__outer {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr minmax(0, 500px);
	gap: 48px;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 32px;
	align-items: start;
}

/* --- Left column --- */
.resource-hero__left-col {
	min-width: 0;
}

/* --- Hero content (text area over the background) --- */
.resource-hero__hero-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 64px 0 48px;
	color: #fff;
	min-height: 546px;
	justify-content: center;
}

.resource-hero__breadcrumb {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	flex-wrap: nowrap;
}

.resource-hero__breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	white-space: nowrap;
}

.resource-hero__breadcrumb a:hover {
	color: #fff;
	text-decoration: underline;
}

.resource-hero__breadcrumb svg {
	flex-shrink: 0;
}

.resource-hero__breadcrumb-current {
	color: rgba(255, 255, 255, 0.6);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.resource-hero__title {
	font-size: clamp(1.7500rem, calc(2.2034vw + 1.3093rem), 3.3750rem);
	text-wrap: balance;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.54px;
	color: #fff;
	margin: 0;
	padding-bottom: 0;
}

.resource-hero__subtitle {
	font-size: clamp(1.0000rem, calc(0.3390vw + 0.9322rem), 1.2500rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
  padding-bottom: 0;
	margin: 0;
}

.resource-hero__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	color: #D0D0D0;
}

.resource-hero__date,
.resource-hero__time,
.resource-hero__location {
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.resource-hero__date svg,
.resource-hero__time svg,
.resource-hero__location svg {
	flex-shrink: 0;
}

.resource-hero__meta-sep {
	color: rgba(255, 255, 255, 0.5);
}

.resource-hero__share {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 1rem;
}

.resource-hero__share-label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.resource-hero__share a {
	color: #fff;
	display: inline-flex;
	align-items: center;
	transition: opacity 0.2s ease;
}

.resource-hero__share a:hover {
	opacity: 0.75;
}

/* --- Body content (below hero) --- */
.resource-hero__body {
	padding: clamp(2.7500rem, calc(3.7288vw + 2.0042rem), 5.5000rem) 0 clamp(1.2500rem, calc(3.7351vw + 0.5030rem), 4.0000rem);
}

.resource-hero__body .wp-block-list li {
	color: #1F1F1F;
	font-style: normal;
	font-weight: 400;
	line-height: 1.7;
}

/* --- Right column: sticky form --- */
.resource-hero__right {
	display: flex;
	flex-direction: column;
	gap: 0;
	position: sticky;
	top: 32px;
	padding-top: 58px;
	z-index: 2;
	align-self: start;
}

.resource-hero__form-image {
	width: 100%;
	margin-bottom: 0;
}

.resource-hero__form-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 24px 24px 0 0;
}

.resource-hero__form-container {
	background: #FFF;
	border-radius: 24px;
	border: 1px solid #E9E6E2;
	box-shadow: 0 6px 32px -4px rgba(31, 31, 31, 0.20);
	padding: clamp(1.5000rem, calc(1.3559vw + 1.2288rem), 2.5000rem);
}

.resource-hero__right:has(.resource-hero__form-image) .resource-hero__form-container {
	border-radius: 0 0 24px 24px;
}

.resource-hero__form-title {
	font-size: clamp(1.2500rem, calc(0.6780vw + 1.1144rem), 1.7500rem);
	line-height: 1.2;
	font-weight: 400;
	color: #1f1f1f;
	margin-bottom: 16px;
}

.resource-hero__form-container iframe {
	display: block;
	width: 100%;
	border: none;
}

.resource-hero__form-placeholder {
	background: rgba(255, 255, 255, 0.15);
	border: 2px dashed rgba(255, 255, 255, 0.4);
	border-radius: 4px;
	padding: 32px;
	text-align: center;
	color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Responsive — stack on mobile
   ======================================== */
@media (max-width: 1260px) {
	.resource-hero__outer {
		grid-template-columns: 1fr minmax(0, 380px);
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media (max-width: 999px) {
	.resource-hero__outer {
		grid-template-columns: 1fr;
		gap: 0;
		padding-left: 20px;
		padding-right: 20px;
	}

	.resource-hero__hero-bg {
		/* height set by JS to match .resource-hero__hero-content */
	}

	.resource-hero__hero-content {
		min-height: 0;
		padding-bottom: 48px;
	}

	.resource-hero__right {
		position: relative;
		top: auto;
		padding-top: 0;
		margin-bottom: 32px;
		z-index: 3;
	}

	.resource-hero__breadcrumb-current {
		max-width: 140px;
	}

	.resource-hero__body {
		padding-top: 32px;
	}
}
