/*
Theme Name: Omranly
Theme URI: https://omranly.com/
Author: Omranly
Author URI: https://omranly.com/
Description: Lightweight RTL editorial theme for عمراني, focused on Saudi projects, urban development analysis, performance, accessibility, SEO, and AdSense-ready presentation.
Version: 3.1.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: najd-network
Domain Path: /languages
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, rtl-language-support, custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready
*/

:root {
	--najd-bg: #ffffff;
	--najd-surface: #f8fafc;
	--najd-ink: #101418;
	--najd-ink-soft: #2b3138;
	--najd-muted: #6b7280;
	--najd-line: #e5e7eb;
	--najd-line-strong: #cfd5dc;
	--najd-accent: #8d1f2d;
	--najd-accent-dark: #661620;
	--najd-breaking: #b91c1c;
	--najd-link: #111827;
	--najd-focus: #0b57d0;
	--najd-container: 1280px;
	--najd-gutter: clamp(16px, 2vw, 28px);
	--najd-font: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
	--najd-transition: 180ms ease;
}

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

html {
	direction: rtl;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--najd-bg);
	color: var(--najd-ink);
	font-family: var(--najd-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
	font-family: var(--najd-font);
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

iframe {
	max-width: 100%;
}

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

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: var(--najd-link);
	text-decoration: none;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--najd-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--najd-focus) 36%, transparent);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin-block-start: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--najd-ink);
	font-weight: 700;
	line-height: 1.35;
}

ul,
ol {
	padding-inline-start: 1.4rem;
}

::selection {
	background: #f3d7dc;
	color: var(--najd-ink);
}

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

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	inset-inline-start: 8px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: #fff;
	color: #000;
	border: 1px solid var(--najd-line-strong);
	white-space: normal;
}

.najd-container {
	width: min(calc(100% - (var(--najd-gutter) * 2)), var(--najd-container));
	margin-inline: auto;
}

/* Header */
.najd-breaking-bar {
	background: var(--najd-ink);
	color: #fff;
	border-bottom: 1px solid #22272d;
}

.najd-breaking-bar__inner {
	display: flex;
	align-items: center;
	min-height: 38px;
	gap: 14px;
	overflow: hidden;
}

.najd-breaking-bar__label {
	flex: 0 0 auto;
	padding-inline-start: 12px;
	border-inline-start: 3px solid var(--najd-breaking);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.najd-breaking-bar__items {
	display: flex;
	align-items: center;
	gap: 22px;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	font-size: 0.86rem;
}

.najd-breaking-bar a {
	color: #fff;
}

.najd-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.985);
	border-bottom: 1px solid var(--najd-line);
	backdrop-filter: saturate(120%) blur(8px);
}

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

.najd-header-main {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	min-height: 76px;
}

.najd-branding {
	display: flex;
	align-items: center;
	min-width: max-content;
}

.najd-branding .custom-logo {
	width: auto;
	max-height: 48px;
}

.najd-site-title {
	margin: 0;
	font-size: 1.55rem;
	font-weight: 700;
}

.najd-primary-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.najd-primary-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 76px;
	border-bottom: 2px solid transparent;
	font-size: 0.94rem;
	font-weight: 600;
}

.najd-primary-nav .current-menu-item > a,
.najd-primary-nav a:hover {
	border-bottom-color: var(--najd-accent);
	color: var(--najd-ink);
}

.najd-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.najd-icon-button {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	color: var(--najd-ink);
	border: 1px solid var(--najd-line);
	border-radius: 0;
	cursor: pointer;
}

.najd-icon-button:hover {
	border-color: var(--najd-ink);
}

/* Shared editorial primitives */
.najd-section-heading {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-block-end: 18px;
}

.najd-section-heading h2 {
	flex: 0 0 auto;
	margin: 0;
	font-size: 1.28rem;
	font-weight: 700;
}

.najd-section-heading__line {
	display: block;
	width: 100%;
	height: 1px;
	background: var(--najd-line);
}

.najd-section-heading--compact {
	margin-block-end: 14px;
}

.najd-kicker {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding-inline-start: 9px;
	border-inline-start: 3px solid currentColor;
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.2;
}

.najd-kicker:hover {
	color: #fff;
	text-decoration: underline;
}

.najd-kicker--dark {
	color: var(--najd-accent);
}

.najd-kicker--dark:hover {
	color: var(--najd-accent-dark);
}

.najd-meta {
	color: var(--najd-muted);
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.4;
}

.najd-meta--inverse {
	color: #e5e7eb;
}

/* Homepage hero grid */
.najd-home-hero {
	padding-block: 28px 36px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-hero-grid {
	display: grid;
	grid-template-columns: minmax(270px, 0.72fr) minmax(300px, 0.82fr) minmax(0, 1.58fr);
	grid-template-areas: "trend support lead";
	gap: clamp(22px, 2vw, 32px);
	align-items: start;
}

.najd-lead {
	grid-area: lead;
	min-width: 0;
}

.najd-support-column {
	grid-area: support;
	min-width: 0;
	padding-inline: 24px;
	border-inline: 1px solid var(--najd-line);
}

.najd-trending {
	grid-area: trend;
	min-width: 0;
}

/* Slider */
.najd-slider {
	position: relative;
	background: #171a1f;
	overflow: hidden;
}

.najd-slider__stage {
	position: relative;
	aspect-ratio: 16 / 10;
	min-height: 480px;
}

.najd-slide {
	position: absolute;
	inset: 0;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 420ms ease, visibility 420ms ease;
}

.najd-slide.is-active {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.najd-slide__media,
.najd-slide__media img,
.najd-slide__media-fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.najd-slide__media {
	display: block;
}

.najd-slide__media img {
	object-fit: cover;
	object-position: center;
}

.najd-slide__media-fallback {
	background: linear-gradient(135deg, #22272d, #111418);
}

.najd-slide__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(6, 8, 10, 0.06) 15%,
		rgba(6, 8, 10, 0.18) 45%,
		rgba(6, 8, 10, 0.9) 100%
	);
	pointer-events: none;
}

.najd-slide__content {
	position: absolute;
	z-index: 2;
	inset-inline: clamp(20px, 4vw, 42px);
	inset-block-end: clamp(72px, 8vw, 96px);
	display: grid;
	gap: 14px;
	max-width: 900px;
}

.najd-slide__title {
	max-width: 19ch;
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 3.6vw, 3.55rem);
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -0.025em;
}

.najd-slide__title a {
	color: inherit;
}

.najd-slide__title a:hover {
	color: #fff;
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.najd-slider__controls {
	position: absolute;
	z-index: 5;
	inset-inline: clamp(20px, 4vw, 42px);
	inset-block-end: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}

.najd-slider__button,
.najd-slider__dot {
	pointer-events: auto;
}

.najd-slider__button {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: rgba(13, 17, 23, 0.52);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.36);
	border-radius: 0;
	cursor: pointer;
	transition: background var(--najd-transition), border-color var(--najd-transition);
}

.najd-slider__button:hover {
	background: #fff;
	color: #111;
	border-color: #fff;
}

.najd-slider__button span {
	font-family: Arial, sans-serif;
	font-size: 1.55rem;
	line-height: 1;
}

.najd-slider__dots {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-inline: auto;
	padding-inline: 16px;
}

.najd-slider__dot {
	width: 26px;
	height: 3px;
	padding: 0;
	background: rgba(255, 255, 255, 0.44);
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background var(--najd-transition), width var(--najd-transition);
}

.najd-slider__dot.is-active {
	width: 42px;
	background: #fff;
}

/* Supporting feed */
.najd-support-feed__list {
	display: grid;
}

.najd-support-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 104px;
	gap: 14px;
	align-items: start;
	padding-block: 16px;
	border-top: 1px solid var(--najd-line);
}

.najd-support-card:first-child {
	padding-block-start: 0;
	border-top: 0;
}

.najd-support-card__content {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.najd-support-card__title {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.55;
}

.najd-support-card__title a:hover,
.najd-trending__title a:hover,
.najd-opinion-card__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.najd-support-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--najd-surface);
}

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

/* Opinion */
.najd-opinion {
	margin-block-start: 26px;
	padding-block-start: 22px;
	border-top: 2px solid var(--najd-ink);
}

.najd-opinion__list {
	display: grid;
	gap: 0;
}

.najd-opinion-card {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding-block: 13px;
	border-top: 1px solid var(--najd-line);
}

.najd-opinion-card:first-child {
	border-top: 0;
}

.najd-opinion-card__avatar,
.najd-opinion-card__avatar img {
	width: 48px;
	height: 48px;
}

.najd-opinion-card__avatar {
	display: block;
	overflow: hidden;
	border: 1px solid var(--najd-line-strong);
	border-radius: 0;
}

.najd-opinion-card__avatar img {
	object-fit: cover;
}

.najd-opinion-card__title {
	margin: 0 0 4px;
	font-size: 0.96rem;
	line-height: 1.5;
}

.najd-opinion-card__author {
	margin: 0;
	color: var(--najd-muted);
	font-size: 0.78rem;
}

/* Trending */
.najd-trending__list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: najd-trend;
}

.najd-trending__item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding-block: 15px;
	border-top: 1px solid var(--najd-line);
}

.najd-trending__item:first-child {
	padding-block-start: 0;
	border-top: 0;
}

.najd-trending__rank {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--najd-accent);
}

.najd-trending__content {
	display: grid;
	gap: 7px;
}

.najd-trending__title {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.55;
}


/* Advertising */
.najd-ad-slot {
	clear: both;
	width: 100%;
	margin-block: 24px;
	text-align: center;
}

.najd-ad-slot--header {
	min-height: 90px;
}

.najd-ad-slot--sidebar {
	position: sticky;
	top: 108px;
	margin-block-start: 28px;
	padding-block-start: 20px;
	border-top: 1px solid var(--najd-line);
}

.najd-ad-widget {
	margin: 0;
}

/* Generic editorial cards and archives */
.najd-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.najd-card {
	min-width: 0;
}

.najd-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	margin-block-end: 13px;
	background: var(--najd-surface);
}

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

.najd-card__title {
	margin: 8px 0;
	font-size: 1.18rem;
	line-height: 1.5;
}

/* Single article */
.najd-article-shell {
	display: grid;
	grid-template-columns: minmax(0, 820px) minmax(260px, 320px);
	gap: clamp(32px, 6vw, 72px);
	align-items: start;
	padding-block: 42px 72px;
}

.najd-article-header {
	padding-block-end: 26px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-article-title {
	max-width: 18ch;
	margin: 10px 0 18px;
	font-size: clamp(2.2rem, 4.7vw, 4.8rem);
	line-height: 1.25;
	letter-spacing: -0.03em;
}

.najd-article-deck {
	max-width: 66ch;
	margin: 0 0 18px;
	color: var(--najd-ink-soft);
	font-size: clamp(1.08rem, 1.8vw, 1.34rem);
	line-height: 1.8;
}

.najd-article-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	color: var(--najd-muted);
	font-size: 0.9rem;
}

.najd-article-featured {
	margin-block: 26px 30px;
}

.najd-article-featured img {
	width: 100%;
	height: auto;
}

.najd-article-content {
	font-size: 1.12rem;
	line-height: 2;
}

.najd-article-content > * {
	max-width: 100%;
}

.najd-article-content p,
.najd-article-content ul,
.najd-article-content ol,
.najd-article-content blockquote {
	margin-block: 0 1.45em;
}

.najd-article-content h2 {
	margin-block: 1.7em 0.7em;
	font-size: 1.8rem;
}

.najd-article-content h3 {
	margin-block: 1.5em 0.65em;
	font-size: 1.42rem;
}

.najd-article-content blockquote {
	padding: 18px 22px;
	border-inline-start: 4px solid var(--najd-accent);
	background: var(--najd-surface);
	font-size: 1.08em;
}

.najd-article-content a {
	color: var(--najd-accent-dark);
	text-decoration: underline;
}

.najd-article-content figure {
	margin-inline: 0;
}

.najd-article-content figcaption {
	margin-block-start: 8px;
	color: var(--najd-muted);
	font-size: 0.82rem;
}

/* Search and forms */
.najd-search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	border: 1px solid var(--najd-line-strong);
}

.najd-search-form input[type="search"] {
	min-width: 0;
	min-height: 48px;
	padding-inline: 14px;
	border: 0;
}

.najd-search-form button {
	min-width: 104px;
	padding-inline: 18px;
	background: var(--najd-ink);
	color: #fff;
	border: 0;
	font-weight: 700;
	cursor: pointer;
}

/* Footer */
.najd-site-footer {
	margin-block-start: 64px;
	background: #111418;
	color: #d7dce2;
	border-top: 5px solid var(--najd-accent);
}

.najd-footer-main {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-block: 52px 42px;
}

.najd-site-footer h2,
.najd-site-footer h3,
.najd-site-footer .najd-widget__title {
	color: #fff;
	font-size: 1rem;
}

.najd-site-footer p,
.najd-site-footer li,
.najd-site-footer a {
	color: #bec5cd;
	font-size: 0.9rem;
}

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

.najd-site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.najd-site-footer li + li {
	margin-block-start: 8px;
}

.najd-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 18px;
	border-top: 1px solid #2b3036;
	font-size: 0.82rem;
}

/* WordPress core alignment */
.alignwide {
	max-width: min(100%, 1100px);
	margin-inline: auto;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.wp-caption,
.gallery-caption {
	max-width: 100%;
}

.sticky {
	position: relative;
}

.bypostauthor {
	position: relative;
}

/* Tablet */
@media (max-width: 1180px) {
	.najd-hero-grid {
		grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.45fr);
		grid-template-areas:
			"support lead"
			"trend trend";
	}

	.najd-support-column {
		padding-inline: 0 0;
		padding-inline-end: 22px;
		border-inline-start: 0;
	}

	.najd-trending {
		padding-block-start: 26px;
		border-top: 1px solid var(--najd-line);
	}

	.najd-trending__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 30px;
	}

	.najd-trending__item:nth-child(2) {
		padding-block-start: 0;
		border-top: 0;
	}

	.najd-ad-slot--sidebar {
		position: static;
	}

	.najd-primary-nav {
		display: none;
	}

	.najd-header-main {
		grid-template-columns: auto 1fr auto;
	}

	.najd-article-shell {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 36px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	:root {
		--najd-gutter: 14px;
	}

	.admin-bar .najd-site-header {
		top: 46px;
	}

	.najd-breaking-bar__inner {
		min-height: 34px;
	}

	.najd-breaking-bar__items {
		font-size: 0.78rem;
	}

	.najd-header-main {
		min-height: 64px;
		gap: 12px;
	}

	.najd-branding .custom-logo {
		max-height: 40px;
	}

	.najd-home-hero {
		padding-block: 16px 28px;
	}

	.najd-hero-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"lead"
			"support"
			"trend";
		gap: 28px;
	}

	.najd-support-column {
		padding: 0;
		border: 0;
	}

	.najd-slider__stage {
		aspect-ratio: 4 / 5;
		min-height: 0;
	}

	.najd-slide__content {
		inset-inline: 18px;
		inset-block-end: 82px;
		gap: 11px;
	}

	.najd-slide__title {
		max-width: 100%;
		font-size: clamp(1.7rem, 8vw, 2.45rem);
	}

	.najd-slider__controls {
		inset-inline: 18px;
		inset-block-end: 18px;
	}

	.najd-slider__button {
		width: 36px;
		height: 36px;
	}

	.najd-slider__dot {
		width: 18px;
	}

	.najd-slider__dot.is-active {
		width: 30px;
	}

	.najd-support-card {
		grid-template-columns: minmax(0, 1fr) 92px;
	}

	.najd-trending__list {
		grid-template-columns: 1fr;
	}

	.najd-trending__item:nth-child(2) {
		padding-block-start: 15px;
		border-top: 1px solid var(--najd-line);
	}

	.najd-news-grid {
		grid-template-columns: 1fr;
	}

	.najd-article-shell {
		grid-template-columns: 1fr;
		padding-block: 26px 48px;
	}

	.najd-article-title {
		font-size: clamp(2rem, 10vw, 3rem);
	}

	.najd-footer-main {
		grid-template-columns: 1fr 1fr;
		gap: 28px 20px;
		padding-block: 38px 32px;
	}

	.najd-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.najd-footer-main {
		grid-template-columns: 1fr;
	}

	.najd-support-card {
		grid-template-columns: minmax(0, 1fr) 84px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* ==========================================================
   Complete theme layouts and interactive editorial surfaces
   ========================================================== */

[hidden] {
	display: none !important;
}

.najd-main {
	min-height: 55vh;
}

/* Breaking navigation normalization */
.najd-breaking-bar__viewport {
	min-width: 0;
	overflow: hidden;
}

.najd-breaking-menu {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.najd-breaking-menu li {
	margin: 0;
}

.najd-breaking-bar__items > a,
.najd-breaking-menu a {
	position: relative;
	flex: 0 0 auto;
}

.najd-breaking-bar__items > a + a::before,
.najd-breaking-menu li + li a::before {
	content: "";
	position: absolute;
	inset-inline-start: -12px;
	top: 50%;
	width: 3px;
	height: 3px;
	background: #6b7280;
	transform: translateY(-50%);
}

/* Desktop dropdowns */
.najd-primary-menu > li {
	position: relative;
}

.najd-primary-menu .sub-menu {
	position: absolute;
	z-index: 20;
	top: calc(100% - 1px);
	inset-inline-start: 0;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 10px 0;
	background: #fff;
	border: 1px solid var(--najd-line);
	list-style: none;
}

.najd-primary-menu li:hover > .sub-menu,
.najd-primary-menu li:focus-within > .sub-menu {
	display: block;
}

.najd-primary-menu .sub-menu a {
	display: block;
	min-height: 0;
	padding: 10px 16px;
	border: 0;
	white-space: nowrap;
}

.najd-primary-menu .sub-menu a:hover,
.najd-primary-menu .sub-menu .current-menu-item > a {
	background: var(--najd-surface);
	color: var(--najd-accent-dark);
}

/* Mega menu */
.najd-mega-menu {
	position: absolute;
	z-index: 50;
	top: 100%;
	inset-inline: 0;
	background: #fff;
	border-top: 1px solid var(--najd-line);
	border-bottom: 1px solid var(--najd-line-strong);
}

.najd-mega-menu__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
	gap: 56px;
	padding-block: 34px 40px;
}

.najd-mega-menu__eyebrow {
	margin: 0 0 16px;
	color: var(--najd-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.najd-mega-menu__links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--najd-line);
	border-inline-start: 1px solid var(--najd-line);
}

.najd-mega-menu__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 70px;
	padding: 14px 16px;
	border-inline-end: 1px solid var(--najd-line);
	border-bottom: 1px solid var(--najd-line);
	font-weight: 700;
}

.najd-mega-menu__links a:hover {
	background: var(--najd-surface);
	color: var(--najd-accent-dark);
}

.najd-mega-menu__links small {
	color: var(--najd-muted);
	font-size: 0.72rem;
	font-weight: 500;
}

.najd-mega-menu__stories {
	border-top: 2px solid var(--najd-ink);
}

.najd-mega-menu__stories article {
	padding-block: 11px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-mega-menu__stories a {
	display: block;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.55;
}

.najd-mega-menu__stories time {
	display: block;
	margin-block-start: 4px;
	color: var(--najd-muted);
	font-size: 0.75rem;
}

/* Search dialog */
body.najd-search-open {
	overflow: hidden;
}

.najd-search-overlay {
	position: fixed;
	z-index: 10000;
	inset: 0;
}

.najd-search-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 11, 14, 0.72);
}

.najd-search-overlay__panel {
	position: relative;
	width: min(calc(100% - 32px), 760px);
	margin: min(14vh, 120px) auto 0;
	padding: clamp(24px, 4vw, 42px);
	background: #fff;
	border-top: 5px solid var(--najd-accent);
}

.najd-search-overlay__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-block-end: 24px;
}

.najd-search-overlay__header h2 {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
}

/* Homepage category strips */
.najd-home-sections {
	padding-block: 48px 10px;
}

.najd-category-strip {
	padding-block: 30px 42px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-category-strip:first-child {
	padding-block-start: 0;
}

.najd-section-heading--link h2 a:hover {
	color: var(--najd-accent-dark);
}

.najd-section-more {
	flex: 0 0 auto;
	font-size: 0.82rem;
	font-weight: 700;
}

.najd-category-strip__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2vw, 28px);
}

.najd-card--feature {
	grid-row: span 2;
}

.najd-card--feature .najd-card__media {
	aspect-ratio: 16 / 10;
}

.najd-card--feature .najd-card__title {
	font-size: clamp(1.4rem, 2.2vw, 2rem);
	line-height: 1.42;
}

.najd-card__excerpt {
	margin: 8px 0 10px;
	color: var(--najd-muted);
	font-size: 0.92rem;
	line-height: 1.7;
}

/* Latest section */
.najd-home-latest {
	padding-block: 44px 70px;
}

.najd-home-latest__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: clamp(36px, 6vw, 72px);
	align-items: start;
}

.najd-home-sidebar {
	position: sticky;
	top: 116px;
}

.najd-latest-list,
.najd-archive-list {
	border-top: 2px solid var(--najd-ink);
}

.najd-horizontal-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 38%);
	gap: clamp(18px, 3vw, 32px);
	padding-block: 24px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-horizontal-card__body {
	display: grid;
	align-content: start;
	gap: 8px;
}

.najd-horizontal-card__title {
	margin: 0;
	font-size: clamp(1.18rem, 2vw, 1.55rem);
	line-height: 1.5;
}

.najd-horizontal-card__excerpt {
	margin: 0;
	color: var(--najd-muted);
	font-size: 0.9rem;
	line-height: 1.75;
}

.najd-horizontal-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--najd-surface);
}

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

/* Archives */
.najd-archive-shell {
	padding-block: 42px 72px;
}

.najd-archive-header {
	max-width: 920px;
	margin-block-end: 34px;
	padding-block-end: 24px;
	border-bottom: 2px solid var(--najd-ink);
}

.najd-archive-title {
	margin: 0;
	font-size: clamp(2.1rem, 5vw, 4.2rem);
	line-height: 1.22;
}

.najd-archive-description {
	max-width: 70ch;
	margin-block-start: 14px;
	color: var(--najd-muted);
}

.najd-archive-description p {
	margin: 0;
}

.najd-archive-header .najd-search-form {
	max-width: 720px;
	margin-block-start: 22px;
}

.najd-archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: clamp(36px, 6vw, 72px);
	align-items: start;
}

.najd-author-archive-header {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	margin-block-end: 38px;
	padding-block-end: 28px;
	border-bottom: 2px solid var(--najd-ink);
}

.najd-author-archive-header__avatar,
.najd-author-archive-header__avatar img {
	width: 96px;
	height: 96px;
}

.najd-author-archive-header__avatar {
	overflow: hidden;
	border: 1px solid var(--najd-line-strong);
	border-radius: 0;
}

.najd-author-archive-header__avatar img {
	object-fit: cover;
}

.najd-pagination {
	margin-block-start: 32px;
}

.najd-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.najd-pagination a,
.najd-pagination .current {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 10px;
	border: 1px solid var(--najd-line-strong);
}

.najd-pagination .current {
	background: var(--najd-ink);
	color: #fff;
	border-color: var(--najd-ink);
}

/* Article extensions */
.najd-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-block-end: 20px;
	color: var(--najd-muted);
	font-size: 0.78rem;
}

.najd-breadcrumbs a {
	color: var(--najd-muted);
}

.najd-breadcrumbs a:hover {
	color: var(--najd-accent-dark);
}

.najd-article-byline a {
	font-weight: 700;
}

.najd-article-featured figcaption {
	margin-block-start: 8px;
	color: var(--najd-muted);
	font-size: 0.8rem;
}

.najd-article-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-block: 0 28px;
	padding-block-end: 20px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-article-share__label {
	margin-inline-end: 5px;
	color: var(--najd-muted);
	font-size: 0.8rem;
	font-weight: 700;
}

.najd-article-share a {
	padding: 6px 9px;
	border: 1px solid var(--najd-line-strong);
	font-size: 0.76rem;
	font-weight: 700;
}

.najd-article-share a:hover {
	background: var(--najd-ink);
	color: #fff;
	border-color: var(--najd-ink);
}

.najd-article-content > .alignwide {
	width: min(1100px, calc(100vw - 32px));
	max-width: none;
	margin-inline-start: 50%;
	transform: translateX(50%);
}

.najd-ad-slot--article {
	margin-block: 34px;
	padding-block: 20px;
	border-block: 1px solid var(--najd-line);
}

.najd-article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-block-start: 32px;
	padding-block: 18px;
	border-block: 1px solid var(--najd-line);
	font-size: 0.82rem;
}

.najd-article-tags > span {
	font-weight: 700;
}

.najd-article-tags a {
	color: var(--najd-muted);
	text-decoration: underline;
}

.najd-page-links {
	margin-block: 28px;
}

.najd-article-sidebar {
	min-width: 0;
}

.najd-sidebar-trending {
	padding-block-start: 4px;
}

.najd-article-sidebar .najd-trending__item {
	grid-template-columns: 34px minmax(0, 1fr);
}

.najd-article-sidebar .najd-trending__rank {
	font-size: 1.35rem;
}

.najd-article-sidebar .najd-trending__title {
	font-size: 0.9rem;
}

.najd-author-box {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	margin-block: 46px 0;
	padding-block: 26px;
	border-block: 2px solid var(--najd-ink);
}

.najd-author-box__avatar,
.najd-author-box__avatar img {
	width: 88px;
	height: 88px;
}

.najd-author-box__avatar {
	overflow: hidden;
	border-radius: 0;
}

.najd-author-box__avatar img {
	object-fit: cover;
}

.najd-author-box__eyebrow {
	margin: 0 0 3px;
	color: var(--najd-accent);
	font-size: 0.76rem;
	font-weight: 700;
}

.najd-author-box h2 {
	margin: 0 0 7px;
	font-size: 1.25rem;
}

.najd-author-box p:last-child {
	margin: 0;
	color: var(--najd-muted);
	font-size: 0.9rem;
}

.najd-related {
	margin-block-start: 48px;
}

/* Comments */
.najd-comments-area {
	margin-block-start: 52px;
	padding-block-start: 30px;
	border-top: 2px solid var(--najd-ink);
}

.najd-comments-title {
	font-size: 1.35rem;
}

.najd-comment-list {
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
}

.najd-comment-list .comment {
	padding-block: 18px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-comment-list .children {
	margin-block-start: 16px;
	padding-inline-start: 28px;
	list-style: none;
	border-inline-start: 2px solid var(--najd-line);
}

.najd-comment-list .comment-meta {
	font-size: 0.8rem;
}

.comment-form label {
	display: block;
	margin-block-end: 5px;
	font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--najd-line-strong);
	border-radius: 0;
}

.comment-form input[type="submit"] {
	min-height: 46px;
	padding-inline: 20px;
	background: var(--najd-ink);
	color: #fff;
	border: 0;
	font-weight: 700;
	cursor: pointer;
}

/* Pages, empty and error states */
.najd-page-shell {
	max-width: 920px;
	padding-block: 48px 72px;
}

.najd-page-header {
	margin-block-end: 28px;
	padding-block-end: 22px;
	border-bottom: 2px solid var(--najd-ink);
}

.najd-page-header h1 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.najd-empty-state {
	padding-block: 52px;
	text-align: center;
}

.najd-empty-state h2 {
	margin-bottom: 8px;
}

.najd-empty-state p {
	color: var(--najd-muted);
}

.najd-error-page {
	padding-block: 80px 100px;
}

.najd-error-page__inner {
	max-width: 700px;
	margin-inline: auto;
	text-align: center;
}

.najd-error-page__code {
	margin: 0;
	color: var(--najd-accent);
	font-size: clamp(5rem, 18vw, 10rem);
	font-weight: 700;
	line-height: 0.9;
}

.najd-error-page h1 {
	margin-block: 20px 10px;
	font-size: clamp(2rem, 5vw, 3.4rem);
}

.najd-error-page .najd-search-form {
	margin-block: 30px;
}

.najd-text-link {
	font-weight: 700;
	text-decoration: underline;
}

/* Footer social grid */
.najd-social-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin-block-start: 22px;
	background: #30363d;
	border: 1px solid #30363d;
}

.najd-social-grid a {
	display: grid;
	place-items: center;
	min-height: 42px;
	padding: 8px 10px;
	background: #111418;
	font-size: 0.78rem;
	font-weight: 700;
}

.najd-footer-copyright {
	margin: 0;
}

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

/* Widget hygiene */
.najd-widget > :last-child {
	margin-bottom: 0;
}

.najd-widget img,
.najd-ad-slot iframe,
.najd-ad-slot ins {
	max-width: 100%;
}

/* Responsive completion */
@media (max-width: 1180px) {
	.najd-mega-menu__inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.najd-mega-menu__links {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.najd-category-strip__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.najd-card--feature {
		grid-column: span 2;
	}

	.najd-home-latest__layout,
	.najd-archive-layout {
		grid-template-columns: minmax(0, 1fr) 270px;
		gap: 36px;
	}
}

@media (max-width: 900px) {
	.najd-mega-menu {
		max-height: calc(100vh - 100px);
		overflow-y: auto;
	}

	.najd-mega-menu__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.najd-home-latest__layout,
	.najd-archive-layout {
		grid-template-columns: 1fr;
	}

	.najd-home-sidebar,
	.najd-article-sidebar {
		position: static;
	}

	.najd-article-sidebar {
		padding-block-start: 28px;
		border-top: 1px solid var(--najd-line);
	}
}

@media (max-width: 767px) {
	.najd-site-header {
		backdrop-filter: none;
	}

	.najd-breaking-bar__viewport {
		overflow-x: auto;
		scrollbar-width: none;
	}

	.najd-breaking-bar__viewport::-webkit-scrollbar {
		display: none;
	}

	.najd-breaking-bar__items,
	.najd-breaking-menu {
		width: max-content;
	}

	.najd-mega-menu__inner {
		padding-block: 22px 28px;
	}

	.najd-mega-menu__links {
		grid-template-columns: 1fr 1fr;
	}

	.najd-mega-menu__links a {
		min-height: 58px;
		padding: 10px 12px;
	}

	.najd-search-overlay__panel {
		margin-block-start: 64px;
	}

	.najd-category-strip__grid {
		grid-template-columns: 1fr 1fr;
	}

	.najd-card--feature {
		grid-column: 1 / -1;
	}

	.najd-home-sections {
		padding-block-start: 34px;
	}

	.najd-home-latest {
		padding-block: 34px 48px;
	}

	.najd-horizontal-card {
		grid-template-columns: minmax(0, 1fr) 120px;
		gap: 14px;
		padding-block: 18px;
	}

	.najd-horizontal-card__excerpt {
		display: none;
	}

	.najd-horizontal-card__title {
		font-size: 1.08rem;
	}

	.najd-archive-shell {
		padding-block: 28px 52px;
	}

	.najd-author-archive-header {
		grid-template-columns: 70px minmax(0, 1fr);
		gap: 16px;
	}

	.najd-author-archive-header__avatar,
	.najd-author-archive-header__avatar img {
		width: 70px;
		height: 70px;
	}

	.najd-article-share {
		gap: 6px;
	}

	.najd-article-share__label {
		width: 100%;
	}

	.najd-author-box {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 14px;
	}

	.najd-author-box__avatar,
	.najd-author-box__avatar img {
		width: 64px;
		height: 64px;
	}

	.najd-related .najd-news-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 520px) {
	.najd-category-strip__grid,
	.najd-related .najd-news-grid {
		grid-template-columns: 1fr;
	}

	.najd-card--feature {
		grid-column: auto;
	}

	.najd-horizontal-card {
		grid-template-columns: minmax(0, 1fr) 96px;
	}

	.najd-search-form {
		grid-template-columns: 1fr;
	}

	.najd-search-form button {
		min-height: 44px;
	}
}

@media (min-width: 1181px) {
	.najd-footer-main {
		grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
		gap: 30px;
	}
}

.najd-social-grid {
	grid-template-columns: repeat(5, 42px);
	width: fit-content;
	background: transparent;
	border: 0;
	gap: 7px;
}

.najd-social-grid a {
	width: 42px;
	height: 42px;
	min-height: 42px;
	padding: 0;
	border: 1px solid #30363d;
}

.najd-social-grid__icon,
.najd-social-grid__icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

/* ========================================================================
   v2.2 EDITORIAL HOME + READING EXPERIENCE
   Physical grid placement prevents RTL auto-flow from flipping hierarchy.
   ======================================================================== */

:root {
	--najd-editorial-blue: #1261a0;
	--najd-editorial-blue-dark: #0b4778;
}

/* ------------------------------------------------------------------------
   Homepage lead: LEFT editorial sidebar 38% / RIGHT lead package 62%.
   ------------------------------------------------------------------------ */

.najd-home-lead {
	direction: rtl;
	padding-block: 28px 44px;
	background: var(--najd-bg);
}

.najd-home-lead__grid {
	display: grid;
	grid-template-columns: minmax(300px, 38fr) minmax(0, 62fr);
	grid-template-areas: "support primary";
	gap: clamp(24px, 2.7vw, 38px);
	align-items: start;
	direction: ltr;
}

.najd-home-lead__primary {
	grid-area: primary;
	min-width: 0;
	direction: rtl;
}

.najd-home-lead__support {
	grid-area: support;
	min-width: 0;
	direction: rtl;
	padding-right: 28px;
	border-right: 1px solid var(--najd-line);
}

/* ------------------------------------------------------------------------
   Featured slider.
   ------------------------------------------------------------------------ */

.najd-home-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #111418;
}

.najd-home-slider__viewport {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	min-height: 390px;
	max-height: 590px;
	overflow: hidden;
}

.najd-home-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 420ms ease, visibility 420ms ease;
}

.najd-home-slide.is-active {
	z-index: 2;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.najd-home-slide__link {
	position: absolute;
	inset: 0;
	display: block;
	color: #fff;
	text-decoration: none;
}

.najd-home-slide__media,
.najd-home-slide__image,
.najd-home-slide__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
}

.najd-home-slide__image {
	display: block;
	object-fit: cover;
	object-position: 50% 42%;
}

.najd-home-slide__placeholder {
	background: #23272c;
}

.najd-home-slide__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .85) 100%);
}

.najd-home-slide__content {
	position: absolute;
	z-index: 2;
	right: clamp(20px, 3vw, 38px);
	left: clamp(20px, 3vw, 38px);
	bottom: clamp(34px, 5vw, 58px);
	max-width: 760px;
}

.najd-home-slide__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px 12px;
	margin-bottom: 9px;
	color: rgba(255, 255, 255, .9);
	font-size: .78rem;
}

.najd-home-slide__category {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding-inline: 8px;
	border-radius: 2px;
	background: var(--najd-editorial-blue);
	color: #fff;
	font-weight: 700;
	line-height: 1;
}

.najd-home-slide__title {
	max-width: 720px;
	margin: 0;
	color: #fff;
	font-size: clamp(1.4rem, 2.2vw, 2rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -.012em;
	text-wrap: balance;
}

.najd-home-slide__excerpt {
	display: -webkit-box;
	max-width: 690px;
	margin: 9px 0 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	color: rgba(255, 255, 255, .88);
	font-size: clamp(.86rem, 1vw, .98rem);
	line-height: 1.72;
}

/* Independent edge arrows; no clustered arrow group. */
.najd-home-slider__edge-button {
	position: absolute;
	top: 50%;
	z-index: 8;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	transform: translateY(-50%);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 50%;
	background: rgba(15, 23, 42, .46);
	color: #fff;
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
	line-height: 1;
	cursor: pointer;
	direction: ltr;
	unicode-bidi: isolate;
	opacity: .86;
	pointer-events: auto;
	transition: transform 160ms ease, opacity 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.najd-home-slider__edge-button--right {
	right: 15px;
}

.najd-home-slider__edge-button--left {
	left: 15px;
}

.najd-home-slider:hover .najd-home-slider__edge-button,
.najd-home-slider:focus-within .najd-home-slider__edge-button {
	opacity: 1;
}

.najd-home-slider__edge-button:hover,
.najd-home-slider__edge-button:focus-visible {
	transform: translateY(-50%) scale(1.04);
	border-color: rgba(255, 255, 255, .58);
	background: rgba(15, 23, 42, .72);
	outline: 2px solid rgba(255, 255, 255, .92);
	outline-offset: 2px;
}

.najd-home-slider__edge-button svg {
	display: block;
	width: 22px;
	height: 22px;
}

/* Dots remain separate from arrows and centered at the bottom. */
.najd-home-slider__dots {
	position: absolute;
	z-index: 8;
	left: 50%;
	bottom: 17px;
	display: flex;
	align-items: center;
	gap: 6px;
	transform: translateX(-50%);
}

.najd-home-slider__dot {
	width: 22px;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(255, 255, 255, .42);
	cursor: pointer;
}

.najd-home-slider__dot.is-active {
	background: #fff;
}

/* ------------------------------------------------------------------------
   Sub-hero: latest articles under slider.
   ------------------------------------------------------------------------ */

.najd-subhero {
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--najd-line-strong);
}

.najd-subhero__heading {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 15px;
}

.najd-subhero__mark {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	background: var(--najd-editorial-blue);
}

.najd-subhero__heading h2 {
	margin: 0;
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.4;
}

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

.najd-subhero-card {
	min-width: 0;
	padding-bottom: 14px;
	border: 1px solid #f1f5f9;
	background: #fff;
}

.najd-subhero-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--najd-surface);
}

.najd-subhero-card__image,
.najd-subhero-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.najd-subhero-card__placeholder {
	background: var(--najd-surface);
}

.najd-subhero-card__body {
	padding: 11px 12px 0;
}

.najd-subhero-card__category {
	display: inline-block;
	margin-bottom: 5px;
	color: var(--najd-editorial-blue);
	font-size: .72rem;
	font-weight: 700;
	text-decoration: none;
}

.najd-subhero-card__title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	font-size: .96rem;
	font-weight: 700;
	line-height: 1.6;
}

.najd-subhero-card__title a {
	color: var(--najd-ink);
	text-decoration: none;
}

.najd-subhero-card__title a:hover {
	color: var(--najd-editorial-blue);
}

.najd-subhero-card__time {
	display: block;
	margin-top: 7px;
	color: var(--najd-muted);
	font-size: .72rem;
}

/* ------------------------------------------------------------------------
   Homepage left sidebar: Trending + Social follow.
   ------------------------------------------------------------------------ */

.najd-editorial-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	padding: 0 0 13px;
	border-bottom: 2px solid var(--najd-ink);
}

.najd-editorial-heading__mark {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	background: var(--najd-editorial-blue);
}

.najd-editorial-heading h2 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
}

.najd-home-trending__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.najd-home-trending__item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 11px;
	align-items: start;
	padding-block: 13px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-home-trending__rank {
	color: #aab2bc;
	font-family: Arial, sans-serif;
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1.05;
	text-align: center;
}

.najd-home-trending__content h3 {
	margin: 0;
	font-size: .96rem;
	font-weight: 700;
	line-height: 1.58;
}

.najd-home-trending__content h3 a {
	color: var(--najd-ink);
	text-decoration: none;
}

.najd-home-trending__content h3 a:hover {
	color: var(--najd-editorial-blue);
}

.najd-home-trending__content time {
	display: block;
	margin-top: 5px;
	color: var(--najd-muted);
	font-size: .72rem;
}


.najd-home-latest__layout--full {
	display: block;
}

/* ------------------------------------------------------------------------
   Single article: centered, distraction-free reading surface.
   No left category/tag/trending widget beside the story.
   ------------------------------------------------------------------------ */

.najd-single-page {
	padding-block: 34px 64px;
}

.najd-single-reading {
	width: min(100%, 900px);
	margin-inline: auto;
}

.najd-single-reading--postscript {
	margin-top: 34px;
}

.najd-single-reading .najd-article-content {
	max-width: 780px;
	margin-inline: auto;
}

.najd-single-reading .najd-article-header,
.najd-single-reading .najd-article-featured,
.najd-single-reading .najd-article-share,
.najd-single-reading .najd-page-links {
	max-width: 900px;
	margin-inline: auto;
}

/* ------------------------------------------------------------------------
   Three symmetrical article-footer modules.
   ------------------------------------------------------------------------ */

.najd-post-modules {
	margin-top: 48px;
}

.najd-post-module {
	padding-block: 30px 36px;
	border-top: 1px solid var(--najd-line-strong);
}

.najd-post-module__heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 21px;
}

.najd-post-module__mark {
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	background: var(--najd-editorial-blue);
}

.najd-post-module__heading h2 {
	margin: 0;
	color: var(--najd-ink);
	font-size: 1.42rem;
	font-weight: 700;
	line-height: 1.4;
}

.najd-related-module-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 28px;
}

.najd-related-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 148px;
	grid-template-areas: "body media";
	gap: 15px;
	align-items: start;
	padding-block: 16px;
	border-bottom: 1px solid var(--najd-line);
	direction: ltr;
}

.najd-related-story__media {
	grid-area: media;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--najd-surface);
}

.najd-related-story__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.najd-related-story__body {
	grid-area: body;
	min-width: 0;
	direction: rtl;
}

.najd-related-story__body h3 {
	margin: 0;
	font-size: .98rem;
	font-weight: 700;
	line-height: 1.55;
}

.najd-related-story__body h3 a {
	color: var(--najd-ink);
	text-decoration: none;
}

.najd-related-story__body p {
	display: -webkit-box;
	margin: 7px 0 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	color: var(--najd-muted);
	font-size: .8rem;
	line-height: 1.65;
}

.najd-related-story__body time,
.najd-module-card__body time {
	display: block;
	margin-top: 7px;
	color: var(--najd-muted);
	font-size: .7rem;
}

.najd-compact-module-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.najd-module-card {
	min-width: 0;
}

.najd-module-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--najd-surface);
}

.najd-module-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.najd-module-card:hover .najd-module-card__image {
	transform: scale(1.015);
}

.najd-module-card__body {
	padding-top: 10px;
}

.najd-module-card__body h3 {
	margin: 0;
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.55;
}

.najd-module-card__body h3 a {
	color: var(--najd-ink);
	text-decoration: none;
}

.najd-module-card__body h3 a:hover,
.najd-related-story__body h3 a:hover {
	color: var(--najd-editorial-blue);
}

/* ------------------------------------------------------------------------
   Responsive hierarchy.
   ------------------------------------------------------------------------ */

@media (max-width: 1100px) {
	.najd-home-lead__grid {
		grid-template-columns: minmax(285px, 37fr) minmax(0, 63fr);
		gap: 24px;
	}

	.najd-home-lead__support {
		padding-right: 20px;
	}

	.najd-home-slider__viewport {
		min-height: 360px;
	}

	.najd-compact-module-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.najd-related-module-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 820px) {
	.najd-home-lead {
		padding-block: 16px 32px;
	}

	.najd-home-lead__grid {
		display: block;
		direction: rtl;
	}

	.najd-home-lead__support {
		margin-top: 30px;
		padding: 24px 0 0;
		border-top: 1px solid var(--najd-line);
		border-right: 0;
	}

	.najd-home-slider__viewport {
		aspect-ratio: 16 / 10;
		min-height: 340px;
	}

	.najd-home-slider__edge-button {
		opacity: 1;
		pointer-events: auto;
	}

	.najd-subhero__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.najd-related-module-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.najd-home-slider__viewport {
		aspect-ratio: 4 / 3;
		min-height: 330px;
	}

	.najd-home-slide__content {
		right: 18px;
		left: 18px;
		bottom: 40px;
	}

	.najd-home-slide__title {
		font-size: clamp(1.35rem, 6vw, 1.72rem);
		line-height: 1.4;
	}

	.najd-home-slide__excerpt {
		font-size: .84rem;
		line-height: 1.65;
	}

	.najd-home-slider__edge-button {
		width: 38px;
		height: 38px;
		font-size: 1.5rem;
	}

	.najd-home-slider__edge-button--right {
		right: 10px;
	}

	.najd-home-slider__edge-button--left {
		left: 10px;
	}

	.najd-home-slider__dots {
		bottom: 13px;
	}

	.najd-subhero__grid {
		grid-template-columns: 1fr;
	}

	.najd-home-trending__item {
		grid-template-columns: 38px minmax(0, 1fr);
	}


	.najd-related-story {
		grid-template-columns: minmax(0, 1fr) 112px;
		gap: 12px;
	}

	.najd-related-story__body p {
		display: none;
	}

	.najd-compact-module-grid {
		grid-template-columns: 1fr;
	}
}

@media (hover: none) {
	.najd-home-slider__edge-button {
		opacity: 1;
		pointer-events: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.najd-home-slide,
	.najd-home-slider__edge-button,
	.najd-module-card__image {
		transition: none;
	}
}

/* ========================================================================
   v2.3 — GLOBAL LAYOUT SAFETY
   ======================================================================== */

html,
body {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

body.najd-drawer-open,
body.najd-search-open {
	overflow: hidden;
}

.najd-container,
.najd-main,
.najd-site-header,
.najd-site-footer {
	max-width: 100vw;
	box-sizing: border-box;
}

/* ========================================================================
   v2.3 — DESKTOP DROPDOWNS + CHEVRONS
   ======================================================================== */

.najd-primary-menu > .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-inline-start: 8px;
	margin-top: -4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transform-origin: center;
	transition: transform var(--najd-transition);
}

.najd-primary-menu > .menu-item-has-children:hover > a::after,
.najd-primary-menu > .menu-item-has-children:focus-within > a::after {
	transform: translateY(3px) rotate(225deg);
}

.najd-primary-menu .sub-menu {
	right: 0;
	left: auto;
	inset-inline-start: auto;
	min-width: 240px;
	padding: 7px 0;
	border: 1px solid var(--najd-line);
	box-shadow: 0 14px 30px rgba(16, 20, 24, 0.09);
}

.najd-primary-menu .sub-menu a {
	padding: 10px 16px;
	font-size: 0.9rem;
	line-height: 1.55;
}

/* ========================================================================
   v2.3 — MOBILE OFF-CANVAS DRAWER
   ======================================================================== */

.najd-mobile-menu-toggle {
	display: none;
}

.najd-mobile-drawer {
	position: fixed;
	z-index: 12000;
	inset: 0;
	visibility: hidden;
	pointer-events: none;
}

.najd-mobile-drawer__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(7, 10, 13, 0.58);
	opacity: 0;
	cursor: default;
	transition: opacity 220ms ease;
}

.najd-mobile-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: auto;
	width: min(88vw, 390px);
	max-width: 100vw;
	padding: 0 20px 28px;
	overflow-y: auto;
	overflow-x: hidden;
	background: #fff;
	color: var(--najd-ink);
	box-shadow: 18px 0 44px rgba(16, 20, 24, 0.18);
	transform: translate3d(-100%, 0, 0);
	transition: transform 260ms cubic-bezier(.22, .61, .36, 1);
	-webkit-overflow-scrolling: touch;
}

.admin-bar .najd-mobile-drawer__panel {
	top: 32px;
}

.najd-mobile-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.najd-mobile-drawer.is-open .najd-mobile-drawer__backdrop {
	opacity: 1;
}

.najd-mobile-drawer.is-open .najd-mobile-drawer__panel {
	transform: translate3d(0, 0, 0);
}

.najd-mobile-drawer__header {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 68px;
	margin-inline: -20px;
	padding-inline: 20px;
	background: #fff;
	border-bottom: 1px solid var(--najd-line);
}

.najd-mobile-drawer__header strong {
	font-size: 1.05rem;
	font-weight: 700;
}

.najd-mobile-drawer__close {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--najd-ink);
	font-size: 2rem;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
}

.najd-mobile-drawer__search {
	padding-block: 20px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-mobile-drawer__search .najd-search-form {
	grid-template-columns: minmax(0, 1fr) auto;
}

.najd-mobile-drawer__search .najd-search-form button {
	min-width: 76px;
}

.najd-mobile-primary-menu,
.najd-mobile-primary-menu .sub-menu,
.najd-mobile-pages-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.najd-mobile-drawer__nav {
	padding-block: 8px 18px;
}

.najd-mobile-primary-menu > li {
	position: relative;
	border-bottom: 1px solid var(--najd-line);
}

.najd-mobile-primary-menu > li > a {
	display: block;
	min-height: 50px;
	padding: 13px 0 13px 46px;
	color: var(--najd-ink);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.najd-mobile-primary-menu > li:not(.menu-item-has-children) > a {
	padding-inline-start: 0;
}

.najd-mobile-submenu-toggle {
	position: absolute;
	top: 4px;
	left: 0;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--najd-muted);
	cursor: pointer;
}

.najd-mobile-submenu-toggle span {
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--najd-transition);
}

.najd-mobile-primary-menu .is-submenu-open > .najd-mobile-submenu-toggle span {
	transform: rotate(225deg);
}

.najd-mobile-primary-menu .sub-menu {
	display: none;
	padding: 3px 14px 11px 0;
}

.najd-mobile-primary-menu .is-submenu-open > .sub-menu {
	display: block;
}

.najd-mobile-primary-menu .sub-menu li {
	border-top: 1px solid #f1f3f5;
}

.najd-mobile-primary-menu .sub-menu a {
	display: block;
	padding: 10px 0;
	color: var(--najd-ink-soft);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
}

.najd-mobile-drawer__pages {
	padding-block: 18px;
	border-top: 3px solid var(--najd-ink);
	border-bottom: 1px solid var(--najd-line);
}

.najd-mobile-drawer__pages h2 {
	margin: 0 0 8px;
	font-size: 0.9rem;
	font-weight: 700;
}

.najd-mobile-pages-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 18px;
}

.najd-mobile-pages-menu a {
	display: block;
	padding-block: 8px;
	color: var(--najd-ink-soft);
	font-size: 0.84rem;
	text-decoration: none;
}

.najd-mobile-drawer__social {
	padding-top: 20px;
}

.najd-mobile-drawer__social .najd-social-grid {
	grid-template-columns: repeat(5, 42px);
	justify-content: start;
	gap: 8px;
	margin: 0;
	background: transparent;
	border: 0;
}

.najd-mobile-drawer__social .najd-social-grid a {
	min-height: 42px;
	padding: 8px;
	background: #f5f7f9;
	color: var(--najd-ink);
	border: 1px solid var(--najd-line);
}

/* ========================================================================
   v2.3 — HOMEPAGE FOLLOW-US CARD
   ======================================================================== */

.najd-follow-card {
	margin-top: 26px;
	padding-top: 24px;
	border-top: 1px solid var(--najd-line-strong);
}

.najd-follow-card__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--najd-line);
	border-inline-start: 1px solid var(--najd-line);
}

.najd-follow-card__grid a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	min-height: 64px;
	padding: 10px 12px;
	border-inline-end: 1px solid var(--najd-line);
	border-bottom: 1px solid var(--najd-line);
	color: var(--najd-ink);
	text-decoration: none;
	transition: background var(--najd-transition);
}

.najd-follow-card__grid a:hover {
	background: var(--najd-surface);
}

.najd-follow-card__icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	color: var(--najd-editorial-blue);
}

.najd-follow-card__icon svg {
	width: 22px;
	height: 22px;
}

.najd-follow-card__text {
	display: block;
	min-width: 0;
}

.najd-follow-card__text strong,
.najd-follow-card__text small {
	display: block;
}

.najd-follow-card__text strong {
	font-size: 0.82rem;
	font-weight: 700;
}

.najd-follow-card__text small {
	margin-top: 2px;
	color: var(--najd-muted);
	font-size: 0.68rem;
	line-height: 1.35;
}

/* ========================================================================
   v2.3 — SINGLE ARTICLE LEFT SIDEBAR
   ======================================================================== */

.najd-single-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	grid-template-areas: "sidebar article";
	gap: clamp(34px, 4vw, 58px);
	align-items: start;
	direction: ltr;
}

.najd-single-layout > .najd-single-reading {
	grid-area: article;
	width: 100%;
	max-width: 900px;
	margin: 0;
	direction: rtl;
}

.najd-single-sidebar {
	grid-area: sidebar;
	min-width: 0;
	direction: rtl;
}

.najd-single-sidebar__block + .najd-single-sidebar__block {
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid var(--najd-line-strong);
}

.najd-sidebar-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--najd-ink);
}

.najd-sidebar-heading > span {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	background: var(--najd-editorial-blue);
}

.najd-sidebar-heading h2 {
	margin: 0;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.4;
}

.najd-single-trending-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.najd-single-trending-list li {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	padding-block: 12px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-single-trending-list__rank {
	color: #b3bac3;
	font-family: Arial, sans-serif;
	font-size: 1.72rem;
	font-weight: 700;
	line-height: 1;
}

.najd-single-trending-list h3 {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.6;
}

.najd-single-trending-list h3 a,
.najd-single-latest-item__body h3 a {
	color: var(--najd-ink);
	text-decoration: none;
}

.najd-single-trending-list h3 a:hover,
.najd-single-latest-item__body h3 a:hover {
	color: var(--najd-editorial-blue);
}

.najd-single-trending-list time,
.najd-single-latest-item__body time {
	display: block;
	margin-top: 5px;
	color: var(--najd-muted);
	font-size: 0.7rem;
}

.najd-single-latest-list {
	display: grid;
}

.najd-single-latest-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 88px;
	grid-template-areas: "body media";
	gap: 11px;
	align-items: start;
	padding-block: 12px;
	border-bottom: 1px solid var(--najd-line);
	direction: ltr;
}

.najd-single-latest-item__media {
	grid-area: media;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--najd-surface);
}

.najd-single-latest-item__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.najd-single-latest-item__body {
	grid-area: body;
	min-width: 0;
	direction: rtl;
}

.najd-single-latest-item__body h3 {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.55;
}

/* ========================================================================
   v2.3 — STREAMLINED FOOTER
   ======================================================================== */

.najd-footer-shell {
	padding-block: 48px 24px;
}

.najd-footer-brand {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 58px;
	text-align: center;
}

.najd-footer-brand .custom-logo {
	width: auto;
	max-height: 58px;
}

.najd-footer-brand__name {
	color: #fff !important;
	font-size: 1.65rem !important;
	font-weight: 700;
	text-decoration: none;
}

.najd-footer-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(36px, 8vw, 110px);
	width: min(100%, 720px);
	margin: 38px auto 0;
	padding-block: 30px;
	border-top: 1px solid #2b3036;
	border-bottom: 1px solid #2b3036;
}

.najd-footer-column {
	min-width: 0;
}

.najd-footer-column h2 {
	margin: 0 0 14px;
	font-size: 0.95rem;
	font-weight: 700;
}

.najd-footer-column ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 18px;
}

.najd-footer-column li + li {
	margin: 0;
}

.najd-footer-column a {
	display: inline-block;
	padding-block: 4px;
	text-decoration: none;
}

.najd-footer-social-wrap {
	display: flex;
	justify-content: center;
	margin-top: 26px;
}

.najd-footer-social-wrap .najd-social-grid {
	display: flex;
	justify-content: center;
	gap: 9px;
	margin: 0;
	background: transparent;
	border: 0;
}

.najd-footer-social-wrap .najd-social-grid a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	min-height: 42px;
	padding: 8px;
	background: transparent;
	color: #d7dce2;
	border: 1px solid #353b42;
	transition: border-color var(--najd-transition), color var(--najd-transition), background var(--najd-transition);
}

.najd-footer-social-wrap .najd-social-grid a:hover {
	background: #fff;
	border-color: #fff;
	color: #111418;
}

.najd-footer-social-wrap .najd-social-grid__icon,
.najd-mobile-drawer__social .najd-social-grid__icon {
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
}

.najd-footer-social-wrap .najd-social-grid__icon svg,
.najd-mobile-drawer__social .najd-social-grid__icon svg {
	width: 20px;
	height: 20px;
}

.najd-footer-copyright {
	margin: 18px 0 0;
	color: #9098a1 !important;
	font-size: 0.78rem !important;
	text-align: center;
}

/* ========================================================================
   v2.3 — RESPONSIVE OVERRIDES
   ======================================================================== */

@media (max-width: 1040px) {
	.najd-single-layout {
		grid-template-columns: 270px minmax(0, 1fr);
		gap: 30px;
	}
}

@media (max-width: 900px) {
	.najd-primary-nav,
	.najd-sections-toggle,
	.najd-desktop-search-toggle {
		display: none !important;
	}

	.najd-mobile-menu-toggle {
		display: inline-grid;
	}

	.najd-header-main {
		grid-template-columns: minmax(0, 1fr) auto;
		min-height: 64px;
		gap: 16px;
	}

	.najd-branding .custom-logo {
		max-height: 42px;
	}

	.najd-single-layout {
		display: flex;
		flex-direction: column;
		gap: 38px;
		direction: rtl;
	}

	.najd-single-layout > .najd-single-reading {
		order: 1;
		max-width: 100%;
	}

	.najd-single-sidebar {
		order: 2;
		width: 100%;
		padding-top: 28px;
		border-top: 1px solid var(--najd-line-strong);
	}

	.najd-single-trending-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 22px;
	}

	.najd-single-latest-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 22px;
	}
}

@media (max-width: 782px) {
	.admin-bar .najd-mobile-drawer__panel {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.najd-breaking-bar__inner {
		gap: 10px;
	}

	.najd-breaking-bar__label {
		font-size: 0.72rem;
	}

	.najd-breaking-bar__group {
		gap: 22px;
		padding-inline-end: 22px;
	}

	.najd-breaking-bar__group a {
		font-size: 0.78rem;
	}

	.najd-follow-card__grid,
	.najd-footer-column ul {
		grid-template-columns: 1fr;
	}

	.najd-footer-links {
		gap: 26px;
	}

	.najd-single-trending-list,
	.najd-single-latest-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.najd-footer-links {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.najd-mobile-pages-menu {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.najd-breaking-bar__track {
		animation: none;
	}

	.najd-breaking-bar__viewport {
		overflow-x: auto;
	}

	.najd-mobile-drawer__panel,
	.najd-mobile-drawer__backdrop,
	.najd-mobile-submenu-toggle span {
		transition: none;
	}
}

/* ========================================================================
   v2.4 — NATIVE THEME OPTIONS / HEADER UTILITY LINKS
   ======================================================================== */

.najd-header-pages-nav {
	border-top: 1px solid var(--najd-line);
	background: #fff;
}

.najd-header-pages-nav ul {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 20px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.najd-header-pages-nav ul::-webkit-scrollbar {
	display: none;
}

.najd-header-pages-nav a {
	display: block;
	white-space: nowrap;
	color: var(--najd-muted);
	font-size: .79rem;
	font-weight: 600;
	text-decoration: none;
}

.najd-header-pages-nav a:hover,
.najd-header-pages-nav a:focus-visible {
	color: var(--najd-accent);
}

/* ========================================================================
   v2.4.2 — PIXEL-ALIGNED, TRULY GAPLESS BREAKING TICKER
   ======================================================================== */

.najd-breaking-bar__viewport {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	direction: ltr;
	contain: layout paint;
}

.najd-breaking-bar__track {
	display: flex;
	align-items: center;
	width: max-content;
	min-width: max-content;
	gap: 0;
	direction: ltr;
	will-change: transform;
	animation: none;
	transform: translate3d(var(--najd-ticker-start, 0px), 0, 0);
}

/* JavaScript enables movement only after exact pixel measurements exist. */
.najd-breaking-bar__track.is-ready {
	animation: najd-breaking-marquee-gapless var(--najd-ticker-duration, 42s) linear infinite;
}

.najd-breaking-bar__group {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	white-space: nowrap;
	direction: rtl;
}

.najd-breaking-bar__group--duplicate {
	pointer-events: none;
}

.najd-breaking-bar__group a {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 22px;
	padding-inline: 0 24px;
	color: #fff;
	font-size: .84rem;
	line-height: 1.45;
	text-decoration: none;
	direction: rtl;
}

/* The separator is part of every link width, including train boundaries. */
.najd-breaking-bar__group a::after {
	content: "";
	display: block;
	flex: 0 0 4px;
	width: 4px;
	height: 4px;
	margin: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .38);
}

.najd-breaking-bar__viewport:hover .najd-breaking-bar__track,
.najd-breaking-bar__viewport:focus-within .najd-breaking-bar__track {
	animation-play-state: paused;
}

@keyframes najd-breaking-marquee-gapless {
	from {
		transform: translate3d(var(--najd-ticker-start, 0px), 0, 0);
	}
	to {
		transform: translate3d(var(--najd-ticker-end, -50%), 0, 0);
	}
}

/* ========================================================================
   v2.4 — CONFIGURABLE HOMEPAGE CATEGORY BLOCK LAYOUTS
   ======================================================================== */

.najd-category-strip__grid--list,
.najd-category-strip__grid--horizontal {
	display: grid;
	gap: 0;
}

.najd-category-strip__grid--list {
	grid-template-columns: minmax(0,1fr);
}

.najd-category-strip__grid--horizontal {
	grid-template-columns: repeat(2,minmax(0,1fr));
	column-gap: 28px;
}

.najd-category-strip--list .najd-card-horizontal,
.najd-category-strip--horizontal .najd-card-horizontal {
	border-bottom: 1px solid var(--najd-line);
}

/* Ad code saved in Theme Options should never force layout overflow. */
.najd-ad-slot,
.najd-ad-slot iframe,
.najd-ad-slot ins,
.najd-ad-slot > * {
	max-width: 100%;
}

@media (max-width: 820px) {
	.najd-header-pages-nav {
		display: none;
	}

	.najd-category-strip__grid--horizontal {
		grid-template-columns: minmax(0,1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.najd-breaking-bar__track,
	.najd-breaking-bar__track.is-ready {
		animation: none;
		transform: none;
	}
}

/* Correct card selector for configurable list/horizontal blocks. */
.najd-category-strip--list .najd-horizontal-card,
.najd-category-strip--horizontal .najd-horizontal-card {
	border-bottom: 1px solid var(--najd-line);
}

/* ========================================================================
   v2.4.1 — COMPACT EDITORIAL FOOTER
   Three-column RTL footer inspired by premium Arabic newsrooms.
   ======================================================================== */

.najd-site-footer.najd-site-footer--compact {
	margin-block-start: 48px;
	background: #fff;
	color: #374151;
	border-top: 1px solid #e5e7eb;
}

.najd-footer-shell--compact {
	padding-block: 30px 14px;
}

.najd-footer-grid {
	display: grid;
	grid-template-columns: minmax(300px, 1.45fr) minmax(150px, .75fr) minmax(150px, .75fr);
	gap: clamp(30px, 5vw, 72px);
	align-items: start;
}

.najd-footer-about,
.najd-footer-column {
	min-width: 0;
}

.najd-footer-logo {
	min-height: 46px;
	margin-bottom: 12px;
}

.najd-footer-logo a {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	text-decoration: none;
}

.najd-footer-logo__image {
	display: block;
	width: auto;
	height: auto;
	max-width: min(220px, 100%);
	max-height: 58px;
	object-fit: contain;
	object-position: right center;
}

.najd-footer-logo__text {
	color: #111827;
	font-size: 1.45rem;
	font-weight: 800;
	line-height: 1.2;
}

.najd-footer-about__text {
	max-width: 430px;
	margin: 0;
	color: #68707b !important;
	font-size: .86rem !important;
	line-height: 1.85;
}

.najd-site-footer--compact .najd-footer-column h2 {
	margin: 4px 0 12px;
	color: #111827;
	font-size: .98rem;
	font-weight: 800;
	line-height: 1.4;
}

.najd-site-footer--compact .najd-footer-column ul,
.najd-site-footer--compact .najd-footer-category-list,
.najd-site-footer--compact .najd-footer-page-list,
.najd-site-footer--compact .najd-footer-column .menu {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.najd-site-footer--compact .najd-footer-column li,
.najd-site-footer--compact .najd-footer-column li + li {
	margin: 0;
	padding: 0;
}

.najd-site-footer--compact .najd-footer-column a {
	display: inline-block;
	padding-block: 4px;
	color: #5f6772;
	font-size: .86rem;
	font-weight: 500;
	line-height: 1.6;
	text-decoration: none;
	transition: color var(--najd-transition), transform var(--najd-transition);
}

.najd-site-footer--compact .najd-footer-column a:hover,
.najd-site-footer--compact .najd-footer-column a:focus-visible {
	color: var(--najd-accent);
	transform: translateX(-2px);
}

.najd-footer-follow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 12px;
	margin-top: 16px;
}

.najd-footer-follow__label {
	color: #374151;
	font-size: .78rem;
	font-weight: 700;
	white-space: nowrap;
}

.najd-site-footer--compact .najd-social-grid {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.najd-site-footer--compact .najd-social-grid__link {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	min-height: 34px;
	padding: 7px;
	color: #4b5563;
	background: #fff;
	border: 1px solid #e1e5ea;
	border-radius: 8px;
	box-shadow: none;
	transition: color var(--najd-transition), border-color var(--najd-transition), background var(--najd-transition), transform var(--najd-transition);
}

.najd-site-footer--compact .najd-social-grid__link:hover,
.najd-site-footer--compact .najd-social-grid__link:focus-visible {
	color: #fff;
	transform: translateY(-2px);
}

.najd-site-footer--compact .najd-social-grid__link--facebook:hover,
.najd-site-footer--compact .najd-social-grid__link--facebook:focus-visible {
	background: #1877f2;
	border-color: #1877f2;
}

.najd-site-footer--compact .najd-social-grid__link--instagram:hover,
.najd-site-footer--compact .najd-social-grid__link--instagram:focus-visible {
	background: #c13584;
	border-color: #c13584;
}

.najd-site-footer--compact .najd-social-grid__link--x:hover,
.najd-site-footer--compact .najd-social-grid__link--x:focus-visible {
	background: #111;
	border-color: #111;
}

.najd-site-footer--compact .najd-social-grid__link--telegram:hover,
.najd-site-footer--compact .najd-social-grid__link--telegram:focus-visible {
	background: #229ed9;
	border-color: #229ed9;
}

.najd-site-footer--compact .najd-social-grid__link--youtube:hover,
.najd-site-footer--compact .najd-social-grid__link--youtube:focus-visible {
	background: #ff0000;
	border-color: #ff0000;
}

.najd-site-footer--compact .najd-social-grid__icon,
.najd-site-footer--compact .najd-social-grid__icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.najd-footer-bottom-compact {
	margin-top: 22px;
	padding-top: 12px;
	border-top: 1px solid #edf0f3;
}

.najd-site-footer--compact .najd-footer-copyright {
	margin: 0;
	color: #8a919b !important;
	font-size: .75rem !important;
	line-height: 1.6;
	text-align: center;
}

@media (max-width: 900px) {
	.najd-footer-grid {
		grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(140px, .7fr));
		gap: 28px;
	}
}

@media (max-width: 700px) {
	.najd-footer-shell--compact {
		padding-block: 24px 12px;
	}

	.najd-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px 22px;
	}

	.najd-footer-about {
		grid-column: 1 / -1;
		padding-bottom: 18px;
		border-bottom: 1px solid #edf0f3;
	}

	.najd-footer-about__text {
		max-width: 100%;
	}
}

@media (max-width: 420px) {
	.najd-footer-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.najd-footer-about {
		grid-column: auto;
	}

	.najd-footer-column + .najd-footer-column {
		padding-top: 18px;
		border-top: 1px solid #edf0f3;
	}
}

/* ========================================================================
   v2.5 — CLICKABLE BREAKING TICKER + DYNAMIC HOMEPAGE BLOCKS
   ======================================================================== */

/* Keep every visible ticker link above decorative layers and clickable. */
.najd-breaking-bar__viewport,
.najd-breaking-bar__track,
.najd-breaking-bar__group {
	position: relative;
	z-index: 20;
}

.najd-breaking-bar__label {
	position: relative;
	z-index: 30;
}

.najd-breaking-bar__group--duplicate {
	pointer-events: auto;
}

.najd-breaking-bar__group a {
	position: relative;
	z-index: 21;
	pointer-events: auto !important;
	cursor: pointer;
	user-select: text;
}

/* Any future visual fade masks must never intercept mouse/touch events. */
.najd-breaking-bar__viewport::before,
.najd-breaking-bar__viewport::after,
.najd-breaking-bar__track::before,
.najd-breaking-bar__track::after {
	pointer-events: none !important;
}

/* Dynamic homepage blocks. */
.najd-dynamic-home-block {
	padding-block: 28px 34px;
	border-top: 1px solid var(--najd-line);
}

.najd-dynamic-ad-block {
	padding-block: 18px 28px;
}

.najd-dynamic-grid {
	display: grid;
	gap: 24px;
}

.najd-dynamic-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.najd-dynamic-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.najd-dynamic-card,
.najd-mini-carousel__card {
	min-width: 0;
}

.najd-dynamic-card__media,
.najd-mini-carousel__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--najd-surface);
}

.najd-dynamic-card__image,
.najd-mini-carousel__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.najd-dynamic-card__body {
	padding-top: 11px;
}

.najd-dynamic-card__category {
	display: block;
	margin-bottom: 5px;
	color: var(--najd-accent);
	font-size: .76rem;
	font-weight: 700;
}

.najd-dynamic-card h3,
.najd-mini-carousel__card h3 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 700;
}

.najd-dynamic-card h3 a,
.najd-mini-carousel__card h3 a,
.najd-dynamic-list-item h3 a,
.najd-dynamic-horizontal h3 a {
	color: var(--najd-ink);
	text-decoration: none;
}

.najd-dynamic-card time,
.najd-mini-carousel__card time,
.najd-dynamic-list-item time,
.najd-dynamic-horizontal time {
	display: block;
	margin-top: 7px;
	color: var(--najd-muted);
	font-size: .76rem;
}

/* Editorial list. */
.najd-dynamic-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 34px;
}

.najd-dynamic-list-item {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding-block: 16px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-dynamic-list-item__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--najd-surface);
}

.najd-dynamic-list-item__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.najd-dynamic-list-item h3 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
}

.najd-dynamic-list-item p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 6px 0 0;
	color: var(--najd-muted);
	font-size: .84rem;
	line-height: 1.7;
}

/* Large lead + supporting stories. */
.najd-dynamic-horizontal {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
	gap: 30px;
}

.najd-dynamic-horizontal__lead-media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--najd-surface);
}

.najd-dynamic-horizontal__lead-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.najd-dynamic-horizontal__lead-body {
	padding-top: 13px;
}

.najd-dynamic-horizontal__lead h3 {
	margin: 0;
	font-size: clamp(1.25rem, 1.8vw, 1.65rem);
	line-height: 1.45;
}

.najd-dynamic-horizontal__lead p {
	margin: 8px 0 0;
	color: var(--najd-muted);
	line-height: 1.8;
}

.najd-dynamic-horizontal__side {
	border-top: 1px solid var(--najd-line);
}

.najd-dynamic-horizontal__item {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 13px;
	align-items: start;
	padding-block: 13px;
	border-bottom: 1px solid var(--najd-line);
}

.najd-dynamic-horizontal__item-media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--najd-surface);
}

.najd-dynamic-horizontal__item-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.najd-dynamic-horizontal__item h3 {
	margin: 0;
	font-size: .95rem;
	line-height: 1.55;
}

/* Native, lightweight mini carousel. */
.najd-mini-carousel {
	position: relative;
}

.najd-mini-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 31%);
	gap: 20px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
}

.najd-mini-carousel__track::-webkit-scrollbar {
	display: none;
}

.najd-mini-carousel__card {
	scroll-snap-align: start;
}

.najd-mini-carousel__card h3 {
	margin-top: 10px;
}

.najd-mini-carousel__arrow {
	position: absolute;
	top: 36%;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(16, 20, 24, .78);
	color: #fff;
	font-size: 1.65rem;
	line-height: 1;
	cursor: pointer;
}

.najd-mini-carousel__arrow--prev { right: 10px; }
.najd-mini-carousel__arrow--next { left: 10px; }

/* Post-footer ad is visually separated from the article and modules. */
.najd-post-footer-ad {
	margin-block: 28px 10px;
}

@media (max-width: 980px) {
	.najd-dynamic-grid--4,
	.najd-dynamic-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.najd-dynamic-horizontal {
		grid-template-columns: 1fr;
	}

	.najd-mini-carousel__track {
		grid-auto-columns: minmax(250px, 46%);
	}
}

@media (max-width: 640px) {
	.najd-dynamic-home-block {
		padding-block: 22px 28px;
	}

	.najd-dynamic-grid--4,
	.najd-dynamic-grid--3,
	.najd-dynamic-list {
		grid-template-columns: 1fr;
	}

	.najd-dynamic-list-item {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 12px;
	}

	.najd-dynamic-list-item p {
		display: none;
	}

	.najd-mini-carousel__track {
		grid-auto-columns: 82%;
		gap: 14px;
	}
}

/* ================================================================
   DUAL CATEGORY EDITORIAL BLOCK
   ================================================================ */

.najd-dual-categories-block {
	padding-block: 32px;
}

.najd-dual-categories {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	direction: rtl;
}

.najd-dual-category + .najd-dual-category {
	border-inline-start: 1px solid #e5e7eb;
	padding-inline-start: 30px;
}

.najd-dual-category__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #0f172a;
}

.najd-dual-category__title {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 9px;
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.35;
}

.najd-dual-category__title a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #0f172a;
	text-decoration: none;
}

.najd-dual-category__accent {
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	background: #111827;
}

.najd-dual-category__arrow {
	font-size: .9rem;
	transition: transform .2s ease;
}

.najd-dual-category__title a:hover .najd-dual-category__arrow {
	transform: translateX(-3px);
}

.najd-dual-category__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	padding: 6px 11px;
	border: 1px solid #cbd5e1;
	border-radius: 2px;
	background: transparent;
	color: #475569;
	font-size: .8rem;
	font-weight: 650;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.najd-dual-category__more:hover,
.najd-dual-category__more:focus-visible {
	border-color: #0f172a;
	background: #0f172a;
	color: #fff;
}

.najd-dual-category__lead-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.najd-dual-lead-card {
	min-width: 0;
}

.najd-dual-lead-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #f1f5f9;
}

.najd-dual-lead-card__image,
.najd-dual-image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.najd-dual-lead-card__image {
	transition: transform .25s ease;
}

.najd-dual-lead-card:hover .najd-dual-lead-card__image {
	transform: scale(1.018);
}

.najd-dual-lead-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	margin: 10px 0 0;
	color: #0f172a;
	font-size: 1rem;
	font-weight: 750;
	line-height: 1.6;
}

.najd-dual-lead-card__title a {
	color: inherit;
	text-decoration: none;
}

.najd-dual-lead-card__title a:hover {
	color: var(--najd-accent);
}

.najd-dual-story-time {
	display: block;
	margin-top: 6px;
	color: #94a3b8;
	font-size: .75rem;
}

.najd-dual-category__compact-list {
	margin-top: 16px;
	border-top: 1px solid #f1f5f9;
}

.najd-dual-compact-story {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 13px;
	align-items: center;
	padding-block: 13px;
	border-bottom: 1px solid #f1f5f9;
}

.najd-dual-compact-story__media {
	display: block;
	width: 82px;
	height: 82px;
	overflow: hidden;
	background: #f1f5f9;
}

.najd-dual-compact-story__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.najd-dual-compact-story__body {
	min-width: 0;
}

.najd-dual-compact-story__body h3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	margin: 0;
	font-size: .94rem;
	font-weight: 700;
	line-height: 1.55;
}

.najd-dual-compact-story__body h3 a {
	color: #1e293b;
	text-decoration: none;
}

.najd-dual-compact-story__body h3 a:hover {
	color: var(--najd-accent);
}

.najd-dual-compact-story__body time {
	display: block;
	margin-top: 5px;
	color: #94a3b8;
	font-size: .72rem;
}

/* ================================================================
   ARTICLE TAGS
   ================================================================ */

.najd-article-tags {
	display: block;
	margin: 30px 0 0;
	padding: 20px 0 0;
	border: 0;
	border-top: 1px solid #e2e8f0;
	font-size: inherit;
}

.najd-article-tags__heading {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 12px;
	color: #475569;
	font-size: .9rem;
}

.najd-article-tags__heading svg {
	flex: 0 0 auto;
	color: #64748b;
}

.najd-article-tags__list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.najd-article-tags__list a {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	background: #f8fafc;
	color: #334155;
	font-size: .85rem;
	font-weight: 550;
	line-height: 1.55;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.najd-article-tags__list a:hover,
.najd-article-tags__list a:focus-visible {
	border-color: #0f172a;
	background: #0f172a;
	color: #fff;
}

@media (max-width: 850px) {
	.najd-dual-categories {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.najd-dual-category + .najd-dual-category {
		padding-inline-start: 0;
		padding-top: 30px;
		border-inline-start: 0;
		border-top: 1px solid #e5e7eb;
	}
}

@media (max-width: 520px) {
	.najd-dual-categories-block {
		padding-block: 24px;
	}

	.najd-dual-category__header {
		gap: 12px;
	}

	.najd-dual-category__title {
		font-size: 1.15rem;
	}

	.najd-dual-category__lead-grid {
		gap: 11px;
	}

	.najd-dual-lead-card__title {
		font-size: .9rem;
	}

	.najd-dual-compact-story {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 11px;
	}

	.najd-dual-compact-story__media {
		width: 72px;
		height: 72px;
	}
}

/* ================================================================
   v2.5.2 — CATEGORY CAROUSEL HARDENING
   Keep carousel scrolling isolated from the document in RTL layouts.
   ================================================================ */

.najd-mini-carousel {
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	isolation: isolate;
}

.najd-mini-carousel__track {
	max-width: 100%;
	min-width: 0;
	direction: rtl;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	overscroll-behavior-y: auto;
	-webkit-overflow-scrolling: touch;
}

.najd-mini-carousel__track::-webkit-scrollbar {
	display: none;
}

.najd-mini-carousel__card {
	scroll-snap-align: start;
	scroll-snap-stop: always;
	min-width: 0;
}

.najd-mini-carousel__arrow {
	z-index: 30;
	touch-action: manipulation;
}

.najd-mini-carousel__arrow:disabled {
	opacity: .32;
	cursor: default;
	pointer-events: none;
}

/* ================================================================
   v2.5.2 — TOP UTILITY BAR
   ================================================================ */

.najd-utility-bar {
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
	color: #1f2937;
	font-size: .8rem;
	line-height: 1.4;
}

.najd-utility-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 34px;
}

.najd-utility-bar__date {
	min-width: 0;
	color: #1f2937;
	font-weight: 600;
	white-space: nowrap;
}

.najd-utility-bar__links {
	flex: 0 0 auto;
}

.najd-utility-bar__links ul {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.najd-utility-bar__links li {
	display: flex;
	align-items: center;
}

.najd-utility-bar__links li + li::before {
	content: "";
	width: 3px;
	height: 3px;
	margin-inline: 10px;
	border-radius: 50%;
	background: #94a3b8;
}

.najd-utility-bar__links a {
	color: #1f2937;
	font-weight: 600;
	text-decoration: none;
	transition: color .18s ease;
}

.najd-utility-bar__links a:hover,
.najd-utility-bar__links a:focus-visible {
	color: #0b5ea8;
}


@media (max-width: 760px) {
	.najd-utility-bar__inner {
		min-height: 32px;
	}

	.najd-utility-bar__date {
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: .72rem;
	}

	.najd-utility-bar__links {
		display: none;
	}
}

/* ========================================================================
   v2.6 — REFINED SINGLE ARTICLE HEADLINE
   ======================================================================== */
.najd-article-title {
	max-width: 24ch;
	margin: 10px 0 16px;
	font-size: clamp(1.8rem, 2.8vw, 2.4rem);
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: -0.018em;
}

.najd-article-byline {
	margin-top: 0;
}

@media (max-width: 640px) {
	.najd-article-title {
		font-size: 1.5rem;
		line-height: 1.4;
		margin-bottom: 16px;
	}
}

/* ========================================================================
   v2.7 — ADVERTISING SYSTEM
   Lightweight: CSS-only device targeting and disclosure labels.
   ======================================================================== */
.najd-ad-unit {
	clear: both;
	width: 100%;
	max-width: 100%;
	margin-block: 24px;
	box-sizing: border-box;
	text-align: center;
}

.najd-ad-label {
	margin: 0 0 7px;
	color: #8a94a3;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-align: center;
}

.najd-ad-unit__content {
	max-width: 100%;
	overflow: hidden;
}

.najd-ad-unit__content img,
.najd-ad-unit__content iframe,
.najd-ad-unit__content ins {
	max-width: 100%;
}

.najd-ad-device--mobile {
	display: none;
}

.najd-ad-slot--header,
.najd-ad-slot--home_after_hero,
.najd-ad-slot--home_before_latest,
.najd-ad-slot--home_after_latest,
.najd-ad-slot--archive_top,
.najd-ad-slot--footer_top {
	margin-block: 20px;
}

.najd-ad-slot--sidebar,
.najd-ad-slot--sidebar_top {
	margin-block: 22px;
}

.najd-ad-slot--article,
.najd-ad-slot--single_after_featured,
.najd-ad-slot--single_before_article,
.najd-ad-slot--post_footer,
.najd-ad-slot--page_after_content {
	padding-block: 18px;
	border-block: 1px solid var(--najd-line);
}

.najd-single-layout--no-sidebar {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "article";
}

.najd-single-layout--no-sidebar > .najd-single-reading {
	max-width: 900px;
	margin-inline: auto;
}

.najd-archive-layout--no-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 767px) {
	.najd-ad-device--desktop {
		display: none !important;
	}

	.najd-ad-device--mobile {
		display: block;
	}

	.najd-ad-unit {
		margin-block: 18px;
	}
}

/* ========================================================================
   v2.7.1 — EDITORIAL TEAM
   ======================================================================== */

/* Utility-bar team link: compact icon + label beside Contact Us. */
.najd-utility-bar__links a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.najd-utility-bar__team-icon {
	display: inline-grid;
	place-items: center;
	width: 17px;
	height: 17px;
	color: #334155;
}

.najd-utility-bar__team-icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.najd-utility-bar__team-item a:hover .najd-utility-bar__team-icon,
.najd-utility-bar__team-item a:focus-visible .najd-utility-bar__team-icon {
	color: #0b5ea8;
}

/* Homepage team shortcut below social channels. */
.najd-follow-card__team {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	padding: 13px 14px;
	border: 1px solid var(--najd-line);
	border-inline-start: 3px solid var(--najd-editorial-blue);
	background: #fff;
	color: var(--najd-ink);
	text-decoration: none;
	transition: background var(--najd-transition), border-color var(--najd-transition), transform var(--najd-transition);
}

.najd-follow-card__team:hover,
.najd-follow-card__team:focus-visible {
	background: #f8fafc;
	border-color: #cbd5e1;
	transform: translateY(-1px);
}

.najd-follow-card__team-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	background: #f1f5f9;
	color: #0f4f7f;
}

.najd-follow-card__team-icon svg {
	width: 24px;
	height: 24px;
}

.najd-follow-card__team-text {
	min-width: 0;
}

.najd-follow-card__team-text strong,
.najd-follow-card__team-text small {
	display: block;
}

.najd-follow-card__team-text strong {
	font-size: .9rem;
	font-weight: 750;
	line-height: 1.4;
}

.najd-follow-card__team-text small {
	margin-top: 3px;
	color: var(--najd-muted);
	font-size: .72rem;
	line-height: 1.45;
}

.najd-follow-card__team-arrow {
	color: #64748b;
	font-size: 1rem;
	transition: transform .18s ease;
}

.najd-follow-card__team:hover .najd-follow-card__team-arrow,
.najd-follow-card__team:focus-visible .najd-follow-card__team-arrow {
	transform: translateX(-3px);
	color: #0b5ea8;
}

/* Team page. */
.najd-team-page {
	padding-block: clamp(34px, 5vw, 70px) 70px;
	background: #fff;
}

.najd-team-hero {
	max-width: 880px;
	margin-bottom: 34px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e2e8f0;
}

.najd-team-hero__eyebrow {
	margin: 0 0 7px;
	color: #0b5ea8;
	font-size: .8rem;
	font-weight: 750;
}

.najd-team-hero h1 {
	margin: 0;
	color: #0f172a;
	font-size: clamp(2rem, 3.5vw, 3.1rem);
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -.02em;
}

.najd-team-hero__intro {
	max-width: 760px;
	margin: 14px 0 0;
	color: #475569;
	font-size: 1rem;
	line-height: 1.95;
}

.najd-team-hero__intro > :first-child {
	margin-top: 0;
}

.najd-team-hero__intro > :last-child {
	margin-bottom: 0;
}

.najd-team-hero__count {
	display: inline-flex;
	align-items: center;
	margin: 16px 0 0;
	padding: 5px 9px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #475569;
	font-size: .78rem;
	font-weight: 650;
}

.najd-team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.najd-team-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid #e2e8f0;
	background: #fff;
	transition: border-color .2s ease, transform .2s ease;
}

.najd-team-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-2px);
}

.najd-team-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f1f5f9;
}

.najd-team-card__media img,
.najd-team-card__image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0;
	border-radius: 0 !important;
	object-fit: cover;
	object-position: center;
	transition: transform .25s ease;
}

.najd-team-card:hover .najd-team-card__image {
	transform: scale(1.018);
}

.najd-team-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 18px;
}

.najd-team-card__role {
	margin: 0 0 5px;
	color: #0b5ea8;
	font-size: .76rem;
	font-weight: 750;
}

.najd-team-card__name {
	margin: 0;
	font-size: 1.18rem;
	font-weight: 750;
	line-height: 1.45;
}

.najd-team-card__name a {
	color: #0f172a;
	text-decoration: none;
}

.najd-team-card__name a:hover,
.najd-team-card__name a:focus-visible {
	color: #0b5ea8;
}

.najd-team-card__bio {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	margin: 11px 0 18px;
	color: #64748b;
	font-size: .86rem;
	line-height: 1.8;
}

.najd-team-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
}

.najd-team-card__count {
	color: #94a3b8;
	font-size: .72rem;
	line-height: 1.4;
}

.najd-team-card__button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	padding: 7px 11px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #0f172a;
	font-size: .78rem;
	font-weight: 700;
	text-decoration: none;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.najd-team-card__button:hover,
.najd-team-card__button:focus-visible {
	border-color: #0f172a;
	background: #0f172a;
	color: #fff;
}

.najd-team-empty {
	padding: 26px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #475569;
	text-align: center;
}

@media (max-width: 980px) {
	.najd-team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.najd-team-page {
		padding-block: 28px 48px;
	}

	.najd-team-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.najd-team-card {
		display: grid;
		grid-template-columns: 118px minmax(0, 1fr);
	}

	.najd-team-card__media {
		aspect-ratio: auto;
		height: 100%;
		min-height: 170px;
	}

	.najd-team-card__body {
		padding: 14px;
	}

	.najd-team-card__bio {
		-webkit-line-clamp: 2;
		line-clamp: 2;
		margin-block: 8px 12px;
	}

	.najd-team-card__footer {
		align-items: flex-start;
		flex-direction: column;
	}
}


/* ================================================================
   V2.8 — DYNAMIC HEADER LOGO
   ================================================================ */
.najd-header-logo-link {
	display: inline-flex;
	align-items: center;
	max-width: 220px;
	text-decoration: none;
}

.najd-header-logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 220px;
	max-height: 48px;
	object-fit: contain;
}

@media (max-width: 760px) {
	.najd-header-logo-link,
	.najd-header-logo {
		max-width: 180px;
		max-height: 40px;
	}
}

/* ================================================================
   V2.8 — EDITORIAL CONTACT PAGE
   ================================================================ */
.najd-contact-page {
	padding-block: clamp(32px, 5vw, 72px) 72px;
	background: #fff;
}

.najd-contact-hero {
	max-width: 780px;
	margin-bottom: 34px;
}

.najd-contact-hero__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: var(--najd-blue, #1261a0);
	font-size: .78rem;
	font-weight: 800;
}

.najd-contact-hero h1 {
	margin: 0;
	color: #0f172a;
	font-size: clamp(2rem, 4vw, 3.3rem);
	line-height: 1.2;
	font-weight: 800;
}

.najd-contact-hero__intro {
	margin-top: 14px;
	color: #64748b;
	font-size: 1.02rem;
	line-height: 1.9;
}

.najd-contact-hero__intro p {
	margin: 0;
}

.najd-contact-grid {
	display: grid;
	grid-template-columns: minmax(280px, .78fr) minmax(0, 1.35fr);
	grid-template-areas: "details form";
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
	direction: ltr;
	padding-top: 30px;
	border-top: 1px solid #e2e8f0;
}

.najd-contact-details,
.najd-contact-form-panel {
	direction: rtl;
}

.najd-contact-details {
	grid-area: details;
}

.najd-contact-form-panel {
	grid-area: form;
}

.najd-contact-details > h2,
.najd-contact-form-panel > header h2 {
	margin: 0;
	color: #0f172a;
	font-size: 1.35rem;
	line-height: 1.4;
	font-weight: 800;
}

.najd-contact-form-panel > header p {
	margin: 7px 0 0;
	color: #64748b;
	font-size: .9rem;
	line-height: 1.75;
}

.najd-contact-detail {
	padding-block: 18px;
	border-bottom: 1px solid #eef2f7;
}

.najd-contact-detail > span {
	display: block;
	margin-bottom: 6px;
	color: #475569;
	font-size: .78rem;
	font-weight: 700;
}

.najd-contact-detail > a {
	color: #0f172a;
	font-size: .98rem;
	font-weight: 750;
	text-decoration: none;
	word-break: break-word;
}

.najd-contact-detail > a:hover {
	color: var(--najd-blue, #1261a0);
}

.najd-contact-detail p {
	margin: 6px 0 0;
	color: #94a3b8;
	font-size: .78rem;
	line-height: 1.7;
}

.najd-contact-detail--social .najd-social-grid {
	justify-content: flex-start;
	margin-top: 10px;
}

.najd-contact-form {
	display: grid;
	gap: 17px;
	margin-top: 22px;
}

.najd-contact-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.najd-contact-form label {
	display: grid;
	gap: 7px;
	color: #334155;
	font-size: .86rem;
	font-weight: 700;
}

.najd-contact-form input,
.najd-contact-form select,
.najd-contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #cbd5e1;
	border-radius: 2px;
	background: #fff;
	color: #0f172a;
	font: inherit;
	font-weight: 500;
	outline: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.najd-contact-form input,
.najd-contact-form select {
	height: 48px;
	padding-inline: 13px;
}

.najd-contact-form textarea {
	min-height: 170px;
	padding: 12px 13px;
	resize: vertical;
	line-height: 1.8;
}

.najd-contact-form input:focus,
.najd-contact-form select:focus,
.najd-contact-form textarea:focus {
	border-color: #0f172a;
	box-shadow: 0 0 0 2px rgba(15, 23, 42, .08);
}

.najd-contact-submit {
	justify-self: start;
	min-width: 150px;
	min-height: 48px;
	padding-inline: 22px;
	border: 0;
	border-radius: 2px;
	background: #0f172a;
	color: #fff;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
	transition: background-color .18s ease, opacity .18s ease;
}

.najd-contact-submit:hover {
	background: var(--najd-blue, #1261a0);
}

.najd-contact-submit:disabled {
	opacity: .62;
	cursor: wait;
}

.najd-contact-form__feedback {
	margin-top: 18px;
	padding: 12px 14px;
	border-inline-start: 3px solid currentColor;
	background: #f8fafc;
	font-size: .86rem;
	line-height: 1.7;
}

.najd-contact-form__feedback.is-success {
	color: #047857;
	background: #ecfdf5;
}

.najd-contact-form__feedback.is-error {
	color: #b42318;
	background: #fff1f2;
}

.najd-contact-honeypot {
	/* Keep the anti-spam field in the DOM without pushing the RTL page
	   thousands of pixels sideways on mobile browsers. */
	position: absolute !important;
	inset: 0 auto auto 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	opacity: 0 !important;
	pointer-events: none !important;
	transform: none !important;
}

@media (max-width: 820px) {
	.najd-contact-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"form"
			"details";
		gap: 38px;
	}
}

@media (max-width: 560px) {
	.najd-contact-page {
		padding-block: 24px 48px;
	}

	.najd-contact-form__row {
		grid-template-columns: 1fr;
	}

	.najd-contact-submit {
		width: 100%;
	}
}

/* ========================================================================
   v2.8.1 — Contact page cleanup
   ======================================================================== */

/*
 * The contact page uses the shared social SVG partial, but overrides the
 * legacy dark footer styling so icons remain clear and recognisable on the
 * light editorial contact panel.
 */
.najd-contact-detail--social .najd-social-grid {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	width: auto;
	margin: 12px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.najd-contact-detail--social .najd-social-grid__link {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	min-height: 38px;
	padding: 8px;
	border: 1px solid #dbe2ea;
	border-radius: 7px;
	background: #fff;
	box-shadow: none;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.najd-contact-detail--social .najd-social-grid__icon,
.najd-contact-detail--social .najd-social-grid__icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.najd-contact-detail--social .najd-social-grid__link--facebook {
	color: #1877f2;
}

.najd-contact-detail--social .najd-social-grid__link--instagram {
	color: #c13584;
}

.najd-contact-detail--social .najd-social-grid__link--x {
	color: #334155;
}

.najd-contact-detail--social .najd-social-grid__link--telegram {
	color: #229ed9;
}

.najd-contact-detail--social .najd-social-grid__link--youtube {
	color: #ff0000;
}

.najd-contact-detail--social .najd-social-grid__link:hover,
.najd-contact-detail--social .najd-social-grid__link:focus-visible {
	color: #fff;
	transform: translateY(-2px);
}

.najd-contact-detail--social .najd-social-grid__link--facebook:hover,
.najd-contact-detail--social .najd-social-grid__link--facebook:focus-visible {
	background: #1877f2;
	border-color: #1877f2;
}

.najd-contact-detail--social .najd-social-grid__link--instagram:hover,
.najd-contact-detail--social .najd-social-grid__link--instagram:focus-visible {
	background: #c13584;
	border-color: #c13584;
}

.najd-contact-detail--social .najd-social-grid__link--x:hover,
.najd-contact-detail--social .najd-social-grid__link--x:focus-visible {
	background: #111827;
	border-color: #111827;
}

.najd-contact-detail--social .najd-social-grid__link--telegram:hover,
.najd-contact-detail--social .najd-social-grid__link--telegram:focus-visible {
	background: #229ed9;
	border-color: #229ed9;
}

.najd-contact-detail--social .najd-social-grid__link--youtube:hover,
.najd-contact-detail--social .najd-social-grid__link--youtube:focus-visible {
	background: #ff0000;
	border-color: #ff0000;
}


/* v2.8.3: professional RTL slider arrows. Right edge moves visually right; left edge moves visually left. */
.najd-home-slider__edge-button--right { right: 16px; }
.najd-home-slider__edge-button--left { left: 16px; }

@media (max-width: 560px) {
	.najd-home-slider__edge-button {
		width: 38px;
		height: 38px;
		opacity: .92;
	}

	.najd-home-slider__edge-button svg {
		width: 19px;
		height: 19px;
	}
}


/* v2.8.4 — make every configured social channel visible on the homepage card. */
.najd-follow-card__item--facebook .najd-follow-card__icon { color: #1877f2; }
.najd-follow-card__item--instagram .najd-follow-card__icon { color: #d62976; }
.najd-follow-card__item--x .najd-follow-card__icon { color: #111827; }
.najd-follow-card__item--telegram .najd-follow-card__icon { color: #229ed9; }
.najd-follow-card__item--youtube .najd-follow-card__icon { color: #ff0000; }

.najd-follow-card__item--youtube .najd-follow-card__icon svg,
.najd-follow-card__item--instagram .najd-follow-card__icon svg {
	width: 23px;
	height: 23px;
}


/* ========================================================================
   v2.8.8 — Article tables, core blocks and responsive embeds
   ======================================================================== */

/*
 * Gutenberg wraps Table blocks in .wp-block-table. Classic Editor tables
 * may be emitted as raw <table> elements. Both paths get the same editorial
 * styling, while the wrapper/raw table itself owns horizontal scrolling on
 * narrow screens so the document never overflows.
 */
.najd-article-content .wp-block-table {
	width: 100%;
	max-width: 100%;
	margin: 1.75rem 0;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
}

.najd-article-content > table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 1.75rem 0;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
}

.najd-article-content .wp-block-table table,
.najd-article-content > table {
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.96rem;
	line-height: 1.65;
}

.najd-article-content .wp-block-table table {
	width: 100%;
	min-width: 620px;
	margin: 0;
	border: 0;
}

.najd-article-content > table {
	min-width: min(620px, 100%);
}

.najd-article-content table th,
.najd-article-content table td {
	padding: 13px 16px;
	vertical-align: top;
	text-align: start;
	border: 0;
	border-inline-start: 1px solid #e2e8f0;
	border-block-end: 1px solid #e2e8f0;
	background-clip: padding-box;
}

.najd-article-content table tr > :first-child {
	border-inline-start: 0;
}

.najd-article-content table tr:last-child > * {
	border-block-end: 0;
}

.najd-article-content table thead th {
	background: #0f172a;
	color: #fff;
	font-weight: 700;
}

.najd-article-content table tbody tr:nth-child(even) td,
.najd-article-content table tbody tr:nth-child(even) th {
	background: #f8fafc;
}

.najd-article-content table tbody tr:hover td,
.najd-article-content table tbody tr:hover th {
	background: #f1f5f9;
}

.najd-article-content table caption,
.najd-article-content .wp-block-table figcaption {
	padding-top: 9px;
	color: #64748b;
	font-size: 0.8rem;
	line-height: 1.6;
	text-align: start;
}

/* Improve touch scrolling without showing an intrusive scrollbar. */
.najd-article-content .wp-block-table,
.najd-article-content > table {
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}

.najd-article-content .wp-block-table::-webkit-scrollbar,
.najd-article-content > table::-webkit-scrollbar {
	height: 7px;
}

.najd-article-content .wp-block-table::-webkit-scrollbar-thumb,
.najd-article-content > table::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: #cbd5e1;
}

/* ------------------------------------------------------------------------
   Native WordPress embeds / media blocks
   ------------------------------------------------------------------------ */
.najd-article-content .wp-block-embed,
.najd-article-content .wp-block-video,
.najd-article-content .wp-block-audio,
.najd-article-content .wp-block-gallery,
.najd-article-content .wp-block-image,
.najd-article-content .wp-block-media-text,
.najd-article-content .wp-block-pullquote {
	max-width: 100%;
	margin-block: 1.6rem;
}

.najd-article-content .wp-block-embed__wrapper,
.najd-article-content .wp-block-video,
.najd-article-content .wp-video,
.najd-article-content .mejs-container {
	max-width: 100%;
}

/* Video providers: fluid ratio, no stretching. */
.najd-article-content .wp-block-embed.is-type-video .wp-block-embed__wrapper {
	--najd-embed-ratio: 16 / 9;
	position: relative;
	width: 100%;
	aspect-ratio: var(--najd-embed-ratio);
	overflow: hidden;
	background: #0b0f14;
}

.najd-article-content .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper { --najd-embed-ratio: 21 / 9; }
.najd-article-content .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper { --najd-embed-ratio: 18 / 9; }
.najd-article-content .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper { --najd-embed-ratio: 16 / 9; }
.najd-article-content .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper { --najd-embed-ratio: 4 / 3; }
.najd-article-content .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper { --najd-embed-ratio: 1 / 1; }
.najd-article-content .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper { --najd-embed-ratio: 9 / 16; }

/* Disable WordPress legacy padding-ratio pseudo element when modern aspect-ratio is used. */
.najd-article-content .wp-block-embed.is-type-video.wp-has-aspect-ratio .wp-block-embed__wrapper::before,
.najd-article-content .wp-block-embed.is-type-video[class*="wp-embed-aspect-"] .wp-block-embed__wrapper::before {
	display: none !important;
	padding-top: 0 !important;
}

.najd-article-content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe,
.najd-article-content .wp-block-embed.is-type-video .wp-block-embed__wrapper object,
.najd-article-content .wp-block-embed.is-type-video .wp-block-embed__wrapper embed {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}

/* Classic Editor / raw YouTube and Vimeo iframe embeds. */
.najd-article-content iframe[src*="youtube.com"],
.najd-article-content iframe[src*="youtube-nocookie.com"],
.najd-article-content iframe[src*="player.vimeo.com"] {
	display: block;
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
	aspect-ratio: 16 / 9;
	margin-block: 1.6rem;
	border: 0;
	background: #0b0f14;
}

/* SoundCloud/audio embeds keep their provider-defined height but fill width. */
.najd-article-content iframe[src*="soundcloud.com"],
.najd-article-content iframe[src*="w.soundcloud.com"] {
	display: block;
	width: 100% !important;
	max-width: 100%;
	border: 0;
}

.najd-article-content video,
.najd-article-content .wp-video-shortcode {
	display: block;
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
}

.najd-article-content audio,
.najd-article-content .wp-audio-shortcode {
	width: 100% !important;
	max-width: 100%;
}

/* Social embeds should never force the article wider than its reading column. */
.najd-article-content .twitter-tweet,
.najd-article-content .instagram-media,
.najd-article-content .wp-block-embed-twitter,
.najd-article-content .wp-block-embed-instagram {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin-inline: auto !important;
}

/* Gutenberg galleries/media: preserve native layout while preventing overflow. */
.najd-article-content .wp-block-gallery {
	gap: clamp(8px, 1.5vw, 14px);
}

.najd-article-content .wp-block-gallery img,
.najd-article-content .wp-block-image img,
.najd-article-content .wp-block-media-text img {
	max-width: 100%;
	height: auto;
}

.najd-article-content .wp-block-pullquote {
	padding: clamp(22px, 4vw, 38px);
	border-block: 2px solid #0f172a;
	background: #f8fafc;
	color: #0f172a;
	text-align: center;
}

.najd-article-content .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 650;
	line-height: 1.8;
}

/* Defensive contact-page de-duplication. The canonical template renders one. */
.najd-contact-grid > .najd-contact-details ~ .najd-contact-details {
	display: none !important;
}

@media (max-width: 640px) {
	.najd-article-content {
		font-size: 1.04rem;
	}

	.najd-article-content .wp-block-table,
	.najd-article-content > table {
		margin-inline: 0;
	}

	.najd-article-content .wp-block-table table {
		min-width: 560px;
	}

	.najd-article-content table th,
	.najd-article-content table td {
		padding: 11px 13px;
		font-size: 0.9rem;
	}

	.najd-contact-grid > .najd-contact-details {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}
}

/* ========================================================================
   v2.8.9 — Contact mobile layout, desktop table proportions, article images
   ======================================================================== */

/* ------------------------------------------------------------------------
   Contact page: force a real single-column mobile/tablet composition.
   This intentionally becomes active up to 1024px so browsers using a wider
   mobile layout viewport cannot leave the page squeezed against one edge.
   ------------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.najd-contact-page {
		width: 100%;
		max-width: 100%;
		padding-block: 24px 48px;
		overflow: hidden;
	}

	.najd-contact-page > .najd-container {
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding-inline: clamp(16px, 4vw, 28px);
	}

	.najd-contact-hero {
		width: 100%;
		max-width: 720px;
		margin-inline: 0;
		margin-bottom: 26px;
	}

	.najd-contact-grid {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		gap: 34px;
		direction: rtl;
		padding-top: 24px;
	}

	.najd-contact-form-panel,
	.najd-contact-details,
	.najd-contact-form,
	.najd-contact-form__row,
	.najd-contact-form label,
	.najd-contact-form input,
	.najd-contact-form select,
	.najd-contact-form textarea {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.najd-contact-form__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.najd-contact-form-panel {
		order: 1;
	}

	.najd-contact-details {
		order: 2;
	}

	.najd-contact-submit {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.najd-contact-page > .najd-container {
		padding-inline: 14px;
	}

	.najd-contact-hero h1 {
		font-size: clamp(1.8rem, 9vw, 2.35rem);
	}

	.najd-contact-hero__intro {
		font-size: .96rem;
		line-height: 1.85;
	}

	.najd-contact-details > h2,
	.najd-contact-form-panel > header h2 {
		font-size: 1.2rem;
	}
}

/* ------------------------------------------------------------------------
   Tables: compact, proportional desktop layout; scroll only when needed on
   narrow screens. Gutenberg .wp-block-table remains the scroll container.
   ------------------------------------------------------------------------ */
@media (min-width: 641px) {
	.najd-article-content .wp-block-table {
		overflow: visible;
	}

	.najd-article-content .wp-block-table table,
	.najd-article-content > table {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		table-layout: fixed;
	}

	.najd-article-content > table {
		display: table;
		overflow: visible;
	}

	/* Common editorial three-column timeline/stat tables:
	   first = short value/minute, second = event, third = analysis/effect. */
	@supports selector(table:has(tr > :nth-child(3):last-child)) {
		.najd-article-content table:has(> thead > tr > :nth-child(3):last-child) tr > :nth-child(1) {
			width: 14%;
			text-align: center;
		}

		.najd-article-content table:has(> thead > tr > :nth-child(3):last-child) tr > :nth-child(2) {
			width: 34%;
		}

		.najd-article-content table:has(> thead > tr > :nth-child(3):last-child) tr > :nth-child(3) {
			width: 52%;
		}
	}
}

@media (max-width: 640px) {
	.najd-article-content .wp-block-table {
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		-webkit-overflow-scrolling: touch;
	}

	.najd-article-content .wp-block-table table {
		width: max(100%, 560px);
		min-width: 560px;
		table-layout: auto;
	}

	/* Classic Editor raw tables: keep the element itself inside the article
	   and allow its own scroll viewport instead of widening the document. */
	.najd-article-content > table {
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow-x: auto;
		white-space: normal;
	}
}

/* ------------------------------------------------------------------------
   WordPress article images / figures / captions.
   Covers Gutenberg Image, Gallery/Media Text, Classic Editor images and
   WordPress caption markup without changing the image's natural ratio.
   ------------------------------------------------------------------------ */
.najd-article-content img,
.najd-article-content picture,
.najd-article-content figure,
.najd-article-content .wp-caption,
.najd-article-content .wp-block-image,
.najd-article-content .wp-block-gallery,
.najd-article-content .wp-block-media-text {
	max-width: 100%;
}

.najd-article-content img,
.najd-article-content picture img,
.najd-article-content figure img,
.najd-article-content .wp-caption img,
.najd-article-content .wp-block-image img,
.najd-article-content .wp-block-gallery img,
.najd-article-content .wp-block-media-text img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto !important;
	object-fit: contain;
}

.najd-article-content figure,
.najd-article-content .wp-block-image,
.najd-article-content .wp-caption {
	margin-block: 1.6rem;
}

.najd-article-content .aligncenter,
.najd-article-content figure.aligncenter,
.najd-article-content .wp-block-image.aligncenter {
	margin-inline: auto;
	text-align: center;
}

.najd-article-content .aligncenter img,
.najd-article-content figure.aligncenter img,
.najd-article-content .wp-block-image.aligncenter img {
	margin-inline: auto;
}

.najd-article-content .alignwide,
.najd-article-content .alignfull {
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
}

.najd-article-content .wp-caption-text,
.najd-article-content figcaption,
.najd-article-content .wp-element-caption {
	margin-top: 8px;
	color: #64748b;
	font-size: .82rem;
	line-height: 1.65;
	text-align: start;
}

@media (min-width: 769px) {
	.najd-article-content img.alignleft,
	.najd-article-content figure.alignleft,
	.najd-article-content .wp-caption.alignleft {
		float: left;
		max-width: 48%;
		margin: .4rem 1.5rem 1rem 0;
	}

	.najd-article-content img.alignright,
	.najd-article-content figure.alignright,
	.najd-article-content .wp-caption.alignright {
		float: right;
		max-width: 48%;
		margin: .4rem 0 1rem 1.5rem;
	}
}

@media (max-width: 768px) {
	.najd-article-content img.alignleft,
	.najd-article-content img.alignright,
	.najd-article-content figure.alignleft,
	.najd-article-content figure.alignright,
	.najd-article-content .wp-caption.alignleft,
	.najd-article-content .wp-caption.alignright {
		float: none;
		width: 100%;
		max-width: 100%;
		margin: 1.4rem 0;
	}

	.najd-article-content img.alignleft,
	.najd-article-content img.alignright,
	.najd-article-content figure.alignleft img,
	.najd-article-content figure.alignright img {
		margin-inline: auto;
	}
}



/* ========================================================================
   v2.9.0 — Contact page hard mobile containment
   ======================================================================== */

/* Dedicated container: do not inherit the editorial .najd-container sizing. */
.najd-contact-container {
	width: min(calc(100% - 40px), 1180px);
	max-width: 1180px;
	min-width: 0;
	margin-inline: auto;
	box-sizing: border-box;
}

/* Every direct contact-page child must be shrinkable inside its column. */
.najd-contact-page,
.najd-contact-container,
.najd-contact-hero,
.najd-contact-grid,
.najd-contact-form-panel,
.najd-contact-details,
.najd-contact-form,
.najd-contact-form__row,
.najd-contact-form label {
	min-width: 0;
	box-sizing: border-box;
}

/* Prevent long addresses/URLs from widening the viewport. */
.najd-contact-page a,
.najd-contact-page p,
.najd-contact-page span,
.najd-contact-page label {
	overflow-wrap: anywhere;
	word-break: normal;
}

@media (max-width: 768px) {
	/* Hard reset only for this page. */
	body.page-template-page-contact,
	body.page-template-page-contact .najd-main,
	body.page-template-page-contact .najd-contact-page {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		overflow-x: clip !important;
	}

	.najd-contact-page {
		padding: 22px 0 42px !important;
	}

	.najd-contact-container {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding-inline: 18px !important;
	}

	.najd-contact-hero {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 24px !important;
	}

	.najd-contact-grid {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding-top: 22px !important;
		gap: 30px !important;
		direction: rtl;
	}

	.najd-contact-grid > .najd-contact-form-panel,
	.najd-contact-grid > .najd-contact-details {
		position: static !important;
		float: none !important;
		flex: 0 1 auto !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		inset: auto !important;
		transform: none !important;
	}

	.najd-contact-form-panel {
		order: 1;
	}

	.najd-contact-details {
		order: 2;
	}

	.najd-contact-form {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		gap: 16px;
	}

	.najd-contact-form__row {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		gap: 16px;
	}

	.najd-contact-form label,
	.najd-contact-form input[type="text"],
	.najd-contact-form input[type="email"],
	.najd-contact-form select,
	.najd-contact-form textarea,
	.najd-contact-submit {
		display: block;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	.najd-contact-form input[type="text"],
	.najd-contact-form input[type="email"],
	.najd-contact-form select {
		height: 46px;
	}

	.najd-contact-form textarea {
		min-height: 160px;
	}

	.najd-contact-submit {
		min-height: 48px;
	}

	.najd-contact-detail {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.najd-contact-container {
		padding-inline: 15px !important;
	}

	.najd-contact-page {
		padding-block: 18px 36px !important;
	}

	.najd-contact-hero h1 {
		font-size: 1.9rem;
		line-height: 1.25;
	}

	.najd-contact-hero__intro {
		font-size: .94rem;
		line-height: 1.8;
	}

	.najd-contact-form-panel > header h2,
	.najd-contact-details > h2 {
		font-size: 1.18rem;
	}
}


/* ========================================================================
   v2.9.1 — Contact mobile root-cause fix
   The previous anti-spam field used left:-9999px. In RTL Chromium that can
   enlarge document.scrollWidth and visually pin the whole page to the right.
   These rules also make the contact template independent of WP template body
   class detection because the template is selected via template_include.
   ======================================================================== */
html:has(.najd-contact-page),
body.najd-is-contact {
	max-width: 100% !important;
	overflow-x: clip !important;
}

body.najd-is-contact .najd-main,
body.najd-is-contact .najd-contact-page,
body.najd-is-contact .najd-contact-container {
	min-width: 0 !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

@media (max-width: 768px) {
	body.najd-is-contact .najd-main {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow-x: clip !important;
	}

	body.najd-is-contact .najd-contact-page {
		width: 100% !important;
		margin: 0 !important;
		padding: 20px 0 40px !important;
		overflow-x: clip !important;
	}

	body.najd-is-contact .najd-contact-container {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding-inline: 18px !important;
	}

	body.najd-is-contact .najd-contact-grid {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		gap: 30px !important;
	}

	body.najd-is-contact .najd-contact-form-panel,
	body.najd-is-contact .najd-contact-details,
	body.najd-is-contact .najd-contact-form,
	body.najd-is-contact .najd-contact-form__row,
	body.najd-is-contact .najd-contact-form label,
	body.najd-is-contact .najd-contact-form input,
	body.najd-is-contact .najd-contact-form select,
	body.najd-is-contact .najd-contact-form textarea,
	body.najd-is-contact .najd-contact-submit {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}
}

@media (max-width: 480px) {
	body.najd-is-contact .najd-contact-container {
		padding-inline: 15px !important;
	}
}

/* Omranly v3.0 — optional project facts card. */
.omranly-project-facts {
	margin: 0 0 26px;
	padding: clamp(18px, 2.4vw, 26px);
	border: 1px solid var(--najd-line);
	border-inline-start: 4px solid var(--najd-accent);
	background: var(--najd-surface);
}

.omranly-project-facts__head {
	margin-bottom: 16px;
}

.omranly-project-facts__eyebrow {
	margin: 0 0 4px;
	color: var(--najd-accent);
	font-size: .78rem;
	font-weight: 700;
}

.omranly-project-facts__head h2 {
	margin: 0;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.omranly-project-facts__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	background: var(--najd-line);
	border: 1px solid var(--najd-line);
}

.omranly-project-facts__item {
	margin: 0;
	padding: 12px 14px;
	background: var(--najd-bg);
}

.omranly-project-facts__item dt {
	margin: 0 0 3px;
	color: var(--najd-muted);
	font-size: .78rem;
	font-weight: 600;
}

.omranly-project-facts__item dd {
	margin: 0;
	font-weight: 700;
	line-height: 1.55;
}

.omranly-project-facts__source {
	margin: 14px 0 0;
	font-size: .9rem;
}

.omranly-project-facts__source a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

@media (max-width: 640px) {
	.omranly-project-facts__grid {
		grid-template-columns: 1fr;
	}
}

/* Omranly 3.1 trust/contact guidance */
.najd-contact-guidance {
	margin-top: clamp(28px, 4vw, 52px);
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--najd-line);
	border-radius: 14px;
	background: var(--najd-surface);
}

.najd-contact-guidance h2 {
	margin-top: 0;
}
