/* ==========================================================================
   Scope24.ma — Official Brand Palette & Dedicated Arabic News Design System
   Brand Kit Tokens: Navy #213951 | Orange #ff540c | Abyss #03263c | Mist #f4f6f9
   ========================================================================== */

:root {
	/* Official Scope24 Brand Kit Tokens */
	--scope-navy: #213951;
	--scope-orange: #ff540c;
	--slate: #37414c;
	--white: #ffffff;
	--lens-cyan: #27a3de;
	--lens-blue: #1a96d4;
	--deep-blue: #175a8d;
	--iris-blue: #046ba2;
	--iris-teal: #055175;
	--abyss: #03263c;
	--glow-light: #ff7a3a;
	--glow-deep: #f4601f;
	--mist: #f4f6f9;
	--fog: #dfe4e9;
	--rim-blue: #6fa6c6;
	--ice: #b4e2f7;
	--ring-navy: #21354e;

	/* Semantic Theme Tokens Mapped to Scope24 Brand Kit */
	--aj-surface-default: var(--white);
	--aj-surface-raised: var(--mist);
	--aj-surface-sunken: var(--fog);
	--aj-surface-inverse: var(--abyss);

	--aj-gold: var(--scope-orange);
	--aj-blue-500: var(--scope-orange);
	--aj-blue-600: var(--lens-blue);
	--aj-blue-300: var(--lens-cyan);
	--aj-blue-900: var(--deep-blue);
	--aj-breaking: var(--scope-orange);
	--aj-orange-500: var(--scope-orange);
	--aj-purple-500: var(--scope-navy);
	--aj-green-500: var(--iris-teal);
	--aj-yellow-500: var(--lens-cyan);

	/* Text */
	--aj-text-primary: var(--scope-navy);
	--aj-text-secondary: #5b6b7a;
	--aj-text-muted: var(--slate);
	--aj-text-inverse: var(--white);

	/* Borders */
	--aj-border-subtle: var(--fog);
	--aj-border-edge: var(--fog);
	--aj-border-default: var(--rim-blue);
	--aj-border-strong: var(--scope-navy);

	/* Typography & Layout */
	--aj-font: "Cairo", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--aj-max-width: 1180px;
	--aj-radius-sm: 8px;
	--aj-radius-md: 14px;
	--aj-radius-lg: 18px;
	--aj-radius-pill: 9999px;
	--aj-header-height: 82px;
}

[data-theme="dark"] {
	--aj-surface-default: var(--abyss);
	--aj-surface-raised: #0b2e47;
	--aj-surface-sunken: var(--abyss);
	--aj-text-primary: #eaf1f7;
	--aj-text-secondary: #9fb3c4;
	--aj-text-muted: #c4d5e3;
	--aj-text-inverse: var(--abyss);
	--aj-border-subtle: #1a3a52;
	--aj-border-edge: #1f4562;
	--aj-border-default: var(--rim-blue);
	--aj-border-strong: var(--white);
}

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

html,
body {
	margin: 0;
	padding: 0;
}

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

body.aj-news-theme {
	font-family: var(--aj-font);
	background-color: var(--aj-surface-default);
	color: var(--aj-text-primary);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body.aj-news-theme h1,
body.aj-news-theme h2,
body.aj-news-theme h3,
body.aj-news-theme h4,
body.aj-news-theme p,
body.aj-news-theme a,
body.aj-news-theme button,
body.aj-news-theme input {
	font-family: var(--aj-font);
}

body.aj-news-theme #header,
body.aj-news-theme #header .header-wrapper {
	background: transparent;
	box-shadow: none;
	position: sticky;
	top: 0;
	z-index: 40;
}

body.aj-news-theme #main {
	background-color: var(--aj-surface-default);
	padding-top: 0;
	padding-bottom: 0;
}

.aj-container {
	width: 100%;
	max-width: var(--aj-max-width);
	margin-inline: auto;
	padding-inline: 16px;
	box-sizing: border-box;
}

/* ==========================================================================
   1. Sticky Auto-Hide Header (106px Desktop)
   ========================================================================== */
.aj-header-bar {
	background: #ffffff;
	border-bottom: 1px solid var(--aj-border-subtle);
	min-height: 82px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition: transform 260ms cubic-bezier(0.65, 0, 0.35, 1), box-shadow 220ms ease;
	will-change: transform;
}

.aj-header-search {
	border-top: 1px solid var(--aj-border-subtle);
	background: #ffffff;
	padding: 12px 0;
}

.aj-header-search__form {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 640px;
	margin-inline: auto;
}

.aj-header-search__form input {
	flex: 1;
	border: 1px solid var(--aj-border-edge);
	border-radius: var(--aj-radius-pill);
	padding: 10px 18px;
	font-size: 14px;
	outline: none;
}

.aj-header-search__form input:focus {
	border-color: var(--aj-blue-500);
}

.aj-search-submit-btn {
	background: var(--aj-blue-500);
	color: #ffffff;
	border: 0;
	border-radius: var(--aj-radius-pill);
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.aj-search-submit-btn:hover {
	background: #1c379f;
}

.aj-header-bar.is-hidden {
	transform: translateY(-100%);
}

.aj-header-bar.is-scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.aj-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.aj-header-start,
.aj-header-end {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.aj-icon-btn {
	background: transparent;
	border: 0;
	color: var(--aj-text-primary);
	padding: 8px;
	margin: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--aj-radius-sm);
	transition: background-color 180ms ease;
}

.aj-icon-btn:hover {
	background-color: var(--aj-surface-raised);
}

.aj-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.aj-brand-logo-img {
	max-height: 62px;
	width: auto;
	display: block;
}

.aj-brand-mark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.aj-brand-wordmark {
	font-size: 22px;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
}

/* Primary Nav */
.aj-primary-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.aj-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 24px;
}

.aj-nav-list > li {
	position: relative;
	margin: 0;
}

.aj-nav-list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 16px;
	font-weight: 600;
	color: var(--aj-text-primary);
	text-decoration: none;
	padding: 10px 2px;
	position: relative;
	transition: color 180ms ease;
}

.aj-nav-list > li > a:hover,
.aj-nav-list > li.current-menu-item > a {
	font-weight: 700;
	color: var(--aj-text-primary);
}

.aj-nav-list > li.current-menu-item > a::after,
.aj-nav-list > li > a:hover::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 2.5px;
	background: var(--aj-text-primary);
	border-radius: 2px;
}

.aj-nav-list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	min-width: 190px;
	background: #ffffff;
	border: 1px solid var(--aj-border-subtle);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	padding: 8px 0;
	list-style: none;
	z-index: 60;
}

.aj-nav-list > li:hover > .sub-menu {
	display: block;
}

.aj-nav-list .sub-menu a {
	display: block;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--aj-text-primary);
	text-decoration: none;
}

.aj-nav-list .sub-menu a:hover {
	background: var(--aj-surface-raised);
	color: var(--aj-blue-500);
}

/* Header Utility Cluster */
.aj-account-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--aj-text-primary);
	text-decoration: none;
}

.aj-account-link:hover {
	color: var(--aj-blue-500);
}

.aj-header-divider {
	width: 1px;
	height: 22px;
	background: var(--aj-border-edge);
}

.aj-live-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--aj-surface-inverse);
	color: var(--aj-text-inverse) !important;
	font-size: 14px;
	font-weight: 700;
	padding: 9px 18px;
	border-radius: var(--aj-radius-pill);
	text-decoration: none;
	transition: opacity 180ms ease, transform 180ms ease;
	white-space: nowrap;
}

.aj-live-pill:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.aj-live-pill--full {
	width: 100%;
}

/* ==========================================================================
   2. Drawers & Floating Controls ("يحدث الآن", Section Dots, Ask Bar)
   ========================================================================== */
.aj-drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 15, 15, 0.55);
	backdrop-filter: blur(2px);
	z-index: 90;
}

.aj-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	width: min(360px, 90vw);
	background: #ffffff;
	z-index: 100;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
	transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aj-drawer--nav {
	inset-inline-start: 0;
	transform: translateX(100%);
}

html:not([dir="rtl"]) .aj-drawer--nav {
	transform: translateX(-100%);
}

.aj-drawer--live {
	inset-inline-end: 0;
	transform: translateX(-100%);
}

html:not([dir="rtl"]) .aj-drawer--live {
	transform: translateX(100%);
}

.aj-drawer.is-open {
	transform: translateX(0) !important;
}

.aj-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--aj-border-subtle);
}

.aj-drawer-search {
	display: flex;
	align-items: center;
	margin: 16px 20px 8px;
	border: 1px solid var(--aj-border-edge);
	border-radius: var(--aj-radius-pill);
	padding: 4px 12px;
	background: var(--aj-surface-raised);
}

.aj-drawer-search input {
	flex: 1;
	border: 0;
	background: transparent;
	box-shadow: none;
	margin: 0;
	height: 36px;
	font-size: 14px;
}

.aj-drawer-search button {
	background: transparent;
	border: 0;
	padding: 6px;
	margin: 0;
	cursor: pointer;
	color: var(--aj-text-primary);
}

.aj-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 12px 20px 24px;
}

.aj-drawer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aj-drawer-links li {
	border-bottom: 1px solid var(--aj-border-subtle);
	margin: 0;
}

.aj-drawer-links a {
	display: block;
	padding: 13px 4px;
	font-size: 16px;
	font-weight: 700;
	color: var(--aj-text-primary);
	text-decoration: none;
}

.aj-drawer-links a:hover {
	color: var(--aj-blue-500);
}

.aj-drawer-foot {
	padding: 16px 20px;
	border-top: 1px solid var(--aj-border-subtle);
}

/* Pulsing Live Dot */
.aj-pulse-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--aj-breaking);
	display: inline-block;
	position: relative;
	flex-shrink: 0;
}

.aj-pulse-dot::after {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 2px solid var(--aj-breaking);
	opacity: 0.6;
	animation: ajPulse 1.8s infinite;
}

@keyframes ajPulse {
	0% { transform: scale(0.9); opacity: 0.75; }
	100% { transform: scale(1.9); opacity: 0; }
}

/* Floating Left-Edge "يحدث الآن" Pill */
.aj-happening-pill {
	position: fixed;
	inset-inline-end: 16px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 35;
	background: #ffffff;
	color: var(--aj-text-primary);
	border: 1px solid var(--aj-border-edge);
	border-radius: var(--aj-radius-pill);
	padding: 14px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	transition: transform 200ms ease, box-shadow 200ms ease;
}

.aj-happening-pill:hover {
	transform: translateY(-50%) scale(1.04);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.aj-happening-text {
	writing-mode: vertical-rl;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.aj-happening-count {
	background: var(--aj-breaking);
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.aj-live-drawer-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
}

.aj-live-feed {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aj-live-feed-item {
	padding: 14px 0;
	border-bottom: 1px solid var(--aj-border-subtle);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.aj-live-feed-time {
	font-size: 12px;
	color: var(--aj-breaking);
	font-weight: 700;
}

.aj-live-feed-link {
	font-size: 15px;
	font-weight: 700;
	color: var(--aj-text-primary);
	text-decoration: none;
	line-height: 1.45;
}

.aj-live-feed-link:hover {
	color: var(--aj-blue-500);
}

/* Floating Right-Edge Section Dot Indicator */
.aj-section-dots {
	position: fixed;
	inset-inline-start: 18px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.aj-dot-link {
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: rgba(144, 144, 144, 0.55);
	transition: all 200ms ease;
	display: block;
}

.aj-dot-link.is-active,
.aj-dot-link:hover {
	background: var(--aj-blue-500);
	height: 20px;
}

/* Floating Bottom Ask / Search Bar */
.aj-floating-ask-wrap {
	position: fixed;
	bottom: 18px;
	inset-inline: 16px;
	z-index: 45;
	display: flex;
	justify-content: center;
	pointer-events: none;
}

.aj-floating-ask {
	pointer-events: auto;
	width: 100%;
	max-width: 560px;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	border: 1px solid var(--aj-border-edge);
	border-radius: 27px;
	padding: 6px 8px 6px 6px;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 10px 34px rgba(15, 15, 15, 0.14);
}

.aj-floating-ask__input {
	flex: 1;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 6px 14px !important;
	font-size: 14px !important;
	color: var(--aj-text-primary) !important;
	height: 40px !important;
}

.aj-floating-ask__input:focus {
	outline: none;
}

.aj-floating-ask__submit {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	margin: 0;
	padding: 0;
	background: var(--aj-blue-500);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: background-color 180ms ease, transform 180ms ease;
}

.aj-floating-ask__submit:hover {
	background: #1c379f;
	transform: scale(1.05);
}

/* ==========================================================================
   3. Sub-Header Pill Switcher ("أهم الأخبار" | "الأحدث" | "يتصدر الآن")
   ========================================================================== */
.aj-subnav-wrap {
	display: flex;
	justify-content: center;
	padding: 18px 16px 6px;
	position: sticky;
	top: 12px;
	z-index: 25;
	pointer-events: none;
}

.aj-subnav-pills {
	pointer-events: auto;
	background: #ffffff;
	border: 1px solid var(--aj-border-subtle);
	border-radius: var(--aj-radius-pill);
	padding: 5px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.aj-subnav-pill {
	border: 0;
	background: transparent;
	color: var(--aj-text-primary);
	font-size: 14px;
	font-weight: 700;
	padding: 8px 20px;
	border-radius: var(--aj-radius-pill);
	cursor: pointer;
	margin: 0;
	transition: all 200ms ease;
}

.aj-subnav-pill.is-active {
	background: linear-gradient(to left, #1046e5, #1c379f);
	color: #ffffff;
	box-shadow: 0 4px 18px #cccccc;
}

/* ==========================================================================
   4. Shared Section & Card Styles
   ========================================================================== */
.aj-section {
	padding: 36px 0;
	background: var(--aj-surface-default);
	color: var(--aj-text-primary);
}

.aj-section--hero {
	padding-top: 20px;
	padding-bottom: 44px;
}

.aj-section--sports {
	background: var(--aj-surface-raised);
	padding: 44px 0;
}

.aj-section--dark {
	background: #0f0f0f;
	color: #ffffff;
	padding: 48px 0;
}

.aj-section--video {
	border-top: 1px solid #262626;
}

.aj-curved-rule {
	height: 1px;
	width: 100%;
	background: linear-gradient(to left, transparent, rgba(15, 15, 15, 0.18) 8%, rgba(15, 15, 15, 0.18) 92%, transparent);
	margin-bottom: 24px;
}

.aj-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.aj-section-header__start {
	display: flex;
	align-items: center;
	gap: 12px;
}

.aj-section-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	color: var(--aj-text-primary);
}

.aj-section-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
	flex-shrink: 0;
}

.aj-follow-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: var(--aj-radius-pill);
	border: 1px solid var(--aj-border-edge);
	color: var(--aj-text-primary);
	text-decoration: none;
	transition: all 180ms ease;
}

.aj-follow-pill:hover {
	border-color: var(--aj-blue-500);
	color: var(--aj-blue-500);
}

.aj-section-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 700;
	color: var(--aj-text-primary);
	text-decoration: none;
}

.aj-section-more:hover {
	color: var(--aj-blue-500);
}

/* Media Ratios & Placeholders */
.aj-ratio-16x9 {
	aspect-ratio: 16 / 9;
}

.aj-ratio-3x2 {
	aspect-ratio: 3 / 2;
}

.aj-card__media,
.aj-hero-lead__media,
.aj-opinion-lead__media,
.aj-featured-split__media,
.aj-video-lead__media {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: var(--aj-radius-md);
	background: #1a1a1a;
}

.aj-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 360ms ease;
}

a:hover .aj-card__img {
	transform: scale(1.03);
}

.aj-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.25);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.aj-duration-badge {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	background: rgba(15, 15, 15, 0.85);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: var(--aj-radius-pill);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.aj-live-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 800;
	color: var(--aj-breaking);
	margin-bottom: 6px;
}

.aj-live-tag--lg {
	font-size: 14px;
	margin-bottom: 12px;
}

.aj-card__date {
	display: block;
	font-size: 12px;
	color: var(--aj-text-secondary);
	margin-top: 6px;
}

/* ==========================================================================
   5. Hero 3-Column Steady State (1fr 1.8fr 1fr)
   ========================================================================== */
.aj-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1.8fr 1fr;
	gap: 40px;
	align-items: start;
}

.aj-hero-col--side {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.aj-hero-text-item {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--aj-border-subtle);
}

.aj-hero-text-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.aj-hero-text-item__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
}

.aj-hero-text-item__title a {
	color: var(--aj-text-primary);
	text-decoration: none;
}

.aj-hero-text-item__title a:hover {
	color: var(--aj-blue-500);
}

/* Dark Overlay Image Card */
.aj-overlay-card {
	border-radius: var(--aj-radius-md);
	overflow: hidden;
	position: relative;
}

.aj-overlay-card__link {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	text-decoration: none;
}

.aj-overlay-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 360ms ease;
}

.aj-overlay-card__link:hover .aj-overlay-card__img {
	transform: scale(1.04);
}

.aj-overlay-card__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 15, 15, 0.92) 8%, rgba(15, 15, 15, 0.35) 55%, transparent 100%);
	display: flex;
	align-items: flex-end;
	padding: 16px;
}

.aj-overlay-card__title {
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0;
}

/* Center Lead Story */
.aj-hero-lead {
	padding-bottom: 24px;
	border-bottom: 1px solid var(--aj-border-subtle);
	margin-bottom: 22px;
}

.aj-hero-lead__title {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.4;
	margin: 16px 0 10px;
}

.aj-hero-lead__title a {
	color: var(--aj-text-primary);
	text-decoration: none;
}

.aj-hero-lead__title a:hover {
	color: var(--aj-blue-500);
}

.aj-hero-lead__excerpt {
	font-size: 16px;
	color: var(--aj-text-muted);
	margin: 0;
	line-height: 1.65;
}

/* Horizontal Split Cards under Center Lead */
.aj-hero-splits {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.aj-split-card {
	display: grid;
	grid-template-columns: 1fr 140px;
	gap: 16px;
	align-items: start;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--aj-border-subtle);
}

.aj-split-card:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.aj-split-card__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0 0 6px;
}

.aj-split-card__title a {
	color: var(--aj-text-primary);
	text-decoration: none;
}

.aj-split-card__title a:hover {
	color: var(--aj-blue-500);
}

.aj-split-card__excerpt {
	font-size: 14px;
	color: var(--aj-text-muted);
	margin: 0;
	line-height: 1.55;
}

.aj-split-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	border-radius: var(--aj-radius-sm);
	overflow: hidden;
}

/* ==========================================================================
   6. Standard Grids & Horizontal Carousel
   ========================================================================== */
.aj-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

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

.aj-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.aj-card--grid .aj-card__body {
	padding-top: 12px;
}

.aj-card--grid .aj-card__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
}

.aj-card--grid .aj-card__title a {
	color: var(--aj-text-primary);
	text-decoration: none;
}

.aj-card--grid .aj-card__title a:hover {
	color: var(--aj-blue-500);
}

[data-theme="dark"] .aj-card--grid .aj-card__title a:hover {
	color: var(--aj-yellow-500);
}

/* Carousel */
.aj-carousel__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 6px;
}

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

.aj-carousel__slide {
	flex: 0 0 calc(25% - 15px);
	scroll-snap-align: start;
}

.aj-carousel--cols-3 .aj-carousel__slide {
	flex: 0 0 calc(33.333% - 14px);
}

.aj-carousel__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 22px;
}

.aj-carousel__btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--aj-border-edge);
	background: var(--aj-surface-default);
	color: var(--aj-text-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin: 0;
	padding: 0;
	transition: border-color 180ms ease, color 180ms ease;
}

.aj-carousel__btn:hover {
	border-color: var(--aj-blue-500);
	color: var(--aj-blue-500);
}

.aj-carousel__dots {
	display: flex;
	align-items: center;
	gap: 6px;
}

.aj-carousel__dot {
	width: 7px;
	height: 7px;
	border-radius: 9999px;
	background: var(--aj-border-edge);
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	transition: all 200ms ease;
}

.aj-carousel__dot.is-active {
	background: var(--aj-blue-500);
	width: 20px;
}

/* ==========================================================================
   7. Opinion, Trending, Editors' Picks & Video Sections
   ========================================================================== */
.aj-opinion-lead {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 32px;
	align-items: center;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--aj-border-subtle);
	margin-bottom: 28px;
}

.aj-author-chip {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.aj-author-chip--sm {
	margin-bottom: 0;
	margin-top: 14px;
}

.aj-author-avatar {
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.aj-author-prefix {
	display: block;
	font-size: 12px;
	color: var(--aj-text-secondary);
}

.aj-author-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--aj-text-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.aj-opinion-lead__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0 0 10px;
}

.aj-opinion-lead__title a,
.aj-opinion-card__title a {
	color: var(--aj-text-primary);
	text-decoration: none;
}

.aj-opinion-lead__title a:hover,
.aj-opinion-card__title a:hover {
	color: var(--aj-blue-500);
}

.aj-opinion-lead__excerpt {
	font-size: 15px;
	color: var(--aj-text-muted);
	margin: 0 0 8px;
}

.aj-opinion-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.aj-opinion-card {
	padding-inline-end: 20px;
	border-inline-end: 1px solid var(--aj-border-subtle);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.aj-opinion-card:last-child {
	border-inline-end: 0;
	padding-inline-end: 0;
}

.aj-opinion-card__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
}

/* Trending 2-Column Ranked Grid */
.aj-trending-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 40px;
	row-gap: 20px;
}

.aj-trending-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--aj-border-subtle);
}

.aj-trending-rank {
	font-size: 26px;
	font-weight: 900;
	line-height: 1;
	color: var(--aj-blue-500);
	min-width: 28px;
}

.aj-trending-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
}

.aj-trending-title a {
	color: var(--aj-text-primary);
	text-decoration: none;
}

.aj-trending-title a:hover {
	color: var(--aj-blue-500);
}

/* Featured Split (Editors' Picks & Video Lead) */
.aj-featured-split,
.aj-video-lead {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 32px;
	align-items: center;
	margin-bottom: 28px;
}

.aj-video-lead__media {
	border-radius: var(--aj-radius-lg);
}

.aj-video-play-circle {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(15, 15, 15, 0.78);
	color: #ffffff;
	border: 2px solid rgba(255, 255, 255, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 200ms ease, background-color 200ms ease;
}

.aj-video-lead__media:hover .aj-video-play-circle {
	transform: scale(1.08);
	background: var(--aj-blue-500);
	border-color: var(--aj-blue-500);
}

.aj-featured-split__title,
.aj-video-lead__title {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.4;
	margin: 0 0 12px;
}

.aj-featured-split__title a,
.aj-video-lead__title a {
	color: var(--aj-text-primary);
	text-decoration: none;
}

.aj-featured-split__excerpt,
.aj-video-lead__excerpt {
	font-size: 15px;
	color: var(--aj-text-muted);
	line-height: 1.65;
	margin: 0 0 10px;
}

/* App Promo Banner (#031c53) */
.aj-promo-section {
	padding: 40px 0 48px;
	background: #ffffff;
}

.aj-promo-banner {
	background: linear-gradient(140.93deg, rgba(3, 28, 83, 0.88) 4.91%, #031c53 95.09%);
	border: 1px solid #073eb9;
	border-radius: var(--aj-radius-lg);
	padding: 36px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	color: #ffffff;
}

.aj-promo-banner__title {
	font-size: 28px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 8px;
}

.aj-promo-banner__desc {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.86);
	margin: 0;
	max-width: 580px;
}

.aj-promo-banner__actions {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
}

.aj-store-btn {
	background: #ffffff;
	color: #031c53 !important;
	font-size: 14px;
	font-weight: 800;
	padding: 12px 22px;
	border-radius: var(--aj-radius-pill);
	text-decoration: none;
	transition: transform 180ms ease;
}

.aj-store-btn--outline {
	background: transparent;
	color: #ffffff !important;
	border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.aj-store-btn:hover {
	transform: translateY(-2px);
}

/* ==========================================================================
   8. Single Post & Archive Editorial Layouts
   ========================================================================== */
.aj-single-page,
.aj-archive-page {
	padding: 32px 0 64px;
}

.aj-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
}

.aj-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--aj-text-secondary);
	margin-bottom: 16px;
}

.aj-breadcrumbs a {
	color: var(--aj-text-secondary);
	text-decoration: none;
}

.aj-breadcrumb-cat {
	color: var(--aj-blue-500) !important;
	font-weight: 700;
}

.aj-single-title {
	font-size: 32px;
	font-weight: 800;
	line-height: 1.38;
	margin: 0 0 14px;
	color: var(--aj-text-primary);
}

.aj-single-standfirst {
	font-size: 18px;
	color: var(--aj-text-muted);
	line-height: 1.65;
	margin: 0 0 22px;
}

.aj-single-meta-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--aj-border-subtle);
	border-bottom: 1px solid var(--aj-border-subtle);
	margin-bottom: 24px;
}

.aj-single-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.aj-single-dates {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--aj-text-secondary);
}

.aj-share-strip {
	display: flex;
	align-items: center;
	gap: 8px;
}

.aj-share-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--mist);
	border: 1px solid var(--fog);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--scope-navy);
	text-decoration: none;
	cursor: pointer;
	padding: 0;
	transition: all 180ms ease;
}

.aj-share-btn:hover {
	background: var(--scope-orange);
	border-color: var(--scope-orange);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(3, 38, 60, 0.14);
}

.aj-share-btn.is-copied {
	background: #0f766e;
	border-color: #0f766e;
	color: #ffffff;
}

.aj-single-figure {
	margin: 0 0 28px;
}

.aj-single-featured-img {
	width: 100%;
	height: auto;
	border-radius: var(--aj-radius-md);
	display: block;
}

.aj-single-caption {
	font-size: 13px;
	color: var(--aj-text-secondary);
	margin-top: 8px;
}

.aj-single-content {
	font-size: 18px;
	line-height: 1.9;
	color: var(--aj-text-primary);
}

.aj-single-content p {
	margin-bottom: 1.3em;
}

.aj-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--aj-border-subtle);
}

.aj-tag-pill {
	background: var(--aj-surface-raised);
	color: var(--aj-text-primary);
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: var(--aj-radius-pill);
	text-decoration: none;
}

.aj-tag-pill:hover {
	background: var(--aj-blue-500);
	color: #ffffff;
}

/* Sticky Sidebar */
.aj-single-sidebar {
	position: sticky;
	top: 124px;
}

.aj-sidebar-box {
	background: var(--aj-surface-raised);
	border-radius: var(--aj-radius-md);
	padding: 22px;
}

.aj-sidebar-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 18px;
}

.aj-sidebar-ranked {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.aj-sidebar-ranked li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--aj-border-edge);
}

.aj-sidebar-ranked li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.aj-sidebar-ranked a {
	font-size: 14px;
	font-weight: 700;
	color: var(--aj-text-primary);
	text-decoration: none;
	line-height: 1.45;
}

.aj-sidebar-ranked a:hover {
	color: var(--aj-blue-500);
}

.aj-related-section {
	margin-top: 56px;
}

/* Archive */
.aj-archive-header {
	margin-bottom: 32px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--aj-border-subtle);
}

.aj-archive-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 28px;
	font-weight: 800;
	margin: 0;
}

.aj-archive-desc {
	margin-top: 8px;
	color: var(--aj-text-secondary);
}

.aj-pagination {
	margin-top: 40px;
	text-align: center;
}

.aj-pagination .nav-links {
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
}

.aj-pagination .page-numbers {
	padding: 8px 16px;
	border-radius: var(--aj-radius-pill);
	border: 1px solid var(--aj-border-edge);
	color: var(--aj-text-primary);
	font-weight: 700;
	text-decoration: none;
}

.aj-pagination .page-numbers.current {
	background: var(--aj-blue-500);
	border-color: var(--aj-blue-500);
	color: #ffffff;
}

/* ==========================================================================
   9. Dark Editorial Footer (#0f0f0f)
   ========================================================================== */
.aj-footer {
	background: #0f0f0f;
	color: #ffffff;
	padding: 56px 0 36px;
}

body.has-aj-floating-ask .aj-footer {
	padding-bottom: 96px;
}

.aj-footer-top {
	text-align: center;
	padding-bottom: 40px;
	border-bottom: 1px solid #2b2b2b;
	margin-bottom: 40px;
}

.aj-footer-logo {
	display: inline-flex;
	margin-bottom: 14px;
	text-decoration: none;
}

.aj-footer-follow-label {
	font-size: 14px;
	color: #d4d4d4;
	margin: 0 0 18px;
}

.aj-footer-socials {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.aj-social-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #1f1f1f;
	color: #ffffff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.aj-social-btn:hover {
	background: var(--aj-blue-500);
	transform: translateY(-2px);
}

.aj-footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	padding-bottom: 40px;
}

.aj-footer-col__title {
	font-size: 16px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 16px;
}

.aj-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.aj-footer-links li {
	margin: 0;
}

.aj-footer-links a {
	font-size: 14px;
	color: #d4d4d4;
	text-decoration: none;
	transition: color 180ms ease;
}

.aj-footer-links a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.aj-footer-bottom {
	border-top: 1px solid #595959;
	padding-top: 24px;
	text-align: center;
	font-size: 13px;
	color: #bdbdbd;
}

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

.aj-empty-state {
	padding: 48px 24px;
	text-align: center;
	background: var(--aj-surface-raised);
	border-radius: var(--aj-radius-md);
	color: var(--aj-text-secondary);
}

/* ==========================================================================
   10. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1180px) {
	.aj-section-dots,
	.aj-happening-pill {
		display: none;
	}
}

@media (max-width: 992px) {
	:root {
		--aj-header-height: 72px;
	}

	.aj-primary-nav,
	.aj-account-link,
	.aj-header-divider {
		display: none;
	}

	.aj-hero-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.aj-hero-col--center {
		order: -1;
	}

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

	.aj-carousel__slide {
		flex: 0 0 calc(50% - 10px);
	}

	.aj-opinion-lead,
	.aj-featured-split,
	.aj-video-lead,
	.aj-single-layout {
		grid-template-columns: 1fr;
	}

	.aj-opinion-grid,
	.aj-grid-3 {
		grid-template-columns: 1fr;
	}

	.aj-opinion-card {
		border-inline-end: 0;
		padding-inline-end: 0;
		border-bottom: 1px solid var(--aj-border-subtle);
		padding-bottom: 18px;
	}

	.aj-promo-banner {
		flex-direction: column;
		text-align: center;
		padding: 28px 22px;
	}
}

@media (max-width: 600px) {
	.aj-grid-4,
	.aj-trending-grid,
	.aj-footer-grid {
		grid-template-columns: 1fr;
	}

	.aj-carousel__slide {
		flex: 0 0 85%;
	}

	.aj-split-card {
		grid-template-columns: 1fr 105px;
	}

	.aj-hero-lead__title {
		font-size: 21px;
	}

	.aj-single-title {
		font-size: 24px;
	}
}


/* ==========================================================================
   Scope24.ma v2.0 — Brand Kit Overrides & News UX Blocks
   ========================================================================== */
.aj-section--dark,
.aj-footer {
	background: var(--abyss) !important;
}

.aj-footer-top {
	border-bottom-color: rgba(255, 255, 255, 0.14);
}

.aj-footer-bottom {
	border-top-color: rgba(255, 255, 255, 0.16);
}

.aj-social-btn {
	background: rgba(255, 255, 255, 0.08);
}

.aj-social-btn:hover {
	background: var(--scope-orange);
}

.aj-search-submit-btn {
	background: var(--scope-orange);
}

.aj-search-submit-btn:hover {
	background: var(--glow-deep);
}

.aj-brand-logo-img {
	max-height: 54px;
	width: auto;
}

.aj-brand-logo-svg {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.aj-brand-logo-svg svg {
	height: 54px;
	width: auto;
	display: block;
}

.aj-footer-logo .aj-brand-logo-img {
	max-height: 62px;
}

/* Section Header Styles (Switchable in Customizer: Tab | Dot | Underline) */
body.scope24-sh-tab .aj-section-header {
	border-bottom: 2px solid var(--aj-border-subtle);
	padding-bottom: 0;
	align-items: flex-end;
}

body.scope24-sh-tab .aj-section-title {
	background: var(--sh-accent, var(--scope-orange));
	color: #ffffff;
	font-size: 18px;
	font-weight: 800;
	padding: 8px 18px;
	border-radius: 8px 8px 0 0;
	margin-bottom: -2px;
}

body.scope24-sh-tab .aj-section-dot {
	display: none;
}

body.scope24-sh-tab .aj-section-more {
	padding-bottom: 8px;
}

body.scope24-sh-underline .aj-section-header {
	border-bottom: 1px solid var(--aj-border-subtle);
	padding-bottom: 10px;
}

body.scope24-sh-underline .aj-section-title {
	position: relative;
}

body.scope24-sh-underline .aj-section-title::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -11px;
	height: 3px;
	background: var(--sh-accent, var(--scope-orange));
	border-radius: 2px;
}

body.scope24-sh-underline .aj-section-dot {
	display: none;
}

/* 1. Badil-Style Featured Hero Fade Slider */
.aj-section--featured-hero {
	padding-top: 22px;
	padding-bottom: 28px;
}

.s24-hero-wrap.is-split {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 20px;
	align-items: stretch;
}

.s24-slider {
	position: relative;
	border-radius: var(--aj-radius-md);
	overflow: hidden;
	background: var(--abyss);
	min-height: 460px;
}

.s24-hero-wrap.is-full .s24-slider {
	min-height: 520px;
}

.s24-slider__slides {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: inherit;
}

.s24-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 600ms ease, visibility 600ms ease;
	z-index: 1;
}

.s24-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.s24-slide__link {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	text-decoration: none;
}

.s24-slide__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.s24-slide__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(3, 38, 60, 0.94) 8%, rgba(3, 38, 60, 0.45) 48%, rgba(3, 38, 60, 0.05) 100%);
	display: flex;
	align-items: flex-end;
	padding: 28px 28px 54px;
}

.s24-slide__title {
	color: #ffffff;
	font-size: 27px;
	font-weight: 800;
	line-height: 1.4;
	margin: 0;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.s24-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 0;
	background: rgba(3, 38, 60, 0.65);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 180ms ease, transform 180ms ease;
}

.s24-slider__arrow:hover {
	background: var(--scope-orange);
	transform: translateY(-50%) scale(1.06);
}

.s24-slider__arrow--prev {
	inset-inline-start: 16px;
}

.s24-slider__arrow--next {
	inset-inline-end: 16px;
}

.s24-slider__dots {
	position: absolute;
	bottom: 16px;
	inset-inline: 20px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	flex-wrap: wrap;
}

.s24-slider__dot {
	width: 9px;
	height: 9px;
	border-radius: 9999px;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.65);
	cursor: pointer;
	transition: all 240ms ease;
}

.s24-slider__dot.is-active {
	width: 28px;
	background: var(--scope-orange);
}

/* Side Overlay Stack beside Featured Slider */
.s24-hero-side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.s24-hero-side__card {
	flex: 1;
}

.s24-hero-side__card .aj-overlay-card__link {
	height: 100%;
	min-height: 215px;
	aspect-ratio: auto;
}

.s24-overlay-date {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.78);
	margin-top: 6px;
}

.s24-play-badge {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	z-index: 3;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--scope-navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* 2. News Ticker */
.s24-ticker-section {
	padding: 12px 0 4px;
}

.s24-ticker {
	display: flex;
	align-items: center;
	background: var(--mist);
	border: 1px solid var(--fog);
	border-radius: 10px;
	overflow: hidden;
}

.s24-ticker__label {
	background: var(--scope-orange);
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	padding: 10px 18px;
	flex-shrink: 0;
}

.s24-ticker__viewport {
	flex: 1;
	padding: 0 16px;
	overflow: hidden;
}

.s24-ticker__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.s24-ticker__item {
	display: none;
}

.s24-ticker__item.is-active {
	display: block;
}

.s24-ticker__item a {
	font-size: 14px;
	font-weight: 700;
	color: var(--scope-navy);
	text-decoration: none;
}

.s24-ticker__item a:hover {
	color: var(--scope-orange);
}

/* 3. Mosaic (1 Large + 4 Small) */
.s24-mosaic {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	grid-template-rows: 220px 220px;
	gap: 16px;
}

.s24-mosaic__lead {
	grid-row: span 2;
}

.s24-mosaic .aj-overlay-card__link {
	height: 100%;
	aspect-ratio: auto;
}

/* 4. Spotlight (2 Small + 1 Center Hero + 2 Small) */
.s24-spotlight {
	display: grid;
	grid-template-columns: 1fr 1.6fr 1fr;
	gap: 24px;
	align-items: stretch;
}

.s24-spotlight__side {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.s24-spotlight__lead,
.s24-spotlight__lead .aj-overlay-card__link {
	height: 100%;
	min-height: 400px;
	aspect-ratio: auto;
}

/* 5. Dual Category 50/50 Split */
.s24-dual-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
}

.s24-compact-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* 6. List Layout */
.s24-list-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px 36px;
}

/* 7. Ad Banner Slot */
.s24-ad-section {
	padding: 16px 0;
}

.s24-ad-box {
	background: var(--mist);
	border: 1px dashed var(--fog);
	border-radius: 12px;
	padding: 16px;
	text-align: center;
}

.s24-ad-img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	display: inline-block;
}

.s24-ad-placeholder {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: var(--aj-text-secondary);
	padding: 14px 20px;
}

/* Responsive Adjustments for v2.0 Blocks */
@media (max-width: 992px) {
	.s24-hero-wrap.is-split,
	.s24-mosaic,
	.s24-spotlight,
	.s24-dual-grid,
	.s24-list-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.s24-mosaic__lead {
		grid-row: auto;
	}

	.s24-mosaic .aj-overlay-card__link {
		aspect-ratio: 16 / 9;
	}

	.s24-slider {
		min-height: 360px;
	}

	.s24-slide__title {
		font-size: 20px;
	}
}


/* ==========================================================================
   Editorial Comments Section & Form (اترك تعليقاً)
   ========================================================================== */
.aj-comments-area {
	margin-top: 44px;
	padding-top: 32px;
	border-top: 1px solid var(--aj-border-subtle);
}

.aj-comments-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 22px;
	font-weight: 800;
	color: var(--scope-navy);
	margin: 0 0 22px;
}

.aj-comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.aj-comment-list .children {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	padding-inline-start: 28px;
	border-inline-start: 2px solid var(--fog);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.aj-comment-card {
	background: #ffffff;
	border: 1px solid var(--fog);
	border-radius: var(--aj-radius-md);
	padding: 18px 20px;
}

.aj-comment-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.aj-comment-card__meta {
	flex: 1;
	min-width: 0;
}

.aj-comment-author,
.aj-comment-author a {
	display: block;
	font-size: 15px;
	font-weight: 800;
	color: var(--scope-navy);
	text-decoration: none;
}

.aj-comment-date {
	display: block;
	font-size: 12px;
	color: var(--aj-text-secondary);
	margin-top: 2px;
}

.aj-comment-reply-wrap .comment-reply-link {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	color: var(--scope-navy);
	background: var(--mist);
	border: 1px solid var(--fog);
	padding: 4px 12px;
	border-radius: var(--aj-radius-pill);
	text-decoration: none;
	transition: all 160ms ease;
}

.aj-comment-reply-wrap .comment-reply-link:hover {
	background: var(--scope-orange);
	border-color: var(--scope-orange);
	color: #ffffff;
}

.aj-comment-awaiting {
	font-size: 13px;
	color: var(--scope-orange);
	background: rgba(255, 84, 12, 0.08);
	padding: 8px 12px;
	border-radius: 8px;
	margin: 0 0 10px;
}

.aj-comment-card__body {
	font-size: 15px;
	line-height: 1.75;
	color: var(--slate);
}

.aj-comment-card__body p:last-child {
	margin-bottom: 0;
}

/* Comment Respond Form Card */
.aj-comments-area .comment-respond {
	background: var(--mist);
	border: 1px solid var(--fog);
	border-radius: var(--aj-radius-md);
	padding: 28px 30px;
}

.aj-reply-title {
	font-size: 21px;
	font-weight: 800;
	color: var(--scope-navy);
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.aj-reply-title small a {
	font-size: 12px;
	font-weight: 700;
	color: var(--scope-orange);
	text-decoration: none;
}

.aj-comment-notes,
.aj-comment-form .logged-in-as {
	font-size: 13px;
	color: var(--aj-text-secondary);
	margin: 0 0 20px;
}

.aj-comment-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.aj-comment-form > p {
	margin: 0;
}

.aj-comment-form .comment-notes,
.aj-comment-form .logged-in-as,
.aj-comment-form .comment-form-comment,
.aj-comment-form .comment-form-url,
.aj-comment-form .comment-form-cookies-consent,
.aj-comment-form .form-submit {
	grid-column: 1 / -1;
}

.aj-comment-form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--scope-navy);
	margin-bottom: 6px;
}

.aj-comment-form .required {
	color: var(--scope-orange);
}

.aj-comment-form input[type="text"],
.aj-comment-form input[type="email"],
.aj-comment-form input[type="url"],
.aj-comment-form textarea {
	width: 100%;
	background: #ffffff;
	border: 1px solid #cfd8e3;
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 14px;
	font-family: var(--aj-font);
	color: var(--scope-navy);
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.aj-comment-form textarea {
	min-height: 130px;
	resize: vertical;
	line-height: 1.7;
}

.aj-comment-form input:focus,
.aj-comment-form textarea:focus {
	outline: none;
	border-color: var(--scope-orange);
	box-shadow: 0 0 0 3px rgba(255, 84, 12, 0.14);
}

.aj-comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #ffffff;
	border: 1px solid var(--fog);
	border-radius: 10px;
	padding: 12px 14px;
}

.aj-comment-form .comment-form-cookies-consent input[type="checkbox"] {
	width: 17px;
	height: 17px;
	margin-top: 3px;
	accent-color: var(--scope-orange);
	flex-shrink: 0;
	cursor: pointer;
}

.aj-comment-form .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 600;
	color: var(--slate);
	line-height: 1.5;
	cursor: pointer;
}

.aj-comment-submit {
	background: var(--scope-orange);
	color: #ffffff;
	border: 0;
	border-radius: var(--aj-radius-pill);
	padding: 12px 30px;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	transition: background-color 180ms ease, transform 180ms ease;
}

.aj-comment-submit:hover {
	background: var(--glow-deep);
	transform: translateY(-1px);
}

/* ==========================================================================
   Upgraded Category & Archive Pages
   ========================================================================== */
.aj-archive-page {
	padding-top: 0;
}

.aj-archive-hero {
	background: var(--mist);
	border-bottom: 1px solid var(--fog);
	padding: 28px 0 26px;
	margin-bottom: 32px;
}

.aj-archive-hero__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
}

.aj-archive-bar {
	width: 5px;
	height: 30px;
	border-radius: 4px;
	background: var(--scope-orange);
	display: inline-block;
	flex-shrink: 0;
}

.aj-archive-count {
	background: #ffffff;
	border: 1px solid var(--fog);
	color: var(--scope-navy);
	font-size: 13px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: var(--aj-radius-pill);
}

/* Archive Lead Story Card */
.aj-archive-lead {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 28px;
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--fog);
	border-radius: var(--aj-radius-md);
	overflow: hidden;
	margin-bottom: 36px;
	box-shadow: 0 6px 24px rgba(3, 38, 60, 0.05);
}

.aj-archive-lead__media {
	border-radius: 0;
	height: 100%;
}

.aj-archive-lead__body {
	padding: 24px 28px;
}

.aj-archive-lead__badge {
	display: inline-block;
	background: var(--scope-orange);
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	padding: 4px 12px;
	border-radius: var(--aj-radius-pill);
	margin-bottom: 12px;
}

.aj-archive-lead__title {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.4;
	margin: 0 0 12px;
}

.aj-archive-lead__title a {
	color: var(--scope-navy);
	text-decoration: none;
}

.aj-archive-lead__title a:hover {
	color: var(--scope-orange);
}

.aj-archive-lead__excerpt {
	font-size: 15px;
	color: var(--slate);
	line-height: 1.7;
	margin: 0 0 14px;
}

.aj-archive-lead__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--aj-text-secondary);
}

/* Archive 2-Col Grid + Sidebar */
.aj-archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 36px;
	align-items: start;
}

.aj-card--archive {
	background: #ffffff;
	border: 1px solid var(--fog);
	border-radius: var(--aj-radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 200ms ease, box-shadow 200ms ease;
}

.aj-card--archive:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 26px rgba(3, 38, 60, 0.08);
}

.aj-card--archive .aj-card__media {
	border-radius: 0;
}

.aj-card--archive .aj-card__body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.aj-card--archive .aj-card__title {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.48;
	margin: 0 0 8px;
}

.aj-card--archive .aj-card__title a {
	color: var(--scope-navy);
	text-decoration: none;
}

.aj-card--archive .aj-card__title a:hover {
	color: var(--scope-orange);
}

.aj-card__excerpt {
	font-size: 13.5px;
	color: var(--slate);
	line-height: 1.6;
	margin: 0 0 10px;
	flex: 1;
}

/* Sidebar Category Pills */
.aj-cat-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.aj-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	border: 1px solid var(--fog);
	border-radius: var(--aj-radius-pill);
	padding: 6px 13px;
	font-size: 13px;
	font-weight: 700;
	color: var(--scope-navy);
	text-decoration: none;
	transition: all 160ms ease;
}

.aj-cat-pill small {
	background: var(--mist);
	color: var(--aj-text-secondary);
	font-size: 11px;
	padding: 1px 7px;
	border-radius: 99px;
}

.aj-cat-pill:hover {
	background: var(--scope-orange);
	border-color: var(--scope-orange);
	color: #ffffff;
}

.aj-cat-pill:hover small {
	background: rgba(255, 255, 255, 0.25);
	color: #ffffff;
}

@media (max-width: 992px) {
	.aj-archive-lead,
	.aj-archive-layout {
		grid-template-columns: 1fr;
	}

	.aj-archive-lead__body {
		padding: 20px;
	}
}

@media (max-width: 600px) {
	.aj-comment-form {
		grid-template-columns: 1fr;
	}

	.aj-comments-area .comment-respond {
		padding: 20px 18px;
	}

	.aj-archive-grid.aj-grid-2 {
		grid-template-columns: 1fr;
	}
}


/* Most Read View Counter Stats */
.aj-views-stat {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--aj-text-secondary);
}

.aj-sidebar-views {
	display: block;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--aj-text-secondary);
	margin-top: 4px;
}
