/* News & Events — professional layout aligned with header Montserrat / #0e76bb */

.news-page {
	font-family: 'Montserrat', sans-serif;
	color: var(--esteem-text, #374151);
}

.news-hero-lead {
	margin: 14px 0 0;
	max-width: 42em;
	color: rgba(255, 255, 255, .92);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
}

.banner-area.news-banner {
	position: relative;
	padding: 220px 0 40px !important;
	background-image: url('../images/banner-bg1.webp') !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: cover !important;
}

.banner-area.news-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 24, 40, .35) 0%, rgba(10, 24, 40, .5) 100%);
	z-index: 0;
}

.banner-area.news-banner .container {
	position: relative;
	z-index: 1;
}

.banner-area.news-banner h1,
.banner-area.news-banner .esteem-breadcrumb a,
.banner-area.news-banner .breadcrumb-item.active {
	color: #fff !important;
}

.banner-area.news-banner .breadcrumb-separator {
	color: rgba(255, 255, 255, .85);
}

.banner-area.other-page h1 {
	font-family: 'Montserrat', sans-serif !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: .01em;
	line-height: 1.2 !important;
}

.news-section {
	padding: 64px 0 72px;
	background: var(--esteem-bg, #fff);
}

.news-kicker {
	display: block;
	margin: 0 0 10px;
	color: var(--esteem-link, #0e76bb);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.news-section .section-top h2 {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 32px !important;
	font-weight: 500 !important;
	text-transform: none !important;
	color: var(--esteem-heading, #111827) !important;
}

.news-intro {
	max-width: 680px;
	margin: 0 auto 40px;
	color: var(--esteem-text, #4b5563);
	font-size: 16px;
	line-height: 1.7;
	text-align: center;
}

.news-featured {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 48px;
}

.news-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--esteem-bg-elevated, #fff);
	border: 1px solid var(--esteem-border, #e8ecf0);
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(14, 118, 187, .1);
	border-color: #cfe4f3;
}

.news-card-media {
	height: 220px;
	background: var(--esteem-bg-muted, #f8fafc);
	overflow: hidden;
}

.news-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.news-card--logo .news-card-media {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px;
}

.news-card--logo .news-card-media img {
	width: auto;
	max-width: 70%;
	height: auto;
	max-height: 140px;
	object-fit: contain;
}

.news-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 22px 24px;
}

.news-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.news-date {
	color: var(--esteem-link, #0e76bb);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
}

.news-tag {
	display: inline-block;
	padding: 2px 8px;
	border: 1px solid #d7e6f2;
	background: var(--esteem-bg-muted, #f4f8fb);
	color: var(--esteem-link, #0e76bb);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.news-card h3 {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	text-transform: none !important;
	color: var(--esteem-heading, #111827) !important;
	line-height: 1.35;
	margin: 0 0 12px;
}

.news-card p {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--esteem-text, #4b5563);
	text-align: left;
}

.news-card p:last-child {
	margin-bottom: 0;
}

.news-year {
	margin: 8px 0 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e8ecf0;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	text-transform: none !important;
	color: var(--esteem-heading, #111827) !important;
}

.news-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.news-row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 0;
	background: var(--esteem-bg-elevated, #fff);
	border: 1px solid var(--esteem-border, #e8ecf0);
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.news-row:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(14, 118, 187, .08);
	border-color: #cfe4f3;
}

.news-row .news-card-media {
	height: 100%;
	min-height: 160px;
}

.news-row .news-card-body {
	padding: 20px 24px;
}

.news-row h3 {
	font-size: 18px !important;
}

.news-row--text {
	grid-template-columns: 1fr;
	border-left: 3px solid #0e76bb;
}

.news-cta {
	margin-top: 40px;
	padding: 28px 32px;
	background: var(--esteem-bg-muted, #f4f8fb);
	border: 1px solid #e2eef6;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.news-cta p {
	margin: 0;
	max-width: 38em;
	color: var(--esteem-text, #374151);
	font-size: 15px;
	line-height: 1.6;
	text-align: left;
}

.news-cta a {
	display: inline-flex;
	align-items: center;
	padding: 12px 20px;
	background: #0e76bb;
	color: #fff !important;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s ease;
}

.news-cta a:hover,
.news-cta a:focus {
	background: #0a5f96;
	color: #fff !important;
	text-decoration: none;
}

@media (max-width: 991.98px) {
	.banner-area.news-banner {
		padding: 200px 0 40px !important;
	}

	.news-featured {
		grid-template-columns: 1fr;
	}

	.news-row {
		grid-template-columns: 180px minmax(0, 1fr);
	}
}

@media (max-width: 767.98px) {
	.banner-area.news-banner {
		padding: 180px 16px 50px !important;
	}

	.banner-area.other-page h1 {
		font-size: 28px !important;
	}

	.news-section {
		padding: 48px 0 56px;
	}

	.news-section .section-top h2 {
		font-size: 26px !important;
	}

	.news-card-media {
		height: 200px;
	}

	.news-row {
		grid-template-columns: 1fr;
	}

	.news-row .news-card-media {
		height: 180px;
		min-height: 0;
	}

	.news-cta {
		padding: 22px 18px;
	}
}

html[data-theme="dark"] .news-page,
html[data-theme="dark"] .news-section {
	background: var(--esteem-bg, #10161d) !important;
	color: var(--esteem-text, #d7e0e8);
}

html[data-theme="dark"] .news-section .section-top h2,
html[data-theme="dark"] .news-card h3,
html[data-theme="dark"] .news-year {
	color: var(--esteem-heading, #f3f6f9) !important;
}

html[data-theme="dark"] .news-intro,
html[data-theme="dark"] .news-card p,
html[data-theme="dark"] .news-cta p {
	color: var(--esteem-text, #d7e0e8) !important;
}

html[data-theme="dark"] .news-kicker,
html[data-theme="dark"] .news-date {
	color: var(--esteem-link, #6cbcf0) !important;
}

html[data-theme="dark"] .news-card,
html[data-theme="dark"] .news-row {
	background: var(--esteem-bg-elevated, #1a232e) !important;
	border-color: var(--esteem-border, #2c3642) !important;
	box-shadow: none !important;
}

html[data-theme="dark"] .news-card-media {
	background: var(--esteem-bg, #10161d);
}

html[data-theme="dark"] .news-card--logo .news-card-media {
	background: #e8eef3;
}

html[data-theme="dark"] .news-card:hover,
html[data-theme="dark"] .news-row:hover {
	border-color: var(--esteem-accent, #3e9ad4);
	box-shadow: none;
}

html[data-theme="dark"] .news-year {
	border-bottom-color: var(--esteem-border, #2c3642);
}

html[data-theme="dark"] .news-tag {
	background: var(--esteem-bg-muted, #161e27);
	border-color: var(--esteem-border, #2c3642);
	color: var(--esteem-link, #6cbcf0);
}

html[data-theme="dark"] .news-cta {
	background: var(--esteem-bg-muted, #161e27);
	border-color: var(--esteem-border, #2c3642);
}
