/**
 * module_banner_section.css
 *
 * Compact banner used on /module-* pages. Distinct rhythm from the
 * homepage hero (medical_peptide_hormone_and_section) which is tall and
 * full-bleed. Banner is ~260px on desktop, centered content, dark green
 * tint over a shared background image.
 */

.ncm-module-banner {
	min-height: 440px;
	padding: 140px 68px 68px;
	background-color: var(--clr-bg-dark, #2F3E34);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
	color: var(--clr-fg-light, #FAF6F4);
	text-align: center;
	display: flex;
	align-items: center;
}

body:not(.admin-bar) section.ncm-section.ncm-module-banner {
    padding-top: 170px;
}

.single-post .nv-post-cover {
	display: none !important;
}

.ncm-module-banner .ncm-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(47, 62, 52, 0.4) 0%, #2F3E34 100%);
	pointer-events: none;
	z-index: 0;
}

.ncm-module-banner__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	max-width: 900px;
	margin: 0 auto;
	padding-top: 4px;
	padding-bottom: 4px;
}

.ncm-module-banner__eyebrow {
	font-family: var(--ff-primary);
	font-weight: 400;
	color: var(--clr-ffffff);
	margin: 0;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 20%;
	text-align: center;
	text-transform: uppercase;
}

.ncm-module-banner__heading {
	color: var(--clr-ffffff);
	margin: 0;
	max-width: 800px;
	font-family: var(--ff-display);
	font-weight: 400;
	font-size: 48px;
	line-height: 60px;
	letter-spacing: -2%;
	text-align: center;
}

.ncm-centered-policies__heading span,
.ncm-module-banner__heading span,
.ncm-centered-policies__subheading span {
	font-family: 'Marcellus', serif;
    font-weight: inherit;
    font-size: 0.92em;
    display: inline-block;
}

.ncm-module-banner__subheading {
	font-family: var(--ff-primary, 'Suisse BP Intl', sans-serif);
	font-weight: 400;
	font-size: 21px;
	line-height: 24px;
	color: var(--clr-ffffff);
	margin: 0;
}

.ncm-module-banner__cta {
	margin-top: 40px;
}

@media (max-width: 768px) {
	.ncm-module-banner {
		min-height: 200px;
		padding: 70px 28px 28px;
	}

	body:not(.admin-bar) section.ncm-section.ncm-module-banner {
		padding-top: 110px;
	}

	.ncm-module-banner__heading {
		font-size: 32px;
		line-height: normal;
	}

	.ncm-module-banner__subheading {
		font-size: 14px;
		line-height: normal;
	}
}