/* =========================================================
 * تفاعلات — ألوان العلم المغربي
 * ======================================================= */
:root {
	--red: #C1272D;
	--red-dark: #9E1F24;
	--red-soft: #FF8A8F;
	--green: #006233;
	--green-dark: #00432A;
	--green-line: #1D5C42;
	--live: #E0352B;

	--ink: #16241D;
	--muted: #5B6273;
	--faint: #7A8091;
	--bg: #E8EBF0;
	--surface: #FFFFFF;
	--line: #EEF0F4;
	--line-strong: #E3E6EC;
	--shadow: 0 1px 3px rgba(20, 30, 60, 0.12);

	--font-head: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
	--font-body: 'IBM Plex Sans Arabic', Tahoma, sans-serif;

	--container: 1320px;
	--pad: 20px;

	/* أسماء قديمة تستعملها صفحة التغطية. */
	--tfl-color-text: var(--ink);
	--tfl-color-muted: var(--faint);
	--tfl-color-bg: var(--surface);
	--tfl-color-border: var(--line-strong);
	--tfl-color-accent: var(--red);
	--tfl-font: var(--font-body);
	--tfl-container: var(--container);
	--tfl-gap: 16px;
}

@media (max-width: 699px) {
	:root {
		--pad: 12px;
	}
}

/* ===== الأساس ===== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	direction: rtl;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--bg);
	overflow-x: clip;
}

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

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--red);
}

h1,
h2,
h3 {
	font-family: var(--font-head);
	text-wrap: pretty;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--pad);
}

@keyframes tfl-pulse {
	50% {
		opacity: 0.35;
	}
}

@keyframes tfl-spin {
	to {
		transform: rotate(360deg);
	}
}

.pulse-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	animation: tfl-pulse 1.2s infinite;
	flex-shrink: 0;
}

.pulse-dot--red {
	width: 8px;
	height: 8px;
	background: #FF4B3A;
}

.spinner {
	display: inline-block;
	width: 12px;
	height: 12px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: tfl-spin 1s linear infinite;
}

.diamond {
	display: inline-block;
	width: 12px;
	height: 12px;
	background: var(--red);
	transform: rotate(45deg);
	flex-shrink: 0;
}

/* ===== الوصولية ===== */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	inset-block-start: 1rem;
	inset-inline-start: 1rem;
	padding: 0.5rem 1rem;
	background: var(--ink);
	color: #fff;
	z-index: 1000;
}

/* ===== شريط العاجل ===== */
.breaking {
	background: var(--red);
	color: #fff;
}

.breaking[hidden] {
	display: none;
}

.breaking__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 46px;
}

.breaking__label {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 6px 14px;
	background: var(--green-dark);
	font: 800 16px var(--font-head);
}

.breaking__text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font: 700 17px var(--font-head);
	color: #fff;
}

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

.breaking__time {
	opacity: 0.9;
}

.breaking__status {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	font-size: 13px;
	opacity: 0.9;
}

@media (max-width: 799px) {
	.breaking__status {
		display: none;
	}
}

@media (max-width: 699px) {
	.breaking__inner {
		gap: 12px;
	}

	.breaking__text {
		font-size: 14px;
	}
}

/* ===== الرأس ===== */
.site-header {
	background: var(--surface);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 16px;
	row-gap: 6px;
	min-height: 76px;
	padding-block: 10px;
}

.site-logo {
	flex-shrink: 0;
}

.site-logo img {
	max-height: 56px;
	width: auto;
}

.site-logo--text {
	display: flex;
	align-items: center;
	gap: 8px;
	font: 800 36px/1.2 var(--font-head);
	letter-spacing: -0.5px;
	color: var(--ink);
}

.main-nav {
	flex: 1 1 0;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
	display: none;
}

.main-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

.main-nav__list a {
	display: block;
	padding: 8px 10px;
	border-bottom: 3px solid transparent;
	font-weight: 600;
	font-size: 16px;
	color: var(--ink);
}

.main-nav__list a:hover {
	color: var(--red);
}

.main-nav__list .current-menu-item > a,
.main-nav__list .current-menu-ancestor > a {
	background: var(--line);
	border-bottom-color: var(--red);
	font-weight: 700;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-shrink: 0;
	margin-right: auto;
	font-weight: 700;
	font-size: 18px;
}

.header-tools__social--x {
	color: #000;
}

.header-tools__social--facebook {
	color: #1877F2;
	font-family: Arial, sans-serif;
}

.header-tools__search {
	display: flex;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	cursor: pointer;
}

.header-tools__search:hover {
	color: var(--red);
}

.site-search {
	border-top: 1px solid var(--line);
	padding-block: 10px;
}

.site-search[hidden] {
	display: none;
}

.site-search__form {
	display: flex;
	gap: 8px;
}

.site-search__form input {
	flex: 1;
	min-width: 0;
	padding: 8px 12px;
	border: 1px solid var(--line-strong);
	font: inherit;
}

.site-search__form button {
	padding: 8px 18px;
	border: 0;
	background: var(--red);
	color: #fff;
	font: 700 15px var(--font-body);
	cursor: pointer;
}

.header-strip {
	height: 14px;
	background: var(--green-dark);
}

@media (max-width: 699px) {
	.main-nav {
		flex-basis: 100%;
		order: 3;
	}
}

/* ===== المحتوى العام ===== */
.site-main {
	padding-block: 22px 40px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	background: var(--red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
}

.badge--dark {
	background: var(--green-dark);
	font-size: 12px;
	padding: 4px 10px;
}

.badge--live {
	background: var(--live);
}

.kicker {
	font-size: 12px;
	font-weight: 700;
	color: var(--red);
}

.kicker--sm {
	font-size: 11px;
}

.meta-time {
	font-size: 11.5px;
	color: var(--faint);
	white-space: nowrap;
}

.meta-time--end {
	margin-top: auto;
}

/* الصورة أو البديل المخطّط. */
.tfl-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tfl-img--empty {
	display: block;
	background: repeating-linear-gradient(135deg, #D9DDE4 0 8px, #E3E6EC 8px 16px);
}

/* ===== البطاقة ===== */
.card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--surface);
	box-shadow: var(--shadow);
}

.card__media {
	position: relative;
	display: block;
	height: 120px;
	overflow: hidden;
}

.card__badge {
	position: absolute;
	top: 8px;
	left: 8px;
}

.card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 10px 12px;
}

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

.card__title--sm {
	font-size: 14px;
}

.card__excerpt {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--muted);
}

.card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 8px 12px;
	border-top: 1px solid var(--line);
}

/* أزرار المشاركة. */
.share {
	display: flex;
	gap: 3px;
}

.share__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	color: #fff;
	font: 700 13px/1 var(--font-body);
	cursor: pointer;
}

.share--md .share__btn {
	width: 24px;
	height: 24px;
}

.share__btn:hover {
	color: #fff;
	opacity: 0.85;
}

.share__btn--more {
	background: var(--red);
}

.share__btn--x {
	background: #000;
}

.share__btn--fb {
	background: #1877F2;
	font-family: Arial, sans-serif;
}


/* =========================================================
 * الصفحة الرئيسية
 * ======================================================= */
.front {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "hero" "feed" "aside" "blocks";
	gap: 24px 20px;
	align-items: start;
}

.front__hero {
	grid-area: hero;
	min-width: 0;
}

.front__feed {
	grid-area: feed;
	min-width: 0;
}

.front__aside {
	grid-area: aside;
	min-width: 0;
}

.front__blocks {
	grid-area: blocks;
	display: flex;
	flex-direction: column;
	gap: 36px;
	min-width: 0;
	margin-top: 12px;
}

@media (min-width: 700px) and (max-width: 1023px) {
    .front {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas:
			"hero hero"
			"feed aside"
			"blocks blocks";
	}
}

@media (min-width: 1024px) {
    .front {
		grid-template-columns: 300px minmax(0, 1fr) 300px;
		grid-template-areas:
			"feed hero aside"
			"blocks blocks aside";
	}

	/* العمود الأيسر يمتد بطول الصفحة، ويبقى ثابتاً أثناء التمرير. */
	.front__aside {
		position: sticky;
		top: 16px;
		align-self: start;
	}

	/* «على مدار الساعة» يأخذ ارتفاع الهيرو، ويُمرَّر داخلياً. */
	.front__feed {
		position: relative;
		align-self: stretch;
	}

	.front__feed .feed24 {
		position: absolute;
		inset: 0;
	}
}

/* ===== السلايدر ===== */
.slider__title {
	display: -webkit-box;
	margin: 0 0 14px;
	overflow: hidden;
	font-weight: 800;
	font-size: 26px;
	line-height: 1.5;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.slider__title[hidden] {
	display: none;
}

.slider__title a {
	color: var(--ink);
}

.slider__title a:hover {
	color: var(--red);
}

.slider__stage {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #D9DDE4;
	box-shadow: var(--shadow);
}

.slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.slider__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.slider__slide .tfl-img--empty {
	background: repeating-linear-gradient(135deg, #8A7A5E 0 10px, #94846A 10px 20px);
}

.slider__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: 13px;
	padding: 5px 12px;
}

.slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	padding: 0 10px;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, 0.85);
	font: 300 64px/1 Arial, sans-serif;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
	transform: translateY(-50%);
	cursor: pointer;
}

.slider__arrow:hover {
	color: #fff;
}

.slider__arrow--prev {
	right: 8px;
}

.slider__arrow--next {
	left: 8px;
}

.slider__dots {
	position: absolute;
	bottom: 14px;
	left: 50%;
	z-index: 2;
	display: flex;
	gap: 7px;
	transform: translateX(-50%);
}

.slider__dot {
	width: 13px;
	height: 13px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.75);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	cursor: pointer;
}

.slider__dot.is-active {
	background: var(--red);
}

@media (max-width: 699px) {
	.slider__title {
		font-size: 20px;
	}

	.slider__arrow {
		font-size: 44px;
	}

	.slider__dots {
		gap: 5px;
		bottom: 10px;
	}

	.slider__dot {
		width: 8px;
		height: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.slider__slide {
		transition: none;
	}
}

/* ===== على مدار الساعة ===== */
.feed24 {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.feed24__title {
	margin: 0 0 6px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--green-dark);
	font-weight: 800;
	font-size: 24px;
	color: var(--green-dark);
}

.feed24__list {
	flex: 1;
	min-height: 0;
	max-height: 420px;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
	scrollbar-width: thin;
}

@media (min-width: 1024px) {
	.front__feed .feed24__list {
		max-height: none;
	}
}

.feed24__item {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line-strong);
}

.feed24__time {
	flex-shrink: 0;
	font-weight: 700;
	font-size: 14px;
	color: var(--red);
	direction: ltr;
}

.feed24__text {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink);
}

.feed24__item:hover .feed24__text {
	color: var(--red);
}

/* ===== الشريط الجانبي ===== */
.promos {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.promo {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 120px;
	padding: 14px 16px;
	color: #fff;
	background-color: var(--green-dark);
	background-image: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1)), var(--promo-img, none);
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow);
}

.promo:hover {
	color: #fff;
	opacity: 0.92;
}

.promo--imara {
	background-color: #1E5A3C;
}

.promo--sahara {
	background-color: #B5652A;
}

.promo--editorial {
	border-top: 4px solid var(--red);
}

.promo__kick {
	font-size: 11px;
	font-weight: 700;
	color: #F2C14E;
}

.promo--editorial .promo__kick {
	color: var(--red-soft);
}

.promo__title {
	font: 800 21px/1.4 var(--font-head);
}

.promo__sub {
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.5;
	opacity: 0.9;
}

.promo__more {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 600;
}

.promo__more b {
	color: #F2C14E;
}

.panel {
	background: var(--surface);
	box-shadow: var(--shadow);
}

.panel__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 14px 4px;
}

.panel__title {
	font-weight: 700;
	font-size: 15px;
}

.chip-live {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	background: #FBE5E6;
	color: var(--red-dark);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.chip-live .pulse-dot {
	background: var(--red);
}

.feed {
	margin: 0;
	padding: 0 14px 8px;
	list-style: none;
}

.feed li {
	border-bottom: 1px solid var(--line);
}

.feed li:last-child {
	border-bottom: 0;
}

.feed__item {
	display: flex;
	gap: 10px;
	padding: 10px 0;
}

.feed__media {
	width: 58px;
	height: 44px;
	flex-shrink: 0;
	overflow: hidden;
}

.feed__body {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.feed__title {
	font-weight: 700;
	font-size: 13px;
	line-height: 1.5;
}

.feed__meta {
	font-size: 11px;
	color: #8A90A0;
}

/* ===== رأس القسم ===== */
.home-sec {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.sec-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--green-dark);
}

.sec-head__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 800;
	font-size: 20px;
}

.sec-head__title::before {
	content: "";
	width: 4px;
	height: 20px;
	background: var(--red);
	flex-shrink: 0;
}

.sec-head__more {
	font-size: 13px;
	font-weight: 700;
	color: var(--red);
	white-space: nowrap;
}

/* ===== بلوك التصنيف ===== */
.cat-block__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 14px;
}

.cat-block__lead {
	grid-row: span 2;
}

.cat-block__lead .card__media {
	height: 240px;
}

.cat-block__lead .card__body {
	gap: 8px;
	padding: 14px 16px;
}

.cat-block__title {
	margin: 0;
	font-weight: 800;
	font-size: 20px;
	line-height: 1.5;
}

.row-card {
	flex-direction: row;
	gap: 12px;
	padding: 12px;
}

.row-card__media {
	display: block;
	width: 110px;
	height: 80px;
	flex-shrink: 0;
	overflow: hidden;
}

.row-card__media--sm {
	width: 96px;
	height: 70px;
}

.row-card__body {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}

.row-card__title {
	margin: 0;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.5;
}


.row-card--link:hover .row-card__title {
	color: var(--red);
}

/* بلوك التصنيف على العرض الكامل: خبر رئيسي + أربعة أخبار في شبكة 2×2. */
@media (min-width: 1024px) {
    .cat-block__grid {
		grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
	}

	.cat-block__grid .row-card {
		flex-direction: column;
		gap: 0;
		padding: 0;
	}

	.cat-block__grid .row-card__media {
		width: 100%;
		height: 130px;
	}

	.cat-block__grid .row-card__body {
		padding: 10px 12px;
	}
}

/* ===== آراء وتحليلات ===== */
.opinions {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

@media (min-width: 480px) {
	.opinions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 700px) {
	.opinions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}


.op-card {
	gap: 10px;
	padding: 16px;
}

.opinion__who {
	display: flex;
	align-items: center;
	gap: 10px;
}

.opinion__avatar {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	overflow: hidden;
	border: 2px solid var(--red);
	border-radius: 50%;
	background: #D9DDE4;
}

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

.opinion__name {
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
}

.opinion__title {
	margin: 0;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.6;
}

/* ===== الفيديو ===== */
.videos {
	padding: 20px;
	background: var(--green-dark);
	gap: 14px;
}

.videos .sec-head {
	border-bottom: 1px solid var(--green-line);
	padding-bottom: 10px;
}

.videos .sec-head__title {
	color: #fff;
}

.videos .sec-head__more {
	color: var(--red-soft);
}

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

@media (min-width: 700px) {
	.videos__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.vid-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	color: #fff;
}

.vid-card:hover {
    color: var(--red-soft);
}

.video__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.video__media .tfl-img {
	position: absolute;
	inset: 0;
}

.video__media .tfl-img--empty {
	background: repeating-linear-gradient(135deg, #0F2A1E 0 8px, #163A2A 8px 16px);
}

.video__play {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding-right: 2px;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	font-size: 12px;
}

.video__dur {
	position: absolute;
	bottom: 6px;
	left: 6px;
	padding: 2px 5px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
}

.video__title {
	margin: 0;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.55;
}

/* ===== اقتصاد ورياضة ===== */
.home-pair {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.overlay-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 200px;
	overflow: hidden;
	box-shadow: var(--shadow);
	color: #fff;
}

.overlay-card:hover {
	color: #fff;
}

.overlay-card__img {
	position: absolute;
	inset: 0;
}

.overlay-card__img.tfl-img--empty {
	background: repeating-linear-gradient(135deg, #1F5A3A 0 10px, #236440 10px 20px);
}

.overlay-card__body {
	position: relative;
	padding: 50px 16px 14px;
	background: linear-gradient(to top, rgba(10, 22, 16, 0.92) 35%, rgba(10, 22, 16, 0));
}

.overlay-card__title {
	margin: 0;
	font-weight: 800;
	font-size: 18px;
	line-height: 1.5;
}

.line-item {
	flex-direction: row;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	font-weight: 600;
	font-size: 14px;
}

.line-item::before {
	content: "";
	width: 7px;
	height: 7px;
	background: var(--red);
	flex-shrink: 0;
}

.line-item__title {
	flex: 1;
	min-width: 0;
}

.line-item__time {
	font-size: 11px;
	color: var(--faint);
	white-space: nowrap;
}

/* ===== بانر وكود ===== */
.banner {
	display: flex;
	justify-content: center;
}

.banner__img {
	width: auto;
	max-width: 100%;
}

.code-block {
	display: flex;
	justify-content: center;
	min-width: 0;
	overflow: hidden;
}

/* ===== التذييل ===== */
.site-footer {
	background: var(--green-dark);
	color: #C9D6CF;
}

.site-footer a {
	color: #C9D6CF;
}

.site-footer a:hover {
	color: var(--red-soft);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 24px;
	padding-block: 32px 20px;
}

.site-footer__about {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.site-footer__about p {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
}

.site-footer__logo {
	display: flex;
	align-items: center;
	gap: 8px;
	font: 800 30px var(--font-head);
	color: #fff;
}

.site-footer__logo .diamond {
	width: 10px;
	height: 10px;
}

.site-footer__social {
	display: flex;
	gap: 6px;
}

.social {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--green-line);
	color: #fff !important;
	font-weight: 700;
}

.social--x {
	background: #000;
}

.social--facebook {
	background: #1877F2;
	font-family: Arial, sans-serif;
}

.social--youtube {
	background: #E0352B;
}

.social:hover {
	opacity: 0.85;
}

.site-footer__col {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.site-footer__title {
	align-self: flex-start;
	padding-bottom: 6px;
	border-bottom: 2px solid var(--red);
	font: 700 15px var(--font-head);
	color: #fff;
}

.site-footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
}

.site-footer__bottom {
	border-top: 1px solid var(--green-line);
}

.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	padding-block: 14px;
	font-size: 12px;
}

.site-footer__legal {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* =========================================================
 * الصفحات الأخرى (تنسيق مؤقت)
 * ======================================================= */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.posts-grid .card__media {
	height: 180px;
}

.no-results {
	padding: 20px;
	background: var(--surface);
	text-align: center;
	color: var(--muted);
}

.pagination {
	margin-top: 24px;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	background: var(--surface);
}

.pagination .current {
	background: var(--red);
	color: #fff;
}

.container-hero {
	margin-bottom: 24px;
}

.container-hero__media img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
}

.container-hero__label {
	color: var(--red);
	font-weight: 700;
}

.container-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.container-filter a {
	padding: 6px 12px;
	background: var(--surface);
	font-weight: 600;
}

.container-filter a[aria-current="page"] {
	background: var(--red);
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.pulse-dot,
	.spinner {
		animation: none;
	}
}


/* ===== التغطية المباشرة ===== */

/* الرأس: النصّ والوسائط. */
.live-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
	.live-head {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
		align-items: start;
	}
}

.live-head__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.live-badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	font-weight: 700;
	font-size: 15px;
	color: var(--live);
}

.live-badge::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: currentColor;
	animation: tfl-pulse 1.5s infinite;
}

.live-badge.is-ended {
	color: var(--muted);
}

.live-badge.is-ended::before {
	animation: none;
}

.live-head__title {
	margin: 0;
	font-weight: 800;
	font-size: 30px;
	line-height: 1.5;
}

@media (max-width: 599px) {
	.live-head__title {
		font-size: 24px;
	}
}

.live-head__summary {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
	color: var(--muted);
}

.live-head__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: var(--faint);
}

.live-head__media {
	position: relative;
	min-width: 0;
	overflow: hidden;
	background: #000;
}

.live-head__media > img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.live-head__media .video-player {
	margin: 0;
}

.live-head__on {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
}

[data-status="ended"] .live-head__on {
	display: none;
}

/* الفقرة التمهيدية: تُطوى بعد أربعة أسطر تقريباً. */
.live-intro__text {
	max-height: 7.4em;
	overflow: hidden;
	font-size: 16px;
	line-height: 1.85;
}

.live-intro__text > :first-child {
	margin-top: 0;
}

.live-intro.is-open .live-intro__text {
	max-height: none;
}

.live-intro__more {
	margin-top: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--green-dark);
	font: inherit;
	font-weight: 700;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}

.live-intro__more[hidden] {
	display: none;
}

/* عدد التحديثات. */
.live-count {
	margin: 18px 0 8px;
	font-weight: 700;
	font-size: 14px;
	color: var(--muted);
}

/* الخط الزمني: خط عمودي ونقطة لكل تحديث. */
.live-pinned,
.live-linked,
.live-timeline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 34px;
	padding-inline-start: 24px;
}

.live-timeline::before,
.live-linked::before {
	content: "";
	position: absolute;
	top: 6px;
	bottom: 0;
	inset-inline-start: 6px;
	width: 2px;
	background: var(--line-strong);
}

.live-pinned:empty,
.live-linked[hidden] {
	display: none;
}

.live-pinned,
.live-linked {
	margin-bottom: 34px;
}

.live-update {
	position: relative;
	scroll-margin-top: 90px;
}

.live-update__time {
	position: relative;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--faint);
}

.live-update__time::before {
	content: "";
	position: absolute;
	top: 50%;
	inset-inline-start: -24px;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border: 2px solid var(--surface);
	border-radius: 50%;
	background: var(--green-dark);
	box-shadow: 0 0 0 2px var(--green-dark);
}

.live-update__ago {
	color: var(--ink);
	font-weight: 700;
}

.live-update__ago:not(:empty)::after {
	content: " · ";
	color: var(--faint);
}

.live-update__card {
	position: relative;
	padding: 18px 20px 30px;
	border: 1px solid var(--line-strong);
	background: var(--surface);
}

.live-update--breaking .live-update__time::before {
	background: var(--live);
	box-shadow: 0 0 0 2px var(--live);
}

.live-update__flag {
	display: inline-block;
	margin-bottom: 8px;
	padding: 1px 10px;
	background: var(--live);
	color: #fff;
	font-weight: 700;
	font-size: 12px;
}

.live-update__title {
	margin: 0 0 8px;
	font-weight: 800;
	font-size: 19px;
	line-height: 1.6;
}

.live-update__content {
	font-size: 16px;
	line-height: 1.9;
}

.live-update__content > :first-child {
	margin-top: 0;
}

.live-update__content > :last-child {
	margin-bottom: 0;
}

.live-update__content ul,
.live-update__content ol {
	padding-inline-start: 22px;
}

.live-update__content iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
}

.live-update__image {
	margin: 14px 0 0;
}

.live-update__image img {
	display: block;
	width: 100%;
	height: auto;
}

.live-update__image figcaption {
	padding-top: 6px;
	font-size: 12.5px;
	color: var(--faint);
}

/* المثبّت والتحديث المفتوح من رابطه. */
.live-pinned .live-update__card {
	border: 2px solid var(--red);
}

.live-pinned .live-update__card::before {
	content: "مثبّت";
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
	font-size: 13px;
	color: var(--red);
}

.live-update.is-target .live-update__card {
	border-color: var(--green-dark);
	box-shadow: 0 0 0 2px var(--green-dark);
}

/* المشاركة: زر دائري على الحافة السفلية، وقائمة صغيرة. */
.live-share {
	position: relative;
}

.live-update__card > .live-share {
	position: absolute;
	bottom: -17px;
	left: 50%;
	transform: translateX(-50%);
}

.live-share__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 34px;
	height: 34px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: var(--surface);
	color: var(--muted);
	list-style: none;
	cursor: pointer;
}

.live-share__toggle::-webkit-details-marker {
	display: none;
}

.live-share__toggle:hover,
.live-share[open] .live-share__toggle {
	color: var(--red);
	border-color: var(--red);
}

.live-share--text {
	align-self: flex-start;
}

.live-share--text .live-share__toggle {
	width: auto;
	height: 36px;
	padding: 0 14px;
	border-radius: 0;
	font-weight: 700;
	font-size: 14px;
}

.live-share__menu {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	z-index: 20;
	display: flex;
	flex-direction: column;
	min-width: 150px;
	transform: translateX(-50%);
	background: var(--surface);
	box-shadow: 0 4px 16px rgba(20, 30, 60, 0.18);
}

.live-share--text .live-share__menu {
	top: calc(100% + 6px);
	bottom: auto;
	left: auto;
	inset-inline-start: 0;
	transform: none;
}

.live-share__item {
	display: block;
	padding: 9px 14px;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: none;
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	text-align: start;
	color: var(--ink);
	cursor: pointer;
}

.live-share__item:last-child {
	border-bottom: 0;
}

.live-share__item:hover {
	color: var(--red);
}

/* تحديثات جديدة، وتحميل الأقدم. */
.live-new-banner {
	position: sticky;
	top: 16px;
	z-index: 10;
	display: block;
	margin: 0 auto 16px;
	padding: 8px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--live);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.live-new-banner[hidden] {
	display: none;
}

.live-more {
	display: block;
	margin: 28px auto 0;
	padding: 10px 24px;
	border: 1px solid var(--line-strong);
	background: var(--surface);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.live-more:hover {
	color: var(--red);
	border-color: var(--red);
}

.live-more[hidden] {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.live-badge::before {
		animation: none;
	}
}
/* =========================================================
 * صفحة الخبر
 * ======================================================= */
.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px 28px;
	align-items: start;
}

@media (min-width: 1024px) {
    .single-layout {
		grid-template-columns: minmax(0, 1fr) 340px;
	}
}
/* الشريط الجانبي ثابت أثناء التمرير (الضبط في sticky.js). */
@media (min-width: 1024px) {
    .single-aside {
		position: sticky;
		top: 16px;
	}
}

.article {
	min-width: 0;
	padding: 24px 28px 32px;
	background: var(--surface);
	box-shadow: var(--shadow);
}

@media (max-width: 699px) {
	.article {
		padding: 16px 14px 24px;
	}
}

/* مسار التنقّل. */
.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	font-weight: 600;
}

.crumbs li + li::before {
	content: "›";
	margin-inline-end: 4px;
	color: var(--faint);
}

.crumbs li:last-child a {
	color: var(--red);
}

.single__title {
	margin: 0 0 14px;
	font-weight: 800;
	font-size: 32px;
	line-height: 1.5;
}

@media (max-width: 699px) {
	.single__title {
		font-size: 24px;
	}
}

/* سطر الكاتب. */
.byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin-bottom: 14px;
	font-size: 14px;
	color: var(--muted);
}

.byline__writer {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--ink);
}

.byline__avatar {
	width: 36px;
	height: 36px;
	overflow: hidden;
	border-radius: 50%;
	background: #D9DDE4;
}

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

.byline__sep {
	color: var(--line-strong);
}

.byline__source {
	font-weight: 600;
}

/* المشاركة. */
.share-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.share-bar__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	color: #fff;
	font: 700 15px/1 Arial, sans-serif;
	cursor: pointer;
}

.share-bar__btn:hover {
	color: #fff;
	opacity: 0.85;
}

.share-bar__btn--fb {
	background: #1877F2;
}

.share-bar__btn--x {
	background: #000;
}

.share-bar__btn--wa {
	background: #25D366;
}

.share-bar__btn--tg {
	background: #229ED9;
}

.share-bar__btn--copy {
	background: var(--green-dark);
	font-size: 14px;
}

/* الصورة. */
.single__media {
	margin: 20px 0 0;
}

.single__media img {
	width: 100%;
	height: auto;
}

.single__media figcaption {
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
	font-size: 13px;
	color: var(--faint);
}

/* النص. */
.entry-content {
	margin-top: 22px;
	font-size: 18px;
	line-height: 2;
	overflow-wrap: anywhere;
}

.entry-content > * {
	margin-block: 0 1.1em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.4em;
	line-height: 1.5;
}

.entry-content h2 {
	font-size: 24px;
}

.entry-content h3 {
	font-size: 20px;
}

.entry-content a {
	color: var(--red);
	text-decoration: underline;
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 12px 18px;
	border-inline-start: 4px solid var(--red);
	background: #F6F7F9;
	font-weight: 600;
}

.entry-content img,
.entry-content iframe,
.entry-content video {
	max-width: 100%;
}

.entry-content figure {
	margin-inline: 0;
}

.entry-content figcaption {
	font-size: 13px;
	color: var(--faint);
}

/* الملفات والوسوم. */
.single__folders {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.folder-chip {
	padding: 6px 12px;
	background: #E8F1EC;
	border-inline-start: 3px solid var(--green);
	font-size: 14px;
	color: var(--green-dark);
}

.single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.single__tags a {
	display: block;
	padding: 5px 12px;
	border: 1px solid var(--line-strong);
	font-size: 13px;
	font-weight: 600;
}

.single__tags a:hover {
	border-color: var(--red);
}

/* مواضيع ذات صلة. */
.related {
	margin-top: 36px;
}

.related__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
}

.related .card {
	box-shadow: none;
	border: 1px solid var(--line);
}

/* الشريط الجانبي. */
.single-aside {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.side-box__title {
	margin: 0 0 6px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--green-dark);
	font-weight: 800;
	font-size: 20px;
	color: var(--green-dark);
}

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

.side-list__item {
	display: flex;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line-strong);
}

.side-list__media {
	width: 90px;
	height: 60px;
	flex-shrink: 0;
	overflow: hidden;
}

.side-list__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.side-list__title {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.5;
}

.side-list__meta {
	font-size: 11.5px;
	color: var(--faint);
}

.side-videos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 8px;
}

.side-video {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.side-video__title {
	font-weight: 700;
	font-size: 13px;
	line-height: 1.5;
}

/* =========================================================
 * التعليقات
 * ======================================================= */
.comments {
	margin-top: 36px;
}

.comments__title {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--green-dark);
	font-weight: 800;
	font-size: 20px;
}

.comments__count {
	color: var(--red);
}

.comments__note {
	font-size: 13px;
	color: var(--faint);
}

.comment-form p {
	margin: 0 0 12px;
}

.comment-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 14px;
}

.comment-form .required {
	color: var(--red);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--line-strong);
	background: #FAFBFC;
	font: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 2px solid var(--green);
	outline-offset: 0;
	background: #fff;
}

@media (min-width: 700px) {
	.comment-form {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 12px;
	}

	.comment-form > :not(.comment-form-author):not(.comment-form-email) {
		grid-column: 1 / -1;
	}
}

.comments__submit {
	padding: 10px 26px;
	border: 0;
	background: var(--red);
	color: #fff;
	font: 700 15px var(--font-body);
	cursor: pointer;
}

.comments__submit:hover {
	background: var(--red-dark);
}

.comment-list,
.comment-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-inline-start: 28px;
}

.comment-body {
	margin-bottom: 12px;
	padding: 14px 16px;
	background: #F6F7F9;
	border-inline-start: 3px solid var(--line-strong);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	font-size: 12px;
	color: var(--faint);
}

.comment-content p {
	margin: 8px 0;
	font-size: 15px;
}

.comment-awaiting-moderation {
	font-size: 13px;
	color: var(--red-dark);
}

.reply a {
	font-size: 13px;
	font-weight: 700;
	color: var(--red);
}

/* =========================================================
 * صفحة الرأي والافتتاحية
 * ======================================================= */
.op-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "article" "writer" "aside";
	gap: 24px;
	align-items: start;
}

.op-article {
	grid-area: article;
}

.op-writer-col {
	grid-area: writer;
	min-width: 0;
}

.op-aside {
	grid-area: aside;
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

@media (min-width: 800px) and (max-width: 1023px) {
    .op-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		grid-template-areas:
			"article writer"
			"article aside";
	}
}

@media (min-width: 1024px) {
    .op-layout {
		grid-template-columns: 300px minmax(0, 1fr) 320px;
		grid-template-areas: "writer article aside";
	}



	/* العمودان الجانبيان ثابتان أثناء التمرير (الضبط في sticky.js). */
	.op-writer-col,
	.op-aside {
		position: sticky;
		top: 16px;
	}
}

/* المقال. */
.op-article__label {
	display: inline-block;
	margin-bottom: 10px;
	font-weight: 700;
	font-size: 15px;
	color: var(--red);
}

.op-article__title {
	margin: 0 0 16px;
	font-weight: 800;
	font-size: 38px;
	line-height: 1.4;
}

@media (max-width: 699px) {
	.op-article__title {
		font-size: 28px;
	}
}

.op-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	color: var(--muted);
}

.op-article__meta .share-bar {
	padding: 0;
	border: 0;
}

.share-bar__btn--text {
	width: auto;
	padding-inline: 14px;
	background: var(--red);
	font: 700 14px var(--font-body);
}

.entry-content--opinion {
	font-size: 19px;
	line-height: 2.05;
}

.op-disclaimer {
	margin: 24px 0 0;
	padding: 10px 14px;
	border-inline-start: 3px solid var(--line-strong);
	background: #F6F7F9;
	font-size: 13.5px;
	color: var(--muted);
}

/* العمود الأول: الكاتب. */
.op-writer {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 28px 22px;
	background: var(--surface);
	box-shadow: var(--shadow);
	text-align: center;
}

.op-writer__photo {
	display: block;
	width: 140px;
	height: 140px;
	overflow: hidden;
	border: 4px solid var(--red);
	border-radius: 50%;
	background: #D9DDE4;
}

.op-writer__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.op-writer__name {
	margin-top: 14px;
	font: 800 24px/1.4 var(--font-head);
	color: var(--ink);
}

.op-writer__bio {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.9;
	color: var(--muted);
}

.op-writer__latest {
	align-self: stretch;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 2px solid var(--green-dark);
	text-align: start;
}

.op-writer__heading {
	margin: 0 0 6px;
	font-weight: 800;
	font-size: 17px;
	color: var(--green-dark);
}

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

.op-writer__latest a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
}

.op-writer__latest li:last-child a {
	border-bottom: 0;
}

.op-writer__title {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.5;
}

.op-writer__date {
	font-size: 12px;
	color: var(--faint);
}

/* العمود الثالث: الاقتباس. */
.op-quote {
	margin: 0;
	padding: 26px 24px;
	background: var(--green-dark);
	color: #fff;
}

.op-quote__mark {
	display: block;
	font: 800 60px/0.8 Georgia, serif;
	color: var(--red-soft);
}

.op-quote p {
	margin: 12px 0 0;
	padding-bottom: 16px;
	border-bottom: 3px solid var(--red);
	font: 800 21px/1.7 var(--font-head);
}

/* كتّاب تفاعلات. */
.side-box__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	border-bottom: 2px solid var(--green-dark);
	margin-bottom: 6px;
}

.side-box__head .side-box__title {
	margin: 0;
	border: 0;
}

.writers {
	padding: 6px 18px 16px;
	background: var(--surface);
	box-shadow: var(--shadow);
}

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

.writers__page[hidden] {
	display: none;
}

.writers__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.writers__page li:last-child .writers__item {
	border-bottom: 0;
}

.writers__photo {
	width: 72px;
	height: 72px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 50%;
	background: #D9DDE4;
}

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

.writers__name {
	font: 800 17px/1.4 var(--font-head);
	color: var(--ink);
}

.writers__item:hover .writers__name {
	color: var(--red);
}

.writers__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

.writers__dot {
	width: 56px;
	height: 5px;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background: var(--line-strong);
	cursor: pointer;
}

.writers__dot.is-active {
	background: var(--green-dark);
}

/* =========================================================
 * صفحات الأرشيف وصفحة الكاتب
 * ======================================================= */
.archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

@media (min-width: 1024px) {
    .archive-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	/* ثابت أثناء التمرير (الضبط في sticky.js). */
	.archive-aside {
		position: sticky;
		top: 16px;
	}
}

.archive-main {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.archive-aside {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

.archive-card .card__media {
	height: 170px;
}

.archive-card .card__body {
	gap: 8px;
	padding: 12px 14px 14px;
}

/* رأس صفحة الكاتب. */
.author-head {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 26px 28px;
	background: var(--surface);
	box-shadow: var(--shadow);
	border-top: 4px solid var(--green-dark);
}

@media (max-width: 599px) {
	.author-head {
		flex-direction: column;
		text-align: center;
		padding: 22px 16px;
	}
}

.author-head__photo {
	width: 140px;
	height: 140px;
	flex-shrink: 0;
	overflow: hidden;
	border: 4px solid var(--red);
	border-radius: 50%;
	background: #D9DDE4;
}

.author-head__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-head__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.author-head .op-article__label {
	margin: 0;
}

.author-head__name {
	margin: 0;
	font-weight: 800;
	font-size: 32px;
	line-height: 1.3;
}

.author-head__bio {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
	color: var(--muted);
}

.author-head__count {
	align-self: flex-start;
	padding: 3px 10px;
	background: #E8F1EC;
	font-size: 13px;
	font-weight: 700;
	color: var(--green-dark);
}

@media (max-width: 599px) {
	.author-head__count {
		align-self: center;
	}
}

/* ترقيم الصفحات. */
.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: var(--surface);
	box-shadow: var(--shadow);
	font-weight: 700;
}

.navigation.pagination .page-numbers.current {
	background: var(--red);
	color: #fff;
}

.navigation.pagination .page-numbers.dots {
	background: none;
	box-shadow: none;
}


/* =========================================================
 * الأرشيف الموحّد: الرأس، الخبر الكبير، الفروع، الجانب
 * ======================================================= */

/* الرأس. */
.arch-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 26px;
	background: var(--surface);
	box-shadow: var(--shadow);
	border-top: 4px solid var(--green-dark);
}

@media (max-width: 599px) {
	.arch-head {
		padding: 18px 16px;
	}
}

.arch-head .crumbs ol {
	margin: 0;
}

.arch-head__label {
	font-weight: 700;
	font-size: 14px;
	color: var(--red);
}

.arch-head__title {
	margin: 0;
	font-weight: 800;
	font-size: 32px;
	line-height: 1.3;
}

@media (max-width: 599px) {
	.arch-head__title {
		font-size: 26px;
	}
}

.arch-head__desc {
	margin: 0;
	max-width: 760px;
	font-size: 15px;
	line-height: 1.9;
	color: var(--muted);
}

.arch-head__count {
	align-self: flex-start;
	padding: 3px 10px;
	background: #E8F1EC;
	font-size: 13px;
	font-weight: 700;
	color: var(--green-dark);
}

/* نموذج البحث. */
.arch-search {
	display: flex;
	max-width: 560px;
	margin-top: 4px;
}

.arch-search input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-inline-end: 0;
	font: inherit;
	font-size: 15px;
	background: var(--bg);
}

.arch-search input:focus {
	outline: 2px solid var(--green-dark);
	outline-offset: -2px;
}

.arch-search button {
	height: 44px;
	padding: 0 20px;
	border: 0;
	background: var(--red);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.arch-search button:hover {
	background: var(--red-dark);
}

/* شريط الفروع. */
.arch-subnav {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.arch-subnav ul {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0 0 2px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: thin;
}

.arch-subnav a {
	display: block;
	padding: 6px 14px;
	background: var(--bg);
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
}

.arch-subnav a:hover {
	color: var(--red);
}

.arch-subnav a.is-current {
	background: var(--green-dark);
	color: #fff;
}

/* الخبر الكبير. */
.arch-lead {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	background: var(--surface);
	box-shadow: var(--shadow);
}

@media (min-width: 800px) {
	.arch-lead {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}
}

.arch-lead__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.arch-lead__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px;
}

.arch-lead__title {
	margin: 0;
	font-weight: 800;
	font-size: 26px;
	line-height: 1.45;
}

.arch-lead__title a:hover {
	color: var(--red);
}

.arch-lead__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: var(--muted);
}

/* رمز التشغيل فوق صور الفيديو. */
.card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.arch-lead .card__play {
	width: 56px;
	height: 56px;
	font-size: 18px;
}

/* الأحدث في التصنيف الأب. */
.arch-side__title {
	margin: 0 0 6px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--red);
	font-weight: 800;
	font-size: 20px;
}

.arch-side__title a:hover {
	color: var(--red);
}

.arch-side__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.arch-side__item {
	display: flex;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line-strong);
}

.arch-side__media {
	width: 96px;
	height: 54px;
	flex-shrink: 0;
	overflow: hidden;
}

.arch-side__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.arch-side__text {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.5;
}

.arch-side__item:hover .arch-side__text {
	color: var(--red);
}

/* =========================================================
 * أرشيف الرأي والافتتاحية
 * ======================================================= */
.op-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.op-row {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 22px;
	align-items: center;
	padding: 20px 22px;
	background: var(--surface);
	box-shadow: var(--shadow);
	border-inline-start: 4px solid var(--red);
}

.op-row--editorial {
	border-inline-start-color: var(--green-dark);
}

@media (max-width: 599px) {
	.op-row {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 14px;
		padding: 16px 14px;
	}
}

/* العمود الأول: الكاتب. */
.op-row__writer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}

.op-row__photo {
	display: block;
	width: 104px;
	height: 104px;
	overflow: hidden;
	border: 3px solid var(--red);
	border-radius: 50%;
	background: #D9DDE4;
}

.op-row--editorial .op-row__photo {
	border-color: var(--green-dark);
}

.op-row__photo--board {
	background: var(--surface);
}

.op-row__photo--board .tfl-img {
	object-fit: contain;
	padding: 12px;
}

@media (max-width: 599px) {
	.op-row__photo {
		width: 72px;
		height: 72px;
	}
}

.op-row__name {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ink);
}

a.op-row__name:hover {
	color: var(--red);
}

@media (max-width: 599px) {
	.op-row__name {
		font-size: 12.5px;
	}
}

/* العمود الثاني: المقال. */
.op-row__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.op-row__type {
	align-self: flex-start;
	padding: 2px 10px;
	background: var(--red);
	color: #fff;
	font-weight: 700;
	font-size: 12px;
}

.op-row--editorial .op-row__type {
	background: var(--green-dark);
}

.op-row__title {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 24px;
	line-height: 1.5;
}

.op-row__title a:hover {
	color: var(--red);
}

@media (max-width: 599px) {
	.op-row__title {
		font-size: 18px;
	}
}

.op-row__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 15px;
	line-height: 1.8;
	color: var(--muted);
}

.op-row__date {
	font-size: 12.5px;
	color: var(--faint);
}

/* =========================================================
 * الصفحة غير موجودة
 * ======================================================= */
.arch-head--404 {
	align-items: center;
	padding: 36px 26px;
	text-align: center;
}

.arch-head__code {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 96px;
	line-height: 1;
	color: var(--red);
	direction: ltr;
}

@media (max-width: 599px) {
	.arch-head__code {
		font-size: 72px;
	}
}

.arch-head--404 .arch-search {
	width: 100%;
	margin-top: 8px;
}

.arch-head__home {
	margin-top: 6px;
	font-weight: 700;
	font-size: 15px;
	color: var(--green-dark);
}

.arch-head__home:hover {
	color: var(--red);
}

.arch-latest__title {
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--green-dark);
	font-weight: 800;
	font-size: 22px;
	color: var(--green-dark);
}

/* =========================================================
 * الصفحات الثابتة
 * ======================================================= */
.article--page .single__head {
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--green-dark);
}

.article--page .single__title {
	margin: 0;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 24px;
	font-weight: 700;
}


/* =========================================================
 * صفحة الفيديو
 * ======================================================= */
.video-player {
	position: relative;
	margin: 20px 0 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
}

.video-player iframe,
.video-player video,
.video-player .wp-video,
.video-player .mejs-container {
	position: absolute;
	inset: 0;
	width: 100% !important; /* يتجاوز العرض الثابت الذي يضعه مشغّل ووردبريس. */
	height: 100% !important;
	border: 0;
}

.byline__duration {
	font-weight: 600;
}

.video-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.video-terms__item {
	display: block;
	padding: 4px 12px;
	background: var(--bg);
	font-weight: 700;
	font-size: 13px;
}

.video-terms__item--playlist::before {
	content: "▶ ";
	color: var(--red);
}

.video-terms__item:hover {
	color: var(--red);
}

.article--video .share-bar {
	margin-top: 16px;
}

/* =========================================================
 * محتوى مربوط في التغطية المباشرة
 * ======================================================= */
.live-ref {
	background: #EBF2EF; /* أخضر ورق الصحف. */
	border-color: #D3E2DA;
}

/* نقطة الخط الزمني: معيّن بدل الدائرة. */
.live-update--ref .live-update__time::before {
	border-radius: 0;
	transform: rotate(45deg);
}

.live-ref__type {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 12px;
	font-weight: 700;
	font-size: 13px;
	color: var(--green-dark);
}

.live-ref__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

@media (min-width: 600px) {
	.live-ref__body {
		grid-template-columns: 200px minmax(0, 1fr);
		align-items: start;
	}
}

.live-ref__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.live-ref__writer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}

.live-ref__photo {
	display: block;
	width: 96px;
	height: 96px;
	overflow: hidden;
	border: 3px solid var(--red);
	border-radius: 50%;
	background: #D9DDE4;
}

.live-update--ref-editorial .live-ref__photo {
	border-color: var(--green-dark);
}

.live-ref__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.live-ref__name {
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
}

.live-ref__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.live-ref__title {
	margin: 0;
	font-weight: 800;
	font-size: 19px;
	line-height: 1.6;
}

.live-ref__title a:hover {
	color: var(--red);
}

.live-ref__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.85;
	color: var(--muted);
}

.live-ref__more {
	align-self: flex-start;
	font-weight: 700;
	font-size: 14px;
	color: var(--green-dark);
}

.live-ref__more:hover {
	color: var(--red);
}

/* «ضمن التغطية المباشرة» أسفل المادة. */
.folder-chip--live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #FDECEC;
	border-inline-start-color: var(--live);
	color: var(--ink);
}

/* =========================================================
 * صفحة الملف
 * ======================================================= */
.file-page {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* الرأس. */
.file-head {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.file-head .crumbs ol {
	margin: 0;
}

.file-head__title {
	margin: 0;
	font-weight: 800;
	font-size: 38px;
	line-height: 1.35;
}

@media (max-width: 599px) {
	.file-head__title {
		font-size: 28px;
	}
}

.file-head__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	padding-bottom: 16px;
	border-bottom: 3px double var(--line-strong);
	font-size: 14px;
	color: var(--faint);
}

.file-head__meta .live-share {
	margin-inline-start: auto;
}

/* صندوق التقديم: الصورة والنصّ. */
.file-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	background: #EBF2EF; /* أخضر ورق الصحف. */
	border: 1px solid #D3E2DA;
}

@media (min-width: 800px) {
	.file-intro {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.file-intro--text {
		grid-template-columns: minmax(0, 1fr);
	}
}

.file-intro__media {
	margin: 0;
	min-height: 100%;
}

.file-intro__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
}

.file-intro__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 26px 28px;
}

.file-intro__text .entry-content {
	font-size: 17px;
	line-height: 1.95;
}

.file-intro__text .entry-content > :first-child {
	margin-top: 0;
}

.file-intro__text .entry-content > :last-child {
	margin-bottom: 0;
}

/* التوقيع في آخر النصّ. */
.file-intro__sign {
	align-self: flex-end;
	margin: auto 0 0;
	padding-top: 12px;
	border-top: 1px solid #D3E2DA;
}

.file-intro__sign a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 15px;
	color: var(--green-dark);
}

.file-intro__photo {
	display: block;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 50%;
	border: 2px solid var(--green-dark);
}

.file-intro__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* تغطية مباشرة جارية. */
.file-live {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	background: var(--live);
	color: #fff;
}

.file-live:hover {
	color: #fff;
	background: var(--red-dark);
}

.file-live__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 2px 10px;
	background: #fff;
	color: var(--live);
	font-weight: 800;
	font-size: 13px;
}

.file-live__title {
	flex: 1;
	min-width: 0;
	font-weight: 700;
	font-size: 17px;
}

.file-live__go {
	font-size: 20px;
}

/* الصف الأول: الرئيسية وجانبيتاها. */
.file-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

@media (min-width: 800px) {
	.file-top {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	}

	.file-side {
		padding-inline-start: 24px;
		border-inline-start: 1px solid var(--line-strong);
	}
}

.file-lead {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.file-lead__media,
.file-side__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.file-lead__title {
	margin: 0;
	font-weight: 800;
	font-size: 28px;
	line-height: 1.45;
}

.file-lead__excerpt {
	margin: 0;
	font-size: 16px;
	line-height: 1.85;
	color: var(--muted);
}

.file-side {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.file-side__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.file-side__item + .file-side__item {
	padding-top: 20px;
	border-top: 1px solid var(--line-strong);
}

.file-side__title {
	margin: 0;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.55;
}

.file-lead__title a:hover,
.file-side__title a:hover,
.file-col__title a:hover {
	color: var(--red);
}

/* الصف الثاني: أعمدة الجريدة. */
.file-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	padding-top: 24px;
	border-top: 3px double var(--line-strong);
}

@media (min-width: 700px) {
	.file-cols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.file-col + .file-col {
		border-inline-start: 1px solid var(--line-strong);
	}
}

.file-col {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 18px 18px;
}

@media (max-width: 699px) {
	.file-col {
		padding: 16px 0;
		border-bottom: 1px solid var(--line-strong);
	}
}

.file-col__title {
	margin: 0;
	font-weight: 800;
	font-size: 18px;
	line-height: 1.55;
}

.file-col__excerpt {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.85;
	color: var(--muted);
}

/* آراء وتحليلات. */
.file-ops {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.file-ops__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 16px;
}

.file-op {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 18px 14px;
	background: #EBF2EF;
	border-top: 3px solid var(--red);
	text-align: center;
}

.file-op--editorial {
	border-top-color: var(--green-dark);
}

.file-op__photo {
	display: block;
	width: 76px;
	height: 76px;
	overflow: hidden;
	border: 3px solid var(--red);
	border-radius: 50%;
	background: #D9DDE4;
}

.file-op--editorial .file-op__photo {
	border-color: var(--green-dark);
}

.file-op__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.file-op__name {
	font-weight: 700;
	font-size: 13px;
	color: var(--red);
}

.file-op--editorial .file-op__name {
	color: var(--green-dark);
}

.file-op__title {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink);
}

.file-op:hover .file-op__title {
	color: var(--red);
}

/* الفيديو. */
.file-videos {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	background: var(--green-dark);
}

.file-videos__title {
	margin: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--green-line);
	font-weight: 800;
	font-size: 20px;
	color: #fff;
}

.file-videos__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

.file-video {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: #fff;
}

.file-video:hover {
	color: var(--red-soft);
}

.file-video__title {
	font-weight: 700;
	font-size: 14.5px;
	line-height: 1.6;
}

/* المزيد من الملف. */
.file-more {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.file-more__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.file-more__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line-strong);
}

.file-more__type {
	padding: 1px 8px;
	background: #EBF2EF;
	font-weight: 700;
	font-size: 12px;
	color: var(--green-dark);
}

.file-more__title {
	font-weight: 700;
	font-size: 15.5px;
	line-height: 1.6;
}

.file-more__item:hover .file-more__title {
	color: var(--red);
}

.file-more__date {
	font-size: 12.5px;
	color: var(--faint);
	white-space: nowrap;
}

@media (max-width: 599px) {
	.file-more__item {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}

	.file-more__type {
		justify-self: start;
	}
}


/* =========================================================
 * الرئيسية: «ملف مختار»
 * ======================================================= */
.home-file {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	min-width: 0;
	background: #EBF2EF; /* أخضر ورق الصحف. */
	border-top: 4px solid var(--green-dark);
}

@media (min-width: 800px) {
	.home-file {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		min-height: 300px;
	}

	.home-file--text {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}
}

.home-file__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 32px 36px;
	text-align: center;
}

@media (max-width: 599px) {
	.home-file__text {
		padding: 24px 18px;
	}
}

.home-file__kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 800;
	font-size: 14px;
	color: var(--red);
}

.home-file__title {
	margin: 0;
	font-weight: 800;
	font-size: 36px;
	line-height: 1.35;
}

@media (max-width: 599px) {
	.home-file__title {
		font-size: 28px;
	}
}

.home-file__title a:hover {
	color: var(--green-dark);
}

.home-file__latest {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	max-width: 520px;
	margin: 0;
	padding: 12px 0 0;
	border-top: 1px solid #D3E2DA;
	list-style: none;
}

.home-file__latest a {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--muted);
	text-align: start;
}

.home-file__latest a:hover {
	color: var(--red);
}

.home-file__icon {
	flex-shrink: 0;
	position: relative;
	top: 2px;
	color: var(--green-dark);
}

.home-file__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	padding: 10px 20px;
	background: var(--green-dark);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
}

.home-file__cta:hover {
	background: var(--red);
	color: #fff;
}

.home-file__media {
	display: block;
	min-height: 220px;
	overflow: hidden;
}

.home-file__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 799px) {
	.home-file__media {
		order: -1;
		aspect-ratio: 16 / 9;
		min-height: 0;
	}
}
/* =========================================================
 * الآيباد الأفقي والحواسيب الصغيرة (1024–1279):
 * شكل الحاسوب نفسه، بأعمدة جانبية أنحف ومسافات أصغر.
 * ======================================================= */
@media (min-width: 1024px) and (max-width: 1279px) {
	.front {
		grid-template-columns: 240px minmax(0, 1fr) 240px;
		column-gap: 16px;
	}

	.op-layout {
		grid-template-columns: 220px minmax(0, 1fr) 260px;
	}

	.single-layout,
	.archive-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		column-gap: 20px;
	}

	.site-logo--text {
		font-size: 30px;
	}

	/* القائمة: تُمرَّر أفقياً إن لم تتّسع (main-nav). */
	.main-nav__list a {
		padding-inline: 7px;
		font-size: 15px;
	}
}


/* =========================================================
 * العمود الجانبي الموحّد
 * ======================================================= */
.promo--file {
	border-top: 4px solid #F2C14E;
}

.side-ops {
	margin: 0;
	padding: 0;
	list-style: none;
}

.side-op {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line-strong);
}

.side-ops li:last-child .side-op {
	border-bottom: 0;
}

.side-op__photo {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	overflow: hidden;
	border: 2px solid var(--red);
	border-radius: 50%;
	background: #D9DDE4;
}

.side-op__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.side-op__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.side-op__name {
	font-weight: 700;
	font-size: 12.5px;
	color: var(--red);
}

.side-op__title {
	font-weight: 700;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--ink);
}

.side-op:hover .side-op__title {
	color: var(--red);
}

/* الاقتباس البارز: بين العنوان وبداية المقال. */
.op-article .op-quote {
	margin: 4px 0 24px;
}



/* ===== التعليقات: حقل الفخّ (inc/comments-guard.php) =====
 * مخفي عن الزائر وقارئ الشاشة، دون إزاحة تفتح تمريراً أفقياً في RTL.
 */
.tfl-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}


/* ===== التحديث والتصحيح (inc/updates.php) ===== */
.byline__updated {
	color: var(--red);
	font-weight: 600;
}

.correction {
	margin: 28px 0;
	padding: 14px 18px;
	background: var(--surface);
	border-inline-start: 4px solid var(--red);
	box-shadow: var(--shadow);
}

.correction__label {
	margin-inline-end: 8px;
	color: var(--red);
	font-weight: 800;
}

.correction__date {
	color: var(--muted);
	font-size: 13px;
}

.correction__text {
	margin: 6px 0 0;
	line-height: 1.8;
}

/* ===== المساحة الترويجية تحت البانرات (template-parts/home/aside.php) ===== */
.side-spot {
	margin-top: 10px;
	text-align: center;
}

.side-spot__label {
	display: block;
	margin-bottom: 4px;
	color: var(--faint);
	font-size: 11px;
}

.side-spot__img {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: var(--shadow);
}


/* ===== «على مدار الساعة»: الوميض الأحمر (تغطية جارية، عاجل نشط) ===== */
.feed24__item.is-hot .feed24__text {
	color: var(--red);
	font-weight: 700;
}

.feed24__flag .pulse-dot {
	margin-inline-end: 6px;
	vertical-align: middle;
	animation-duration: 0.9s;
}

@media (prefers-reduced-motion: reduce) {
	.feed24__flag .pulse-dot {
		animation: none;
	}
}