/* =========================================================
   1. THEME VARIABLES — LIGHT MODE
   Global colors, spacing, radius, and shadows
========================================================= */

:root {
	color-scheme: light;

	--he-bg: #f3f6fa;
	--he-surface: #ffffff;
	--he-surface-soft: #f8fbff;
	--he-surface-muted: #eef4fb;
	--he-text: #142033;
	--he-heading: #111827;
	--he-muted: #64748b;
	--he-muted-strong: #334155;
	--he-border: #dbe3ee;

	--he-blue: #0057a6;
	--he-blue-dark: #063b75;
	--he-blue-soft: rgba(0, 87, 166, 0.09);
	--he-blue-border: rgba(0, 87, 166, 0.22);

	--he-gold: #d6a536;
	--he-red: #d12b2b;

	--he-header-bg: #ffffff;
	--he-header-border: #dbe3ee;
	--he-nav-bg: #f8fbff;
	--he-card-bg: #ffffff;
	--he-card-placeholder: #dfe9f5;
	--he-footer-bg: #0b1f38;
	--he-footer-text: #dbeafe;
	--he-footer-muted: #b8c7dc;

	--he-radius: 18px;
	--he-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
	--he-shadow-soft: 0 8px 18px rgba(15, 23, 42, 0.06);
}


/* =========================================================
   2. THEME VARIABLES — DARK MODE
   Activated by html[data-theme="dark"]
========================================================= */

html[data-theme="dark"] {
	color-scheme: dark;

	--he-bg: #07111f;
	--he-surface: #0f1b2d;
	--he-surface-soft: #13233a;
	--he-surface-muted: #182b45;
	--he-text: #e8f1fb;
	--he-heading: #f8fbff;
	--he-muted: #9fb0c5;
	--he-muted-strong: #c8d5e6;
	--he-border: #243852;

	--he-blue: #58a6ff;
	--he-blue-dark: #8dc7ff;
	--he-blue-soft: rgba(88, 166, 255, 0.14);
	--he-blue-border: rgba(88, 166, 255, 0.32);

	--he-gold: #f1c75b;
	--he-red: #ff5b5b;

	--he-header-bg: #081525;
	--he-header-border: #243852;
	--he-nav-bg: #0c1a2d;
	--he-card-bg: #0f1b2d;
	--he-card-placeholder: #182b45;
	--he-footer-bg: #050b14;
	--he-footer-text: #e8f1fb;
	--he-footer-muted: #9fb0c5;

	--he-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
	--he-shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.26);
}


/* =========================================================
   3. BASE RESET
   Basic page, link, image, and container behavior
========================================================= */

* {
	box-sizing: border-box;
}

html {
	background: var(--he-bg);
}

body {
	margin: 0;
	background: var(--he-bg);
	color: var(--he-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.6;
	transition: background-color 0.2s ease, color 0.2s ease;
}

a {
	color: var(--he-blue);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.he-container {
	width: min(1420px, calc(100% - 32px));
	margin: 0 auto;
}


/* =========================================================
   4. ACCESSIBILITY
   Screen-reader-only utility and skip links
========================================================= */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}


/* =========================================================
   5. OPTIONAL TOP BAR
   Small bar above header if used later
========================================================= */

.he-topbar {
	background: var(--he-blue-dark);
	color: #eaf4ff;
	font-size: 0.82rem;
}

.he-topbar-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 0;
}


/* =========================================================
   6. SITE HEADER
   Main sticky header shell
========================================================= */

.he-site-header {
	background: var(--he-header-bg);
	border-top: 5px solid var(--he-blue-dark);
	border-bottom: 1px solid var(--he-header-border);
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.admin-bar .he-site-header {
	top: 32px;
}

.he-header-brand-row {
	background: var(--he-header-bg);
}

.he-header-brand-inner,
.he-header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
}


/* =========================================================
   7. BRANDING
   Logo, site title, tagline, and fallback HE mark
========================================================= */

.he-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.he-logo-wrap {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.custom-logo {
	width: auto;
	max-width: 74px;
	max-height: 54px;
	object-fit: contain;
}

.he-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--he-blue-dark);
	color: var(--he-gold);
	font-weight: 800;
	letter-spacing: -0.04em;
	text-decoration: none;
}

.he-brand-mark:hover,
.he-brand-mark:focus {
	color: var(--he-gold);
	text-decoration: none;
}

.he-brand-text {
	min-width: 0;
}

.he-site-title {
	display: block;
	color: var(--he-heading);
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
	text-decoration: none;
}

.he-site-title:hover,
.he-site-title:focus {
	color: var(--he-blue);
	text-decoration: none;
}

.he-brand-text p {
	margin: 5px 0 0;
	color: var(--he-muted);
	font-size: 0.92rem;
	line-height: 1.35;
}


/* =========================================================
   8. HEADER ACTIONS
   Groups theme toggle and hamburger menu
========================================================= */

.he-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	flex: 0 0 auto;
}


/* =========================================================
   9. LIGHT / DARK THEME TOGGLE
   Button used to switch theme
========================================================= */

.he-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid var(--he-border);
	background: var(--he-surface);
	color: var(--he-text);
	border-radius: 999px;
	padding: 9px 14px;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: var(--he-shadow-soft);
}

.he-theme-toggle:hover,
.he-theme-toggle:focus {
	border-color: var(--he-blue-border);
	color: var(--he-blue);
	background: var(--he-surface-soft);
}

.he-theme-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	position: relative;
}

.he-theme-toggle-icon::before {
	content: "☀";
	font-size: 0.95rem;
	line-height: 1;
}

html[data-theme="dark"] .he-theme-toggle-icon::before {
	content: "☾";
	font-size: 1.05rem;
}

.he-theme-toggle-text {
	line-height: 1;
}


/* =========================================================
   10. HAMBURGER MENU BUTTON
   Button used to open/close category/navigation panel
========================================================= */

.he-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 1px solid var(--he-border);
	background: var(--he-surface);
	border-radius: 999px;
	padding: 9px 15px;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--he-text);
	cursor: pointer;
	box-shadow: var(--he-shadow-soft);
}

.he-menu-toggle:hover,
.he-menu-toggle:focus {
	border-color: var(--he-blue-border);
	color: var(--he-blue);
	background: var(--he-surface-soft);
}

.he-menu-icon {
	position: relative;
	width: 18px;
	height: 12px;
	display: inline-block;
	border-top: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}

.he-menu-icon::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 18px;
	border-top: 2px solid currentColor;
	transform: translateY(-50%);
}


/* =========================================================
   11. COLLAPSIBLE NAVIGATION PANEL
   Hidden category/menu panel opened by hamburger button
========================================================= */

.he-nav-panel {
	display: none;
	background: var(--he-nav-bg);
	border-top: 1px solid var(--he-border);
	box-shadow: var(--he-shadow-soft);
}

.he-nav-panel.is-open {
	display: block;
}

.he-nav-panel-inner {
	padding-top: 12px;
	padding-bottom: 14px;
}

.he-primary-menu {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.he-primary-menu li {
	margin: 0;
	padding: 0;
}

.he-primary-menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: 12px;
	color: var(--he-text);
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	background: var(--he-surface);
	border: 1px solid var(--he-border);
}

.he-primary-menu a:hover,
.he-primary-menu a:focus,
.he-primary-menu .current-menu-item > a,
.he-primary-menu .current_page_item > a {
	color: var(--he-blue);
	background: var(--he-blue-soft);
	border-color: var(--he-blue-border);
	text-decoration: none;
}


/* =========================================================
   12. LEGACY NAVIGATION COMPATIBILITY
   Prevents old inline menu classes from showing accidentally
========================================================= */

.he-primary-nav,
.he-nav-row {
	display: none;
}


/* =========================================================
   13. MAIN PAGE LAYOUT
   Site main padding and two-column layout
========================================================= */

.he-site-main {
	padding: 28px 0 48px;
}

.he-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
}

.he-single-layout {
	width: min(860px, calc(100% - 32px));
	margin: 0 auto;
}


/* =========================================================
   14. ARCHIVE / HOME / EMPTY STATES
   Page headers, homepage intro, and no-results blocks
========================================================= */

.he-archive-header,
.he-home-intro,
.he-empty-state {
	background: var(--he-surface);
	border: 1px solid var(--he-border);
	border-radius: var(--he-radius);
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: var(--he-shadow);
}

.he-archive-header h1,
.he-empty-state h1 {
	margin: 0 0 8px;
	color: var(--he-heading);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.he-archive-header p,
.he-empty-state p {
	margin: 0;
	color: var(--he-muted);
}


/* =========================================================
   15. FRONT PAGE NEWS LAYOUT
   Editorial homepage with left rail, lead story, and right rail
========================================================= */

.he-front-page {
	padding-top: 8px;
}

.he-news-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr) 300px;
	grid-template-areas: "left hero right";
	gap: 28px;
	align-items: start;
}

.he-news-left {
	grid-area: left;
}

.he-news-hero {
	grid-area: hero;
}

.he-news-right {
	grid-area: right;
}

.he-news-rail {
	display: grid;
	gap: 22px;
}


/* =========================================================
   16. FRONT PAGE HERO STORY
   Main featured article in the center column
========================================================= */

.he-news-hero {
	text-align: center;
}

.he-news-hero .he-entry-categories {
	justify-content: center;
	margin-bottom: 10px;
}

.he-news-hero-title {
	margin: 0 auto 18px;
	max-width: 760px;
	color: var(--he-heading);
	font-size: clamp(2rem, 3.5vw, 2.9rem);
	line-height: 1.03;
	letter-spacing: -0.045em;
	font-weight: 700;
}

.he-news-hero-title a {
	color: var(--he-heading);
	text-decoration: none;
}

.he-news-hero-title a:hover,
.he-news-hero-title a:focus {
	color: var(--he-blue);
	text-decoration: none;
}

.he-news-hero-image {
	display: block;
	border-radius: 8px;
	overflow: hidden;
	background: var(--he-card-placeholder);
	aspect-ratio: 16 / 9;
	margin-bottom: 16px;
}

.he-news-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.he-news-hero-subtitle {
	margin: 0 auto 10px;
	max-width: 720px;
	color: var(--he-heading);
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	line-height: 1.22;
	letter-spacing: -0.02em;
	font-weight: 700;
	text-align: left;
}

.he-news-hero-subtitle a {
	color: var(--he-heading);
	text-decoration: none;
}

.he-news-hero-subtitle a:hover,
.he-news-hero-subtitle a:focus {
	color: var(--he-blue);
	text-decoration: none;
}

.he-news-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
	color: var(--he-muted);
	font-size: 0.88rem;
	text-align: left;
}


/* =========================================================
   17. FRONT PAGE LEFT RAIL
   Secondary stories on the left side
========================================================= */

.he-side-story {
	border-bottom: 1px solid var(--he-border);
	padding-bottom: 18px;
}

.he-side-story:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.he-side-story-image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 6px;
	background: var(--he-card-placeholder);
	margin-bottom: 10px;
}

.he-side-story-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.he-side-story-title {
	margin: 0 0 8px;
	color: var(--he-heading);
	font-size: 1.18rem;
	line-height: 1.18;
	letter-spacing: -0.025em;
	font-weight: 700;
}

.he-side-story-title a {
	color: var(--he-heading);
	text-decoration: none;
}

.he-side-story-title a:hover,
.he-side-story-title a:focus {
	color: var(--he-blue);
	text-decoration: none;
}

.he-side-story-excerpt {
	color: var(--he-muted-strong);
	font-size: 0.96rem;
	line-height: 1.35;
}


/* =========================================================
   18. FRONT PAGE RIGHT RAIL
   “À lire aussi” column
========================================================= */

.he-rail-heading {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 2px;
}

.he-rail-heading span {
	display: inline-block;
	width: 5px;
	height: 22px;
	background: var(--he-blue-dark);
	border-radius: 999px;
}

.he-rail-heading h2 {
	margin: 0;
	color: var(--he-heading);
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.he-right-story {
	border-bottom: 1px solid var(--he-border);
	padding-bottom: 16px;
}

.he-right-story:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.he-right-story-image {
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	overflow: hidden;
	background: var(--he-card-placeholder);
	margin-bottom: 10px;
}

.he-right-story-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.he-right-story-title {
	margin: 0;
	color: var(--he-heading);
	font-size: 1.08rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-weight: 700;
}

.he-right-story-title a {
	color: var(--he-heading);
	text-decoration: none;
}

.he-right-story-title a:hover,
.he-right-story-title a:focus {
	color: var(--he-blue);
	text-decoration: none;
}

.he-right-story-meta {
	margin-top: 6px;
	color: var(--he-muted);
	font-size: 0.82rem;
}


/* =========================================================
   19. FRONT PAGE MINI STORY GRID
   Small stories below the lead article
========================================================= */

.he-news-mini-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 18px;
	margin-top: 24px;
	text-align: left;
}

.he-mini-story {
	min-width: 0;
}

.he-mini-story-image {
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	background: var(--he-card-placeholder);
	margin-bottom: 8px;
}

.he-mini-story-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.he-mini-story-title {
	margin: 0;
	color: var(--he-heading);
	font-size: 1rem;
	line-height: 1.18;
	letter-spacing: -0.018em;
	font-weight: 700;
}

.he-mini-story-title a {
	color: var(--he-heading);
	text-decoration: none;
}

.he-mini-story-title a:hover,
.he-mini-story-title a:focus {
	color: var(--he-blue);
	text-decoration: none;
}


/* =========================================================
   19B. MORE STORIES SECTION
   Lower homepage story grid inspired by editorial news layouts
========================================================= */

.he-more-stories-section {
	margin-top: 46px;
	padding-top: 30px;
	border-top: 1px solid var(--he-border);
}

.he-section-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.he-section-heading span {
	display: inline-block;
	width: 5px;
	height: 24px;
	background: var(--he-blue-dark);
	border-radius: 999px;
}

.he-section-heading h2 {
	margin: 0;
	color: var(--he-heading);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.he-more-stories-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px 24px;
}

.he-more-story {
	min-width: 0;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--he-border);
}

.he-more-story-image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: var(--he-card-placeholder);
	margin-bottom: 11px;
}

.he-more-story-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.he-more-story-body {
	min-width: 0;
}

.he-more-story .he-entry-categories {
	margin-bottom: 8px;
}

.he-more-story-title {
	margin: 0;
	color: var(--he-heading);
	font-size: 1.12rem;
	font-weight: 750;
	line-height: 1.16;
	letter-spacing: -0.025em;
}

.he-more-story-title a {
	color: var(--he-heading);
	text-decoration: none;
}

.he-more-story-title a:hover,
.he-more-story-title a:focus {
	color: var(--he-blue);
	text-decoration: none;
}

.he-more-story-excerpt {
	margin-top: 8px;
	color: var(--he-muted-strong);
	font-size: 0.95rem;
	line-height: 1.4;
}

.he-more-story-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	margin-top: 9px;
	color: var(--he-muted);
	font-size: 0.82rem;
	line-height: 1.35;
}


/* =========================================================
   20. POST GRID
   Archive/home grid that displays article cards
========================================================= */

.he-post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

/* =========================================================
   RELATED POSTS — SINGLE ARTICLE
   Suggested articles below individual posts
========================================================= */

.he-related-posts-section {
	margin-top: 32px;
	padding: 24px;
	border: 1px solid var(--he-border);
	border-radius: 24px;
	background: var(--he-surface);
	box-shadow: var(--he-shadow);
}

.he-related-posts-head {
	margin-bottom: 18px;
}

.he-related-posts-head span {
	display: inline-flex;
	margin-bottom: 5px;
	color: var(--he-blue);
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.he-related-posts-head h2 {
	margin: 0;
	color: var(--he-heading);
	font-size: clamp(1.25rem, 2.4vw, 1.65rem);
	font-weight: 750;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.he-related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 18px;
}

.he-related-post-card {
	min-width: 0;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--he-border);
}

.he-related-post-image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 14px;
	background: var(--he-card-placeholder);
	margin-bottom: 11px;
}

.he-related-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.he-related-post-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: linear-gradient(135deg, var(--he-blue-dark), var(--he-blue));
	color: var(--he-gold);
	font-weight: 800;
	font-size: 1.5rem;
}

.he-related-post-body {
	min-width: 0;
}

.he-related-post-card .he-entry-categories {
	margin-bottom: 8px;
}

.he-related-post-title {
	margin: 0;
	color: var(--he-heading);
	font-size: 1.02rem;
	font-weight: 750;
	line-height: 1.16;
	letter-spacing: -0.02em;
}

.he-related-post-title a {
	color: var(--he-heading);
	text-decoration: none;
}

.he-related-post-title a:hover,
.he-related-post-title a:focus {
	color: var(--he-blue);
	text-decoration: none;
}

.he-related-post-excerpt {
	margin-top: 8px;
	color: var(--he-muted-strong);
	font-size: 0.9rem;
	line-height: 1.38;
}

.he-related-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	margin-top: 9px;
	color: var(--he-muted);
	font-size: 0.8rem;
	line-height: 1.35;
}

@media (max-width: 760px) {
	.he-related-posts-section {
		padding: 18px;
		border-radius: 20px;
	}

	.he-related-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 14px;
	}

	.he-related-post-title {
		font-size: 0.98rem;
	}
}

@media (max-width: 520px) {
	.he-related-posts-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.he-related-post-card {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 12px;
		align-items: start;
		padding-bottom: 16px;
	}

	.he-related-post-image {
		margin-bottom: 0;
		border-radius: 12px;
	}

	.he-related-post-card .he-entry-categories,
	.he-related-post-excerpt {
		display: none;
	}

	.he-related-post-title {
		font-size: 1rem;
		line-height: 1.18;
	}
}

/* =========================================================
   21. ARTICLE CARDS
   Card image, title, excerpt, and metadata
========================================================= */

.he-card {
	background: var(--he-card-bg);
	border: 1px solid var(--he-border);
	border-radius: var(--he-radius);
	overflow: hidden;
	box-shadow: var(--he-shadow);
}

.he-card-image {
	display: block;
	background: var(--he-card-placeholder);
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.he-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.he-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 120px;
	background: linear-gradient(135deg, var(--he-blue-dark), var(--he-blue));
	color: var(--he-gold);
	font-size: 2.5rem;
	font-weight: 800;
}

.he-card-body {
	padding: 16px;
}

.he-card-title {
	margin: 0 0 8px;
	color: var(--he-heading);
	font-size: 1.18rem;
	line-height: 1.2;
	letter-spacing: -0.015em;
	font-weight: 700;
}

.he-card-title a {
	color: var(--he-heading);
}

.he-card-title a:hover,
.he-card-title a:focus {
	color: var(--he-blue);
	text-decoration: none;
}

.he-card-meta,
.he-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
	color: var(--he-muted);
	font-size: 0.88rem;
}

.he-card-excerpt {
	margin-top: 10px;
	color: var(--he-muted-strong);
	font-size: 0.95rem;
}

.he-card-excerpt p {
	margin: 0;
}


/* =========================================================
   22. CATEGORY BADGES
   Category chips above card titles and single article titles
========================================================= */

.he-entry-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.he-post-category {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 5px 10px;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	text-decoration: none;
	background: var(--he-blue-soft);
	color: var(--he-blue);
	border: 1px solid var(--he-blue-border);
}

.he-post-category:hover,
.he-post-category:focus {
	background: var(--he-blue);
	color: #ffffff;
	text-decoration: none;
}


/* =========================================================
   23. SINGLE ARTICLE SHELL
   Main article container, title, metadata, and featured image
========================================================= */

.he-article {
	background: var(--he-surface);
	border-radius: 24px;
	padding: clamp(20px, 4vw, 42px);
}

.he-entry-title {
	margin: 0 0 14px;
	color: var(--he-heading);
	font-size: clamp(1.75rem, 3vw, 2.1rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.045em;
}

.he-featured-image {
	margin: 26px 0;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--he-border);
}

.he-featured-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.he-featured-image figcaption {
	padding: 10px 12px;
	background: var(--he-surface-soft);
	color: var(--he-muted);
	font-size: 0.82rem;
}

/* =========================================================
   SINGLE ARTICLE — REFINEMENTS
========================================================= */

.he-single-article {
	min-width: 0;
}

.he-entry-header {
	margin-bottom: 22px;
}

.he-entry-title {
	margin: 0 0 14px;
	color: var(--he-heading);
	font-size: clamp(1.75rem, 6.8vw, 2.25rem);
	font-weight: 750;
	line-height: 1.07;
	letter-spacing: -0.045em;
}

.he-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	color: var(--he-muted);
	font-size: 0.9rem;
	line-height: 1.45;
}

.he-entry-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.he-entry-author-name {
	color: var(--he-muted-strong);
	font-weight: 650;
}

.he-entry-meta-separator {
	color: var(--he-muted);
	opacity: 0.7;
}

/* Featured image */
.he-featured-image {
	margin: 26px 0 24px;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--he-border);
	background: var(--he-card-placeholder);
}

.he-featured-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.he-featured-image figcaption {
	padding: 10px 12px;
	background: var(--he-surface-soft);
	color: var(--he-muted);
	font-size: 0.82rem;
	line-height: 1.45;
}

/* Excerpt / dek */
.he-excerpt {
	margin: 20px 0 26px;
	padding: 15px 18px;
	border-left: 4px solid var(--he-blue);
	border-radius: 14px;
	background: color-mix(in srgb, var(--he-blue-soft) 55%, transparent);
	color: var(--he-muted-strong);
	font-size: 1.03rem;
	line-height: 1.65;
	font-style: italic;
}

.he-excerpt p {
	margin: 0;
}

/* Article body */
.he-entry-content {
	color: var(--he-text);
	font-size: 1.06rem;
	line-height: 1.72;
}

.he-entry-content p {
	margin: 0 0 1.15em;
}

.he-entry-content h2,
.he-entry-content h3 {
	color: var(--he-heading);
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin: 1.65em 0 0.65em;
}

.he-entry-content blockquote {
	border-left: 4px solid var(--he-blue);
	margin: 1.5em 0;
	padding: 0.75em 0 0.75em 1em;
	color: var(--he-muted-strong);
	background: var(--he-surface-soft);
}

/* Share section now appears after the article body */
.he-share-box {
	margin: 30px 0 24px;
	padding-top: 18px;
	border-top: 1px solid var(--he-border);
}

.he-share-label {
	margin-bottom: 10px;
	color: var(--he-muted);
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

@media (max-width: 600px) {
	.he-entry-header {
		margin-bottom: 20px;
	}

	.he-entry-title {
		font-size: clamp(1.72rem, 7vw, 2rem);
		line-height: 1.08;
	}

	.he-entry-meta {
		font-size: 0.86rem;
	}

	.he-featured-image {
		margin: 24px 0 22px;
		border-radius: 16px;
	}

	.he-excerpt {
		margin: 18px 0 24px;
		padding: 14px 17px;
		font-size: 1rem;
		line-height: 1.62;
	}

	.he-entry-content {
		font-size: 1rem;
		line-height: 1.7;
	}
}

/* =========================================================
   SINGLE POST NAVIGATION CARDS
   Previous and next articles under single posts
========================================================= */

.he-single-post-nav {
	margin-top: 28px;
	padding: 22px;
	border: 1px solid var(--he-border);
	border-radius: 24px;
	background: var(--he-surface);
	box-shadow: var(--he-shadow);
}

.he-single-post-nav-head {
	margin-bottom: 16px;
}

.he-single-post-nav-head span {
	display: inline-flex;
	margin-bottom: 5px;
	color: var(--he-blue);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.he-single-post-nav-head h2 {
	margin: 0;
	color: var(--he-heading);
	font-size: clamp(1.25rem, 2.4vw, 1.6rem);
	font-weight: 750;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.he-single-post-nav-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.he-single-post-nav-one .he-single-post-nav-grid {
	grid-template-columns: minmax(0, 1fr);
}

.he-single-post-nav-card {
	display: block;
	min-width: 0;
	border-radius: 18px;
	color: var(--he-text);
	text-decoration: none;
	transition:
		transform 0.16s ease,
		border-color 0.16s ease,
		background-color 0.16s ease,
		box-shadow 0.16s ease;
}

.he-single-post-nav-card:hover,
.he-single-post-nav-card:focus {
	transform: translateY(-2px);
	border-color: var(--he-blue-border);
	background: var(--he-blue-soft);
	box-shadow: var(--he-shadow-soft);
	text-decoration: none;
}

.he-single-post-nav-label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 12px;
	color: var(--he-blue);
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.he-single-post-nav-card-prev .he-single-post-nav-label::before {
	content: "←";
	font-size: 0.95rem;
}

.he-single-post-nav-card-next .he-single-post-nav-label::after {
	content: "→";
	font-size: 0.95rem;
}

.he-single-post-nav-body {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.he-single-post-nav-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 14px;
	background: var(--he-card-placeholder);
}

.he-single-post-nav-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.he-single-post-nav-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 82px;
	background: linear-gradient(135deg, var(--he-blue-dark), var(--he-blue));
	color: var(--he-gold);
	font-weight: 700;
}

.he-single-post-nav-content {
	display: block;
	min-width: 0;
}

.he-single-post-nav-title {
	display: block;
	color: var(--he-heading);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.he-single-post-nav-card:hover .he-single-post-nav-title,
.he-single-post-nav-card:focus .he-single-post-nav-title {
	color: var(--he-blue);
}

.he-single-post-nav-excerpt {
	display: block;
	margin-top: 7px;
	color: var(--he-muted);
	font-size: 0.9rem;
	line-height: 1.35;
}

.he-single-post-nav-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	margin-top: 8px;
	color: var(--he-muted);
	font-size: 0.8rem;
}

@media (max-width: 760px) {
	.he-single-post-nav {
		padding: 18px;
	}

	.he-single-post-nav-grid {
		grid-template-columns: 1fr;
	}

	.he-single-post-nav-body {
		grid-template-columns: 118px minmax(0, 1fr);
	}
}

@media (max-width: 480px) {
	.he-single-post-nav {
		padding: 16px;
		border-radius: 20px;
	}

	.he-single-post-nav-body {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 12px;
	}

	.he-single-post-nav-title {
		font-size: 0.98rem;
	}

	.he-single-post-nav-excerpt {
		display: none;
	}
}


/* =========================================================
   24. ARTICLE CONTENT TYPOGRAPHY
   Paragraphs, headings, blockquotes, and body text
========================================================= */

.he-entry-content {
	font-size: 1.08rem;
	color: var(--he-text);
}

.he-entry-content p {
	margin: 0 0 1.15em;
}

.he-entry-content h2,
.he-entry-content h3 {
	color: var(--he-heading);
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin: 1.6em 0 0.6em;
}

.he-entry-content blockquote {
	border-left: 4px solid var(--he-blue);
	margin: 1.5em 0;
	padding: 0.6em 0 0.6em 1em;
	color: var(--he-muted-strong);
	background: var(--he-surface-soft);
}


/* =========================================================
   25. HAITI ÉCONOMIE KEYPOINTS BLOCK
   Styles <section class="he-keypoints"> in articles
========================================================= */

.he-keypoints,
.he-entry-content .he-keypoints {
  background: color-mix(in srgb, var(--he-blue-soft) 55%, transparent);
	border-left: 5px solid var(--he-blue);
	border-radius: 16px;
	padding: 16px 18px;
	margin: 22px 0;
	line-height:1.35;
}

.he-keypoints-label {
	display: inline-flex;
	margin-bottom: 8px;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--he-blue);
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.he-keypoints ul {
	margin: 0;
	padding-left: 1.2rem;
}

.he-keypoints li {
	margin: 0.35em 0;
}


/* =========================================================
   26. SOURCE / TRANSPARENCY BOX
   Displays source metadata under single articles
========================================================= */

.he-source-box {
	margin-top: 28px;
	padding: 14px 16px;
	border-radius: 16px;
	border: 1px solid var(--he-border);
	background: var(--he-surface-soft);
}

.he-source-label {
	font-weight: 700;
	font-size: 0.82rem;
	color: var(--he-blue-dark);
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.he-source-line {
	color: var(--he-muted-strong);
	font-size: 0.92rem;
}


/* =========================================================
   27. TAGS
   Tag chips under articles
========================================================= */

.he-tags {
	margin-top: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.he-tags a {
	background: var(--he-surface-muted);
	color: var(--he-blue-dark);
	border-radius: 999px;
	padding: 6px 10px;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
}

.he-tags a:hover,
.he-tags a:focus {
	background: var(--he-blue);
	color: #ffffff;
}


/* =========================================================
   28. SIDEBAR
   Widget area and widget cards
========================================================= */

.he-sidebar {
	display: grid;
	gap: 16px;
	align-content: start;
}

.he-widget {
	background: var(--he-surface);
	border: 1px solid var(--he-border);
	border-radius: var(--he-radius);
	padding: 18px;
	box-shadow: var(--he-shadow);
}

.he-widget-title {
	margin: 0 0 12px;
	color: var(--he-heading);
	font-size: 1rem;
	font-weight: 700;
}

/* =========================================================
   POST NAVIGATION CARDS
   Previous / next article cards under single posts
========================================================= */

.he-post-nav-section {
	margin-top: 34px;
	padding-top: 26px;
	border-top: 1px solid var(--he-border);
}

.he-post-nav-section-head {
	margin-bottom: 16px;
}

.he-post-nav-section-kicker {
	display: inline-flex;
	align-items: center;
	margin-bottom: 5px;
	color: var(--he-blue);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.he-post-nav-section-head h2 {
	margin: 0;
	color: var(--he-heading);
	font-size: clamp(1.25rem, 2.4vw, 1.65rem);
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.he-post-nav-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.he-post-nav-section-single .he-post-nav-cards {
	grid-template-columns: minmax(0, 1fr);
}

.he-post-nav-card {
	display: block;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--he-border);
	border-radius: 20px;
	background: var(--he-surface-soft);
	color: var(--he-text);
	text-decoration: none;
	box-shadow: var(--he-shadow-soft);
	transition:
		transform 0.16s ease,
		border-color 0.16s ease,
		background-color 0.16s ease,
		box-shadow 0.16s ease;
}

.he-post-nav-card:hover,
.he-post-nav-card:focus {
	transform: translateY(-2px);
	border-color: var(--he-blue-border);
	background: var(--he-blue-soft);
	box-shadow: var(--he-shadow);
	text-decoration: none;
}

.he-post-nav-label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 12px;
	color: var(--he-blue);
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.he-post-nav-card-previous .he-post-nav-label::before {
	content: "←";
	font-size: 0.9rem;
}

.he-post-nav-card-next .he-post-nav-label::after {
	content: "→";
	font-size: 0.9rem;
}

.he-post-nav-inner {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.he-post-nav-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 14px;
	background: var(--he-card-placeholder);
}

.he-post-nav-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.he-post-nav-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 82px;
	background: linear-gradient(135deg, var(--he-blue-dark), var(--he-blue));
	color: var(--he-gold);
	font-weight: 800;
}

.he-post-nav-content {
	display: block;
	min-width: 0;
}

.he-post-nav-title {
	display: block;
	color: var(--he-heading);
	font-size: 1.05rem;
	font-weight: 750;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.he-post-nav-card:hover .he-post-nav-title,
.he-post-nav-card:focus .he-post-nav-title {
	color: var(--he-blue);
}

.he-post-nav-excerpt {
	display: block;
	margin-top: 7px;
	color: var(--he-muted);
	font-size: 0.9rem;
	line-height: 1.35;
}

@media (max-width: 760px) {
	.he-post-nav-cards {
		grid-template-columns: 1fr;
	}

	.he-post-nav-inner {
		grid-template-columns: 118px minmax(0, 1fr);
	}
}

@media (max-width: 480px) {
	.he-post-nav-card {
		padding: 14px;
	}

	.he-post-nav-inner {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 12px;
	}

	.he-post-nav-title {
		font-size: 0.98rem;
	}

	.he-post-nav-excerpt {
		display: none;
	}
}

/* =========================================================
   29. SEARCH FORM
   Search input and button
========================================================= */

.he-search-form {
	display: flex;
	gap: 8px;
}

.he-search-field {
	width: 100%;
	border: 1px solid var(--he-border);
	background: var(--he-surface);
	color: var(--he-text);
	border-radius: 999px;
	padding: 10px 12px;
	font: inherit;
}

.he-search-field::placeholder {
	color: var(--he-muted);
}

.he-search-form button {
	border: 0;
	border-radius: 999px;
	background: var(--he-blue);
	color: #ffffff;
	font-weight: 700;
	padding: 10px 14px;
	cursor: pointer;
}

.he-search-form button:hover,
.he-search-form button:focus {
	background: var(--he-blue-dark);
}


/* =========================================================
   30. PAGINATION
   Archive pagination area
========================================================= */

.he-pagination {
	margin-top: 22px;
}


/* =========================================================
   31. FOOTER
   Footer brand, link columns, app button, and copyright
========================================================= */

.he-site-footer,
.he-pages-footer {
	background: var(--he-footer-bg);
	color: var(--he-footer-text);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin-top: 48px;
	padding: 0;
}

.he-footer-wrap {
	padding-top: 44px;
	padding-bottom: 24px;
}

.he-footer-brand {
	max-width: 680px;
	margin-bottom: 34px;
}

.he-footer-logo {
	display: inline-flex;
	align-items: center;
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
	text-decoration: none;
}

.he-footer-logo:hover,
.he-footer-logo:focus {
	color: var(--he-blue);
	text-decoration: none;
}

.he-footer-desc {
	margin: 10px 0 0;
	color: var(--he-footer-muted);
	font-size: 1rem;
	line-height: 1.55;
}

.he-footer-date {
	margin: 10px 0 0;
	color: color-mix(in srgb, var(--he-footer-muted) 72%, transparent);
	font-size: 0.86rem;
}

.he-footer-nav {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.he-footer-col {
	min-width: 0;
}

.he-footer-col h2 {
	margin: 0 0 12px;
	color: #ffffff;
	font-size: 0.88rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.he-footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.he-footer-col li {
	margin: 0;
	padding: 0;
}

.he-footer-col a {
	display: inline-flex;
	color: var(--he-footer-muted);
	text-decoration: none;
	font-size: 0.94rem;
	line-height: 1.45;
	padding: 4px 0;
}

.he-footer-col a:hover,
.he-footer-col a:focus {
	color: var(--he-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.he-footer-app p {
	margin: 0 0 14px;
	color: var(--he-footer-muted);
	font-size: 0.94rem;
	line-height: 1.55;
}

.he-footer-app-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 14px !important;
	border-radius: 999px;
	background: rgba(88, 166, 255, 0.14);
	border: 1px solid rgba(141, 199, 255, 0.38);
	color: #ffffff !important;
	font-weight: 700;
	text-decoration: none !important;
}

.he-footer-app-btn:hover,
.he-footer-app-btn:focus {
	background: rgba(88, 166, 255, 0.24);
	border-color: rgba(141, 199, 255, 0.62);
	color: #ffffff !important;
	text-decoration: none !important;
}

.he-footer-bottom {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 34px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.10);
	color: color-mix(in srgb, var(--he-footer-muted) 78%, transparent);
	font-size: 0.86rem;
}

.he-footer-bottom p {
	margin: 0;
}

.he-footer-bottom a {
	color: var(--he-footer-muted);
	text-decoration: none;
}

.he-footer-bottom a:hover,
.he-footer-bottom a:focus {
	color: var(--he-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (min-width: 700px) {
	.he-footer-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.he-footer-bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

@media (min-width: 980px) {
	.he-footer-nav {
		grid-template-columns: 1fr 1.35fr 1fr 1.25fr;
	}
}


/* =========================================================
   32. RESPONSIVE — DESKTOP/TABLET HOMEPAGE
   Layout changes under 1100px
========================================================= */

@media (max-width: 1100px) {
	.he-news-layout {
		grid-template-columns: 250px minmax(0, 1fr);
		grid-template-areas:
			"hero hero"
			"left right";
	}

	.he-news-mini-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.he-more-stories-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}


/* =========================================================
   33. RESPONSIVE — TABLET
   Layout changes under 900px
========================================================= */

@media (max-width: 900px) {
	.admin-bar .he-site-header {
		top: 0;
	}

	.he-site-header {
		position: relative;
	}

	.he-header-brand-inner,
	.he-header-main {
		padding: 14px 0;
	}

	.he-brand {
		gap: 10px;
	}

	.custom-logo {
		max-width: 58px;
		max-height: 46px;
	}

	.he-site-title {
		font-size: 1.25rem;
	}

	.he-brand-text p {
		font-size: 0.82rem;
	}

	.he-theme-toggle,
	.he-menu-toggle {
		padding: 8px 13px;
	}

	.he-primary-menu {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.he-layout {
		grid-template-columns: 1fr;
	}

	.he-post-grid {
		grid-template-columns: 1fr;
	}

	.he-footer-grid {
		grid-template-columns: 1fr;
	}

	.he-topbar-inner {
		flex-direction: column;
		gap: 2px;
	}
	
	.he-more-stories-grid {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* =========================================================
   34. RESPONSIVE — HOMEPAGE MOBILE
   Homepage editorial layout under 760px
========================================================= */

@media (max-width: 760px) {
	.he-news-layout {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-areas:
			"hero"
			"left"
			"right";
		gap: 26px;
	}

	.he-news-hero {
		text-align: left;
	}

	.he-news-hero .he-entry-categories {
		justify-content: flex-start;
	}

	.he-news-hero-title {
		font-size: clamp(2rem, 10vw, 2.7rem);
		text-align: left;
		margin-bottom: 14px;
	}

	.he-news-hero-subtitle {
		font-size: 1.28rem;
	}

	.he-news-mini-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}

	.he-side-story {
		display: grid;
		grid-template-columns: 128px minmax(0, 1fr);
		gap: 12px;
		align-items: start;
	}

	.he-side-story-image {
		margin-bottom: 0;
	}

	.he-side-story-title {
		font-size: 1.05rem;
	}

	.he-side-story-excerpt {
		display: none;
	}

	.he-more-stories-section {
		margin-top: 36px;
		padding-top: 24px;
	}

	.he-more-stories-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 18px;
	}
}


/* =========================================================
   35. RESPONSIVE — MOBILE
   Layout changes under 600px
========================================================= */

@media (max-width: 600px) {
	.he-container {
		width: min(100% - 24px, 1120px);
	}

	.he-site-main {
		padding: 20px 0 36px;
	}

	.he-header-brand-inner,
	.he-header-main {
		align-items: center;
		gap: 12px;
	}

	.he-brand-text p {
		max-width: 220px;
	}

	.he-theme-toggle-text,
	.he-menu-toggle span:last-child {
		display: none;
	}

	.he-theme-toggle,
	.he-menu-toggle {
		width: 40px;
		height: 40px;
		padding: 0;
	}

	.he-primary-menu {
		grid-template-columns: 1fr;
	}

	.he-news-mini-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}

	.he-mini-story-title {
		font-size: 0.86rem;
		line-height: 1.15;
	}

	.he-side-story {
		grid-template-columns: 112px minmax(0, 1fr);
	}

	.he-right-story-title {
		font-size: 1.02rem;
	}

	.he-more-stories-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.he-more-story {
		display: grid;
		grid-template-columns: 118px minmax(0, 1fr);
		gap: 12px;
		align-items: start;
	}

	.he-more-story-image {
		margin-bottom: 0;
	}

	.he-more-story .he-entry-categories,
	.he-more-story-excerpt {
		display: none;
	}

	.he-more-story-title {
		font-size: 1.02rem;
		line-height: 1.18;
	}

	.he-more-story-meta {
		font-size: 0.8rem;
	}

	.he-article {
		border-radius: 18px;
		padding: 18px;
	}

	.he-entry-title {
		font-size: clamp(1.5rem, 7vw, 2rem);
	}

	.he-entry-content {
		font-size: 1rem;
	}
}


/* =========================================================
   EXCERPT
   Styling
========================================================= */


.he-excerpt {
	margin: 18px 0 22px;
	padding: 14px 18px;
	border-left: 4px solid var(--he-blue);
	border-radius: 14px;
	color: var(--he-muted-strong);
	font-size: 1.05rem;
	line-height: 1.55;
	font-style: italic;
}

.he-excerpt p {
	margin: 0;
}

/* =========================================================
   ARTICLE SHARE BUTTONS
   Custom Facebook, X, LinkedIn, WhatsApp, and native share
========================================================= */

.he-share-box {
	margin: 26px 0 24px;
	padding-top: 18px;
	border-top: 1px solid var(--he-border);
}

.he-share-label {
	margin-bottom: 10px;
	color: var(--he-muted);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.he-share-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	align-items: center;
}

.he-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 38px;
	padding: 8px 12px;
	border: 1px solid var(--he-border);
	border-radius: 999px;
	background: var(--he-surface-soft);
	color: var(--he-text);
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--he-shadow-soft);
	transition:
		transform 0.16s ease,
		background-color 0.16s ease,
		border-color 0.16s ease,
		color 0.16s ease;
}

.he-share-btn:hover,
.he-share-btn:focus {
	transform: translateY(-1px);
	text-decoration: none;
}

.he-share-btn span:first-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	font-size: 0.82rem;
	font-weight: 850;
	line-height: 1;
}

.he-share-facebook {
	color: #1877f2;
	border-color: rgba(24, 119, 242, 0.25);
	background: rgba(24, 119, 242, 0.08);
}

.he-share-facebook:hover,
.he-share-facebook:focus {
	background: #1877f2;
	border-color: #1877f2;
	color: #ffffff;
}

.he-share-x {
	color: var(--he-heading);
	border-color: rgba(10, 102, 194, 0.25);
	background: rgba(10, 102, 194, 0.08);
}

.he-share-x:hover,
.he-share-x:focus {
	background: var(--he-heading);
	border-color: var(--he-heading);
	color: var(--he-bg);
}

.he-share-linkedin {
	color: #0a66c2;
	border-color: rgba(10, 102, 194, 0.25);
	background: rgba(10, 102, 194, 0.08);
}

.he-share-linkedin:hover,
.he-share-linkedin:focus {
	background: #0a66c2;
	border-color: #0a66c2;
	color: #ffffff;
}

.he-share-whatsapp {
	color: #128c7e;
	border-color: rgba(18, 140, 126, 0.25);
	background: rgba(18, 140, 126, 0.08);
}

.he-share-whatsapp:hover,
.he-share-whatsapp:focus {
	background: #128c7e;
	border-color: #128c7e;
	color: #ffffff;
}

.he-share-native {
	color: var(--he-blue);
	border-color: rgba(10, 102, 194, 0.25);
	background: rgba(10, 102, 194, 0.08);
}

.he-share-native:hover,
.he-share-native:focus {
	background: var(--he-blue);
	border-color: var(--he-blue);
	color: #ffffff;
}

.he-share-native.is-copied {
	background: #16a34a;
	border-color: #16a34a;
	color: #ffffff;
}

@media (max-width: 600px) {
	.he-share-buttons {
		gap: 8px;
	}

	.he-share-btn {
		min-height: 38px;
		padding: 8px 10px;
		font-size: 0.82rem;
	}

	.he-share-btn span:last-child {
		display: none;
	}

	.he-share-native span:last-child {
		display: inline;
	}
}