/**
 * Manganese Ore Banner Section Styles
 * Banner section with image background and overlay
 *
 * @package Eryvium
 * @since Eryvium 1.0.0
 */

/* ============================================
   MANGAESE ORE BANNER SECTION
   ============================================ */

.manganese-ore-banner-section {
	position: relative;
	width: 100%;
	height: 660px;
	min-height: 660px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: var(--color-deep-navy-forge);
	isolation: isolate;
}

.manganese-ore-banner-video-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	/*
	 * Create a dedicated compositing/paint context so the overlay blend
	 * doesn't tile/repaint across the whole page while the video decodes.
	 */
	isolation: isolate;
	contain: paint;
	transform: translate3d(0, 0, 0);
	will-change: transform;
	overflow: hidden;
}

.manganese-ore-banner-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transform: translate3d(0, 0, 0);
}

.manganese-ore-banner-content-wrapper {
	position: relative;
	z-index: 10;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.manganese-ore-banner-content {
	width: 100%;
	max-width: var(--container-max-width);
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 24px;
}

.manganese-ore-banner-title {
	font-family: var(--font-heading);
	font-size: var(--font-size-h2);
	font-weight: var(--font-weight-h2);
	line-height: var(--line-height-h2);
	color: var(--color-pure-white);
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* gap: 8px; */
	text-align: center;
}

.manganese-ore-banner-title .title-line-1 {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	align-items: baseline;
	width: 100%;
}

.manganese-ore-banner-title .title-line-1 .title-text {
	color: var(--color-pure-white);
}

.manganese-ore-banner-title .title-line-1 .title-accent {
	color: var(--color-sky-pulse);
}

.manganese-ore-banner-title .title-line-2 {
	color: var(--color-sky-pulse);
	display: block;
	width: 100%;
}

.manganese-ore-banner-title .title-line-3 {
	color: var(--color-pure-white);
	display: block;
	width: 100%;
}

.manganese-ore-banner-subtitle {
	font-family: var(--font-family-h1);
	font-size: clamp(32px, 4vw, 64px);
	font-weight: var(--font-weight-h1);
	line-height: clamp(40px, 5vw, 80px);
	color: var(--color-pure-white);
	margin: 0;
}

.manganese-ore-banner-description {
	font-family: var(--font-family-body);
	font-size: clamp(16px, 1.5vw, 20px);
	line-height: clamp(24px, 2.5vw, 32px);
	color: var(--color-pure-white);
	margin: 0;
	max-width: clamp(320px, 70vw, 900px);
	opacity: 0.95;
}

.manganese-ore-banner-button {
	margin-top: clamp(8px, 1vw, 16px);
	background-color: var(--color-sky-pulse);
	color: var(--color-pure-white);
}

.manganese-ore-banner-button:hover {
	background-color: #07B3F1;
	color: var(--color-pure-white);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1440px) {
	.manganese-ore-banner-video-wrapper {
		position: absolute;
		top: -1px;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
		isolation: isolate;
		contain: paint;
		transform: translate3d(0, 0, 0);
		will-change: transform;
		overflow: hidden;
	}
}

@media (max-width: 1024px) {
	.manganese-ore-banner-video-wrapper {
		position: absolute;
		top: 0px;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
		isolation: isolate;
		contain: paint;
		transform: translate3d(0, 0, 0);
		will-change: transform;
		overflow: hidden;
	}
}

@media (max-width: 768px) {
	.manganese-ore-banner-section {
		height: clamp(500px, 80vh, 660px);
		min-height: clamp(500px, 80vh, 660px);
	}
	
	.manganese-ore-banner-content {
		gap: clamp(16px, 2vw, 24px);
		padding: 0 clamp(16px, 4vw, 24px);
	}
}

