/*Input Your Custom CSS Here*/

/* =============================================
   Homepage News Section
   ============================================= */
.homepage-news-section {
	padding: 80px 0 60px;
	background: #f4f7fa;
}
.news-section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 35px;
}
.news-section-title h2 {
	font-size: 32px;
	font-weight: 800;
	color: #1a3a5c;
	margin: 0 0 5px;
	letter-spacing: 1px;
}
.news-section-title p {
	font-size: 15px;
	color: #5a7a9a;
	margin: 0;
}
.news-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #1a3a5c;
	color: #fff;
	padding: 12px 28px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: background 0.3s;
	white-space: nowrap;
}
.news-all-btn:hover {
	background: #0d2a4a;
	color: #fff;
	text-decoration: none;
}
.news-all-btn i {
	font-size: 11px;
}

/* Content Layout */
.news-section-content {
	display: flex;
	gap: 24px;
}

/* Featured Slider (Left) */
.news-featured-slider {
	flex: 0 0 50%;
	max-width: 50%;
	border-radius: 14px;
	overflow: hidden;
}
.news-slider-owl.owl-carousel .owl-stage-outer {
	border-radius: 14px;
	overflow: hidden;
}
.news-featured-item {
	position: relative;
	height: 520px;
	background-size: cover;
	background-position: center;
	border-radius: 14px;
	overflow: hidden;
}
.news-featured-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(to top, rgba(10,25,50,0.92) 0%, rgba(10,25,50,0.4) 50%, rgba(10,25,50,0.1) 100%);
}
.news-featured-content {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 30px;
	display: flex;
	align-items: flex-end;
	gap: 20px;
}
.news-featured-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgba(255,255,255,0.15);
	border: 2px solid rgba(255,255,255,0.3);
	border-radius: 12px;
	padding: 12px 18px;
	min-width: 70px;
	flex-shrink: 0;
}
.news-date-day {
	font-size: 36px;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}
.news-date-month {
	font-size: 13px;
	font-weight: 600;
	color: rgba(255,255,255,0.8);
	text-transform: capitalize;
}
.news-featured-info {
	flex: 1;
}
.news-cat-tag {
	display: inline-block;
	background: #3a8f6a;
	color: #fff;
	padding: 4px 14px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin-bottom: 10px;
}
.news-featured-info h3 {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}
.news-featured-info h3 a {
	color: #fff;
	text-decoration: none;
}
.news-featured-info h3 a:hover {
	color: #c8e6ff;
}
.news-featured-info p {
	color: rgba(255,255,255,0.75);
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 15px;
}
.news-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255,255,255,0.6);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,0.25);
	padding: 8px 20px;
	border-radius: 6px;
	transition: all 0.3s;
}
.news-read-more:hover {
	color: #fff;
	border-color: rgba(255,255,255,0.6);
	text-decoration: none;
}
.news-read-more i {
	font-size: 10px;
}

/* Slider nav arrows */
.news-slider-owl.owl-carousel .owl-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	padding: 0 12px;
	pointer-events: none;
	margin-top: 0;
}
.news-slider-owl.owl-carousel .owl-prev,
.news-slider-owl.owl-carousel .owl-next {
	pointer-events: all;
	width: 42px;
	height: 42px;
	background: rgba(255,255,255,0.9) !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-size: 18px !important;
	color: #1a3a5c !important;
	transition: all 0.3s;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	margin: 0;
	padding: 0;
	line-height: 42px;
}
.news-slider-owl.owl-carousel .owl-prev:hover,
.news-slider-owl.owl-carousel .owl-next:hover {
	background: #fff !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Grid (Right 2x2) */
.news-grid-right {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.news-grid-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	transition: box-shadow 0.3s, transform 0.3s;
	display: flex;
	flex-direction: column;
}
.news-grid-card:hover {
	box-shadow: 0 6px 20px rgba(0,0,0,0.12);
	transform: translateY(-2px);
}
.news-grid-img {
	display: block;
	overflow: hidden;
	height: 160px;
}
.news-grid-img img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
	transition: transform 0.4s;
}
.news-grid-card:hover .news-grid-img img {
	transform: scale(1.05);
}
.news-grid-text {
	padding: 14px 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.news-grid-text h4 {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: #1a3a5c;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.news-grid-text h4 a {
	color: #1a3a5c;
	text-decoration: none;
}
.news-grid-text h4 a:hover {
	color: #3a8f6a;
}
.news-grid-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.news-grid-date {
	font-size: 12px;
	color: #7a8fa5;
}
.news-grid-date i {
	margin-right: 4px;
	color: #1a3a5c;
}
.news-grid-tag {
	display: inline-block;
	background: #1a3a5c;
	color: #fff;
	padding: 3px 12px;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 991px) {
	.news-section-content {
		flex-direction: column;
	}
	.news-featured-slider {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.news-featured-item {
		height: 400px;
	}
}
@media (max-width: 767px) {
	.news-section-header {
		flex-direction: column;
		gap: 15px;
	}
	.news-featured-item {
		height: 350px;
	}
	.news-grid-right {
		grid-template-columns: 1fr;
	}
	.news-featured-info h3 {
		font-size: 18px;
	}
}