/* ==============================================
   Brochures Grid
   ============================================== */

/* ==============================================
   Filter — Accordion Sections
   ============================================== */

.ehs-brochures-filters {
	display: flex;
	flex-direction: column;
}

.ehs-filters-bottombar {
	padding-top: 14px;
	border-top: 1px solid #efefef;
	margin-top: 4px;
}

.ehs-filter-section {
	border-bottom: 1px solid #efefef;
}

.ehs-filter-section:last-child {
	border-bottom: none;
}

.ehs-filter-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background: none;
	border: none;
	padding: 12px 0;
	cursor: pointer;
	gap: 8px;
	text-align: left;
}

.ehs-filter-section__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1;
}

.ehs-filter-section__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	background: #0078a0;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	border-radius: 9px;
	line-height: 1;
}

.ehs-filter-section__arrow {
	flex-shrink: 0;
	color: #aaa;
	transition: transform 0.2s ease;
}

.ehs-filter-section.is-open .ehs-filter-section__arrow {
	transform: rotate(180deg);
}

.ehs-filter-section__body {
	display: none;
	flex-direction: column;
	gap: 2px;
	padding: 4px 0 10px;
}

.ehs-filter-section.is-open .ehs-filter-section__body {
	display: flex;
}

.ehs-filter-section__footer {
	padding: 0 0 12px 34px;
}

/* ==============================================
   Filter — Checkbox-style Items
   ============================================== */

.ehs-filter-item.ehs-pill {
	display: flex !important;
	align-items: center;
	gap: 10px;
	padding: 6px 8px !important;
	border-radius: 6px !important;
	border: none !important;
	background: transparent !important;
	color: #444 !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	white-space: normal !important;
	width: 100%;
	text-decoration: none !important;
	transition: background 0.15s;
	line-height: 1.3;
}

.ehs-filter-item.ehs-pill:hover {
	background: #f0f8fb !important;
	color: #0078a0 !important;
}

.ehs-filter-item.ehs-pill.is-active {
	background: #eaf5f9 !important;
	color: #0078a0 !important;
	font-weight: 600 !important;
}

.ehs-filter-item.ehs-pill.ehs-filter-item--depth-1 {
	padding-left: 28px !important;
}

.ehs-filter-item.ehs-pill.ehs-filter-item--depth-2 {
	padding-left: 48px !important;
}

.ehs-filter-item__check {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	border-radius: 4px;
	border: 1.5px solid #ccc;
	background: #fff;
	transition: background 0.15s, border-color 0.15s;
	position: relative;
}

.ehs-filter-item.is-active .ehs-filter-item__check {
	background: #0078a0;
	border-color: #0078a0;
}

.ehs-filter-item.is-active .ehs-filter-item__check::after {
	content: '';
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 9px;
	border: 2px solid #fff;
	border-top: none;
	border-left: none;
	transform: rotate(45deg);
}

.ehs-filter-item__name {
	flex: 1;
}

.ehs-filter-item__count {
	font-size: 11px;
	color: #bbb;
	flex-shrink: 0;
}

.ehs-filter-item.is-active .ehs-filter-item__count {
	color: #0078a0;
}

/* ==============================================
   Filter — Clear / Reset Controls
   ============================================== */

.ehs-filter-row__reset {
	font-size: 11px;
	font-weight: 600;
	color: #999 !important;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.15s;
}

.ehs-filter-row__reset:hover {
	color: #c0392b !important;
}

.ehs-clear-filters {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	color: #0078a0 !important;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.15s;
	background: none;
	padding: 0;
	border-radius: 0;
	margin: 0;
}

.ehs-clear-filters:hover {
	color: #005f80 !important;
	background: none !important;
}

.ehs-brochures-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0;
}

@media (max-width: 900px) {
	.ehs-brochures-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 560px) {
	.ehs-brochures-grid { grid-template-columns: 1fr !important; }
}

.ehs-brochure-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.ehs-brochure-card__image-wrap {
	position: relative;
	width: 100%;
	padding-top: 60%;
	overflow: hidden;
}

.ehs-brochure-card__image-wrap img {
	position: absolute !important;
	top: 0; left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.ehs-brochure-card__overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: linear-gradient(135deg, rgba(0,60,110,0.65) 0%, rgba(0,160,180,0.55) 100%);
	pointer-events: none;
}

.ehs-brochure-card__body {
	padding: 20px 24px 24px;
}

.ehs-brochure-card__body h3 {
	margin-bottom: 10px !important;
}

.ehs-brochure-card__excerpt {
	font-size: 13px;
	color: #666;
	line-height: 1.6;
	margin: 0 0 16px;
}

.ehs-brochure-card__title {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 20px !important;
	color: #1a1a1a;
	line-height: 1.3;
}

.ehs-brochure-card__btn {
	display: inline-block;
	background: #1a1a1a;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 12px 22px;
	border-radius: 4px;
	transition: background 0.2s;
}

.ehs-brochure-card__btn:hover {
	background: #444 !important;
	color: #fff !important;
}

/* ==============================================
   Brochure Modal
   ============================================== */

.ehs-modal {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	inset: 0;
	z-index: 99999;
	transition: opacity 0.2s;
}

.ehs-modal[aria-hidden="true"] {
	opacity: 0;
	pointer-events: none;
}

.ehs-modal[aria-hidden="false"] {
	opacity: 1;
	pointer-events: all;
}

.ehs-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.ehs-modal__box {
	position: relative;
	background: #fff;
	border-radius: 12px;
	padding: 40px;
	width: 100%;
	max-width: 480px;
	margin: 16px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
	z-index: 1;
}

.ehs-modal__close {
	position: absolute;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: #aaa;
	cursor: pointer;
	padding: 0;
}

.ehs-modal__close:hover {
	color: #333;
}

.ehs-modal__title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #1a1a1a;
}

.ehs-modal__subtitle {
	font-size: 14px;
	color: #666;
	margin: 0 0 24px;
}

body.ehs-modal-open {
	overflow: hidden;
}

/* ==============================================
   AJAX Filter — Loading State
   ============================================== */

.ehs-cs-grid-area {
	position: relative;
	min-height: 120px;
	transition: opacity 0.2s;
}

.ehs-cs-grid-area.ehs-loading {
	opacity: 0.35;
	pointer-events: none;
}

.ehs-cs-grid-area.ehs-loading::after {
	content: '';
	position: absolute;
	top: 48px;
	left: 50%;
	transform: translateX(-50%);
	width: 36px;
	height: 36px;
	border: 3px solid #e0e0e0;
	border-top-color: #0078a0;
	border-radius: 50%;
	animation: ehs-spin 0.7s linear infinite;
}

@keyframes ehs-spin {
	to { transform: translateX(-50%) rotate(360deg); }
}

.ehs-clear-filters {
	display: block;
	margin-top: 20px;
	padding: 10px 16px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none !important;
	background: #0078a0;
	border-radius: 4px;
	transition: background 0.2s;
}

.ehs-clear-filters:hover {
	background: #005f80 !important;
	color: #fff !important;
}

.ehs-no-results {
	color: #666;
	font-size: 14px;
	padding: 24px 0;
}

/* ==============================================
   Sidebar Layout (Brochures & Case Studies)
   ============================================== */

.ehs-cs-wrap {
	width: 100%;
}

.ehs-cs-layout {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

.ehs-cs-content {
	flex: 0 0 75%;
	max-width: 75%;
}

.ehs-cs-sidebar {
	flex: 0 0 calc(25% - 40px);
	max-width: calc(25% - 40px);
	position: sticky;
	top: 100px;
}

.ehs-cs-sidebar__title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #1a1a1a;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e5e5e5;
}

/* 2-column grid inside the 75% container */
.ehs-cs-content .ehs-brochures-grid {
	grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 1024px) {
	.ehs-cs-layout {
		flex-direction: column-reverse;
		gap: 24px;
	}

	.ehs-cs-content,
	.ehs-cs-sidebar {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.ehs-cs-sidebar {
		position: static;
		width: 100%;
	}

	.ehs-cs-sidebar .ehs-brochures-filters {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0 32px;
	}

	.ehs-cs-sidebar .ehs-filter-section {
		flex: 0 0 calc(50% - 16px);
	}

	.ehs-cs-content .ehs-brochures-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 600px) {
	.ehs-cs-content .ehs-brochures-grid {
		grid-template-columns: 1fr !important;
	}

	.ehs-cs-sidebar .ehs-brochures-filters {
		flex-direction: column;
	}

	.ehs-cs-sidebar .ehs-filter-section {
		flex: 0 0 100%;
	}
}

/* ==============================================
   Blog Articles — Sidebar Layout
   [blog_articles_sidebar]
   ============================================== */

.ehs-blog-wrap {
	width: 100%;
}

.ehs-blog-layout {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

/* 65 / 35 split */
.ehs-blog-content {
	flex: 0 0 calc(65% - 20px);
	max-width: calc(65% - 20px);
	min-width: 0;
}

.ehs-blog-sidebar {
	flex: 0 0 calc(35% - 20px);
	max-width: calc(35% - 20px);
	position: sticky;
	top: 100px;
}

/* ---- Featured Article ---- */

.ehs-blog-featured {
	display: block;
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 24px;
	text-decoration: none !important;
}

.ehs-blog-featured__image-wrap {
	position: relative;
	width: 100%;
	padding-top: 60%;
	overflow: hidden;
	background: #0d2137;
}

.ehs-blog-featured__img {
	position: absolute !important;
	top: 0; left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.ehs-blog-featured__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(5, 28, 55, 0.93) 0%,
		rgba(0, 75, 115, 0.55) 50%,
		rgba(0, 100, 140, 0.12) 100%
	);
}

.ehs-blog-featured__body {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 32px 36px;
}

.ehs-blog-featured__title {
	font-size: 32px !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 12px 0 12px !important;
	line-height: 1.2 !important;
}

.ehs-blog-featured__desc {
	font-size: 14px;
	color: rgba(255,255,255,0.82);
	margin: 0 0 18px;
	line-height: 1.6;
}

.ehs-blog-featured__link {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border-bottom: 1px solid rgba(255,255,255,0.4);
	padding-bottom: 2px;
	transition: border-color 0.2s;
}

.ehs-blog-featured:hover .ehs-blog-featured__link {
	border-color: #fff;
}

/* ---- Category Badge ---- */

.ehs-blog-badge {
	display: inline-block;
	background: #0078a0; /* fallback; overridden inline per category */
	color: #fff !important;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	padding: 4px 10px;
	border-radius: 4px;
	line-height: 1.4;
	text-decoration: none !important;
}

.ehs-blog-badge--sm {
	font-size: 10px;
	padding: 3px 8px;
	margin-bottom: 8px;
	display: block;
	width: fit-content;
}

/* ---- Articles Grid ---- */

.ehs-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-bottom: 32px;
}

.ehs-blog-card {
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e8eaed;
	text-decoration: none !important;
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.ehs-blog-card:hover {
	border-color: #c5cdd8;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.ehs-blog-card__image-wrap {
	position: relative;
	width: 100%;
	padding-top: 68%;
	overflow: hidden;
	background: #dde3ea;
	flex-shrink: 0;
}

.ehs-blog-card__img {
	position: absolute !important;
	top: 0; left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform 0.35s;
}

.ehs-blog-card:hover .ehs-blog-card__img {
	transform: scale(1.05);
}

.ehs-blog-card__body {
	padding: 14px 16px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ehs-blog-card__title {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
	margin: 0 0 auto !important;
	line-height: 1.4 !important;
	padding-bottom: 10px;
}

.ehs-blog-card__meta {
	font-size: 12px;
	color: #888;
	display: block;
	margin-top: 8px;
}

/* ---- View All Button ---- */

.ehs-blog-viewall {
	text-align: center;
	padding-top: 8px;
}

.ehs-blog-viewall__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a !important;
	text-decoration: none !important;
	border: 1.5px solid #c0c0c0;
	border-radius: 50px;
	padding: 11px 32px;
	background: #fff;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.ehs-blog-viewall__btn:hover {
	border-color: #1a1a1a;
	background: #1a1a1a;
	color: #fff !important;
}

.ehs-blog-viewall__btn.is-loading {
	opacity: 0.6;
	pointer-events: none;
	cursor: wait;
}

/* ---- Sidebar Widgets ---- */

.ehs-blog-sidebar__widget {
	background: #f8f9fb;
	border-radius: 12px;
	padding: 22px 24px;
	margin-bottom: 20px;
	border: 1px solid #e4e7ec;
}

.ehs-blog-sidebar__heading {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	margin: 0 0 14px !important;
	padding-bottom: 12px;
	border-bottom: 2px solid #e4e7ec;
	line-height: 1.3 !important;
}

.ehs-blog-sidebar__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ehs-blog-sidebar__item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ehs-blog-sidebar__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 7px;
	/* background and color set inline per category */
	background: #ddf2f9;
	color: #0078a0;
}

.ehs-blog-sidebar__item a {
	font-size: 14px;
	color: #2a2a2a !important;
	text-decoration: none !important;
	font-weight: 500;
	line-height: 1.3;
	transition: color 0.15s;
}

.ehs-blog-sidebar__item a:hover {
	color: #0078a0 !important;
}

.ehs-blog-cat-filter--active {
	color: #0078a0 !important;
	font-weight: 700;
}

/* Content fades while an AJAX filter is in flight */
.ehs-blog-content.is-loading {
	opacity: 0.45;
	pointer-events: none;
	transition: opacity 0.15s;
}

/* Trending list — no icons, separator between items */
.ehs-blog-sidebar__list--trending {
	gap: 0;
}

.ehs-blog-sidebar__list--trending .ehs-blog-sidebar__item {
	padding: 10px 0;
	border-bottom: 1px solid #e4e7ec;
}

.ehs-blog-sidebar__list--trending .ehs-blog-sidebar__item:first-child {
	padding-top: 0;
}

.ehs-blog-sidebar__list--trending .ehs-blog-sidebar__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

/* ---- Responsive ---- */

@media (max-width: 1100px) {
	.ehs-blog-content {
		flex: 0 0 calc(62% - 20px);
		max-width: calc(62% - 20px);
	}
	.ehs-blog-sidebar {
		flex: 0 0 calc(38% - 20px);
		max-width: calc(38% - 20px);
	}
}

@media (max-width: 900px) {
	.ehs-blog-layout {
		flex-direction: column;
		gap: 32px;
	}
	.ehs-blog-content,
	.ehs-blog-sidebar {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.ehs-blog-sidebar {
		position: static;
	}
}

@media (max-width: 768px) {
	.ehs-blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.ehs-blog-featured__title {
		font-size: 22px !important;
	}
	.ehs-blog-featured__body {
		padding: 22px 24px;
	}
}

@media (max-width: 480px) {
	.ehs-blog-grid {
		grid-template-columns: 1fr;
	}
}

/* ==============================================
   News & Events Grid
   ============================================== */

/* Spacing between featured and grid */
.ehs-ne-wrap {
	width: 100%;
}

.ehs-ne-featured-wrap {
	margin-bottom: 48px;
}

/* --- Featured block --- */
.ehs-ne-featured {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.ehs-ne-featured__inner {
	display: flex;
	align-items: stretch;
	min-height: 300px;
	text-decoration: none;
	color: inherit;
}

.ehs-ne-featured__inner:hover {
	text-decoration: none;
	color: inherit;
}

.ehs-ne-featured__image-wrap {
	flex: 0 0 42%;
	max-width: 42%;
	position: relative;
	overflow: hidden;
}

.ehs-ne-featured__img {
	position: absolute;
	top: 0; left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.ehs-ne-featured__overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: linear-gradient(135deg, rgba(0,60,110,0.65) 0%, rgba(0,160,180,0.55) 100%);
	pointer-events: none;
}

.ehs-ne-featured__body {
	flex: 1;
	padding: 36px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
}

.ehs-ne-featured__date {
	font-size: 12px;
	color: #888;
}

.ehs-ne-featured__title {
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	color: #1a1a1a;
}

.ehs-ne-featured__desc {
	font-size: 13px;
	color: #666;
	line-height: 1.6;
	margin: 0;
}

.ehs-ne-featured__btn {
	display: inline-block;
	background: #1a1a1a;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 12px 22px;
	border-radius: 4px;
	width: fit-content;
	transition: background 0.2s;
}

.ehs-ne-featured__inner:hover .ehs-ne-featured__btn {
	background: #444;
}

@media (max-width: 768px) {
	.ehs-ne-featured__inner {
		flex-direction: column;
	}
	.ehs-ne-featured__image-wrap {
		flex: none;
		max-width: 100%;
		min-height: 220px;
	}
	.ehs-ne-featured__body {
		padding: 24px 20px;
	}
}

/* --- Event type badge --- */
.ehs-ne-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	background: #1a1a1a;
	color: #fff;
	width: fit-content;
	line-height: 1.6;
}

/* --- Section heading --- */
.ehs-ne-latest__heading {
	font-size: 18px !important;
	font-weight: 700 !important;
	margin-bottom: 24px !important;
	color: #1a1a1a;
}

/* --- 3-column grid --- */
.ehs-ne-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* --- Grid card --- */
.ehs-ne-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
}

.ehs-ne-card:hover {
	text-decoration: none;
	color: inherit;
}

.ehs-ne-card__thumb {
	position: relative;
	width: 100%;
	padding-top: 60%;
	overflow: hidden;
}

.ehs-ne-card__thumb img {
	position: absolute !important;
	top: 0; left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.ehs-ne-card__overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: linear-gradient(135deg, rgba(0,60,110,0.65) 0%, rgba(0,160,180,0.55) 100%);
	pointer-events: none;
}

.ehs-ne-card__body {
	padding: 20px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.ehs-ne-card__date {
	font-size: 12px;
	color: #888;
}

.ehs-ne-card__title {
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin: 0 0 4px !important;
	color: #1a1a1a;
	flex: 1;
}

.ehs-ne-card__excerpt {
	font-size: 13px;
	color: #666;
	line-height: 1.6;
	margin: 0 0 8px;
}

.ehs-ne-card__btn {
	display: inline-block;
	background: #1a1a1a;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 12px 22px;
	border-radius: 4px;
	width: fit-content;
	transition: background 0.2s;
	margin-top: auto;
}

.ehs-ne-card:hover .ehs-ne-card__btn {
	background: #444;
}

/* --- Responsive --- */
@media (max-width: 900px) {
	.ehs-ne-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


@media (max-width: 560px) {
	.ehs-ne-grid {
		grid-template-columns: 1fr;
	}
}

/* ==============================================
   News & Events — Single Post
   ============================================== */

.ehs-ne-single__hero {
	position: relative;
	width: 100%;
	height: 460px;
	overflow: hidden;
}

.ehs-ne-single__hero-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.ehs-ne-single__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0,60,110,0.55) 0%, rgba(0,160,180,0.40) 100%);
	pointer-events: none;
}

.ehs-ne-single__wrap {
	padding: 32px 0 60px;
}

.ehs-ne-single__back {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: #0078a0 !important;
	text-decoration: none;
	margin-bottom: 28px;
	letter-spacing: 0.3px;
}

.ehs-ne-single__back:hover {
	color: #005f80 !important;
	text-decoration: underline;
}

.ehs-ne-single__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 16px;
}

.ehs-ne-single__date {
	font-size: 13px;
	color: #555;
}

.ehs-ne-single__date-label {
	font-weight: 700;
	color: #1a1a1a;
	margin-right: 4px;
}

.ehs-ne-single__title {
	font-size: 36px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: #1a1a1a;
	margin: 0 0 32px !important;
}

.ehs-ne-single__content {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	border-top: 1px solid #ebebeb;
	padding-top: 32px;
}

.ehs-ne-single__content p {
	margin-bottom: 1.4em;
}

.ehs-ne-single__content h2,
.ehs-ne-single__content h3,
.ehs-ne-single__content h4 {
	margin-top: 1.8em;
	margin-bottom: 0.6em;
	font-weight: 700;
	color: #1a1a1a;
}

.ehs-ne-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.ehs-ne-single__footer {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #ebebeb;
}

.ehs-ne-single__btn {
	display: inline-block;
	background: #1a1a1a;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 12px 22px;
	border-radius: 4px;
	transition: background 0.2s;
}

.ehs-ne-single__btn:hover {
	background: #444;
	color: #fff !important;
}

@media (max-width: 768px) {
	.ehs-ne-single__hero {
		height: 260px;
	}
	.ehs-ne-single__title {
		font-size: 26px !important;
	}
	.ehs-ne-single__wrap {
		padding: 24px 0 40px;
	}
}

/* ==============================================
   News & Events — Single Page Speakers
   ============================================== */
.ehs-ne-speakers {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid #e0e0e0;
}

.ehs-ne-speakers__heading {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 24px;
	color: #1a1a1a;
}

.ehs-ne-speakers__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 24px;
}

.ehs-ne-speaker-card__photo {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 10px;
	background: #f0f0f0;
}

.ehs-ne-speaker-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ehs-ne-speaker-card__placeholder {
	width: 100%;
	height: 100%;
	background: #ddd;
}

.ehs-ne-speaker-card__name {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 4px !important;
	text-transform: capitalize;
}

.ehs-ne-speaker-card__title {
	font-size: 13px;
	color: #666;
	display: block;
	line-height: 1.4;
	text-transform: capitalize;
}

/* ==============================================
   Dropdown Menu — Icon & Text Alignment
   - All icons same width (fixed column)
   - Text wraps under itself, not the icon
   ============================================== */

/* Make each dropdown <a> a flex row */
ul.drop-menu > li > a {
	display: flex !important;
	align-items: flex-start !important;
	white-space: normal !important;
}

/* Fixed-width icon column so all icons align consistently */
ul.drop-menu > li > a > i.menu-icon {
	flex-shrink: 0;
	min-width: 22px;
	width: 22px;
	text-align: center;
	margin-right: 10px !important;
	/* Keep icon vertically centred on the first text line */
	line-height: inherit;
	margin-top: -1px;
}

/* Text node / span takes the remaining width — wrapping stays under the text */
ul.drop-menu > li > a > .menu-item-title,
ul.drop-menu > li > a > span:not(.menu-icon) {
	flex: 1;
	min-width: 0;
}

/* Handle plain text nodes: wrap them in a block via a pseudo-trick.
   Because plain text nodes can't be flex items directly, we use
   display:block on the anchor's pseudo-content width. The flex
   layout above already handles wrapping correctly for text that
   follows the icon <i> element. */
ul.drop-menu > li > a {
	flex-wrap: nowrap;
}

/* The fa-dropdown arrow should not grow */
ul.drop-menu > li > a > i.fa-dropdown {
	flex-shrink: 0;
	margin-left: auto !important;
	padding-left: 6px !important;
}
