/* Hyundai Emdad Articles Slider */
.heas-root,
.heas-root * {
	box-sizing: border-box;
}

.heas-root {
	position: relative;
	width: 100%;
	font-family: inherit;
}

.heas-root.is-full-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.heas-section {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #f5f7fa;
}

.heas-root.has-glow .heas-section::before,
.heas-root.has-glow .heas-section::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.heas-root.has-glow .heas-section::before {
	width: 460px;
	height: 460px;
	top: -280px;
	right: 10%;
	background: radial-gradient(circle, rgba(22,119,242,.10), transparent 70%);
}

.heas-root.has-glow .heas-section::after {
	width: 420px;
	height: 420px;
	bottom: -300px;
	left: 4%;
	background: radial-gradient(circle, rgba(22,119,242,.07), transparent 72%);
}

.heas-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1480px;
	margin: 0 auto;
	padding: 60px 28px 56px;
}

.heas-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

.heas-heading__text {
	flex: 1;
	text-align: right;
}

.heas-eyebrow {
	margin-bottom: 7px;
	color: #1677f2;
	font-size: 13px;
	font-weight: 700;
}

.heas-title {
	margin: 0;
	color: #071525;
	font-size: 32px;
	font-weight: 900;
	line-height: 1.45;
}

.heas-description {
	max-width: 760px;
	margin-top: 10px;
	color: #67758a;
	font-size: 14px;
	line-height: 1.9;
}

.heas-all-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	padding: 12px 17px;
	border: 1px solid #dbe4ef;
	border-radius: 12px;
	background: #fff;
	color: #071525;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 8px 24px rgba(16,40,72,.06);
	transition: transform .2s ease, color .2s ease, border-color .2s ease;
}

.heas-all-button:hover {
	color: #1677f2;
	border-color: #1677f2;
	transform: translateY(-2px);
}

.heas-slider {
	position: relative;
}

.heas-viewport {
	overflow: hidden;
}

.heas-track {
	display: flex;
	align-items: stretch;
	direction: rtl;
	will-change: transform;
	transition: transform var(--heas-speed, 550ms) cubic-bezier(.2,.8,.2,1);
}

.heas-slide {
	flex: 0 0 calc((100% - (var(--heas-columns, 3) - 1) * var(--heas-gap, 18px)) / var(--heas-columns, 3));
	min-width: 0;
	margin-left: var(--heas-gap, 18px);
}

.heas-slide:last-child {
	margin-left: 0;
}

.heas-card {
	position: relative;
	min-height: 470px;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e6ebf2;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(15,40,75,.08);
	transition:
		transform .3s cubic-bezier(.2,.8,.2,1),
		border-color .3s ease,
		box-shadow .3s ease;
}

.heas-card:hover {
	border-color: #1677f2;
	transform: translateY(-7px);
	box-shadow: 0 20px 48px rgba(15,40,75,.14);
}

.heas-card__image {
	position: relative;
	display: block;
	height: 230px;
	overflow: hidden;
	background: #0a1b30;
	text-decoration: none;
}

.heas-card__image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(4,14,28,.18);
	transition: background .3s ease;
}

.heas-card:hover .heas-card__image::after {
	background: rgba(4,14,28,.06);
}

.heas-card__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform .55s ease;
}

.heas-card:hover .heas-card__image img {
	transform: scale(1.07);
}

.heas-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,.6);
	font-size: 20px;
	font-weight: 900;
	letter-spacing: 3px;
}

.heas-category {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 2;
	padding: 7px 11px;
	border-radius: 999px;
	background: #eaf3ff;
	color: #1677f2;
	font-size: 11px;
	font-weight: 700;
}

.heas-card__content {
	flex: 1;
	padding: 22px 20px;
	display: flex;
	flex-direction: column;
}

.heas-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-bottom: 13px;
	color: #8b98aa;
	font-size: 11px;
}

.heas-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.heas-meta span + span::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
	opacity: .5;
}

.heas-card__title {
	margin: 0;
	color: #071525;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.75;
}

.heas-card__title a {
	color: inherit;
	text-decoration: none;
}

.heas-excerpt {
	margin-top: 10px;
	color: #68768a;
	font-size: 13px;
	line-height: 1.9;
}

.heas-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
	color: #1677f2;
	text-decoration: none;
	font-size: 13px;
	font-weight: 800;
}

.heas-read-more span:last-child {
	transition: transform .2s ease;
}

.heas-read-more:hover span:last-child {
	transform: translateX(-4px);
}

.heas-card__shine {
	position: absolute;
	width: 120px;
	height: 220%;
	top: -60%;
	right: -150px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
	transform: rotate(22deg);
	transition: right .75s ease;
	pointer-events: none;
}

.heas-card:hover .heas-card__shine {
	right: calc(100% + 90px);
}

.heas-arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	width: 46px;
	height: 46px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e0e6ee;
	border-radius: 50%;
	background: #fff;
	color: #071525;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(15,40,75,.12);
	transform: translateY(-50%);
	transition: color .2s ease, background .2s ease, transform .2s ease;
}

.heas-arrow:hover {
	color: #fff;
	background: #1677f2;
	transform: translateY(-50%) scale(1.05);
}

.heas-arrow--prev {
	right: -12px;
}

.heas-arrow--next {
	left: -12px;
}

.heas-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 24px;
}

.heas-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #c3ccd8;
	cursor: pointer;
	transition: width .25s ease, background .25s ease;
}

.heas-dot.is-active {
	width: 28px;
	background: #1677f2;
}

.heas-empty {
	padding: 30px;
	border-radius: 14px;
	background: #fff;
	color: #56657a;
	text-align: center;
}

@media (max-width: 1024px) {
	.heas-inner {
		padding: 48px 20px 44px;
	}

	.heas-heading {
		align-items: center;
	}

	.heas-title {
		font-size: 28px;
	}

	.heas-slide {
		flex-basis: calc((100% - (var(--heas-columns, 2) - 1) * var(--heas-gap, 16px)) / var(--heas-columns, 2));
	}

	.heas-card {
		min-height: 450px;
	}

	.heas-card__image {
		height: 220px;
	}
}

@media (max-width: 767px) {
	.heas-inner {
		padding: 38px 14px 34px;
	}

	.heas-heading {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 24px;
	}

	.heas-title {
		font-size: 24px;
	}

	.heas-description {
		font-size: 13px;
	}

	.heas-all-button {
		width: 100%;
		justify-content: center;
	}

	.heas-slide {
		flex-basis: calc((100% - (var(--heas-columns, 1) - 1) * var(--heas-gap, 12px)) / var(--heas-columns, 1));
	}

	.heas-card {
		min-height: 430px;
	}

	.heas-card__image {
		height: 210px;
	}

	.heas-arrow {
		top: auto;
		bottom: -60px;
		width: 40px;
		height: 40px;
		transform: none;
	}

	.heas-arrow:hover {
		transform: scale(1.04);
	}

	.heas-arrow--prev {
		right: 0;
	}

	.heas-arrow--next {
		left: 0;
	}

	.heas-dots {
		margin-top: 26px;
		padding-inline: 48px;
	}

	.heas-card:hover {
		transform: translateY(-3px);
	}
}

.elementor-editor-active .heas-root.is-full-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}
