/* Hero carousel (replaces Slider Revolution). Grid: 1240 x 600 px, scaled below 1240 px. */
.agama-hero-carousel {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: clamp(300px, 48.387vw, 600px);
	background: #e7e7e7;
	font-family: Roboto, sans-serif;
}
.agama-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease, visibility 0s linear 1s;
}
.agama-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 1s ease;
}
.agama-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
}
.agama-hero-grid {
	position: absolute;
	top: 0;
	left: 50%;
	width: min(1240px, 100%);
	aspect-ratio: 1240 / 600;
	transform: translateX(-50%);
	container-type: inline-size;
}
.agama-hero-layer {
	position: absolute;
	height: auto;
	max-width: none;
}
.agama-hero-text {
	color: #fff;
	text-transform: uppercase;
	font-size: calc(var(--fs) * 100cqw / 1240);
	line-height: calc(var(--lh) * 100cqw / 1240);
	white-space: nowrap;
}
.agama-hero-button {
	display: inline-block;
	box-sizing: border-box;
	color: #fff !important;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color 0.2s ease-in-out;
}
.agama-hero-button.is-blue {
	background: #005598;
	font-weight: 500;
	font-size: calc(20 * 100cqw / 1240);
	line-height: calc(50 * 100cqw / 1240);
	padding: 0 calc(20 * 100cqw / 1240);
}
.agama-hero-button.is-blue:hover,
.agama-hero-button.is-blue:focus {
	background: #141414;
}
.agama-hero-button.is-dark {
	background: rgba(0, 0, 0, 0.75);
	border: 1px solid #000;
	border-radius: 3px;
	font-weight: 500;
	font-size: calc(29 * 100cqw / 1240);
	line-height: calc(29 * 100cqw / 1240);
	padding: calc(21 * 100cqw / 1240) calc(60 * 100cqw / 1240);
}
@media (max-width: 767px) {
	.agama-hero-button.is-blue {
		font-size: 13px;
		line-height: 35px;
		padding: 0 14px;
	}
	.agama-hero-button.is-dark {
		font-size: 13px;
		line-height: 15px;
		padding: 10px 20px;
		width: auto !important;
	}
}
@media (prefers-reduced-motion: reduce) {
	.agama-hero-slide,
	.agama-hero-slide.is-active {
		transition: none;
	}
}
