﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NEWS LISTING PAGE  (partnerships/media)
   Card prefix: .nlc (news listing card)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.news-listing-section { padding: 3rem 0 5rem; }

/* ── Filter bar (search + tag pills) ──────────────────── */
.news-filter-wrap {
	margin-bottom: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.news-search-form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.news-search-input-wrap {
	position: relative;
	flex: 1 1 220px;
}

.news-search-icon {
	position: absolute;
	left: 0.7rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--green-600);
	pointer-events: none;
}

.news-search-input {
	width: 100%;
	padding: 0.55rem 0.75rem 0.55rem 2.2rem;
	border: 1.5px solid rgba(47, 125, 77, .3);
	border-radius: 8px;
	font-size: 0.92rem;
	background: #fff;
	outline: none;
	transition: border-color 0.2s;
}

.news-search-input:focus {
	border-color: var(--green-600);
}

.news-search-btn {
	padding: 0.55rem 1.1rem;
	background: var(--green-600);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.news-search-btn:hover {
	background: var(--green-700, #1b5e36);
}

.news-search-clear {
	font-size: 0.86rem;
	color: var(--gray-700);
	text-decoration: underline;
	white-space: nowrap;
}

.news-tag-strip {
	display: none;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.news-tag-pill {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--green-700, #1b5e36);
	background: rgba(47, 125, 77, .08);
	border: 1.5px solid transparent;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	white-space: nowrap;
}

.news-tag-pill:hover,
.news-tag-pill.is-active {
	background: var(--green-600);
	color: #fff;
	border-color: var(--green-600);
}

.news-filter-label {
	font-size: 0.9rem;
	color: var(--gray-700);
	margin: 0;
	margin-top: 10px;
}

/* meta bar */
.news-meta-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(47, 125, 77, .15);
}

.news-meta-count {
	font-size: .9rem;
	font-weight: 600;
	color: var(--green-600);
}

.news-meta-paging {
	font-size: .85rem;
	color: var(--gray-700);
}

/* empty state */
.news-empty {
	text-align: center;
	padding: 4rem 0;
	color: var(--gray-700);
}

/* card grid */
.news-listing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

/* card shell */
.nlc {
	background: var(--white);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(15, 23, 42, .07);
	border: 1px solid rgba(47, 125, 77, .1);
	display: flex;
	flex-direction: column;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.nlc:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 36px rgba(15, 23, 42, .14);
}

/* image */
.nlc-image-wrap {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--green-100);
}

.nlc-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.nlc:hover .nlc-image-wrap img {
	transform: scale(1.04);
}

.nlc-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: transparent;
	background: #eef7ef url('https://uigreenmetric.com/wp-content/uploads/2026/03/ALT.1_UI-Green-Metric_SCR-scaled.png') center/cover no-repeat;
}

.nlc-image-placeholder svg {
	display: none;
}

/* body */
.nlc-body {
	padding: 0.9rem 1rem 1rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* category pills */
.nlc-cats {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin-bottom: .65rem;
}

.nlc-cat {
	display: inline-block;
	font-size: .72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--green-600);
	background: rgba(47, 125, 77, .1);
	border-radius: 100px;
	padding: .2rem .65rem;
}

/* title */
.nlc-title {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--gray-900);
	margin: 0 0 0.4rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nlc-title a {
	color: inherit;
	text-decoration: none;
	transition: color .2s;
}

.nlc-title a:hover { color: var(--green-600); }

/* excerpt */
.nlc-excerpt {
	font-size: 0.85rem;
	color: var(--gray-700);
	line-height: 1.45;
	margin-bottom: 0.7rem;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* footer row */
.nlc-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	margin-top: auto;
}

.nlc-date {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: .8rem;
	color: var(--gray-700);
}

.nlc-read-more {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	font-size: .82rem;
	font-weight: 600;
	color: var(--green-600);
	text-decoration: none;
	transition: gap .2s ease;
}

.nlc-read-more:hover { gap: .55rem; }

/* restore hover transition after reveal */
.nlc.is-visible {
	transition: transform 0.28s ease, box-shadow 0.28s ease;
	transition-delay: 0s;
}

/* â”€â”€ Pagination â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.news-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	margin-top: 3rem;
	flex-wrap: wrap;
}

.news-pag-btn,
.news-pag-num {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .5rem .85rem;
	border-radius: 8px;
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--gray-900);
	background: var(--white);
	border: 1px solid rgba(47, 125, 77, .2);
	transition: background .2s, color .2s, border-color .2s;
}

.news-pag-btn:hover,
.news-pag-num:hover {
	background: rgba(47, 125, 77, .08);
	border-color: var(--green-600);
	color: var(--green-600);
}

.news-pag-num.is-active {
	background: var(--green-700);
	color: var(--white);
	border-color: var(--green-700);
}

.news-pag-ellipsis {
	padding: .5rem .25rem;
	color: var(--gray-700);
	font-size: .875rem;
}

/* â”€â”€ News listing 2-column + sidebar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.news-page-row {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 3rem;
	align-items: start;
}
.news-listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

/* â”€â”€ News sidebar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.news-sidebar {
	position: sticky;
	top: 5.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.news-sw {
	border-radius: .9rem;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	background: #fff;
}
.news-sw-label {
	font-size: .65rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--green-700);
	padding: .85rem 1.1rem .5rem;
}
.news-sw-img-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f3f4f6;
}
.news-sw-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s;
}
.news-sw-badge {
	position: absolute;
	top: .6rem;
	right: .6rem;
	padding: .2rem .6rem;
	border-radius: 999px;
	font-size: .65rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	background: #f59e0b;
	color: #3d2a04;
}
.news-sw-badge--platinum { background: linear-gradient(90deg,#e2c97e,#c9a84c); color: #3d2a04; }
.news-sw-badge--silver   { background: #94a3b8; color: #1e293b; }
.news-sw-body {
	padding: .85rem 1.1rem 1.1rem;
}
.news-sw-name {
	font-size: .95rem;
	font-weight: 800;
	color: var(--green-800, #166534);
	margin: 0 0 .3rem;
}
.news-sw-addr {
	font-size: .75rem;
	color: var(--gray-500, #6b7280);
	display: flex;
	align-items: flex-start;
	gap: .3rem;
	margin: 0 0 .85rem;
}
.news-sw-addr svg { flex-shrink: 0; margin-top: .1rem; }
.news-sw-link {
	display: block;
	text-align: center;
	padding: .5rem;
	border: 1.5px solid var(--green-200, #bbf7d0);
	border-radius: .45rem;
	font-size: .8rem;
	font-weight: 700;
	color: var(--green-700);
	text-decoration: none;
	transition: background .2s, color .2s;
}
.news-sw a:hover .news-sw-img-wrap img { transform: scale(1.04); }
.news-sw-link:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }

@media (max-width: 1024px) {
	.news-page-row { grid-template-columns: 1fr 280px; gap: 2rem; }
	.news-listing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
	.news-page-row { grid-template-columns: 1fr; }
	.news-sidebar { position: static; }
	.news-listing-grid { grid-template-columns: 1fr; }
	.news-meta-bar { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

.site-footer {
	background: #173f2a;
	color: var(--white);
	padding: 3.5rem 0 0;
}

.site-footer a {
	color: var(--white);
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-grid h4 {
	margin-bottom: 1rem;
}

.footer-grid ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.85rem;
}

.footer-contact {
	max-width: 480px;
}

.footer-contact li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 0.75rem;
	align-items: start;
}

.footer-icon {
	width: 22px;
	height: 22px;
	color: #32b35b;
	display: inline-flex;
}

.footer-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.footer-socials,
.footer-bottom-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.social-icon {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: #23a455;
	color: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.social-icon:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.footer-cta {
	margin: 1.2rem 0 1.4rem;
}

.footer-logos {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.footer-logos .logo-card {
	background: var(--white);
	border-radius: 10px;
	padding: 1rem;
	display: grid;
	place-items: center;
}

.footer-logos img {
	max-width: 120px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 1.2rem 0;
	font-size: 0.85rem;
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.site-footer .btn-outline {
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--white);
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Mobile Responsive Styles */
/* ── Header / navbar: collapses to the hamburger at 1100px ──────────
   The horizontal menu needs 937px of content and the container is the
   viewport minus ~82px, so it starts wrapping at ~1019px (the dropdown
   arrows drop to a second line). 1100px leaves ~75px of headroom for
   classic scrollbars and browser zoom. Only header rules live here —
   the phone layout for everything else stays at 768px below. */
@media (max-width: 1100px) {
	/* Header mobile menu */
	.header-inner {
		flex-wrap: wrap;
		padding: 1.2rem 0;
		gap: 0rem;
	}

	.header-inner {
		padding: 0.7rem 0;
	}

	.nav-toggle {
		display: flex;
	}

	.nav-toggle span {
		width: 22px;
		height: 2.5px;
	}

	.header-actions {
		margin-left: auto;
	}

	.main-nav {
		display: block;
		width: 100%;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--white);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
		border-top: 1px solid rgba(0, 0, 0, 0.08);
		padding: 1rem;
		opacity: 0;
		max-height: 0;
		overflow: hidden;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.3s ease, max-height 0.3s ease, visibility 0.3s ease;
	}

	.main-nav.is-open {
		opacity: 1;
		max-height: 80vh;
		visibility: visible;
		pointer-events: auto;
		overflow-y: auto;
	}

	.main-nav ul {
		flex-direction: column;
		gap: 0;
		align-items: stretch;
	}

	.main-nav li {
		width: 100%;
		border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	}

	.main-nav li:last-child {
		border-bottom: none;
	}

	.main-nav a {
		padding: 0.85rem 0.5rem;
	}

	.dropdown {
		position: static;
		opacity: 0;
		visibility: hidden;
		max-height: 0;
		overflow: hidden;
		padding: 0;
		margin: 0;
		box-shadow: none;
		border: none;
		background: rgba(47, 125, 77, 0.04);
		transition: opacity 0.3s ease, max-height 0.3s ease, visibility 0.3s ease;
	}

	.dropdown a {
		padding: 0.7rem 1rem;
		font-size: 0.85rem;
		border-left: 0;
	}

	.has-dropdown.is-open .dropdown {
		opacity: 1;
		visibility: visible;
		max-height: 1200px;
		padding: 0.5rem 0;
		margin-top: 0.25rem;
	}

	/* Mobile subdropdowns */
	.has-subdropdown > a::after {
		border-left: 0;
		border-top: 5px solid currentColor;
		border-left: 4px solid transparent;
		border-right: 4px solid transparent;
		padding-left: 0;
		margin-left: 0.5rem;
	}
	.has-subdropdown.is-sub-open > a::after {
		transform: rotate(180deg);
	}
	.subdropdown {
		position: static;
		opacity: 0;
		visibility: hidden;
		max-height: 0;
		overflow: hidden;
		padding: 0;
		margin: 0;
		box-shadow: none;
		border: none;
		background: rgba(47, 125, 77, 0.06);
		transform: none;
		transition: opacity 0.3s ease, max-height 0.3s ease, visibility 0.3s ease;
	}
	.has-subdropdown.is-sub-open > .subdropdown {
		opacity: 1;
		visibility: visible;
		max-height: 600px;
		padding: 0.25rem 0;
		transform: none;
	}
	.subdropdown a {
		padding: 0.6rem 1.5rem;
		font-size: 0.82rem;
	}

	body {
		padding-top: 116px;
	}

	body.header-compact {
		padding-top: 76px;
	}
}

@media (max-width: 768px) {
	/* Phone-only header cosmetics — the hamburger itself switches at 1100px. */
	.brand img {
		height: 38px;
	}

	.top-bar {
		font-size: 0.75rem;
		max-height: 38px;
	}

	.top-bar-inner {
		padding: 0.5rem 0;
		gap: 1rem;
	}

	.top-bar-title {
		font-size: 0.8rem;
	}

	.top-bar-contact {
		font-size: 0.7rem;
		gap: 0.5rem;
	}

	.span-hide{
		display: none;
	}


	.btn-primary {
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}

	/* Hero banners - image-driven height */
	.hero-slide img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	/* About section */
	.about-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.page-hero {
		padding: 5.5rem 0 3.5rem;
	}

	.page-hero-content {
		text-align: center;
	}

	.about-story-grid,
	.history-stack {
		grid-template-columns: 1fr;
	}

	.timeline {
		grid-template-columns: 1fr;
		padding-top: 0;
	}

	.timeline::before {
		top: 0;
		left: 0.8rem;
		right: auto;
		width: 2px;
		height: 100%;
		z-index: 0;
	}

	.timeline-step {
		padding-left: 3rem;
		z-index: 1;
	}

	.timeline-dot {
		left: 1rem;
		top: 1.1rem;
	}

	.stats-grid,
	.rankings-grid,
	.metrics-grid {
		grid-template-columns: 1fr;
	}

	.about-container {
		max-width: 95vw;
	}

	.counter-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}

	/* Programs section */
	.program-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	/* Clients marquee */
	.logo-card {
		width: 120px;
		height: 90px;
		min-width: 120px;
	}

	.logo-card img {
		max-height: 50px;
	}

	/* Testimonials - stack vertically on mobile */
	.testimonial-grid {
		max-width: 95vw;
		gap: 1rem;
	}

	.testimonial-row {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.testimonial-row:nth-child(even) {
		grid-template-columns: 1fr;
	}

	.testimonial-row img {
		max-width: 260px;
		width: 100%;
		order: 1;
		border-radius: 12px;
	}

	.testimonial-row:nth-child(even) img {
		order: 1;
	}

	.testimonial-card {
		order: 2;
		padding: 0.85rem 1rem;
		border-radius: 12px;
	}

	.quote {
		font-size: 0.95rem;
		margin-bottom: 0.75rem;
	}

	.testimonial-row:nth-child(even) .testimonial-card {
		order: 2;
	}

	/* Event section */
	.event {
		padding: 2rem 0;
	}

	.event-card {
		width: 95%;
		padding: 1.5rem 1rem;
	}

	.event-logos {
		flex-wrap: wrap;
		gap: 0.75rem;
	}

	.event-logos img {
		height: 50px;
		max-width: 80px;
	}

	.countdown {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
		width: 100%;
	}

	.countdown-box {
		padding: 0.75rem 1rem;
	}

	.countdown-number {
		font-size: 2rem;
	}

	.countdown-label {
		font-size: 0.85rem;
	}

	/* News grid */
	.news-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	/* Footer */
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		text-align: center;
	}

	.footer-bottom-inner {
		justify-content: center;
	}

	.footer-socials,
	.footer-bottom-socials {
		justify-content: center;
	}
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 1024px) {
	.timeline {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.rankings-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.metrics-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.about-container {
		max-width: 90vw;
	}

	.program-grid {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	}

	.testimonial-grid {
		max-width: 90vw;
	}

	.testimonial-row {
		grid-template-columns: 240px 1fr;
	}

	.testimonial-row:nth-child(even) {
		grid-template-columns: 1fr 240px;
	}

	.testimonial-row img {
		max-width: 240px;
		border-radius: 14px;
	}

	.testimonial-card {
		padding: 1rem 1.2rem;
		border-radius: 14px;
	}

	.event-card {
		width: 85%;
	}

	.news-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

