/*!
 * Energy Planets Theme CSS (Tailwind + Custom Styles)
 * Generated: May 9, 2026
 */

:root {
	--ep-black:    #0A0A0A;
	--ep-charcoal: #1F1F1F;
	--ep-amber:      #F4B41A;
	--ep-solar:      #F77F00;
	--ep-flame:      #E63946;
	--ep-flame-700:  #C81E2D;
	--ep-magenta:    #D63384;
	--ep-violet:     #7B2CBF;
	--ep-white:    #FFFFFF;
	--ep-grey-50:  #FAFAFA;
	--ep-grey-100: #F4F4F5;
	--ep-grey-200: #E5E7EB;
	--ep-grey-400: #9CA3AF;
	--ep-grey-500: #6B7280;
	--ep-grey-700: #374151;
	--ep-grey-900: #111827;
	--ep-success: #16A34A;
	--ep-warning: #F77F00;
	--ep-danger:  #DC2626;
}

/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--ep-grey-700);
	background: var(--ep-white);
	line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	color: var(--ep-grey-900);
	font-weight: 700;
	line-height: 1.15;
}

h1 { font-size: 48px; margin: 1.5rem 0 1rem; }
h2 { font-size: 36px; margin: 1.25rem 0 0.75rem; }
h3 { font-size: 30px; margin: 1rem 0 0.5rem; }
h4 { font-size: 24px; margin: 1rem 0 0.5rem; }
h5 { font-size: 20px; margin: 0.75rem 0 0.5rem; }
h6 { font-size: 16px; margin: 0.75rem 0 0.5rem; }

p { margin-bottom: 1rem; }

a {
	color: var(--ep-flame);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--ep-flame-700);
}

/* Buttons */
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 600;
	border-radius: 0.375rem;
	padding: 0.75rem 1.5rem;
	background: var(--ep-flame);
	color: var(--ep-white);
	transition: background 0.2s ease, transform 0.2s ease;
	border: none;
	cursor: pointer;
}

.btn-primary:hover {
	background: var(--ep-flame-700);
	transform: translateY(-2px);
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 600;
	border-radius: 0.375rem;
	padding: 0.75rem 1.5rem;
	background: var(--ep-grey-200);
	color: var(--ep-grey-900);
	transition: background 0.2s ease;
	border: none;
	cursor: pointer;
}

.btn-secondary:hover {
	background: #d5d5d5;
}

/* Layout */
.container {
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
	background: var(--ep-black);
	color: var(--ep-white);
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.85rem 0;
}

/* Custom logo size — replaces the removed inline <style> */
.site-header .custom-logo {
	max-height: 56px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

@media (min-width: 1024px) {
	.site-header .custom-logo {
		max-height: 72px;
	}
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.site-branding__text {
	color: var(--ep-white);
	font-size: 20px;
	font-weight: 800;
}

.site-tagline {
	font-size: 11px;
	color: var(--ep-amber);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
}

/* ─── Desktop Navigation ─────────────────────────────────────────────────── */
.main-navigation {
	display: flex;
	align-items: center;
}

.main-navigation .nav-menu {
	display: flex;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation .nav-menu > li > a {
	display: block;
	color: var(--ep-white);
	font-size: 14px;
	font-weight: 500;
	padding: 0.6rem 0.85rem;
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s, color 0.2s;
}

.main-navigation .nav-menu > li > a:hover,
.main-navigation .nav-menu > li.current-menu-item > a {
	border-bottom-color: var(--ep-flame);
	color: var(--ep-white);
}

/* ─── Mobile Toggle ──────────────────────────────────────────────────────── */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--ep-white);
	font-size: 22px;
	cursor: pointer;
	padding: 0.4rem 0.6rem;
	line-height: 1;
}

/* ─── Mobile Navigation ──────────────────────────────────────────────────── */
.mobile-navigation {
	background: var(--ep-charcoal);
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 0.5rem 0 1rem;
}

.mobile-navigation .mobile-nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-navigation .mobile-nav-menu a {
	display: block;
	color: var(--ep-white);
	padding: 0.65rem 0;
	font-size: 15px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-navigation .mobile-nav-menu a:hover {
	color: var(--ep-flame);
}

@media (max-width: 767px) {
	.mobile-menu-toggle {
		display: block;
	}

	.main-navigation {
		display: none;
	}
}

@media (min-width: 768px) {
	.mobile-navigation {
		display: none !important;
	}
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
	background: var(--ep-black);
	color: var(--ep-white);
	padding: 3.5rem 0 0;
	margin-top: 4rem;
}

.site-footer a {
	color: var(--ep-grey-400);
	transition: color 0.2s;
}

.site-footer a:hover {
	color: var(--ep-flame);
}

.footer-cols {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1023px) {
	.footer-cols {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 639px) {
	.footer-cols {
		grid-template-columns: 1fr;
	}
}

.footer-brand {
	margin-bottom: 0.75rem;
}

.footer-brand .custom-logo {
	max-height: 48px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.85;
}

.footer-brand__name {
	font-size: 18px;
	font-weight: 800;
	color: var(--ep-white);
}

.footer-tagline {
	font-size: 12px;
	color: var(--ep-amber);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.85rem;
}

.footer-about-text {
	font-size: 13px;
	color: var(--ep-grey-500);
	line-height: 1.7;
	margin-bottom: 1.25rem;
}

.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.footer-social__link {
	font-size: 12px;
	font-weight: 600;
	padding: 0.3rem 0.7rem;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 9999px;
	color: var(--ep-grey-400);
	transition: border-color 0.2s, color 0.2s;
}

.footer-social__link:hover {
	border-color: var(--ep-flame);
	color: var(--ep-flame);
}

.footer-col__title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--ep-white);
	margin: 0 0 1.1rem;
}

.footer-links-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links-list li {
	margin-bottom: 0.6rem;
}

.footer-links-list a {
	font-size: 13px;
}

.footer-recent-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-recent-item {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin-bottom: 0.9rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-recent-item:last-child {
	border-bottom: none;
}

.footer-recent-item__title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ep-grey-400);
}

.footer-recent-item__title:hover {
	color: var(--ep-flame);
}

.footer-recent-item__date {
	font-size: 11px;
	color: var(--ep-grey-700);
}

.footer-newsletter-desc {
	font-size: 13px;
	color: var(--ep-grey-400);
	line-height: 1.6;
	margin-bottom: 0.875rem;
}

/* ── Footer newsletter form ── */
.footer-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer-newsletter-input {
	width: 100%;
	padding: 0.65rem 0.875rem;
	font-size: 13px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 4px;
	color: var(--ep-white);
	outline: none;
	transition: border-color 0.2s;
}

.footer-newsletter-input::placeholder {
	color: var(--ep-grey-400);
}

.footer-newsletter-input:focus {
	border-color: var(--ep-flame);
}

.footer-newsletter-btn {
	width: 100%;
	padding: 0.65rem 1rem;
	background: var(--ep-flame);
	color: var(--ep-white);
	border: none;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
}

.footer-newsletter-btn:hover {
	background: var(--ep-flame-700);
}

.footer-newsletter-thanks p {
	font-size: 13px;
	color: var(--ep-amber);
	margin-top: 0.5rem;
}

.footer-contact-email {
	margin-top: 1rem;
	font-size: 12px;
	color: var(--ep-grey-400);
}

.footer-contact-email a {
	color: var(--ep-grey-400);
	text-decoration: underline;
}

.footer-contact-email a:hover {
	color: var(--ep-flame);
}

/* ── Footer bottom auto-detected legal links ── */
.footer-bottom-links a {
	font-size: 12px;
	color: var(--ep-grey-500);
	margin-right: 1rem;
}

.footer-bottom-links a:hover {
	color: var(--ep-flame);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 0;
	font-size: 12px;
	color: var(--ep-grey-700);
	flex-wrap: wrap;
}

.footer-bottom a {
	color: var(--ep-grey-700);
}

.footer-bottom a:hover {
	color: var(--ep-flame);
}

.footer-bottom-links ul {
	display: flex;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-bottom-links a {
	font-size: 12px;
}

.footer-bottom__credit {
	display: inline-block;
	margin-left: 0.5rem;
	padding-left: 0.5rem;
	border-left: 1px solid var(--ep-grey-700);
	color: var(--ep-grey-500);
}

.footer-bottom__credit a {
	color: var(--ep-grey-400);
}

.footer-bottom__credit a:hover {
	color: var(--ep-flame);
}

/* ─── Section Header ─────────────────────────────────────────────────────── */
.section-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 1.75rem;
	border-bottom: 1px solid var(--ep-grey-200);
	padding-bottom: 0.75rem;
}

.section-title {
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ep-grey-900);
	margin: 0;
}

.section-title--accent {
	color: var(--ep-flame);
}

.section-view-all {
	font-size: 13px;
	font-weight: 600;
	color: var(--ep-flame);
	white-space: nowrap;
}

.section-view-all:hover {
	color: var(--ep-flame-700);
}

/* ─── Hero Section ───────────────────────────────────────────────────────── */
.hero-section {
	background: var(--ep-black);
	padding: 3.5rem 0;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.hero-inner--no-image {
	grid-template-columns: 1fr;
	max-width: 760px;
}

.hero-category-badge {
	display: inline-block;
	background: var(--ep-flame);
	color: var(--ep-white);
	padding: 0.3rem 0.85rem;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 1.25rem;
}

.hero-title {
	font-size: 40px;
	line-height: 1.1;
	color: var(--ep-white);
	margin: 0 0 1.25rem;
}

.hero-title a {
	color: inherit;
}

.hero-title a:hover {
	color: var(--ep-amber);
}

.hero-dek {
	font-size: 18px;
	line-height: 1.6;
	color: var(--ep-grey-400);
	margin-bottom: 1.5rem;
}

.hero-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 13px;
	color: var(--ep-grey-500);
	margin-bottom: 2rem;
}

.hero-author {
	font-weight: 600;
	color: var(--ep-grey-400);
}

.hero-sep {
	color: var(--ep-grey-700);
}

.hero-cta {
	font-size: 15px;
	padding: 0.7rem 1.4rem;
}

.hero-image-wrap {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.hero-image-wrap:hover .hero-img {
	transform: scale(1.03);
}

/* Fallback panel when hero post has no featured image */
.hero-image-wrap--fallback {
	background: var(--ep-charcoal);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
}

.hero-image-wrap--fallback::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient( ellipse at 70% 50%, rgba(230, 57, 70, 0.25) 0%, transparent 70% ),
	            radial-gradient( ellipse at 30% 80%, rgba(244, 180, 26, 0.15) 0%, transparent 60% );
}

.hero-fallback-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	user-select: none;
}

.hero-fallback-panel__word {
	display: block;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.08);
	line-height: 1;
}

.hero-fallback-panel__word--accent {
	color: rgba(230, 57, 70, 0.2);
}

/* Category badge is now an <a> — keep it looking like a badge */
.hero-category-badge {
	text-decoration: none;
}

@media (max-width: 767px) {
	.hero-section {
		padding: 2rem 0;
	}

	.hero-inner {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.hero-image-wrap {
		order: -1;
	}

	.hero-title {
		font-size: 28px;
	}

	.hero-dek {
		font-size: 16px;
	}
}

/* Legacy class kept for any third-party template that used it */
.category-badge {
	display: inline-block;
	margin-bottom: 1rem;
}

.category-badge span {
	display: inline-block;
	background: var(--ep-flame);
	color: var(--ep-white);
	padding: 0.3rem 0.75rem;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.meta-info {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	font-size: 14px;
	color: var(--ep-grey-500);
	margin: 2rem 0;
}

/* ─── Featured Strip ─────────────────────────────────────────────────────── */
.featured-strip {
	padding: 3rem 0;
}

.featured-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 1023px) {
	.featured-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 639px) {
	.featured-grid {
		grid-template-columns: 1fr;
	}
}

/* ─── Latest News ─────────────────────────────────────────────────────────── */
.latest-news-section {
	background: var(--ep-grey-50);
	padding: 3rem 0;
}

.latest-news-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 2rem;
	align-items: start;
}

.latest-news-lead {
	height: 100%;
}

.latest-news-aside {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (max-width: 1023px) {
	.latest-news-grid {
		grid-template-columns: 1fr;
	}

	.latest-news-aside {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}

@media (max-width: 639px) {
	.latest-news-aside {
		grid-template-columns: 1fr;
	}
}

/* ─── Post Card — base ───────────────────────────────────────────────────── */
.post-card {
	background: var(--ep-white);
	border-radius: 6px;
	border: 1px solid var(--ep-grey-200);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

/* ── Image container (md / lg) ── */
.post-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--ep-grey-100);
	flex-shrink: 0;
}

.post-card__image a {
	display: block;
	width: 100%;
	height: 100%;
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.post-card:hover .post-card__image img {
	transform: scale(1.04);
}

.post-card__image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		var(--ep-grey-100) 0%,
		var(--ep-grey-200) 100%
	);
}

/* ── Body ── */
.post-card__body {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1;
}

/* ── Category badge ── */
.post-card__category {
	display: inline-block;
	align-self: flex-start;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--ep-white);
	padding: 0.2rem 0.6rem;
	border-radius: 9999px;
	text-decoration: none;
	white-space: nowrap;
	line-height: 1.6;
}

.post-card__category:hover {
	opacity: 0.85;
}

/* ── Title ── */
.post-card__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.post-card__title a {
	color: var(--ep-grey-900);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--ep-flame);
}

/* ── Excerpt (lg only) ── */
.post-card__excerpt {
	font-size: 0.875rem;
	color: var(--ep-grey-500);
	line-height: 1.6;
	margin: 0;
	flex: 1;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

/* ── Meta ── */
.post-card__meta {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 12px;
	color: var(--ep-grey-500);
	margin-top: auto;
	padding-top: 0.5rem;
	border-top: 1px solid var(--ep-grey-100);
}

.post-card__sep {
	color: var(--ep-grey-400);
}

/* ── lg variant — slightly bigger title ── */
.post-card--lg .post-card__title {
	font-size: 1.125rem;
	-webkit-line-clamp: 3;
}

/* ── sm variant — horizontal layout ── */
.post-card--sm {
	flex-direction: row;
	align-items: center;
	gap: 0.75rem;
	padding: 0.625rem;
	border-radius: 4px;
}

.post-card--sm .post-card__thumb {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 4px;
	overflow: hidden;
	display: block;
	background: var(--ep-grey-100);
}

.post-card--sm .post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.post-card--sm:hover .post-card__thumb img {
	transform: scale(1.06);
}

.post-card__thumb-placeholder {
	width: 100%;
	height: 100%;
	background: var(--ep-grey-200);
}

.post-card--sm .post-card__body {
	padding: 0;
	gap: 0.3rem;
	min-width: 0;
}

.post-card--sm .post-card__title {
	font-size: 0.875rem;
	-webkit-line-clamp: 2;
	font-weight: 600;
}

.post-card--sm .post-card__meta {
	border-top: none;
	padding-top: 0;
	font-size: 11px;
}

/* ─── Trending Section ───────────────────────────────────────────────────── */
.trending-section {
	background: var(--ep-white);
	padding: 3rem 0;
}

.trending-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.trending-item {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--ep-grey-200);
}

.trending-item:last-child {
	border-bottom: none;
}

.trending-rank {
	font-size: 28px;
	font-weight: 900;
	color: var(--ep-grey-200);
	line-height: 1;
	min-width: 2.5rem;
	text-align: right;
	flex-shrink: 0;
}

.trending-item--lead .trending-rank {
	color: var(--ep-flame);
}

.trending-body {
	flex: 1;
	min-width: 0;
}

.trending-category {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ep-flame);
	margin-bottom: 0.35rem;
}

.trending-title {
	font-size: 16px;
	line-height: 1.35;
	margin: 0 0 0.4rem;
	font-weight: 700;
}

.trending-item--lead .trending-title {
	font-size: 19px;
}

.trending-title a {
	color: var(--ep-grey-900);
}

.trending-title a:hover {
	color: var(--ep-flame);
}

.trending-meta {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 12px;
	color: var(--ep-grey-500);
}

.trending-thumb-link {
	flex-shrink: 0;
	display: block;
	width: 96px;
	height: 72px;
	border-radius: 4px;
	overflow: hidden;
	background: var(--ep-grey-100);
}

.trending-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.trending-item:hover .trending-thumb {
	transform: scale(1.05);
}

.trending-item--lead .trending-thumb-link {
	width: 120px;
	height: 90px;
}

@media (max-width: 639px) {
	.trending-thumb {
		display: none;
	}
}

/* Ticker Section */
.ticker-section {
	padding: 3rem 0;
}

.ticker-section h2 {
	margin-top: 0;
}

.ticker-container {
	background: var(--ep-black);
	color: var(--ep-white);
	border-radius: 0.5rem;
	padding: 1.5rem;
}

.ticker-items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.ticker-item {
	background: var(--ep-charcoal);
	border-radius: 0.375rem;
	padding: 1rem;
}

.ticker-item h3 {
	color: var(--ep-flame);
	font-size: 16px;
	margin: 0 0 0.5rem 0;
}

/* Newsletter Section */
.newsletter-section {
	background: var(--ep-flame);
	color: var(--ep-white);
	padding: 3rem 0;
	margin: 2rem 0;
	text-align: center;
}

.newsletter-section h2 {
	color: var(--ep-white);
	margin-top: 0;
}

.newsletter-section p {
	font-size: 18px;
	margin-bottom: 2rem;
}

.newsletter-section .btn-primary {
	background: var(--ep-white);
	color: var(--ep-flame);
}

.newsletter-section .btn-primary:hover {
	background: var(--ep-grey-100);
}

/* Utilities */
.grid { display: grid; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.text-4xl { font-size: 36px; }
.text-ep-white { color: var(--ep-white); }
.text-ep-grey-500 { color: var(--ep-grey-500); }
.text-ep-grey-700 { color: var(--ep-grey-700); }
.text-ep-grey-900 { color: var(--ep-grey-900); }
.text-ep-flame { color: var(--ep-flame); }
.bg-ep-white { background: var(--ep-white); }
.bg-ep-black { background: var(--ep-black); }
.bg-ep-grey-50 { background: var(--ep-grey-50); }
.bg-ep-flame { background: var(--ep-flame); }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.transition { transition: all 0.2s ease; }

/* Responsive */
@media (max-width: 767px) {
	h1 { font-size: 32px; }
	h2 { font-size: 24px; }
	h3 { font-size: 20px; }
	.featured-strip, .trending-section, .ticker-section, .latest-news-section { padding: 2rem 0; }
}

/* Line clamp utilities */
.line-clamp-1 {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.line-clamp-2, .line-clamp-3, .line-clamp-4 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
}

.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }
.line-clamp-4 { -webkit-line-clamp: 4; }

/* ─── Inner Pages Layout ─────────────────────────────────────────────────── */
.inner-page {
	padding: 3rem 0;
}

.inner-page--narrow {
	max-width: 720px;
	margin: 0 auto;
}

/* ─── Single Article Layout ──────────────────────────────────────────────── */
.single-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 3rem;
	align-items: start;
}

@media (max-width: 1023px) {
	.single-layout {
		grid-template-columns: 1fr;
	}
}

.single-sidebar {
	position: sticky;
	top: 80px;
}

.sidebar-widget {
	margin-bottom: 2rem;
}

.sidebar-widget-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ep-grey-900);
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--ep-flame);
}

/* ─── Entry Header Meta ──────────────────────────────────────────────────── */
.entry-header-meta {
	margin-bottom: 1.25rem;
}

.entry-category-badge {
	display: inline-block;
	background: var(--ep-flame);
	color: var(--ep-white);
	padding: 0.3rem 0.85rem;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 1rem;
	text-decoration: none;
}

.entry-category-badge:hover {
	background: var(--ep-flame-700);
	color: var(--ep-white);
}

.entry-category-badge--violet {
	background: var(--ep-violet);
}

.entry-category-badge--violet:hover {
	background: #6622a8;
	color: var(--ep-white);
}

.entry-title {
	font-size: 40px;
	font-weight: 900;
	line-height: 1.1;
	color: var(--ep-grey-900);
	margin: 0 0 1rem;
}

@media (max-width: 767px) {
	.entry-title {
		font-size: 28px;
	}
}

.entry-dek {
	font-size: 20px;
	line-height: 1.5;
	color: var(--ep-grey-500);
	margin: 0 0 1.25rem;
}

@media (max-width: 767px) {
	.entry-dek {
		font-size: 17px;
	}
}

.entry-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	font-size: 14px;
	color: var(--ep-grey-500);
	margin-bottom: 1.75rem;
}

.entry-byline a {
	color: var(--ep-grey-700);
	font-weight: 600;
}

.entry-byline a:hover {
	color: var(--ep-flame);
}

.entry-byline__sep {
	color: var(--ep-grey-400);
}

.entry-featured-image {
	margin-bottom: 2rem;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.entry-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ─── Article Body ───────────────────────────────────────────────────────── */
.entry-content {
	line-height: 1.8;
	font-size: 18px;
	color: var(--ep-grey-700);
}

.entry-content p {
	margin-bottom: 1.5rem;
}

.entry-content h2 {
	font-size: 28px;
	font-weight: 700;
	color: var(--ep-grey-900);
	margin: 2.5rem 0 1rem;
	line-height: 1.2;
}

.entry-content h3 {
	font-size: 22px;
	font-weight: 700;
	color: var(--ep-grey-900);
	margin: 2rem 0 0.75rem;
	line-height: 1.25;
}

.entry-content h4 {
	font-size: 18px;
	font-weight: 700;
	color: var(--ep-grey-900);
	margin: 1.5rem 0 0.5rem;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.5rem 1.75rem;
}

.entry-content li {
	margin-bottom: 0.5rem;
}

.entry-content blockquote {
	border-left: 4px solid var(--ep-flame);
	margin: 2rem 0;
	padding: 1rem 1.5rem;
	background: var(--ep-grey-50);
	border-radius: 0 6px 6px 0;
	font-size: 19px;
	font-style: italic;
	color: var(--ep-grey-700);
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content a {
	color: var(--ep-flame);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: var(--ep-flame-700);
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin: 1rem 0;
}

.entry-content figure {
	margin: 2rem 0;
}

.entry-content figcaption {
	font-size: 13px;
	color: var(--ep-grey-500);
	margin-top: 0.5rem;
	text-align: center;
}

.entry-content hr {
	border: none;
	border-top: 1px solid var(--ep-grey-200);
	margin: 2.5rem 0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	padding: 0.65rem 1rem;
	border: 1px solid var(--ep-grey-200);
	text-align: left;
}

.entry-content th {
	background: var(--ep-grey-100);
	font-weight: 700;
}

.entry-tags {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ep-grey-200);
}

.entry-tags__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ep-grey-500);
	margin-bottom: 0.75rem;
}

.entry-tags__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.entry-tags__list a {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	border: 1px solid var(--ep-grey-200);
	border-radius: 9999px;
	font-size: 13px;
	color: var(--ep-grey-700);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.entry-tags__list a:hover {
	border-color: var(--ep-flame);
	color: var(--ep-flame);
}

/* ─── Author Bio Box ─────────────────────────────────────────────────────── */
.author-bio {
	margin-top: 3rem;
	padding: 1.75rem;
	border-radius: 8px;
	border: 1px solid var(--ep-grey-200);
	background: var(--ep-grey-50);
}

.author-bio__inner {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
}

@media (max-width: 639px) {
	.author-bio__inner {
		flex-direction: column;
	}
}

.author-bio__avatar {
	flex-shrink: 0;
}

.author-bio__avatar img {
	width: 80px;
	height: 80px;
	border-radius: 9999px;
	object-fit: cover;
	display: block;
}

.author-bio__content {
	flex: 1;
	min-width: 0;
}

.author-bio__name {
	font-size: 20px;
	font-weight: 700;
	color: var(--ep-grey-900);
	margin: 0 0 0.25rem;
}

.author-bio__name a {
	color: inherit;
	text-decoration: none;
}

.author-bio__name a:hover {
	color: var(--ep-flame);
}

.author-bio__role {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--ep-grey-500);
	margin: 0 0 0.85rem;
}

.author-bio__text {
	font-size: 15px;
	color: var(--ep-grey-700);
	line-height: 1.65;
	margin-bottom: 1rem;
}

.author-bio__text p:last-child {
	margin-bottom: 0;
}

.author-bio__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

.author-bio__tag {
	display: inline-block;
	padding: 0.25rem 0.7rem;
	border: 1px solid var(--ep-grey-200);
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ep-grey-700);
	background: var(--ep-white);
}

.author-bio__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.author-bio__social-link {
	display: inline-block;
	padding: 0.3rem 0.75rem;
	border-radius: 9999px;
	background: var(--ep-grey-200);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ep-grey-900);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.author-bio__social-link:hover {
	background: var(--ep-flame);
	color: var(--ep-white);
}

/* ─── Related Posts ──────────────────────────────────────────────────────── */
.related-posts {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--ep-grey-200);
}

.related-posts__title {
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ep-grey-900);
	margin: 0 0 1.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--ep-flame);
	display: inline-block;
}

.related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 767px) {
	.related-posts-grid {
		grid-template-columns: 1fr;
	}
}

/* ─── Archive Pages ──────────────────────────────────────────────────────── */
.archive-page {
	padding: 3rem 0;
}

.archive-header {
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--ep-grey-200);
}

.archive-badge {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 1rem;
	color: var(--ep-white);
	background: var(--ep-flame);
}

.archive-badge--violet { background: var(--ep-violet); }
.archive-badge--solar  { background: var(--ep-solar); color: var(--ep-white); }
.archive-badge--success { background: var(--ep-success); }
.archive-badge--amber  { background: var(--ep-amber); color: var(--ep-black); }

.archive-title {
	font-size: 40px;
	font-weight: 900;
	color: var(--ep-grey-900);
	margin: 0 0 0.75rem;
	line-height: 1.1;
}

@media (max-width: 767px) {
	.archive-title {
		font-size: 28px;
	}
}

.archive-description {
	font-size: 17px;
	color: var(--ep-grey-500);
	max-width: 640px;
	margin: 0;
}

.archive-grid--3col {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.archive-grid--2col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

@media (max-width: 1023px) {
	.archive-grid--3col {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 639px) {
	.archive-grid--3col,
	.archive-grid--2col {
		grid-template-columns: 1fr;
	}
}

.archive-empty {
	padding: 3rem 0;
	color: var(--ep-grey-500);
	font-size: 16px;
}

/* ─── Author Profile Page ────────────────────────────────────────────────── */
.author-profile-header {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--ep-grey-200);
}

.author-profile__inner {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
}

@media (max-width: 639px) {
	.author-profile__inner {
		flex-direction: column;
	}
}

.author-profile__avatar {
	flex-shrink: 0;
}

.author-profile__avatar img {
	width: 120px;
	height: 120px;
	border-radius: 9999px;
	object-fit: cover;
	display: block;
}

.author-profile__avatar-fallback {
	width: 120px;
	height: 120px;
	border-radius: 9999px;
	background: var(--ep-grey-200);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	font-weight: 900;
	color: var(--ep-grey-400);
}

.author-profile__details {
	flex: 1;
	min-width: 0;
}

.author-profile__eyebrow {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ep-grey-500);
	margin: 0 0 0.4rem;
}

.author-profile__name {
	font-size: 40px;
	font-weight: 900;
	color: var(--ep-grey-900);
	margin: 0 0 0.3rem;
	line-height: 1.1;
}

@media (max-width: 767px) {
	.author-profile__name {
		font-size: 28px;
	}
}

.author-profile__role {
	font-size: 14px;
	font-weight: 600;
	color: var(--ep-flame);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 1rem;
}

.author-profile__bio {
	font-size: 16px;
	color: var(--ep-grey-700);
	line-height: 1.7;
	margin-bottom: 1.25rem;
	max-width: 640px;
}

.author-profile__bio p:last-child {
	margin-bottom: 0;
}

.author-profile__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

.author-profile__tag {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border: 1px solid var(--ep-grey-200);
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ep-grey-700);
}

.author-profile__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.author-profile__social-link {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border-radius: 9999px;
	background: var(--ep-grey-200);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ep-grey-900);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.author-profile__social-link:hover {
	background: var(--ep-flame);
	color: var(--ep-white);
}

/* ─── Search Results ─────────────────────────────────────────────────────── */
.search-page {
	padding: 3rem 0;
}

.search-header {
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--ep-grey-200);
}

.search-count {
	font-size: 14px;
	color: var(--ep-grey-500);
	margin: 0 0 0.5rem;
}

.search-title {
	font-size: 32px;
	font-weight: 900;
	color: var(--ep-grey-900);
	margin: 0;
}

.search-title em {
	color: var(--ep-flame);
	font-style: normal;
}

.search-no-results {
	padding: 4rem 0;
	text-align: center;
}

.search-no-results__title {
	font-size: 24px;
	font-weight: 700;
	color: var(--ep-grey-900);
	margin-bottom: 0.75rem;
}

.search-no-results__message {
	font-size: 16px;
	color: var(--ep-grey-500);
	margin-bottom: 2rem;
}

/* ─── Pagination ─────────────────────────────────────────────────────────── */
.nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 3rem;
}

.page-numbers {
	display: inline-block;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--ep-grey-200);
	border-radius: 4px;
	font-size: 14px;
	color: var(--ep-grey-700);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.page-numbers.current {
	background: var(--ep-flame);
	color: var(--ep-white);
	border-color: var(--ep-flame);
}

.page-numbers:hover:not(.current) {
	border-color: var(--ep-flame);
	color: var(--ep-flame);
}

.page-numbers.dots {
	border-color: transparent;
	color: var(--ep-grey-400);
}

/* ─── 404 Page ───────────────────────────────────────────────────────────── */
.error-404-page {
	padding: 5rem 0;
	text-align: center;
}

.error-404-code {
	font-size: 120px;
	font-weight: 900;
	color: var(--ep-flame);
	line-height: 1;
	margin-bottom: 0;
}

.error-404-title {
	font-size: 32px;
	font-weight: 700;
	color: var(--ep-grey-900);
	margin: 0.5rem 0 1rem;
}

.error-404-message {
	font-size: 17px;
	color: var(--ep-grey-500);
	max-width: 480px;
	margin: 0 auto 2rem;
	line-height: 1.6;
}

.error-404-actions {
	margin-bottom: 4rem;
}

.error-404-recent {
	margin-top: 4rem;
	text-align: left;
	border-top: 1px solid var(--ep-grey-200);
	padding-top: 3rem;
}

.error-404-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

@media (max-width: 767px) {
	.error-404-code {
		font-size: 80px;
	}

	.error-404-title {
		font-size: 24px;
	}

	.error-404-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ─── Page Template ──────────────────────────────────────────────────────── */
.page-layout {
	padding: 3rem 0;
}

.page-content-wrap {
	max-width: 720px;
	margin: 0 auto;
}

.page-title {
	font-size: 40px;
	font-weight: 900;
	color: var(--ep-grey-900);
	margin: 0 0 2rem;
	line-height: 1.1;
}

@media (max-width: 767px) {
	.page-title {
		font-size: 28px;
	}
}

/* ─── Sponsored Disclosure (§9.4) ────────────────────────────────────────── */
.entry-sponsored-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--ep-amber);
	color: var(--ep-black);
	padding: 0.35rem 0.85rem;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	margin-bottom: 1rem;
}

.entry-sponsored-badge__name {
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

.entry-sponsored-badge__logo img {
	max-height: 20px;
	width: auto;
	vertical-align: middle;
}

/* ─── Source Attribution (CLIENT-CONTENT.md §5.7) ────────────────────────── */
.entry-source-attr {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 13px;
	color: var(--ep-grey-500);
	border-left: 3px solid var(--ep-grey-200);
	padding-left: 0.75rem;
	margin: 1rem 0 1.5rem;
}

.entry-source-attr__label {
	font-weight: 600;
	color: var(--ep-grey-700);
}

.entry-source-attr__link {
	color: var(--ep-flame);
	font-weight: 500;
}

.entry-source-attr__link:hover {
	color: var(--ep-flame-700);
}

/* ─── Key Takeaways ──────────────────────────────────────────────────────── */
.entry-takeaways {
	background: var(--ep-grey-50);
	border: 1px solid var(--ep-grey-200);
	border-left: 4px solid var(--ep-flame);
	border-radius: 0 6px 6px 0;
	padding: 1.25rem 1.5rem;
	margin: 1.75rem 0;
}

.entry-takeaways__title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ep-flame);
	margin: 0 0 0.85rem;
}

.entry-takeaways__list {
	margin: 0;
	padding: 0 0 0 1.25rem;
}

.entry-takeaways__list li {
	font-size: 15px;
	color: var(--ep-grey-700);
	line-height: 1.6;
	margin-bottom: 0.5rem;
}

.entry-takeaways__list li:last-child {
	margin-bottom: 0;
}

/* ─── Social Share Bar (§7.5) ────────────────────────────────────────────── */
.entry-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 1.25rem 0;
	border-top: 1px solid var(--ep-grey-200);
	border-bottom: 1px solid var(--ep-grey-200);
	margin: 2rem 0;
}

.entry-share__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ep-grey-500);
	margin-right: 0.25rem;
}

.entry-share__btn {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 0.35rem 0.85rem;
	border-radius: 9999px;
	border: 1px solid var(--ep-grey-200);
	color: var(--ep-grey-700);
	background: var(--ep-white);
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	text-decoration: none;
}

.entry-share__btn:hover {
	background: var(--ep-grey-100);
	border-color: var(--ep-grey-400);
	color: var(--ep-grey-900);
}

.entry-share__btn--twitter:hover  { background: #000; color: #fff; border-color: #000; }
.entry-share__btn--whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }
.entry-share__btn--linkedin:hover { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.entry-share__btn--facebook:hover { background: #1877F2; color: #fff; border-color: #1877F2; }

/* ─── Copy-link success state (set via JS) ───────────────────────────────── */
.entry-share__btn--copy[data-copied="true"] {
	background: var(--ep-success);
	color: var(--ep-white);
	border-color: var(--ep-success);
}

/* Accessibility */
.skip-to-content {
	position: absolute;
	top: -9999px;
	left: -9999px;
	z-index: 999;
}

.skip-to-content:focus {
	position: fixed;
	top: 0;
	left: 0;
	background: var(--ep-black);
	color: var(--ep-white);
	padding: 1rem;
	z-index: 999;
}

:focus-visible {
	outline: 2px solid var(--ep-flame);
	outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PHASE 8 — FORMS & AJAX
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Header search button ───────────────────────────────────────────────── */
.header-search-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--ep-white);
	cursor: pointer;
	padding: 0.4rem 0.5rem;
	border-radius: 4px;
	transition: color 0.2s, background 0.2s;
	line-height: 1;
}

.header-search-btn:hover {
	color: var(--ep-amber);
	background: rgba(255,255,255,0.08);
}

/* ─── Search overlay ─────────────────────────────────────────────────────── */
.search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 10, 10, 0.92);
	z-index: 200;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 6rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.search-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.search-overlay__inner {
	width: 100%;
	max-width: 720px;
	padding: 0 1rem;
	position: relative;
}

.search-overlay__close {
	position: absolute;
	top: -3.5rem;
	right: 1rem;
	background: none;
	border: none;
	color: var(--ep-white);
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.5rem;
	line-height: 1;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.search-overlay__close:hover {
	opacity: 1;
}

.search-overlay__form {
	width: 100%;
}

.search-overlay__input {
	width: 100%;
	background: var(--ep-white);
	border: none;
	border-radius: 6px;
	padding: 1rem 1.25rem;
	font-size: 1.25rem;
	color: var(--ep-grey-900);
	outline: none;
	box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.search-overlay__input::placeholder {
	color: var(--ep-grey-400);
}

.search-overlay__results {
	margin-top: 1rem;
}

.search-overlay__status {
	color: rgba(255,255,255,0.7);
	font-size: 0.9rem;
	padding: 0.75rem 0;
}

.search-overlay__status--empty a {
	color: var(--ep-amber);
}

/* ─── Search result list ─────────────────────────────────────────────────── */
.search-result-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--ep-white);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.search-result-item {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.875rem 1rem;
	border-bottom: 1px solid var(--ep-grey-100);
	transition: background 0.15s;
}

.search-result-item:last-child {
	border-bottom: none;
}

.search-result-item:hover {
	background: var(--ep-grey-50);
}

.search-result-item__thumb {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 4px;
	overflow: hidden;
	display: block;
}

.search-result-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.search-result-item__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.search-result-item__cat {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ep-flame);
}

.search-result-item__title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ep-grey-900);
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.15s;
}

.search-result-item__title:hover {
	color: var(--ep-flame);
}

.search-result-item__date {
	font-size: 12px;
	color: var(--ep-grey-500);
}

.search-overlay__footer {
	margin-top: 0.625rem;
	text-align: center;
}

.search-overlay__all-link {
	color: var(--ep-amber);
	font-size: 0.875rem;
	font-weight: 600;
}

.search-overlay__all-link:hover {
	color: var(--ep-solar);
}

/* ─── Load More button ───────────────────────────────────────────────────── */
.load-more-wrap {
	display: flex;
	justify-content: center;
	padding: 2.5rem 0 1rem;
}

.load-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 2.5rem;
	background: transparent;
	border: 2px solid var(--ep-flame);
	color: var(--ep-flame);
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: 0.375rem;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.load-more-btn:hover {
	background: var(--ep-flame);
	color: var(--ep-white);
}

.load-more-btn:disabled,
.load-more-btn--loading {
	opacity: 0.6;
	cursor: wait;
}

.load-more-btn--loading::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: ep-spin 0.7s linear infinite;
}

@keyframes ep-spin {
	to { transform: rotate(360deg); }
}

/* ─── Newsletter section ─────────────────────────────────────────────────── */
.newsletter-section {
	background: var(--ep-flame);
	padding: 4rem 0;
}

.newsletter-inner {
	text-align: center;
	max-width: 42rem;
	margin: 0 auto;
}

.newsletter-title {
	color: var(--ep-white);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	margin-bottom: 1rem;
}

.newsletter-body {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.0625rem;
	line-height: 1.7;
	margin-bottom: 1.75rem;
}

/* ── Email form ── */
.newsletter-form__row {
	display: flex;
	gap: 0;
	max-width: 480px;
	margin: 0 auto;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.newsletter-form__input {
	flex: 1;
	min-width: 0;
	padding: 0.875rem 1.125rem;
	font-size: 0.9375rem;
	border: none;
	outline: none;
	color: var(--ep-grey-900);
	background: var(--ep-white);
}

.newsletter-form__input::placeholder {
	color: var(--ep-grey-400);
}

.newsletter-form__btn {
	flex-shrink: 0;
	padding: 0.875rem 1.375rem;
	background: var(--ep-black);
	color: var(--ep-white);
	border: none;
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
}

.newsletter-form__btn:hover {
	background: var(--ep-charcoal);
}

.newsletter-form__note {
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.6);
}

/* ── Thank-you message ── */
.newsletter-form__thanks {
	margin-top: 1.25rem;
}

.newsletter-thanks__msg {
	display: inline-block;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--ep-white);
	padding: 0.875rem 1.5rem;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.9375rem;
}

@media (max-width: 480px) {
	.newsletter-form__row {
		flex-direction: column;
		border-radius: 6px;
		overflow: visible;
		box-shadow: none;
	}

	.newsletter-form__input {
		border-radius: 6px;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	}

	.newsletter-form__btn {
		border-radius: 6px;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
		margin-top: 0.5rem;
		padding: 0.875rem;
		width: 100%;
	}
}

@media (min-width: 768px) {
	.newsletter-section {
		padding: 5rem 0;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── About Hero ─────────────────────────────────────────────────────────── */
.about-hero {
	background: var(--ep-black);
	color: var(--ep-white);
	padding: 2.5rem 0 3rem;
	text-align: center;
}

.about-hero__inner {
	max-width: 760px;
	margin: 0 auto;
}

.about-hero__eyebrow {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--ep-amber);
	margin-bottom: 1rem;
}

.about-hero__heading {
	color: var(--ep-white);
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.1;
	margin-bottom: 1.25rem;
}

.about-hero__sub {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.7;
	margin: 0;
}

/* ─── Mission ────────────────────────────────────────────────────────────── */
.about-mission {
	padding: 4rem 0;
}

.about-mission__inner {
	max-width: 720px;
	margin: 0 auto;
}

.about-mission__content p {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--ep-grey-700);
}

/* ─── What We Cover ──────────────────────────────────────────────────────── */
.about-coverage {
	background: var(--ep-grey-50);
	padding: 4rem 0 5rem;
}

.about-coverage-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 2.5rem;
}

@media (min-width: 640px) {
	.about-coverage-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.about-coverage-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.about-coverage-item {
	background: var(--ep-white);
	border-radius: 6px;
	padding: 1.5rem;
	position: relative;
	border: 1px solid var(--ep-grey-200);
}

.about-coverage-item__accent {
	display: block;
	width: 36px;
	height: 3px;
	border-radius: 2px;
	margin-bottom: 1rem;
}

.about-coverage-item__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ep-grey-900);
	margin-bottom: 0.5rem;
}

.about-coverage-item__desc {
	font-size: 0.875rem;
	color: var(--ep-grey-500);
	line-height: 1.65;
	margin: 0;
}

/* ─── Team ───────────────────────────────────────────────────────────────── */
.about-team {
	padding: 4rem 0 5rem;
}

.about-team__intro {
	color: var(--ep-grey-500);
	font-size: 1rem;
	margin-top: 0.5rem;
}

.about-team-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	margin-top: 2.5rem;
}

@media (min-width: 640px) {
	.about-team-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.about-team-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.about-team-card {
	display: flex;
	flex-direction: column;
	background: var(--ep-white);
	border: 1px solid var(--ep-grey-200);
	border-radius: 6px;
	overflow: hidden;
}

.about-team-card__avatar {
	background: var(--ep-grey-100);
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.about-team-card__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.about-team-card__initials {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--ep-flame);
	color: var(--ep-white);
	font-size: 2rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-team-card__body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	flex: 1;
}

.about-team-card__name {
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 0;
}

.about-team-card__name a {
	color: var(--ep-grey-900);
}

.about-team-card__name a:hover {
	color: var(--ep-flame);
}

.about-team-card__role {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ep-flame);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

.about-team-card__bio {
	font-size: 0.875rem;
	color: var(--ep-grey-500);
	line-height: 1.6;
	margin: 0.25rem 0 0;
}

.about-team-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.875rem;
	border-top: 1px solid var(--ep-grey-100);
}

.about-team-card__posts-link {
	font-size: 0.8125rem;
	color: var(--ep-grey-500);
}

.about-team-card__posts-link:hover {
	color: var(--ep-flame);
}

.about-team-card__social {
	display: flex;
	gap: 0.375rem;
}

.about-team-card__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--ep-grey-100);
	color: var(--ep-grey-700);
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.about-team-card__social-link:hover {
	background: var(--ep-flame);
	color: var(--ep-white);
}

/* ─── Contact CTA ────────────────────────────────────────────────────────── */
.about-contact {
	background: var(--ep-charcoal);
	padding: 4rem 0;
}

.about-contact__inner {
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
}

.about-contact__heading {
	color: var(--ep-white);
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	margin-bottom: 1rem;
}

.about-contact__body {
	color: rgba(255, 255, 255, 0.72);
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 2rem;
}

.about-contact__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.about-contact__actions .btn-secondary {
	background: rgba(255,255,255,0.1);
	color: var(--ep-white);
	border: 1px solid rgba(255,255,255,0.2);
}

.about-contact__actions .btn-secondary:hover {
	background: rgba(255,255,255,0.18);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════

   Classic fade-up on scroll — powered by IntersectionObserver in theme.js.
   The .ep-animate class is added by JS, so elements are always visible when
   JS is disabled or IntersectionObserver is unsupported.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Base state (hidden, shifted down) ──────────────────────────────────── */
.ep-animate {
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity  0.52s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

/* Directional variants — hero enters from sides */
.ep-animate--from-left {
	transform: translateX(-28px);
}

.ep-animate--from-right {
	transform: translateX(28px);
}

/* ─── Visible state (triggered by JS adding .ep-in-view) ─────────────────── */
.ep-animate.ep-in-view {
	opacity: 1;
	transform: translate(0, 0);
}

/* ─── Accessibility — no motion for users who prefer it ──────────────────── */
@media (prefers-reduced-motion: reduce) {
	.ep-animate {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.contact-hero {
	background: var(--ep-black);
	padding: 3rem 0 3.5rem;
	color: var(--ep-white);
}

.contact-hero__inner {
	max-width: 640px;
}

.contact-hero__badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	background: var(--ep-flame);
	color: var(--ep-white);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 0.875rem;
}

.contact-hero__title {
	font-family: var(--ep-font-display);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	color: var(--ep-white);
	line-height: 1.15;
	margin: 0 0 0.75rem;
}

.contact-hero__sub {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.65;
	margin: 0;
}

/* ─── Two-column layout ──────────────────────────────────────────────────── */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	padding: 3.5rem 0 5rem;
}

@media (min-width: 768px) {
	.contact-layout {
		grid-template-columns: 1fr 360px;
		gap: 4rem;
	}
}

/* ─── Form column ────────────────────────────────────────────────────────── */
.contact-form-wrap {
	background: var(--ep-white);
	border: 1px solid var(--ep-grey-200);
	border-radius: 8px;
	padding: 2rem;
}

.contact-form-wrap__title {
	font-family: var(--ep-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ep-grey-900);
	margin: 0 0 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--ep-grey-200);
}

.contact-form-placeholder {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--ep-grey-500);
}

.contact-form-placeholder__link {
	display: inline-block;
	margin-top: 1rem;
}

/* Fluent Forms overrides — blend with theme */
.contact-form-wrap .ff-el-input--content input,
.contact-form-wrap .ff-el-input--content textarea,
.contact-form-wrap .ff-el-input--content select {
	border: 1px solid var(--ep-grey-200) !important;
	border-radius: 6px !important;
	font-family: inherit !important;
	font-size: 0.9375rem !important;
	color: var(--ep-grey-700) !important;
	padding: 0.625rem 0.875rem !important;
	transition: border-color 0.18s !important;
}

.contact-form-wrap .ff-el-input--content input:focus,
.contact-form-wrap .ff-el-input--content textarea:focus {
	border-color: var(--ep-flame) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12) !important;
}

.contact-form-wrap .ff-btn-submit {
	background: var(--ep-flame) !important;
	border: none !important;
	border-radius: 6px !important;
	font-family: inherit !important;
	font-weight: 600 !important;
	padding: 0.7rem 2rem !important;
	cursor: pointer !important;
	transition: background 0.18s !important;
}

.contact-form-wrap .ff-btn-submit:hover {
	background: var(--ep-flame-700) !important;
}

/* ─── Info column ────────────────────────────────────────────────────────── */
.contact-info-col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-info-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: var(--ep-white);
	border: 1px solid var(--ep-grey-200);
	border-radius: 8px;
	padding: 1.25rem;
}

.contact-info-card__icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--ep-grey-50);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ep-flame);
	flex-shrink: 0;
}

.contact-info-card__label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ep-grey-500);
	margin: 0 0 0.3rem;
}

.contact-info-card__value {
	font-size: 0.9375rem;
	color: var(--ep-grey-900);
	text-decoration: none;
	display: block;
}

.contact-info-card__value:hover {
	color: var(--ep-flame);
}

.contact-info-card__value--muted {
	color: var(--ep-grey-500);
	font-size: 0.875rem;
	line-height: 1.5;
}

/* ─── Social row ─────────────────────────────────────────────────────────── */
.contact-social {
	margin-top: 0.5rem;
}

.contact-social__label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ep-grey-500);
	margin: 0 0 0.6rem;
}

.contact-social__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.contact-social__link {
	display: inline-block;
	padding: 0.3rem 0.875rem;
	border: 1px solid var(--ep-grey-200);
	border-radius: 9999px;
	font-size: 0.8125rem;
	color: var(--ep-grey-700);
	text-decoration: none;
	transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.contact-social__link:hover {
	background: var(--ep-flame);
	border-color: var(--ep-flame);
	color: var(--ep-white);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TICKER TAPE — Sitewide commodity price strip
   ═══════════════════════════════════════════════════════════════════════════ */

.ep-ticker-tape {
	background: var(--ep-charcoal);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	height: 46px;
	overflow: hidden;
	/* Reserve height before widget loads — prevents CLS */
	min-height: 46px;
}

.ep-ticker-tape .tradingview-widget-container,
.ep-ticker-tape .tradingview-widget-container__widget {
	height: 46px !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MARKETS SECTION — Homepage widget block
   ═══════════════════════════════════════════════════════════════════════════ */

.markets-section {
	background: var(--ep-grey-50);
	padding: 4rem 0;
}

.markets-widget-wrap {
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--ep-grey-200);
	/* Reserve height before TradingView widget renders — prevents CLS */
	min-height: 500px;
	background: #1e222d; /* TradingView dark bg — eliminates flash */
}

.markets-widget-wrap--light {
	background: #fff;
	min-height: 580px;
}

.markets-widget-wrap .tradingview-widget-container {
	display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MARKETS PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.markets-hero {
	background: var(--ep-black);
	padding: 3rem 0 2.5rem;
}

.markets-hero__inner {
	max-width: 680px;
}

.markets-hero__title {
	font-family: var(--ep-font-display);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	color: var(--ep-white);
	margin: 0 0 0.75rem;
	line-height: 1.15;
}

.markets-hero__sub {
	color: var(--ep-grey-400);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 0 0.5rem;
}

.markets-hero__disclaimer {
	font-size: 0.75rem;
	color: var(--ep-grey-500);
	margin: 0;
}

/* ─── Overview ───────────────────────────────────────────────────────────── */
.markets-overview-section {
	padding: 3rem 0;
}

/* ─── Mini charts grid ───────────────────────────────────────────────────── */
.markets-mini-section {
	padding: 0 0 3rem;
}

.markets-mini-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.markets-mini-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.markets-mini-card {
	border: 1px solid var(--ep-grey-200);
	border-radius: 8px;
	overflow: hidden;
	/* Reserve height before widget renders */
	min-height: 248px;
	background: var(--ep-white);
}

.markets-mini-card__label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ep-grey-700);
	padding: 0.6rem 0.75rem 0;
	margin: 0;
}

.markets-mini-card .tradingview-widget-container {
	display: block;
}

/* ─── Commodity topics ───────────────────────────────────────────────────── */
.markets-topics-section {
	background: var(--ep-grey-50);
	padding: 2.5rem 0;
}

.markets-topics__title {
	font-family: var(--ep-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ep-grey-900);
	margin: 0 0 1rem;
}

.markets-topics-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.markets-topic-tag {
	display: inline-block;
	padding: 0.35rem 0.875rem;
	border-radius: 9999px;
	background: var(--ep-white);
	border: 1px solid var(--ep-grey-200);
	font-size: 0.875rem;
	color: var(--ep-grey-700);
	text-decoration: none;
	transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.markets-topic-tag:hover {
	background: var(--ep-flame);
	border-color: var(--ep-flame);
	color: var(--ep-white);
}

/* ─── News grid ──────────────────────────────────────────────────────────── */
.markets-news-section {
	padding: 3rem 0 4rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES — Privacy Policy · Disclaimer · Site Map
   ═══════════════════════════════════════════════════════════════════════════ */

.legal-page {
	padding-top: 3rem;
	padding-bottom: 5rem;
}

.legal-page .container {
	max-width: 760px;
}

/* ─── Header block ───────────────────────────────────────────────────────── */
.legal-page__header {
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--ep-grey-200);
}

.legal-page__badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	background: var(--ep-flame);
	color: var(--ep-white);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.legal-page__title {
	font-family: var(--ep-font-display);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	color: var(--ep-grey-900);
	line-height: 1.15;
	margin: 0 0 0.5rem;
}

.legal-page__updated {
	font-size: 0.875rem;
	color: var(--ep-grey-500);
	margin: 0;
}

/* ─── Body / entry-content ───────────────────────────────────────────────── */
.legal-page__body .entry-content {
	color: var(--ep-grey-700);
	font-size: 1rem;
	line-height: 1.75;
}

.legal-page__body .entry-content h2 {
	font-family: var(--ep-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ep-grey-900);
	margin: 2rem 0 0.75rem;
}

.legal-page__body .entry-content h3 {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--ep-grey-900);
	margin: 1.5rem 0 0.5rem;
}

.legal-page__body .entry-content p {
	margin: 0 0 1rem;
}

.legal-page__body .entry-content ul,
.legal-page__body .entry-content ol {
	margin: 0 0 1rem 1.5rem;
}

.legal-page__body .entry-content li {
	margin-bottom: 0.4rem;
}

.legal-page__body .entry-content a {
	color: var(--ep-flame);
	text-decoration: underline;
}

.legal-page__body .entry-content a:hover {
	color: var(--ep-flame-700);
}

/* ─── Site Map specific ──────────────────────────────────────────────────── */
.sitemap-section {
	margin-bottom: 2.5rem;
}

.sitemap-section__title {
	font-family: var(--ep-font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ep-grey-900);
	margin: 0 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--ep-flame);
	display: inline-block;
}

.sitemap-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.35rem 1.5rem;
}

.sitemap-list--single {
	display: block;
}

.sitemap-list li {
	margin: 0;
}

.sitemap-list a {
	color: var(--ep-grey-700);
	text-decoration: none;
	font-size: 0.9375rem;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.2rem 0;
	transition: color 0.18s;
}

.sitemap-list a::before {
	content: '';
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--ep-flame);
	flex-shrink: 0;
}

.sitemap-list a:hover {
	color: var(--ep-flame);
}
