/**
 * DailyHealth — main stylesheet (mobile-first)
 * Brand: medical blue #1a8cff, soft green #28a745
 */

:root {
	--dh-blue: #1a8cff;
	--dh-blue-dark: #0066cc;
	--dh-green: #28a745;
	--dh-bg: #f5f8fc;
	--dh-surface: #ffffff;
	--dh-text: #0f172a;
	--dh-muted: #64748b;
	--dh-border: #e2e8f0;
	--dh-radius: 12px;
	--dh-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	--dh-font-fa: "Vazirmatn", system-ui, sans-serif;
	--dh-font-en: "Inter", "Vazirmatn", system-ui, sans-serif;
	--dh-header-h: 72px;
	--dh-container: 1120px;
	--dh-landing: 1120px;
	--dh-transition: 0.2s ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--dh-font-fa);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--dh-text);
	background:
		radial-gradient(ellipse 80% 50% at 100% 0%, rgba(26, 140, 255, 0.08), transparent 55%),
		radial-gradient(ellipse 60% 40% at 0% 100%, rgba(40, 167, 69, 0.06), transparent 50%),
		var(--dh-bg);
	min-height: 100vh;
}

body.home {
	background: #ffffff;
}

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

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

a:hover,
a:focus-visible {
	color: var(--dh-blue-dark);
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.3;
	font-weight: 700;
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0 0 1em;
	padding-inline-start: 1.25rem;
}

button,
input,
textarea,
select {
	font: inherit;
	font-family: inherit;
}

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

.skip-link:focus {
	position: fixed;
	top: 1rem;
	inset-inline-start: 1rem;
	z-index: 10000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.75rem 1rem;
	background: var(--dh-blue);
	color: #fff;
	border-radius: 8px;
}

.container {
	width: min(100% - 2rem, var(--dh-container));
	margin-inline: auto;
}

/* ——— Breadcrumbs ——— */
.breadcrumbs-bar {
	padding-top: 1rem;
}

.breadcrumbs {
	padding: 0.85rem 0 0.25rem;
}

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.85rem;
	color: var(--dh-muted);
}

.breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.breadcrumbs__item:not(:last-child)::after {
	content: "/";
	margin-inline: 0.45rem;
	opacity: 0.45;
	speak: never;
}

.breadcrumbs__link {
	color: var(--dh-muted);
	text-decoration: none;
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible {
	color: var(--dh-blue);
}

.breadcrumbs__current {
	color: var(--dh-text);
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: min(48ch, 70vw);
}

/* ——— Header ——— */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: color-mix(in srgb, var(--dh-surface) 88%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--dh-border);
	transition: background var(--dh-transition), border-color var(--dh-transition), box-shadow var(--dh-transition), color var(--dh-transition);
}

.site-header--overlay {
	position: absolute;
	inset-inline: 0;
	top: 0;
	background: color-mix(in srgb, var(--dh-surface) 88%, transparent);
	border-bottom-color: color-mix(in srgb, var(--dh-border) 65%, transparent);
	backdrop-filter: blur(12px);
	color: var(--dh-text);
}

.site-header--overlay .primary-menu a {
	color: var(--dh-text);
}

.site-header--overlay .primary-menu a:hover,
.site-header--overlay .primary-menu .current-menu-item > a {
	background: color-mix(in srgb, var(--dh-blue) 10%, transparent);
	color: var(--dh-blue);
}

.site-header--overlay .primary-menu__toggle {
	color: var(--dh-text);
}

.site-header--overlay .primary-menu__toggle:hover,
.site-header--overlay .primary-menu__toggle:focus-visible {
	background: color-mix(in srgb, var(--dh-blue) 10%, transparent);
	color: var(--dh-blue);
}


.site-header--overlay .theme-toggle,
.site-header--overlay .menu-toggle,
.site-header--overlay .search-toggle {
	background: var(--dh-surface);
	border-color: var(--dh-border);
	color: var(--dh-text);
}

.site-header--overlay .search-toggle {
	background: var(--dh-blue);
	border-color: var(--dh-blue);
	border-radius: 50%;
	color: #fff;
}

.site-header--overlay.is-scrolled {
	position: fixed;
	background: color-mix(in srgb, var(--dh-surface) 92%, transparent);
	border-bottom-color: var(--dh-border);
	backdrop-filter: blur(12px);
	color: var(--dh-text);
	box-shadow: var(--dh-shadow);
}

.site-header--overlay.is-scrolled .primary-menu a {
	color: var(--dh-text);
}

.site-header--overlay.is-scrolled .primary-menu a:hover,
.site-header--overlay.is-scrolled .primary-menu .current-menu-item > a {
	background: color-mix(in srgb, var(--dh-blue) 10%, transparent);
	color: var(--dh-blue);
}

.site-header--overlay.is-scrolled .primary-menu__toggle {
	color: var(--dh-text);
}

.site-header--overlay.is-scrolled .primary-menu__toggle:hover,
.site-header--overlay.is-scrolled .primary-menu__toggle:focus-visible {
	background: color-mix(in srgb, var(--dh-blue) 10%, transparent);
	color: var(--dh-blue);
}


.site-header--overlay.is-scrolled .theme-toggle,
.site-header--overlay.is-scrolled .menu-toggle,
.site-header--overlay.is-scrolled .search-toggle {
	background: var(--dh-surface);
	border-color: var(--dh-border);
	color: var(--dh-text);
}

.site-header--overlay.is-scrolled .search-toggle {
	background: var(--dh-blue);
	border-color: var(--dh-blue);
	color: #fff;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--dh-header-h);
}

.site-branding .custom-logo-link,
.site-branding .site-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-branding .custom-logo,
.site-branding .site-logo {
	height: 42px;
	width: 42px;
}

.site-branding .site-logo--icon {
	display: block;
	border-radius: 10px;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.header-subscribe {
	display: none;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.95rem;
	border-radius: 10px;
	background: var(--dh-green);
	color: #fff !important;
	font-size: 0.86rem;
	font-weight: 600;
	white-space: nowrap;
	transition: filter var(--dh-transition), transform var(--dh-transition);
}

.header-subscribe:hover,
.header-subscribe:focus-visible {
	filter: brightness(1.06);
	color: #fff !important;
	transform: translateY(-1px);
}

.header-date {
	display: none;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--dh-muted);
	white-space: nowrap;
}

.site-header--overlay .header-date {
	color: var(--dh-muted);
}

.site-header--overlay.is-scrolled .header-date {
	color: var(--dh-muted);
}

.theme-toggle,
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--dh-border);
	border-radius: 10px;
	background: var(--dh-surface);
	color: var(--dh-text);
	cursor: pointer;
	transition: background var(--dh-transition), border-color var(--dh-transition);
}

.theme-toggle:hover,
.menu-toggle:hover {
	border-color: var(--dh-blue);
}

.theme-toggle__icon--sun {
	display: none;
}

.menu-toggle {
	flex-direction: column;
	gap: 5px;
}

.menu-toggle__bar {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--dh-transition), opacity var(--dh-transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
	position: fixed;
	inset: var(--dh-header-h) 0 auto 0;
	background: var(--dh-surface);
	border-bottom: 1px solid var(--dh-border);
	padding: 1rem;
	transform: translateY(-120%);
	opacity: 0;
	visibility: hidden;
	transition: transform var(--dh-transition), opacity var(--dh-transition), visibility var(--dh-transition);
	max-height: calc(100vh - var(--dh-header-h));
	overflow-y: auto;
}

.primary-nav.is-open {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.primary-menu a {
	display: block;
	padding: 0.75rem 1rem;
	color: var(--dh-text);
	border-radius: 8px;
	font-weight: 500;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	background: color-mix(in srgb, var(--dh-blue) 10%, transparent);
	color: var(--dh-blue);
}

.primary-menu__toggle {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	width: 100%;
	padding: 0.75rem 1rem;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 500;
	cursor: pointer;
	text-align: inherit;
}

.primary-menu__toggle:hover,
.primary-menu__toggle:focus-visible {
	background: color-mix(in srgb, var(--dh-blue) 10%, transparent);
	color: var(--dh-blue);
}

.primary-menu__chevron {
	flex-shrink: 0;
	transition: transform var(--dh-transition);
}

.menu-item-has-children.is-open > .primary-menu__toggle .primary-menu__chevron {
	transform: rotate(180deg);
}

.primary-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.35rem 0 0.35rem 0.75rem;
}

.primary-menu__categories a {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.primary-menu__icon {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--dh-blue);
}

.menu-item-has-children .sub-menu {
	display: none;
}

.menu-item-has-children.is-open > .sub-menu {
	display: block;
}

/* ——— Brand hero ——— */
.brand-hero {
	position: relative;
	overflow: hidden;
	min-height: min(35vh, 650px);
	display: flex;
	align-items: flex-end;
	color: #fff;
	background: #0a2744;
}

.brand-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.brand-hero__bg--fallback {
	background:
		radial-gradient(ellipse 70% 60% at 70% 40%, rgba(26, 140, 255, 0.35), transparent 55%),
		linear-gradient(135deg, #0a2744 0%, #0d3a5c 45%, #145a8a 100%);
}

.brand-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(8, 28, 52, 0.88) 0%, rgba(8, 28, 52, 0.55) 48%, rgba(8, 28, 52, 0.28) 100%),
		linear-gradient(to top, rgba(8, 28, 52, 0.72) 0%, transparent 42%);
}

.brand-hero__content {
	position: relative;
	z-index: 1;
	width: min(100% - 2rem, var(--dh-container));
	margin: 0 auto;
	padding: calc(var(--dh-header-h) + 3rem) 0 4.5rem;
	text-align: right;
}

.brand-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(1.85rem, 4.8vw, 3.15rem);
	line-height: 1.25;
	letter-spacing: -0.03em;
	max-width: 28ch;
	text-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
}

.brand-hero__text {
	margin: 0 0 1.5rem;
	max-width: 52ch;
	font-size: clamp(0.98rem, 2vw, 1.12rem);
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.88);
}

.brand-hero__cta {
	padding: 0.85rem 1.45rem;
	border-radius: 12px;
	font-size: 1rem;
}

.brand-hero__crumbs {
	margin-bottom: 0.85rem;
}

.brand-hero__crumbs .breadcrumbs {
	padding: 0;
}

.brand-hero__crumbs .breadcrumbs__list,
.brand-hero__crumbs .breadcrumbs__link,
.brand-hero__crumbs .breadcrumbs__current {
	color: rgba(255, 255, 255, 0.78);
}

.brand-hero__crumbs .breadcrumbs__link:hover,
.brand-hero__crumbs .breadcrumbs__link:focus-visible {
	color: #fff;
}

.brand-hero__crumbs .breadcrumbs__item:not(:last-child)::after {
	opacity: 0.55;
}

.site-main--archive {
	padding-bottom: 2rem;
}

.landing--archive {
	padding-top: 2rem;
	padding-bottom: 1rem;
}

.landing--archive .news-stream {
	margin-bottom: 1.5rem;
}

.pagination {
	margin: 2rem 0 0.5rem;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	padding: 0.55rem 0.9rem;
	border-radius: 8px;
	border: 1px solid var(--dh-border);
	background: var(--dh-surface);
	color: var(--dh-text);
	font-family: var(--dh-font-fa);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: background var(--dh-transition), border-color var(--dh-transition), color var(--dh-transition);
}

.pagination a.page-numbers:hover,
.pagination a.page-numbers:focus-visible {
	border-color: var(--dh-blue);
	color: var(--dh-blue);
}

.pagination .page-numbers.current {
	background: var(--dh-blue);
	border-color: var(--dh-blue);
	color: #fff;
}

.pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
	min-width: auto;
	padding-inline: 0.35rem;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	padding-inline: 1rem;
}

.landing--archive .pagination {
	padding-top: 1.25rem;
	border-top: 1px solid var(--dh-border);
	margin-top: 1.75rem;
}

.sidebar-news .news-item {
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 0.65rem;
	padding: 0.65rem 0;
}

.sidebar-news .news-item:first-child {
	padding-top: 0;
}

.sidebar-news .news-item:last-child {
	padding-bottom: 0;
}

.widget--recent-cards {
	padding-bottom: 0.65rem;
}

/* ——— Topic bar ——— */
.topic-bar {
	background: var(--dh-surface);
	border-bottom: 1px solid var(--dh-border);
}

.topic-bar__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 64px;
	padding-block: 0.65rem;
}

.topic-bar__label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	flex-shrink: 0;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--dh-text);
}

.topic-bar__list {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.topic-bar__list::-webkit-scrollbar {
	display: none;
}

.topic-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	flex: 0 0 auto;
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	color: var(--dh-muted);
	font-size: 0.9rem;
	font-weight: 500;
	white-space: nowrap;
	transition: color var(--dh-transition), background var(--dh-transition);
}

.topic-chip__icon {
	display: inline-flex;
	color: currentColor;
}

.topic-chip:hover,
.topic-chip:focus-visible {
	color: var(--dh-blue);
	background: color-mix(in srgb, var(--dh-blue) 8%, transparent);
}

.topic-chip.is-active {
	color: var(--dh-blue);
	font-weight: 700;
	box-shadow: inset 0 -2px 0 var(--dh-blue);
	border-radius: 0;
	padding-inline: 0.5rem;
	background: transparent;
}

/* ——— Hero slider (legacy / inner pages if used) ——— */
.hero-slider {
	position: relative;
	overflow: hidden;
	background: #0b1f33;
	color: #fff;
	min-height: min(35vh, 650px);
}

.hero-slider__track {
	display: flex;
	direction: ltr; /* predictable slide math regardless of page RTL */
	transition: transform 0.5s ease;
	will-change: transform;
}

.hero-slide {
	position: relative;
	flex: 0 0 100%;
	min-height: min(35vh, 650px);
	display: flex;
	align-items: flex-end;
}

.hero-slide__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-slide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(8, 20, 35, 0.92) 10%, rgba(8, 20, 35, 0.35) 55%, rgba(8, 20, 35, 0.2));
}

.hero-slide__content {
	position: relative;
	z-index: 1;
	width: min(100% - 2rem, var(--dh-container));
	margin: 0 auto;
	padding: 2.5rem 0 3.5rem;
	direction: rtl;
	text-align: right;
}

.hero-slide__cat {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--dh-green);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
}

.hero-slide__title {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	max-width: 18ch;
	margin-bottom: 0.75rem;
}

.hero-slide__title a {
	color: #fff;
}

.hero-slide__title a:hover {
	color: #dbeafe;
}

.hero-slide__excerpt {
	max-width: 42ch;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 1.25rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.7rem 1.25rem;
	border-radius: 10px;
	border: none;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--dh-transition), transform var(--dh-transition);
}

.btn:active {
	transform: scale(0.98);
}

.btn--primary {
	background: var(--dh-blue);
	color: #fff;
}

.btn--primary:hover {
	background: var(--dh-blue-dark);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	color: var(--dh-blue);
	border: 1px solid var(--dh-blue);
}

.hero-slider__controls {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
}

.hero-slider__footer {
	position: absolute;
	bottom: 0;
	inset-inline: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	padding: 0 1rem 1rem;
}

.hero-slider__progress {
	width: min(220px, 50%);
	height: 3px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.25);
	overflow: hidden;
}

.hero-slider__progress span {
	display: block;
	height: 100%;
	width: 0%;
	background: #fff;
	transform-origin: right center;
}

.hero-slider__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	backdrop-filter: blur(6px);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background var(--dh-transition);
}

.hero-slider__nav:hover,
.hero-slider__nav:focus-visible {
	background: rgba(255, 255, 255, 0.3);
}

.hero-slider__nav--prev {
	inset-inline-start: 0.75rem;
}

.hero-slider__nav--next {
	inset-inline-end: 0.75rem;
}

.hero-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	padding: 0;
	transition: width var(--dh-transition), background var(--dh-transition);
}

.hero-dot.is-active {
	background: #fff;
	width: 28px;
	border-radius: 999px;
}

/* ——— Single-column news landing ——— */
.site-main--landing {
	padding-bottom: 2rem;
}

.landing {
	width: min(100% - 2rem, var(--dh-landing));
	margin: 0 auto;
	padding: 1.75rem 0 0;
}

.landing__topics {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.55rem;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 0.25rem 0 0.5rem;
	margin-bottom: 1.5rem;
	-webkit-overflow-scrolling: touch;
}

.landing__topics::-webkit-scrollbar {
	display: none;
}

.landing__topics .category-chip {
	flex: 0 0 auto;
	box-shadow: none;
}

.landing__section {
	padding: 0 0 2.75rem;
	border-bottom: 1px solid var(--dh-border);
	margin-bottom: 2.75rem;
}

.landing__section:last-child,
.landing__section--newsletter {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.landing__header {
	margin-bottom: 1.35rem;
}

.landing__header--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
}

.landing__title {
	font-size: clamp(1.35rem, 3vw, 1.7rem);
	margin: 0;
	letter-spacing: -0.02em;
}

.landing__lead {
	margin: 0.4rem 0 0;
	color: var(--dh-muted);
	font-size: 0.95rem;
}

.landing__more {
	flex-shrink: 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--dh-blue);
	white-space: nowrap;
}

.news-stream {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.news-item {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 0.9rem;
	align-items: center;
	padding: 0.85rem 0;
}

.news-stream > .news-item:first-child {
	padding-top: 0.15rem;
}

.news-item--featured {
	grid-template-columns: 128px minmax(0, 1fr);
}

.news-item__media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	overflow: hidden;
	background: color-mix(in srgb, var(--dh-blue) 12%, var(--dh-border));
}

.news-item__media img,
.news-item__media .post-card__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-item__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.news-item__cat {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--dh-green);
	width: fit-content;
	letter-spacing: 0.01em;
}

.news-item__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

.news-item--featured .news-item__title {
	font-size: 1.08rem;
	line-height: 1.4;
}

.news-item__title a {
	color: var(--dh-text);
}

.news-item__title a:hover,
.news-item__title a:focus-visible {
	color: var(--dh-blue);
}

.news-item__excerpt {
	margin: 0;
	color: var(--dh-muted);
	font-size: 0.88rem;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-item__meta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.78rem;
	color: var(--dh-muted);
	margin: 0;
}

.news-item__meta-icon {
	flex-shrink: 0;
	opacity: 0.85;
}

.news-item__more {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	margin-top: 0.15rem;
	width: fit-content;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--dh-blue);
}

.news-item__more:hover,
.news-item__more:focus-visible {
	color: var(--dh-blue-dark);
}

.news-stream--compact {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.news-stream--compact .news-item {
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 0.75rem;
	padding: 0.7rem 0;
}

.news-stream--compact .news-item__excerpt,
.news-stream--compact .news-item__more {
	display: none;
}

.newsletter--landing {
	text-align: center;
}

/* ——— Sections ——— */
.section {
	padding: 3rem 0;
}

.section--tight {
	padding: 1.5rem 0 0.5rem;
}

.section--carousel {
	padding: 2rem 0;
}

.section__header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.section__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.section__title {
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	margin: 0;
}

.section__subtitle {
	color: var(--dh-muted);
	margin: 0.35rem 0 0;
	font-size: 0.95rem;
}

.category-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.category-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	background: var(--dh-surface);
	border: 1px solid var(--dh-border);
	color: var(--dh-text);
	font-weight: 500;
	font-size: 0.9rem;
	box-shadow: var(--dh-shadow);
}

.category-chip:hover {
	border-color: var(--dh-blue);
	color: var(--dh-blue);
}

/* ——— Post cards / grids ——— */
.posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

.post-card {
	background: var(--dh-surface);
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius);
	overflow: hidden;
	box-shadow: var(--dh-shadow);
	display: flex;
	flex-direction: column;
	transition: transform var(--dh-transition), box-shadow var(--dh-transition);
}

.post-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: color-mix(in srgb, var(--dh-blue) 12%, var(--dh-border));
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--dh-blue) 25%, #fff), color-mix(in srgb, var(--dh-green) 20%, #fff));
}

.post-card__body {
	padding: 1rem 1.1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	flex: 1;
}

.post-card__cat {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--dh-green);
	width: fit-content;
}

.post-card__title {
	font-size: 1.05rem;
	margin: 0;
}

.post-card__title a {
	color: var(--dh-text);
}

.post-card__title a:hover {
	color: var(--dh-blue);
}

.post-card__excerpt {
	color: var(--dh-muted);
	font-size: 0.92rem;
	margin: 0;
	flex: 1;
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.8rem;
	color: var(--dh-muted);
	margin-top: 0.35rem;
}

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

.popular-item {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 0.85rem;
	align-items: center;
	padding: 0.75rem;
	background: var(--dh-surface);
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius);
}

.popular-item__thumb {
	aspect-ratio: 1;
	border-radius: 8px;
	overflow: hidden;
	background: var(--dh-border);
}

.popular-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.popular-item__title {
	margin: 0 0 0.25rem;
	font-size: 0.95rem;
}

.popular-item__title a {
	color: var(--dh-text);
}

.popular-item__meta {
	font-size: 0.8rem;
	color: var(--dh-muted);
}

/* ——— Category carousels (tiles) ——— */
.post-carousel {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.5rem;
}

.post-carousel__viewport {
	overflow: hidden;
	min-width: 0;
}

.post-carousel__track {
	display: flex;
	direction: ltr; /* consistent scroll math; tiles keep RTL text */
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0.25rem 0.15rem 0.75rem;
}

.post-carousel__track::-webkit-scrollbar {
	display: none;
}

.post-carousel__item {
	flex: 0 0 min(78%, 280px);
	scroll-snap-align: start;
}

.post-carousel__nav {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--dh-border);
	background: var(--dh-surface);
	color: var(--dh-text);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--dh-shadow);
	flex-shrink: 0;
	transition: background var(--dh-transition), border-color var(--dh-transition), opacity var(--dh-transition);
}

.post-carousel__nav:hover,
.post-carousel__nav:focus-visible {
	border-color: var(--dh-blue);
	color: var(--dh-blue);
}

.post-carousel__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.tile-card {
	height: 100%;
	direction: rtl;
	background: var(--dh-surface);
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius);
	overflow: hidden;
	box-shadow: var(--dh-shadow);
	transition: transform var(--dh-transition), box-shadow var(--dh-transition);
}

.tile-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.tile-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.tile-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: color-mix(in srgb, var(--dh-blue) 12%, var(--dh-border));
}

.tile-card__media img,
.tile-card__media .post-card__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tile-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 0.9rem 1rem 1.05rem;
	flex: 1;
}

.tile-card__title {
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.45;
	color: var(--dh-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tile-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	font-size: 0.78rem;
	color: var(--dh-muted);
	margin-top: auto;
}

/* ——— Newsletter ——— */
.newsletter {
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--dh-blue) 92%, #000), color-mix(in srgb, var(--dh-blue) 70%, var(--dh-green)));
	color: #fff;
	border-radius: calc(var(--dh-radius) + 4px);
	padding: 2rem 1.5rem;
	text-align: center;
}

.newsletter h2 {
	color: #fff;
	margin-bottom: 0.5rem;
}

.newsletter p {
	color: rgba(255, 255, 255, 0.9);
	max-width: 40ch;
	margin-inline: auto;
}

.newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	max-width: 420px;
	margin: 1.25rem auto 0;
}

.newsletter-form input[type="email"] {
	padding: 0.85rem 1rem;
	border-radius: 10px;
	border: none;
	width: 100%;
}

.newsletter-form .btn {
	width: 100%;
}

/* ——— Layout with sidebar ——— */
.content-with-sidebar {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding: 2.5rem 0;
}

.sidebar .widget {
	background: var(--dh-surface);
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius);
	padding: 1.15rem;
	margin-bottom: 1rem;
	box-shadow: var(--dh-shadow);
}

.widget-title {
	font-size: 1rem;
	margin-bottom: 0.85rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid color-mix(in srgb, var(--dh-blue) 35%, transparent);
}

.sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar li + li {
	margin-top: 0.55rem;
	padding-top: 0.55rem;
	border-top: 1px solid var(--dh-border);
}

.sidebar a {
	color: var(--dh-text);
}

.popular-list__meta {
	display: block;
	font-size: 0.75rem;
	color: var(--dh-muted);
}

.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-form label {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--dh-border);
	border-radius: 8px;
	background: var(--dh-bg);
	color: var(--dh-text);
}

.search-form .search-submit {
	padding: 0.7rem 1rem;
	border: none;
	border-radius: 8px;
	background: var(--dh-blue);
	color: #fff;
	cursor: pointer;
	font-weight: 600;
}

/* ——— Single / page ——— */
.page-header {
	padding: 2rem 0 1rem;
}

.page-title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.page-subtitle {
	color: var(--dh-muted);
}

.single-hero {
	position: relative;
	overflow: hidden;
	min-height: min(35vh, 650px);
	display: flex;
	align-items: flex-end;
	color: #fff;
	background: #0a2744;
}

.single-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-hero__bg--fallback {
	background:
		radial-gradient(ellipse 70% 60% at 70% 40%, rgba(26, 140, 255, 0.35), transparent 55%),
		linear-gradient(135deg, #0a2744 0%, #0d3a5c 45%, #145a8a 100%);
}

.single-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(8, 28, 52, 0.88) 0%, rgba(8, 28, 52, 0.55) 48%, rgba(8, 28, 52, 0.28) 100%),
		linear-gradient(to top, rgba(8, 28, 52, 0.72) 0%, transparent 42%);
}

.single-hero__content {
	position: relative;
	z-index: 1;
	width: min(100% - 2rem, var(--dh-container));
	margin: 0 auto;
	padding: calc(var(--dh-header-h) + 2.5rem) 0 3rem;
}

.single-hero__title {
	margin: 0;
	font-size: clamp(1.6rem, 3.5vw, 2.5rem);
	line-height: 1.25;
	letter-spacing: -0.02em;
	max-width: min(42rem, 100%);
	text-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	align-items: center;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9rem;
	margin-top: 0.85rem;
}

.entry-meta__author {
	color: #fff;
	font-weight: 600;
}

.entry-meta__author:hover,
.entry-meta__author:focus-visible {
	color: #dbeafe;
}

.entry-content-wrap {
	padding: 2rem 0 3rem;
}

.entry-content {
	max-width: 720px;
	font-size: 1.05rem;
	line-height: 2;
}

.entry-content > p {
	text-align: justify;
	text-justify: inter-word;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.6em;
	text-align: right;
}

.entry-content img {
	border-radius: 10px;
	margin: 1.25rem 0;
}

.entry-content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border-inline-start: 4px solid var(--dh-blue);
	background: color-mix(in srgb, var(--dh-blue) 6%, var(--dh-surface));
	border-radius: 0 10px 10px 0;
	text-align: right;
}


/* Quick Answer (n8n / ACF) */
.quick-answer {
	margin: 0 0 1.5rem;
	padding: 1rem 1.15rem 1.1rem;
	border-radius: var(--dh-radius);
	border: 1px solid color-mix(in srgb, var(--dh-green) 28%, var(--dh-border));
	background: color-mix(in srgb, var(--dh-green) 8%, var(--dh-surface));
	border-inline-start: 4px solid var(--dh-green);
}

.quick-answer__label {
	display: inline-block;
	margin-bottom: 0.45rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--dh-green);
}

.quick-answer__text {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.85;
	color: var(--dh-text);
	text-align: justify;
	text-justify: inter-word;
}

@media (max-width: 767px) {
	.quick-answer {
		padding: 0.9rem 1rem 1rem;
	}

	.quick-answer__text {
		font-size: 0.98rem;
		line-height: 1.8;
		text-align: right;
	}
}
.faq-accordion {
	margin: 2rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.faq-item--accordion {
	border: 1px solid var(--dh-border);
	border-radius: 12px;
	background: var(--dh-surface);
	overflow: hidden;
	transition: border-color var(--dh-transition), box-shadow var(--dh-transition);
}

.faq-item--accordion.is-open {
	border-color: color-mix(in srgb, var(--dh-blue) 35%, var(--dh-border));
	box-shadow: 0 8px 24px color-mix(in srgb, var(--dh-blue) 8%, transparent);
}

.faq-question__toggle {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.15rem;
	border: none;
	background: transparent;
	text-align: right;
	font: inherit;
	font-weight: 600;
	line-height: 1.65;
	color: var(--dh-text);
	cursor: pointer;
}

.faq-question__toggle strong {
	font-weight: inherit;
}

.faq-question__toggle::after {
	content: "";
	flex-shrink: 0;
	width: 0.55rem;
	height: 0.55rem;
	margin-top: 0.45rem;
	border-inline-end: 2px solid currentColor;
	border-block-end: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--dh-transition);
}

.faq-item--accordion.is-open .faq-question__toggle::after {
	transform: rotate(-135deg);
	margin-top: 0.65rem;
}

.faq-item--accordion .faq-answer {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	margin: 0;
	padding: 0 1.15rem;
	text-align: justify;
	text-justify: inter-word;
	transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.faq-item--accordion.is-open .faq-answer {
	max-height: 24rem;
	opacity: 1;
	padding: 0 1.15rem 1.15rem;
}

.related-posts {
	padding: 0 0 3rem;
}

/* ——— Comments ——— */
.comments-area {
	margin: 2.5rem 0 1rem;
	padding-top: 2rem;
	border-top: 1px solid var(--dh-border);
	position: relative;
	font-family: var(--dh-font-fa);
}

.comments-area input,
.comments-area textarea,
.comments-area button,
.comments-area select,
.comments-area label,
.comments-area .comment-reply-title,
.comments-area .comments-title,
.comments-area .btn {
	font-family: var(--dh-font-fa);
}

.comments-title {
	font-size: 1.25rem;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0;
}

.comment-list .comment {
	padding: 1rem 0;
	border-bottom: 1px solid var(--dh-border);
}

.comment-form p {
	margin-bottom: 1rem;
}

.comment-form label {
	display: inline-block;
	margin-bottom: 0.35rem;
	font-weight: 500;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--dh-border);
	border-radius: 10px;
	background: var(--dh-surface);
	color: var(--dh-text);
	font-family: var(--dh-font-fa);
	font-size: 1rem;
	line-height: 1.5;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.comment-form-cookies-consent input {
	margin-top: 0.35rem;
	width: auto;
}

.dh-as {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.news-stream--related {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.news-stream--related .news-item {
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 0.75rem;
	padding: 0.7rem 0;
}

/* ——— Archive list ——— */
.archive-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.archive-item {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	padding: 1rem;
	background: var(--dh-surface);
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius);
}

.archive-item__media {
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	background: var(--dh-border);
}

.archive-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ——— 404 / empty ——— */
.empty-state,
.error-404 {
	text-align: center;
	padding: 4rem 1rem;
	max-width: 520px;
	margin: 0 auto;
}

.error-404__code {
	font-family: var(--dh-font-en);
	font-size: clamp(4rem, 12vw, 7rem);
	font-weight: 700;
	color: var(--dh-blue);
	line-height: 1;
	margin: 0 0 0.5rem;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 1.5rem;
}

/* ——— Footer newsletter ——— */
.footer-newsletter {
	background: var(--dh-bg);
	padding: 2.5rem 0;
	margin-top: 2rem;
}

.newsletter--footer {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	padding: 2.5rem 1.5rem;
	box-shadow: 0 20px 50px rgba(10, 95, 191, 0.28);
}

.newsletter--footer::before {
	content: "";
	position: absolute;
	inset: auto -20% -40% auto;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	pointer-events: none;
}

.newsletter-notice {
	max-width: 420px;
	margin: 1rem auto 0;
	padding: 0.65rem 0.9rem;
	border-radius: 10px;
	font-size: 0.92rem;
	font-weight: 500;
}

.newsletter-notice--success {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.newsletter-notice--info {
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.95);
}

.newsletter-notice--error {
	background: rgba(220, 53, 69, 0.85);
	color: #fff;
}

/* ——— Footer ——— */
.site-footer {
	background: #0b1f33;
	color: rgba(255, 255, 255, 0.85);
	padding: 0 0 1.5rem;
	margin-top: 0;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
	color: #fff;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
}

.footer-widget .widget-title {
	color: #fff;
	border-bottom-color: color-mix(in srgb, var(--dh-blue) 50%, transparent);
}

.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li + li {
	margin-top: 0.45rem;
}

.footer-bottom {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.9rem;
	text-align: center;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin: 2rem 0;
}

.nav-links a,
.nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	padding: 0.55rem 0.9rem;
	border-radius: 8px;
	border: 1px solid var(--dh-border);
	background: var(--dh-surface);
	color: var(--dh-text);
	font-family: var(--dh-font-fa);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: background var(--dh-transition), border-color var(--dh-transition), color var(--dh-transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
	border-color: var(--dh-blue);
	color: var(--dh-blue);
}

.nav-links .current {
	background: var(--dh-blue);
	border-color: var(--dh-blue);
	color: #fff;
}

/* ——— Tablet ——— */
@media (min-width: 768px) {
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.popular-row {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-carousel__item {
		flex-basis: min(46%, 300px);
	}

	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.news-stream--related {
		grid-template-columns: 1fr 1fr;
		column-gap: 1.5rem;
	}

	.brand-hero,
	.single-hero,
	.hero-slider,
	.hero-slide {
		min-height: min(65vh, 650px);
	}

	.archive-item {
		grid-template-columns: 220px 1fr;
		align-items: center;
	}

	.archive-item__media {
		aspect-ratio: 4 / 3;
	}

	.newsletter-form {
		flex-direction: row;
	}

	.newsletter-form .btn {
		width: auto;
		white-space: nowrap;
	}

	.content-with-sidebar {
		grid-template-columns: minmax(0, 1fr) 280px;
		align-items: start;
	}
}

/* ——— Desktop ——— */
@media (min-width: 1024px) {
	.menu-toggle {
		display: none;
	}

	.primary-nav {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		padding: 0;
		border: none;
		background: transparent;
		overflow: visible;
		max-height: none;
	}

	.primary-menu {
		flex-direction: row;
		align-items: center;
		gap: 0.15rem;
	}

	.primary-menu a {
		padding: 0.45rem 0.75rem;
		font-size: 0.95rem;
	}

	.primary-menu__toggle {
		width: auto;
		padding: 0.45rem 0.75rem;
		font-size: 0.95rem;
	}

	.menu-item-has-children {
		position: relative;
	}

	.menu-item-has-children .sub-menu {
		display: block;
		position: absolute;
		top: calc(100% + 0.35rem);
		inset-inline-start: 0;
		min-width: 15.5rem;
		padding: 0.45rem;
		border: 1px solid var(--dh-border);
		border-radius: 12px;
		background: var(--dh-surface);
		box-shadow: var(--dh-shadow);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity var(--dh-transition), transform var(--dh-transition), visibility var(--dh-transition);
		z-index: 30;
	}

	.menu-item-has-children:hover > .sub-menu,
	.menu-item-has-children:focus-within > .sub-menu,
	.menu-item-has-children.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.primary-menu__categories .menu-item + .menu-item {
		margin-top: 0.15rem;
	}

	.primary-menu__categories a {
		padding: 0.55rem 0.75rem;
	}

	.site-header__inner {
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
	}

	.primary-nav {
		justify-self: center;
	}

	.posts-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.popular-row {
		grid-template-columns: repeat(3, 1fr);
	}

	.post-carousel__item {
		flex-basis: min(31%, 300px);
	}

	.footer-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.brand-hero__content {
		padding-bottom: 5.5rem;
	}

	.news-item {
		grid-template-columns: 200px minmax(0, 1fr);
		gap: 1.15rem;
		padding: 1rem 0;
	}

	.news-stream--compact {
		grid-template-columns: 1fr 1fr;
		column-gap: 2rem;
	}

	.news-stream--compact .news-item {
		grid-template-columns: 100px minmax(0, 1fr);
	}

	.header-subscribe,
	.header-date {
		display: inline-flex;
	}

	.site-branding .custom-logo,
	.site-branding .site-logo {
		height: 46px;
		width: 46px;
	}

	.news-stream--related .news-item {
		grid-template-columns: 100px minmax(0, 1fr);
	}
}
