/**
 * NewsSlider Component Styles
 * Converted from NewsSlider.module.scss for WordPress
 * All classes are scoped with 'news-slider-' prefix to avoid conflicts
 */

.news-slider-section {
	background-color: #ffffff;
	position: relative;
	overflow: hidden;
}

.news-slider-container {
	margin-left: calc((100% - (1400px - 1.5rem)) / 2);
}

@media (max-width: 1440px) {
	.news-slider-container {
		margin-left: calc((100% - (95% - 1.5rem)) / 2);
	}
}

@media (max-width: 820px) {
	.news-slider-container {
		margin-left: auto;
		margin-right: auto;
		width: 94%;
	}
}

.news-slider-content-wrapper {
	display: flex;
	gap: 20px;
	justify-content: space-between;
}

/* Left Section - Heading and Navigation */
.news-slider-left-section {
	width: 100%;
	max-width: 450px;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	padding-bottom: 2%;
}

.news-slider-left-section .news-slider-section-heading {
	color: var(--darkBlue, #002C5F);
	font-family: var(--font-bold, 'Raleway-Bold', sans-serif);
	font-weight: 700;
}



@media (max-width: 1024px) {
	.news-slider-left-section .news-slider-section-heading {
		margin-bottom: 30px;
	}
}

@media (max-width: 768px) {
	.news-slider-left-section {
		width: 450%;
		max-width: unset;

	}

	.news-slider-left-section .news-slider-section-heading {
		margin-bottom: 25px;
	}
}

@media (max-width: 480px) {
	.news-slider-left-section .news-slider-section-heading {
		margin-bottom: 20px;
	}
}

.news-slider-left-section .news-slider-navigation-controls {
	display: flex;
	gap: 10px;
	align-items: center;
}

@media (max-width: 768px) {
	.news-slider-left-section .news-slider-navigation-controls {
		gap: 12px;
	}
}

/* Right Section - News Cards Carousel */
.news-slider-right-section {
	flex: 1;
	overflow: hidden;
}

.news-slider-right-section .news-slider-swiper {
	padding-bottom: 10px;
}

.news-slider-right-section .news-slider-swiper .swiper-slide {
	height: auto;
}

.news-slider-right-section .news-slider-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.news-slider-right-section .news-slider-card:hover .news-slider-card-image-wrapper .news-slider-card-image {
	transform: scale(1.05);
}

.news-slider-right-section .news-slider-card-image-wrapper {
	position: relative;
	width: 100%;
	height: 370px;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
	background-color: #f0f0f0;
}

.news-slider-right-section .news-slider-card-image-wrapper::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.9) 100%);
}

@media (max-width: 1024px) {
	.news-slider-left-section {
		max-width: 300px;
	}

	.news-slider-right-section .news-slider-card-image-wrapper {
		height: 220px;
	}
}

@media (max-width: 768px) {
	.news-slider-right-section .news-slider-card-image-wrapper {
		height: 200px;
		margin-bottom: 15px;
	}
}

.news-slider-right-section .news-slider-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.news-slider-right-section .news-slider-date-overlay {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background: #211f54;
	border-radius: 50px;
	z-index: 1;
	color: #ffffff;
	font-family: var(--font-regular, 'Raleway-Regular', sans-serif);
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0.42px;
	font-weight: 400;
	padding: 9px 16px;
}

@media (max-width: 768px) {
	.news-slider-right-section .news-slider-date-overlay {
		padding: 6px 12px;
		font-size: 12px;
	}
}

.news-slider-right-section .news-slider-card-title {
	color: #002c5f;
	font-family: var(--font-medium, 'Raleway-Medium', sans-serif);
	font-size: 20px;
	font-weight: 500;
	opacity: 0.8;
}

@media (max-width: 768px) {
	.news-slider-right-section .news-slider-card-title {
		font-size: 16px;

	}
}