/**
 * Technology Section Styles
 * Hero-like overlay pattern with CTA on image
 *
 * @package MG
 */

/* ========================================
   Section Container
   ======================================== */

.technology {
	background-color: #ffffff;
	padding: 80px 0; /* Mobile */
}

@media (min-width: 768px) {
	.technology {
		padding: 60px 0; /* Tablet+ */
	}
}

.technology__container {
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 30px; /* Mobile */
}

@media (min-width: 768px) {
	.technology__container {
		padding: 0 40px; /* Tablet+ */
	}
}

/* ========================================
   Header (eyebrow + title)
   ======================================== */

.technology__header {
	margin-bottom: 48px;
}

/* ========================================
   Content Container (Hero-like)
   Pattern: position relative, border-radius, overflow hidden
   ======================================== */

.technology__content {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	background-color: #000;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 420px; /* Mobile */
}

@media (min-width: 768px) {
	.technology__content {
		height: 520px; /* Tablet+ */
	}
}

/* ========================================
   Image Layer (Absolute positioned background)
   Pattern: Like hero thumbslider-picture
   ======================================== */

.technology__picture {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

.technology__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* ========================================
   Overlay CTA Wrapper
   Pattern: Like hero thumb-slider__wrapper--bottom
   ======================================== */

.technology__overlay {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 20px;
}

.technology__overlay--bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: flex-end;
}

/* CTA width constraint wrapper (like hero) */
.technology__cta-wrap {
	width: 100%;
	max-width: 260px;
}

@media (min-width: 768px) {
	.technology__cta-wrap {
		width: auto;
		max-width: none;
		display: inline-block;
	}

	.technology .btn.btn--primary {
		width: unset;
		max-width: none;
	}
}