/*
Theme Name: Zenata News 2
Theme URI: https://www.zenatanews.com/
Author: Zenata News
Description: الواجهة الثانية لجريدة زناتة نيوز: سليدر و«24 ساعة»، تبويبات المناطق، مغاربة العالم، خدمات القرب (دليل المنطقة، صوت المواطن، مشاريع وأوراش، وظائف، صيدليات الحراسة، مواقيت الصلاة)، منتدى، أعمدة الرأي وزناتة ثيفي.
Version: 2.8.2
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: zenata-news
*/

/* ==========================================================================
   Tokens – navy and yellow from the logo, restrained section tones
   ========================================================================== */
:root {
	--navy: #11318a;
	--navy-900: #0a1f5c;
	--navy-050: #eef3fc;
	--blue: #1d56c4;
	--yellow: #ffc000;
	--yellow-600: #e0a800;
	--red: #c8102e;
	--ink: #131a2c;
	--ink-2: #2b3449;
	--muted: #5d6579;
	--line: #e2e6ee;
	--paper: #f5f7fb;
	--white: #fff;

	--tone: var(--navy);
	--radius: 10px;
	--radius-sm: 6px;
	--gap: 24px;
	--wrap: 1240px;
	--shadow: 0 1px 2px rgba(17, 30, 70, .06), 0 4px 16px rgba(17, 30, 70, .06);

	--f-head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
	--f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

.zn-tone--brand { --tone: var(--navy); }
.zn-tone--slate { --tone: #334155; }
.zn-tone--teal { --tone: #0f766e; }
.zn-tone--rust { --tone: #9a3412; }
.zn-tone--green { --tone: #15803d; }
.zn-tone--amber { --tone: #a16207; }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.zn-lock { overflow: hidden; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.7;
	direction: rtl;
	text-rendering: optimizeLegibility;
	overflow-x: clip; /* 2.6.7: «clip» hides sideways overflow without turning <body> into a scroll box (that stopped some phones short of the footer). */
}
html { overflow-x: clip; }
img, video, iframe, embed, object { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.5; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; right: 8px; width: auto; height: auto; clip: auto;
	z-index: 1000; background: var(--yellow); color: var(--navy-900); padding: 8px 14px; border-radius: var(--radius-sm);
}

.zn-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.zn-main { display: block; padding-bottom: 32px; }
.zn-icon { flex: none; vertical-align: middle; }

/* ==========================================================================
   Header
   ========================================================================== */
.zn-topbar { background: var(--navy-900); color: #c9d4f0; font-size: 13px; }
.zn-topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 12px; }

.zn-social { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.zn-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: inherit; }
.zn-social a:hover { background: rgba(255, 255, 255, .12); color: var(--yellow); }
.zn-social .zn-icon { width: 17px; height: 17px; }

.zn-header { background: var(--white); position: relative; z-index: 50; }
.zn-masthead { display: flex; align-items: center; gap: 20px; min-height: 92px; }
.zn-brand { flex: none; }
.zn-brand .custom-logo, .zn-footer__logo .custom-logo, .zn-drawer__head .custom-logo { display: block; height: 72px; width: auto; }
.zn-brand .custom-logo-link { display: block; }

.zn-search[hidden] { display: none; }
.zn-search { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.zn-masthead .zn-search { margin-inline-start: auto; width: min(420px, 40vw); }
.zn-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 18px; color: var(--ink); outline: none; }
.zn-search button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--navy); color: var(--white); padding: 10px 16px; cursor: pointer; }
.zn-search button:hover { background: var(--blue); }
.zn-search--block { max-width: 560px; margin: 16px 0; }
.zn-search--mobile { margin: 0 16px 12px; }

.zn-iconbtn { display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); color: var(--navy); cursor: pointer; }
.zn-iconbtn:hover { background: var(--navy-050); }

/* Nav bar */
.zn-nav { background: var(--navy); position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(10, 31, 92, .18); }
.zn-nav__list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.zn-nav__list > li { position: relative; }
.zn-nav__list > li > a {
	display: block; padding: 13px 15px; color: var(--white); font-family: var(--f-head); font-weight: 600; font-size: 15px;
	border-bottom: 3px solid transparent;
}
.zn-nav__list > li > a:hover,
.zn-nav__list > li.current-menu-item > a,
.zn-nav__list > li.current-menu-ancestor > a,
.zn-nav__list > li.current-post-ancestor > a { color: var(--yellow); border-bottom-color: var(--yellow); }
.zn-nav__list .sub-menu {
	position: absolute; top: 100%; right: 0; min-width: 210px; list-style: none; margin: 0; padding: 8px 0;
	background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.zn-nav__list li:hover > .sub-menu, .zn-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.zn-nav__list .sub-menu a { display: block; padding: 8px 18px; color: var(--ink); }
.zn-nav__list .sub-menu a:hover { background: var(--navy-050); color: var(--navy); }

/* Drawer (mobile menu) */
.zn-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(10, 20, 50, .55); }
.zn-drawer[hidden] { display: none; }
.zn-drawer__panel {
	position: absolute; top: 0; bottom: 0; right: 0; width: min(340px, 88vw); background: var(--white);
	overflow-y: auto; padding: 16px; animation: zn-slide .2s ease-out;
}
@keyframes zn-slide { from { transform: translateX(100%); } }
.zn-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.zn-drawer__head .custom-logo { height: 48px; }
.zn-drawer__close { display: grid; }
.zn-drawer__list { list-style: none; margin: 0 0 16px; padding: 0; }
.zn-drawer__list li { position: relative; border-bottom: 1px solid var(--line); }
.zn-drawer__list a { display: block; padding: 13px 4px; font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.zn-drawer__list .sub-menu { display: none; list-style: none; padding: 0 16px 8px 0; margin: 0; }
.zn-drawer__list .is-open > .sub-menu { display: block; }
.zn-drawer__list .sub-menu li { border: 0; }
.zn-drawer__list .sub-menu a { font-family: var(--f-body); font-weight: 500; padding: 8px 4px; }
.zn-sub-toggle { position: absolute; left: 0; top: 6px; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; }
.zn-sub-toggle::before { content: ""; display: block; width: 9px; height: 9px; margin: auto; border-left: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: .15s; }
.is-open > .zn-sub-toggle::before { transform: rotate(135deg); }
.zn-social--drawer { color: var(--navy); }

/* Ticker */
.zn-ticker { background: var(--white); border-bottom: 1px solid var(--line); }
.zn-ticker__in { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.zn-ticker__label {
	flex: none; display: inline-flex; align-items: center; gap: 6px; background: var(--yellow); color: var(--navy-900);
	font-family: var(--f-head); font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: var(--radius-sm);
}
.zn-ticker__label .zn-icon { width: 16px; height: 16px; }
.zn-ticker__viewport { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(to left, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.zn-ticker__list { display: flex; width: max-content; gap: 40px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.zn-ticker__list.is-moving { animation: zn-ticker 60s linear infinite; }
.zn-ticker:hover .zn-ticker__list, .zn-ticker:focus-within .zn-ticker__list { animation-play-state: paused; }
@keyframes zn-ticker { to { transform: translateX(50%); } }
.zn-ticker__list li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.zn-ticker__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); opacity: .5; }
.zn-urgent { background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 4px; }

/* ==========================================================================
   Ads – centred, labelled, height reserved only when a widget ad is placed
   ========================================================================== */
.zn-ad { margin: 20px auto; text-align: center; overflow: hidden; }
.zn-ad__label { display: block; font-size: 11px; color: var(--muted); letter-spacing: .02em; margin-bottom: 4px; }
.zn-ad__unit { display: flex; justify-content: center; }
.zn-ad__unit img { display: block; margin-inline: auto; border-radius: 4px; }
.zn-ad--leader.is-reserved { min-height: 120px; }
.zn-ad--box.is-reserved { min-height: 270px; }
.zn-ad--banner.is-reserved { min-height: 110px; }
@media (min-width: 1000px) {
	.zn-ad--leader.is-reserved { min-height: 270px; max-width: 970px; }
}
@media (min-width: 901px) {
	.zn-only-mobile { display: none !important; }
}

/* ==========================================================================
   Section headings, chips, time
   ========================================================================== */
.zn-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--line); }
.zn-sec-title { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; padding-bottom: 10px; margin-bottom: -2px; border-bottom: 3px solid var(--tone); }
.zn-sec-title .zn-icon { width: 34px; height: 34px; padding: 7px; border-radius: 9px; color: var(--tone); background: color-mix(in srgb, var(--tone) 12%, transparent); }
.zn-more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--tone); white-space: nowrap; padding-bottom: 10px; }
.zn-more .zn-icon { width: 16px; height: 16px; }

.zn-chip {
	display: inline-block; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--navy);
	background: var(--navy-050); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.zn-chip:hover { background: var(--navy); color: var(--white); }
.zn-time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Cards
   ========================================================================== */
.zn-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.zn-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #dfe5f0; aspect-ratio: 16 / 9; }
.zn-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .35s ease; }
.zn-card:hover .zn-img { transform: scale(1.03); }
.zn-img--empty { background: var(--navy-050) url("assets/mark.svg") center / 34% no-repeat; }
.zn-card__body { padding-top: 10px; min-width: 0; }
.zn-card__title { font-size: 17px; font-weight: 700; line-height: 1.6; }
.zn-card__title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.zn-card__excerpt { color: var(--ink-2); margin: 8px 0 0; font-size: 15.5px; }
.zn-card__meta { margin-top: 6px; }
.zn-play {
	position: absolute; inset-inline-start: 10px; bottom: 10px; display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%; background: rgba(10, 31, 92, .82); color: var(--white);
}
.zn-play .zn-icon { width: 26px; height: 26px; }

.zn-card--lead .zn-card__title { font-size: clamp(21px, 2.4vw, 30px); line-height: 1.5; }
.zn-card--lead .zn-card__title a { -webkit-line-clamp: 4; }

.zn-card--row { display: grid; grid-template-columns: 116px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.zn-card--row .zn-card__media { border-radius: var(--radius-sm); }
.zn-card--row .zn-card__body { padding-top: 0; }
.zn-card--row .zn-card__title { font-size: 15.5px; }
.zn-card--row .zn-play { width: 30px; height: 30px; inset-inline-start: 6px; bottom: 6px; }
.zn-card--row .zn-play .zn-icon { width: 18px; height: 18px; }

/* ==========================================================================
   Homepage
   ========================================================================== */
.zn-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--gap); margin-top: 24px; }
.zn-hero__lead .zn-card__media { aspect-ratio: 16 / 10; }
.zn-hero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.zn-hero__side .zn-card__title { font-size: 15.5px; }

.zn-local { margin-top: 32px; background: var(--white); border-radius: 14px; padding: 22px 22px 8px; box-shadow: var(--shadow); border-top: 4px solid var(--yellow); }
.zn-places { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: -4px 0 18px; padding: 0; }
.zn-places a {
	display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
	color: var(--navy); background: var(--navy-050); border: 1px solid #d7e2f7;
}
.zn-places a:hover { background: var(--navy); color: var(--white); }
.zn-places .zn-icon { width: 15px; height: 15px; }
.zn-local__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--gap); }
.zn-local__cards { display: grid; gap: 18px; align-content: start; }
.zn-local__list .zn-card--row:first-child { border-top: 0; padding-top: 0; }

.zn-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; margin-top: 32px; align-items: start; }
.zn-layout__side { position: sticky; top: 64px; display: grid; gap: 24px; }
.zn-layout__side .zn-ad { margin: 0; }
.zn-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--gap); }
.zn-block { background: var(--white); border-radius: var(--radius); padding: 18px 18px 6px; box-shadow: var(--shadow); min-width: 0; }
.zn-block > .zn-card--card { margin-bottom: 6px; }

.zn-tv { background: var(--navy-900); color: var(--white); margin-top: 36px; padding: 28px 0 32px; }
.zn-tv .zn-sec-head { border-color: rgba(255, 255, 255, .14); }
.zn-tv .zn-sec-title { color: var(--white); --tone: var(--yellow); }
.zn-tv .zn-sec-title .zn-icon { background: rgba(255, 192, 0, .16); }
.zn-tv .zn-card__title, .zn-tv .zn-card__title a { color: var(--white); }
.zn-tv .zn-card__title a:hover { color: var(--yellow); }
.zn-tv .zn-time, .zn-tv .zn-card__excerpt { color: #b8c4e4; }
.zn-tv .zn-chip { background: rgba(255, 255, 255, .1); color: var(--yellow); }
.zn-tv__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.zn-tv__grid > .zn-card--lead { grid-row: span 2; }
.zn-tv__grid .zn-card--card .zn-card__title { font-size: 15.5px; }

.zn-opinion { margin-top: 32px; }
.zn-opinion__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.zn-op { display: flex; gap: 12px; background: var(--white); padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid #334155; }
.zn-op__avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.zn-op__author { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.zn-op__title { font-size: 15.5px; margin: 2px 0 4px; }

/* Sidebar widgets */
.zn-widget { background: var(--white); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.zn-widget__title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 2px solid var(--line); }
.zn-widget__title .zn-icon { color: var(--navy); }
.zn-latest ol { list-style: none; counter-reset: zn; margin: 0; padding: 0; }
.zn-latest li { counter-increment: zn; display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.zn-latest li:last-child { border-bottom: 0; }
.zn-latest li::before { content: counter(zn); grid-row: span 2; font-family: var(--f-head); font-weight: 800; color: var(--yellow-600); font-size: 18px; line-height: 1.4; }
.zn-latest a { font-weight: 600; font-size: 15px; line-height: 1.6; }

/* ==========================================================================
   Article
   ========================================================================== */
.zn-layout--article { margin-top: 24px; }
.zn-article { background: var(--white); border-radius: 14px; padding: 28px clamp(16px, 4vw, 44px) 32px; box-shadow: var(--shadow); min-width: 0; }
.zn-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.zn-crumbs a { color: var(--blue); }
.zn-article__title { font-size: clamp(25px, 3.4vw, 38px); line-height: 1.5; font-weight: 800; margin: 4px 0 12px; }
.zn-article__lede { font-size: 19px; color: var(--ink-2); line-height: 1.8; font-weight: 500; }
.zn-article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.zn-article__meta span { display: inline-flex; align-items: center; gap: 5px; }
.zn-article__meta .zn-icon { width: 16px; height: 16px; }
.zn-byline a { color: var(--navy); font-weight: 700; }
.zn-updated { color: var(--ink-2); }
.zn-article__figure { margin: 20px 0 24px; }
.zn-article__img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; background: var(--paper); border-radius: var(--radius); }
.zn-article__figure figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

.zn-share { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.zn-share a, .zn-share button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); cursor: pointer; }
.zn-share .is-fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.zn-share .is-wa:hover { background: #128c4a; border-color: #128c4a; color: #fff; }
.zn-share .is-x:hover { background: #111; border-color: #111; color: #fff; }
.zn-share .is-copy:hover, .zn-share .is-copy.is-done { background: var(--navy); border-color: var(--navy); color: #fff; }
.zn-share .zn-icon { width: 18px; height: 18px; }

.zn-content { font-size: 19px; line-height: 1.95; color: var(--ink); max-width: 760px; overflow-wrap: anywhere; }
.zn-content > * { max-width: 100%; }
.zn-content p { margin: 0 0 1.15em; }
.zn-content a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.zn-content h2 { font-size: 24px; margin: 1.4em 0 .6em; }
.zn-content h3 { font-size: 20px; margin: 1.3em 0 .5em; }
.zn-content img { border-radius: var(--radius-sm); }
.zn-content figure { margin: 1.5em 0; max-width: 100%; }
.zn-content figcaption, .zn-content .wp-caption-text { font-size: 14px; color: var(--muted); }
.zn-content .wp-caption { max-width: 100%; }
.zn-content blockquote { margin: 1.5em 0; padding: 12px 20px; border-right: 4px solid var(--yellow); background: var(--paper); border-radius: var(--radius-sm); font-weight: 500; }
.zn-content ul, .zn-content ol { padding-right: 1.4em; }
.zn-content table { display: block; overflow-x: auto; border-collapse: collapse; max-width: 100%; }
.zn-content td, .zn-content th { border: 1px solid var(--line); padding: 8px 10px; }
.zn-content iframe { max-width: 100%; border: 0; }
.zn-embed, .zn-content .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; margin: 1.5em 0; background: #000; border-radius: var(--radius); overflow: hidden; }
.zn-embed iframe, .zn-content .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.zn-content .fb-video, .zn-content .fb-post { max-width: 100% !important; }

.zn-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.zn-tags a { font-size: 13.5px; padding: 4px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.zn-tags a:hover { border-color: var(--navy); color: var(--navy); }
.zn-article__foot { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; }
.zn-related { margin-top: 32px; }

.zn-grid { display: grid; gap: var(--gap); }
.zn-grid--3 { grid-template-columns: repeat(3, 1fr); }
.zn-grid--4 { grid-template-columns: repeat(4, 1fr); }
.zn-grid--4 .zn-card__title { font-size: 15.5px; }

/* ==========================================================================
   Archives, search, pages, empty states
   ========================================================================== */
.zn-archive-head { margin-top: 24px; padding: 22px 24px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); border-right: 5px solid var(--navy); }
.zn-archive-head.is-tv { background: var(--navy-900); color: var(--white); border-right-color: var(--yellow); }
.zn-archive-head.is-tv .zn-archive-title { color: var(--white); }
.zn-archive-head.is-tv .zn-icon { color: var(--yellow); width: 30px; height: 30px; margin-left: 6px; }
.zn-archive-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.zn-archive-desc { color: var(--muted); margin-top: 6px; }
.zn-archive-head.is-tv .zn-archive-desc { color: #c3cdea; }
.zn-author { display: flex; align-items: center; gap: 16px; }
.zn-author img { border-radius: 50%; }

.zn-grid--archive { grid-template-columns: repeat(3, 1fr); }
.zn-grid--archive > .zn-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); align-items: center; background: var(--white); padding: 16px; border-radius: 14px; box-shadow: var(--shadow); }
.zn-grid--archive > .zn-card--lead .zn-card__body { padding-top: 0; }
.zn-grid--archive.is-tv > .zn-card:not(.zn-card--lead) .zn-card__media { box-shadow: 0 0 0 2px var(--navy) inset; }

.zn-list { background: var(--white); border-radius: 14px; padding: 6px 18px; box-shadow: var(--shadow); }
.zn-list .zn-card--row { grid-template-columns: 180px 1fr; padding: 16px 0; }
.zn-list .zn-card--row:first-child { border-top: 0; }
.zn-list .zn-card--row .zn-card__title { font-size: 18px; }

.zn-pagination { margin: 28px 0 8px; }
.zn-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.zn-pagination a, .zn-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.zn-pagination .current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.zn-pagination a:hover { border-color: var(--navy); color: var(--navy); }

.zn-page { max-width: 880px; margin-top: 24px; }
.zn-empty { background: var(--white); border-radius: 14px; padding: 32px clamp(16px, 4vw, 40px); box-shadow: var(--shadow); margin-top: 24px; }
.zn-empty__code { font-family: var(--f-head); font-size: 76px; font-weight: 800; color: var(--yellow); line-height: 1; margin: 0; }
.zn-empty__title { font-size: 24px; margin: 8px 0; }
.zn-empty__recent { margin-top: 28px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.zn-footer { background: var(--navy-900); color: #c3cdea; margin-top: 40px; border-top: 4px solid var(--yellow); }
.zn-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 40px 28px; }
.zn-footer__logo { background: var(--white); display: inline-block; padding: 6px 10px; border-radius: var(--radius); margin-bottom: 14px; }
.zn-footer__logo .custom-logo { height: 58px; }
.zn-footer h2 { color: var(--white); font-size: 17px; margin-bottom: 12px; }
.zn-footer ul { list-style: none; margin: 0; padding: 0; }
.zn-footer__col li { padding: 4px 0; }
.zn-footer a:hover { color: var(--yellow); }
.zn-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; padding: 14px 0; }
.zn-social--footer { margin-top: 12px; }
.zn-social--footer a { background: rgba(255, 255, 255, .08); }

.zn-comments { margin-top: 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.zn-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; }
	.zn-opinion__grid { grid-template-columns: repeat(2, 1fr); }
	.zn-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	:root { --gap: 18px; }
	.zn-topbar { display: none; }
	.zn-masthead { min-height: 64px; gap: 8px; justify-content: space-between; }
	.zn-masthead .zn-search { display: none; }
	.zn-iconbtn { display: grid; }
	.zn-brand .custom-logo { height: 48px; }
	.zn-nav { display: none; }
	.zn-header { position: sticky; top: 0; box-shadow: 0 1px 0 var(--line); }

	.zn-hero { grid-template-columns: 1fr; margin-top: 16px; }
	.zn-local__grid { grid-template-columns: 1fr 1fr; }
	.zn-local__lead { grid-column: 1 / -1; }
	.zn-layout { grid-template-columns: 1fr; }
	.zn-layout__side { position: static; }
	.zn-tv__grid { grid-template-columns: 1fr 1fr; }
	.zn-tv__grid > .zn-card--lead { grid-column: 1 / -1; grid-row: auto; }
	.zn-grid--archive { grid-template-columns: 1fr 1fr; }
	.zn-grid--archive > .zn-card--lead { grid-template-columns: 1fr; }
	.zn-footer__grid { grid-template-columns: 1fr 1fr; }
	.zn-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.zn-hero__side { gap: 14px; }
	.zn-local { padding: 16px 14px 4px; border-radius: 12px; }
	.zn-local__grid { grid-template-columns: 1fr; }
	.zn-local__cards { grid-template-columns: 1fr 1fr; gap: 14px; }
	.zn-blocks { grid-template-columns: 1fr; gap: 20px; }
	.zn-sec-title { font-size: 19px; }
	.zn-tv__grid { gap: 14px; }
	.zn-opinion__grid { grid-template-columns: 1fr; }
	.zn-grid--3 { grid-template-columns: 1fr 1fr; }
	.zn-grid--archive { gap: 14px; }
	.zn-list { padding: 4px 12px; }
	.zn-list .zn-card--row { grid-template-columns: 112px 1fr; }
	.zn-list .zn-card--row .zn-card__title { font-size: 15.5px; }
	.zn-card--card .zn-card__title { font-size: 15px; }
	.zn-article { padding: 18px 16px 24px; border-radius: 0; margin-inline: -16px; box-shadow: none; }
	.zn-content { font-size: 18px; line-height: 1.9; }
	.zn-footer__grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ==========================================================================
   v1.1 layout (inspired by the editor's mockup)
   ========================================================================== */

/* Top bar: date + pages | search + social */
.zn-topbar__in { min-height: 40px; }
.zn-topbar__start, .zn-topbar__end { display: flex; align-items: center; gap: 16px; }
.zn-toplinks { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.zn-toplinks li + li::before { content: "|"; opacity: .35; margin: 0 8px; }
.zn-toplinks a:hover { color: var(--yellow); }
.zn-topsearch { display: flex; align-items: center; background: var(--white); border-radius: 999px; overflow: hidden; height: 28px; }
.zn-topsearch input { border: 0; outline: none; background: transparent; padding: 0 12px; width: 190px; font-size: 13px; color: var(--ink); }
.zn-topsearch button { border: 0; background: transparent; color: var(--navy); padding: 0 10px; cursor: pointer; display: grid; place-items: center; height: 100%; }
.zn-topsearch .zn-icon { width: 16px; height: 16px; }

/* Masthead: logo (start) + header ad (end) */
.zn-masthead { min-height: 118px; gap: 24px; padding-block: 12px; }
.zn-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.zn-brand .custom-logo { height: 86px; }
.zn-brand__tag { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 13.5px; color: var(--navy); padding-inline-start: 6px; }
.zn-masthead__ad { margin-inline-start: auto; flex: 1; min-width: 0; max-width: 760px; display: flex; justify-content: flex-end; }
.zn-masthead__ad .zn-ad { margin: 0; width: 100%; }
.zn-masthead__ad .zn-ad__label { text-align: left; }
.zn-masthead__ad .zn-ad__unit img { width: 100%; height: auto; border-radius: 6px; }
.zn-ad--header.is-reserved { min-height: 100px; }

/* Navigation: icon above each label, yellow active tab */
.zn-nav { background: var(--white); border-top: 1px solid var(--line); border-bottom: 3px solid var(--navy); box-shadow: 0 2px 10px rgba(10, 31, 92, .08); }
.zn-nav__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.zn-nav__list::-webkit-scrollbar { display: none; }
.zn-nav__list > li { flex: 1 0 auto; }
.zn-nav__list > li > a {
	display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 12px 9px;
	color: var(--navy-900); font-size: 14px; border-bottom: 0; border-inline-start: 1px solid var(--line);
	white-space: nowrap;
}
.zn-nav__list > li:first-child > a { border-inline-start: 0; }
.zn-nav__list > li > a .zn-icon { width: 24px; height: 24px; color: var(--navy); }
.zn-nav__list > li > a:hover { background: var(--navy-050); color: var(--navy); }
.zn-nav__list > li.current-menu-item > a,
.zn-nav__list > li.current-menu-ancestor > a,
.zn-nav__list > li.current-post-ancestor > a,
.zn-nav__list > li.current_page_item > a { background: var(--yellow); color: var(--navy-900); border-bottom-color: transparent; }
.zn-nav__list > li.current-menu-item > a .zn-icon,
.zn-nav__list > li.current_page_item > a .zn-icon { color: var(--navy-900); }

/* Ticker on navy band */
.zn-ticker { background: var(--navy); border-bottom: 0; }
.zn-ticker__list li { color: var(--white); }
.zn-ticker__list li a:hover { color: var(--yellow); }
.zn-ticker__list li::before { background: var(--yellow); opacity: 1; }
.zn-ticker__label { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* Hero: overlay lead | two stacked cards | latest column */
.zn-hero { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, .95fr); gap: 18px; margin-top: 22px; align-items: stretch; }
.zn-hero__side { grid-template-columns: 1fr; gap: 16px; }
.zn-hero__side .zn-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.zn-hero__side .zn-card__media { border-radius: 0; }
.zn-hero__side .zn-card__body { padding: 10px 14px 12px; }
.zn-hero__aside { display: grid; gap: 16px; align-content: start; min-width: 0; }

.zn-card--overlay { position: relative; height: 100%; min-height: 420px; border-radius: 14px; overflow: hidden; background: var(--navy-900); }
.zn-card--overlay .zn-card__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.zn-card--overlay .zn-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 18, 56, .94) 0%, rgba(6, 18, 56, .55) 42%, rgba(6, 18, 56, 0) 70%); }
.zn-card--overlay .zn-card__body { position: absolute; inset-inline: 0; bottom: 0; padding: 24px 26px 22px; color: var(--white); }
.zn-card--overlay .zn-chip { background: var(--yellow); color: var(--navy-900); }
.zn-card--overlay .zn-card__title { color: var(--white); font-size: clamp(22px, 2.5vw, 32px); line-height: 1.45; }
.zn-card--overlay .zn-card__title a:hover { color: var(--yellow); }
.zn-card--overlay .zn-card__excerpt { color: #dfe6f7; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zn-card--overlay .zn-time { color: #c3cdea; }
.zn-card--overlay .zn-play { inset-inline-start: auto; inset-inline-end: 20px; top: 20px; bottom: auto; width: 56px; height: 56px; z-index: 1; }

.zn-day { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.zn-day__title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px; background: var(--navy); color: var(--white); font-size: 18px; }
.zn-day__title .zn-icon { color: var(--yellow); }
.zn-day__list { list-style: none; margin: 0; padding: 8px 16px 10px; position: relative; }
.zn-day__list::before { content: ""; position: absolute; top: 18px; bottom: 18px; inset-inline-end: 62px; width: 2px; background: var(--navy-050); }
.zn-day__list li { display: grid; grid-template-columns: 1fr 48px; gap: 18px; align-items: start; padding: 9px 0; border-bottom: 1px dashed var(--line); position: relative; }
.zn-day__list li:last-child { border-bottom: 0; }
.zn-day__list li::after { content: ""; position: absolute; inset-inline-end: 58px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px var(--white); }
.zn-day__list time { order: 2; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: left; padding-top: 2px; }
.zn-day__list a { font-weight: 600; font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.zn-editorial { background: var(--navy); color: #dfe6f7; border-radius: var(--radius); padding: 16px 18px; }
.zn-editorial__label { display: flex; align-items: center; gap: 8px; color: var(--yellow); font-size: 20px; margin-bottom: 6px; }
.zn-editorial__title { color: var(--white); font-size: 17px; margin-bottom: 6px; }
.zn-editorial__title a:hover { color: var(--yellow); }
.zn-editorial p { font-size: 14px; margin: 0; }
.zn-hero__aside .zn-ad { margin: 0; }

/* Local: four cards */
.zn-local .zn-grid--4 { gap: 18px; }

/* Three feature columns and six compact blocks */
.zn-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.zn-block { border-top: 4px solid var(--tone); }
.zn-block .zn-sec-head { border-bottom-width: 1px; }
.zn-block .zn-sec-title { font-size: 19px; border-bottom: 0; }
.zn-block--feature .zn-card--card .zn-card__title { font-size: 17px; }
.zn-block__list { margin-top: 6px; }
.zn-card--bullet { display: block; padding: 8px 0; border-top: 1px solid var(--line); }
.zn-card--bullet .zn-card__title { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; line-height: 1.65; }
.zn-card--bullet .zn-card__title::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: color-mix(in srgb, var(--tone) 14%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311318a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m14 7-5 5 5 5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.zn-card--bullet .zn-card__title a { -webkit-line-clamp: 2; }
.zn-cols3--mini .zn-block { padding: 14px 16px 8px; }
.zn-cols3--mini .zn-block__body { display: grid; grid-template-columns: 1fr; }
.zn-cols3--mini .zn-card--row { border-top: 0; padding-top: 0; grid-template-columns: 130px 1fr; }
.zn-cols3--mini .zn-sec-head { margin-bottom: 12px; }

/* TV band: overlay lead + two cards */
.zn-tv__grid { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
.zn-tv__grid > .zn-card--overlay { grid-row: span 2; min-height: 380px; }
.zn-tv__grid > .zn-card--overlay .zn-play { inset-inline-end: auto; inset-inline-start: 50%; top: 50%; transform: translate(50%, -50%); width: 72px; height: 72px; }
.zn-tv__grid > .zn-card--overlay .zn-play .zn-icon { width: 40px; height: 40px; }

/* Zenata TV v1.2: branded head, main video, "watch also" playlist, ad */
.zn-tv { padding: 26px 0 34px; background: linear-gradient(180deg, var(--navy-900) 0%, #071a4d 100%); }
.zn-tv__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.zn-tv__brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 28px; font-weight: 800; }
.zn-tv__brand b { color: var(--yellow); }
.zn-tv__logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--yellow); color: var(--navy-900); }
.zn-tv__logo .zn-icon { width: 28px; height: 28px; }
.zn-tv__tag { margin: 0; color: #b8c4e4; font-size: 15px; }
.zn-tv__links { display: flex; flex-wrap: wrap; gap: 8px; margin-inline-start: auto; }
.zn-tv__btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--white); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.zn-tv__btn:hover { background: var(--yellow); color: var(--navy-900); border-color: var(--yellow); }
.zn-tv__btn.is-yt:hover { background: #e62117; border-color: #e62117; color: #fff; }
.zn-tv__btn .zn-icon { width: 18px; height: 18px; }
.zn-tv__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: auto; gap: 22px; }
.zn-tv__main .zn-card--overlay { min-height: 440px; height: 100%; }
.zn-tv__main .zn-card--overlay .zn-play { inset-inline-end: auto; inset-inline-start: 50%; top: 42%; transform: translate(50%, -50%); width: 78px; height: 78px; background: rgba(255, 192, 0, .95); color: var(--navy-900); }
.zn-tv__main .zn-card--overlay .zn-play .zn-icon { width: 44px; height: 44px; }
.zn-tv__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.zn-tv__listtitle { display: flex; align-items: center; gap: 8px; color: var(--yellow); font-size: 17px; margin: 0; }
.zn-tv__list { background: rgba(255, 255, 255, .05); border-radius: var(--radius); padding: 4px 14px; }
.zn-tv__list .zn-card--row { border-top-color: rgba(255, 255, 255, .1); grid-template-columns: 128px 1fr; }
.zn-tv__list .zn-card--row:first-child { border-top: 0; }
.zn-tv__list .zn-card__title a { color: var(--white); }
.zn-tv__list .zn-card__title a:hover { color: var(--yellow); }
.zn-tv__side .zn-ad { margin: 0; }
.zn-tv__side .zn-ad__label { color: #9fb0d8; }
@media (max-width: 900px) {
	.zn-tv__grid { grid-template-columns: 1fr; }
	.zn-tv__main .zn-card--overlay { min-height: 280px; }
	.zn-tv__links { margin-inline-start: 0; }
	.zn-tv__brand { font-size: 24px; }
}

/* In-feed ad inside grids spans a full row */
.zn-grid__ad { grid-column: 1 / -1; }
.zn-ad--infeed.is-reserved { min-height: 140px; }

.zn-drawer__pages { list-style: none; margin: 0 0 12px; padding: 8px 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); }

@media (max-width: 1100px) {
	/* Keep "آخر الأخبار" beside the lead on every desktop width (e.g. 125% Windows zoom). */
	.zn-hero { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, .95fr); gap: 14px; }
	.zn-hero__side .zn-card__title { font-size: 14.5px; }
	.zn-day__list a { font-size: 14px; }
	.zn-topsearch input { width: 140px; }
}
@media (max-width: 900px) {
	.zn-masthead { display: grid; grid-template-columns: 44px 1fr 44px; grid-template-areas: "menu brand search" "ad ad ad"; min-height: 0; gap: 8px 10px; padding-block: 10px; }
	.zn-menu-toggle { grid-area: menu; }
	.zn-brand { grid-area: brand; align-items: center; }
	.zn-brand .custom-logo { height: 50px; }
	.zn-brand__tag { display: none; }
	.zn-search-toggle { grid-area: search; }
	.zn-masthead__ad { grid-area: ad; max-width: none; margin: 0; }
	.zn-masthead__ad .zn-ad__label { display: none; }
	.zn-hero { grid-template-columns: 1fr; }
	.zn-hero__aside { grid-template-columns: 1fr; }
	.zn-card--overlay { min-height: 300px; }
	.zn-cols3 { grid-template-columns: 1fr 1fr; }
	.zn-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.zn-card--overlay { min-height: 260px; }
	.zn-card--overlay .zn-card__body { padding: 16px; }
	.zn-card--overlay .zn-card__excerpt { display: none; }
	.zn-hero__side { grid-template-columns: 1fr 1fr; gap: 12px; }
	.zn-hero__side .zn-card__title { font-size: 14.5px; }
	.zn-cols3 { grid-template-columns: 1fr; gap: 16px; }
	.zn-local .zn-grid--4 { gap: 12px; }
	.zn-cols3--mini .zn-card--row { grid-template-columns: 112px 1fr; }
}

/* ==========================================================================
   v1.3 touches: dark mode, reading progress, back-to-top, services box, read-also
   ========================================================================== */
.zn-darkbtn { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: inherit; cursor: pointer; }
.zn-darkbtn:hover { background: rgba(255, 255, 255, .22); color: var(--yellow); }
.zn-drawer__head .zn-darkbtn { display: grid; width: 44px; height: 44px; margin-inline-start: auto; margin-inline-end: 8px; background: var(--paper); color: var(--navy); }

.zn-progress { position: fixed; top: 0; inset-inline: 0; height: 4px; z-index: 300; background: var(--yellow); transform: scaleX(0); transform-origin: right center; pointer-events: none; }
.zn-totop { position: fixed; bottom: max(20px, env(safe-area-inset-bottom, 0px)); left: 20px; z-index: 150; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); box-shadow: 0 6px 18px rgba(10, 31, 92, .3); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.zn-totop.is-shown { opacity: 1; visibility: visible; transform: none; }
.zn-totop:hover { background: var(--yellow); color: var(--navy-900); }

.zn-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zn-service { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--navy-900); text-align: center; }
.zn-service .zn-icon { width: 28px; height: 28px; color: var(--navy); }
.zn-service:hover { border-color: var(--yellow); color: var(--navy); }
.zn-service small { font-family: var(--f-body); font-weight: 500; font-size: 12px; color: var(--muted); }

.zn-readalso { display: flex; gap: 14px; align-items: center; margin: 1.6em 0; padding: 12px; border-radius: var(--radius); background: var(--navy-050); border-right: 4px solid var(--yellow); text-decoration: none !important; }
.zn-readalso__img { flex: none; width: 120px; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: #dfe5f0; }
.zn-readalso__img img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.zn-readalso__label { display: block; font-family: var(--f-head); font-size: 13px; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.zn-readalso__title { display: block; font-family: var(--f-head); font-weight: 700; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.zn-readalso:hover .zn-readalso__title { color: var(--blue); }
@media (max-width: 640px) {
	.zn-readalso__img { width: 92px; }
	.zn-readalso__title { font-size: 15px; }
	.zn-totop { width: 42px; height: 42px; left: 14px; }
}

/* ==========================================================================
   v1.4 Homepage slider
   ========================================================================== */
.zn-slider { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; height: 100%; }
.zn-slider__viewport { position: relative; flex: 1; min-height: 420px; overflow: hidden; border-radius: 14px; background: var(--navy-900); outline-offset: 3px; touch-action: pan-y; }
.zn-slider__track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.zn-slider.is-dragging .zn-slider__track { transition: none; }
.zn-slide { position: relative; flex: 0 0 100%; min-width: 0; height: 100%; }
.zn-slider:not(.is-ready) .zn-slide:not(:first-child) { visibility: hidden; }
.zn-slide__media { position: absolute; inset: 0; display: block; }
.zn-slide__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; user-select: none; -webkit-user-drag: none; }
.zn-slide__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(6, 18, 56, .92) 0%, rgba(6, 18, 56, .62) 30%, rgba(6, 18, 56, .12) 58%, rgba(6, 18, 56, 0) 72%); }
.zn-slide__body { position: absolute; inset-inline: 0; bottom: 0; padding: 22px 26px 24px; color: var(--white); pointer-events: none; }
.zn-slide__body a { pointer-events: auto; }
.zn-slide__cat { display: inline-block; background: var(--yellow); color: var(--navy-900); font-family: var(--f-head); font-weight: 800; font-size: 13px; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
.zn-slide__cat:hover { background: var(--white); color: var(--navy-900); }
.zn-slide__title { color: var(--white); font-size: clamp(21px, 2.3vw, 31px); line-height: 1.5; font-weight: 800; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); text-wrap: balance; }
.zn-slide__title a:hover { color: var(--yellow); }
.zn-slide__meta { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: #d3dcf2; font-size: 13.5px; }
.zn-slide__meta .zn-icon { width: 15px; height: 15px; }
.zn-slide__meta .zn-time { color: inherit; }

.zn-slider__controls { position: absolute; inset-inline: 12px; top: calc((100% - 46px) / 2); display: flex; justify-content: space-between; pointer-events: none; transform: translateY(-50%); }
.zn-slider__btn { pointer-events: auto; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy-900); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); opacity: 0; transition: opacity .2s, background .2s; }
.zn-slider:hover .zn-slider__btn, .zn-slider:focus-within .zn-slider__btn { opacity: 1; }
.zn-slider__btn:hover { background: var(--yellow); }

.zn-slider__bar { display: flex; align-items: center; gap: 12px; padding: 0 4px; min-height: 36px; }
.zn-slider__dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex: 1; }
.zn-slider__dots li { flex: 1; max-width: 72px; }
.zn-slider__dot { display: block; width: 100%; height: 22px; padding: 9px 0; border: 0; background: transparent; cursor: pointer; }
.zn-slider__dot span { display: block; height: 4px; border-radius: 4px; background: #cfd8ea; overflow: hidden; position: relative; }
.zn-slider__dot span::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: right center; }
.zn-slider__dot.is-active span::after { transform: scaleX(1); }
.zn-slider.is-ticking .zn-slider__dot.is-active span::after { transform: scaleX(0); animation: zn-tick 6s linear forwards; }
@keyframes zn-tick { to { transform: scaleX(1); } }
.zn-slider__count { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); white-space: nowrap; }
.zn-slider__count b { color: var(--navy); }
.zn-slider__pause { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy); cursor: pointer; }
.zn-slider__pause:hover { border-color: var(--navy); }
.zn-slider__pause .is-play, .zn-slider.is-stopped .zn-slider__pause .is-pause { display: none; }
.zn-slider.is-stopped .zn-slider__pause .is-play { display: block; }
.zn-slider.is-reduced .zn-slider__track { transition: none; }
.zn-slider.is-reduced .zn-slider__pause { display: none; }

.zn-hero__lead .zn-slider { height: 100%; }
/* Grid items must be allowed to shrink, or the 1024px slide image widens the column on phones. */
.zn-hero__lead, .zn-hero__side, .zn-hero__aside, .zn-slider, .zn-slider__viewport { min-width: 0; max-width: 100%; }
.zn-slide__img { max-width: none; }
.zn-slide__media { overflow: hidden; }

@media (max-width: 900px) {
	.zn-slider__viewport { min-height: 0; flex: none; }
	.zn-slider__track { height: auto; align-items: stretch; }
	.zn-slide { height: auto; display: flex; flex-direction: column; background: var(--navy-900); }
	.zn-slide__media { position: relative; inset: auto; aspect-ratio: 16 / 10; }
	.zn-slide__media::after { background: linear-gradient(to top, rgba(6, 18, 56, .55) 0%, rgba(6, 18, 56, 0) 40%); }
	.zn-slide__body { position: relative; padding: 14px 16px 18px; flex: 1; }
	.zn-slide__title { font-size: 19px; text-shadow: none; }
	.zn-slider__controls { top: 0; height: auto; aspect-ratio: 16 / 10; transform: none; align-items: center; inset-inline: 8px; }
	.zn-slider__btn { opacity: .92; width: 38px; height: 38px; }
}

/* ==========================================================================
   v2 homepage + services
   ========================================================================== */
.zn-sec { margin-top: 30px; }
.zn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border: 0; border-radius: 10px; background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.zn-btn:hover { background: var(--yellow); color: var(--navy-900); }
.zn-btn .zn-icon { width: 18px; height: 18px; }
.zn-btn--ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.zn-btn--light { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35); color: var(--white); padding: 7px 14px; font-size: 14px; }
.zn-more-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-weight: 700; color: var(--navy); }
.zn-more-link .zn-icon { width: 16px; height: 16px; }

/* Top row: slider (right) + 24h (left), same height */
.zn-top { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 18px; margin-top: 22px; align-items: stretch; }
.zn-top__slider { min-width: 0; display: flex; }
.zn-top__slider .zn-slider { flex: 1; }
.zn-top__slider .zn-slider__viewport { min-height: 440px; }
.zn-top__day { display: flex; flex-direction: column; min-width: 0; border-top: 4px solid var(--yellow); }
.zn-top__day .zn-day__title { background: var(--white); color: var(--navy-900); border-bottom: 1px solid var(--line); font-size: 21px; }
.zn-top__day .zn-day__title .zn-icon { color: var(--yellow-600); }
.zn-top__day .zn-day__list { flex: 1; overflow: hidden; }
.zn-top__day .zn-day__list li { grid-template-columns: 1fr auto; }
.zn-top__day .zn-day__list time { background: #fff4cc; color: var(--navy-900); font-weight: 700; padding: 2px 8px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.zn-top__day .zn-day__list::before, .zn-top__day .zn-day__list li::after { display: none; }
.zn-day__all { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 14px 14px; padding: 9px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.zn-day__all:hover { background: var(--navy); color: var(--white); }
.zn-day__all .zn-icon { width: 16px; height: 16px; }

/* Area tabs */
.zn-local2 { background: var(--white); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow); border-top: 4px solid var(--yellow); }
.zn-local2 .zn-sec-head { flex-wrap: wrap; gap: 10px 16px; }
.zn-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; }
.zn-tabs [role=tab] { border: 1px solid var(--line); background: var(--paper); color: var(--navy-900); padding: 6px 14px; border-radius: 8px; font-family: var(--f-head); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.zn-tabs [role=tab]:hover { border-color: var(--navy); }
.zn-tabs [role=tab][aria-selected=true] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.zn-tabpanel[hidden] { display: none; }

/* Services */
.zn-svc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.zn-svc__card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 10px 16px; border-radius: 12px; background: var(--svc-bg, #f1f5fd); border: 1px solid transparent; color: var(--navy-900); text-decoration: none; transition: transform .15s, border-color .15s; }
.zn-svc__card:hover { transform: translateY(-2px); border-color: var(--svc-fg, var(--navy)); color: var(--navy-900); }
.zn-svc__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--white); color: var(--svc-fg, var(--navy)); box-shadow: 0 2px 8px rgba(10, 31, 92, .08); }
.zn-svc__icon .zn-icon { width: 30px; height: 30px; }
.zn-svc__card strong { font-family: var(--f-head); font-size: 16px; }
.zn-svc__card small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.zn-svc__card.is-guide { --svc-bg: #fff7e0; --svc-fg: #b7791f; }
.zn-svc__card.is-voice { --svc-bg: #e9f7ef; --svc-fg: #15803d; }
.zn-svc__card.is-projects { --svc-bg: #eef3fc; --svc-fg: #1d56c4; }
.zn-svc__card.is-jobs { --svc-bg: #fff1e8; --svc-fg: #c2410c; }
.zn-svc__card.is-pharmacy { --svc-bg: #eafaf3; --svc-fg: #0f766e; }
.zn-svc__card.is-prayer { --svc-bg: #f2effc; --svc-fg: #5b21b6; }

/* Latest citizen-voice issues under the service cards */
.zn-vstrip { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); border-right: 4px solid #15803d; }
.zn-vstrip__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.zn-vstrip__head h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 0; }
.zn-vstrip__head h3 .zn-icon { color: #15803d; }
.zn-vstrip__head .zn-btn { padding: 7px 14px; font-size: 14px; }
.zn-vstrip__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.zn-vstrip__item { display: grid; gap: 6px; align-content: start; padding: 12px; border-radius: 10px; background: #f3faf6; color: var(--ink); min-width: 0; }
.zn-vstrip__item:hover { background: #e7f5ec; color: var(--ink); }
.zn-vstrip__item strong { font-family: var(--f-head); font-size: 15px; line-height: 1.6; }
.zn-vstrip__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zn-vstrip__meta .zn-chip { margin: 0; }
.zn-vstrip__item .zn-issue__status { justify-self: start; }
.zn-vstrip__empty { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .zn-vstrip__list { grid-template-columns: 1fr; } }
html.zn-dark .zn-vstrip { background: #141c2f; border-color: #26304a; border-right-color: #15803d; }
html.zn-dark .zn-vstrip__item { background: #172238; color: #e3e8f2; }

/* Forum */
.zn-forum { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 3fr) auto; gap: 16px; align-items: center; background: var(--navy-050); border: 1px solid #d7e2f7; border-radius: 14px; padding: 18px 20px; }
.zn-forum__intro p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.zn-forum__intro .zn-sec-title { border: 0; padding: 0; margin: 0; font-size: 20px; }
.zn-forum__spaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.zn-forum__space { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); color: var(--navy-900); }
.zn-forum__space:hover { border-color: var(--navy); color: var(--navy-900); }
.zn-forum__space strong { display: block; font-family: var(--f-head); font-size: 15px; }
.zn-forum__space small { display: block; color: var(--muted); font-size: 12.5px; }
.zn-forum__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy-050); color: var(--navy); }
.zn-forum__enter { white-space: nowrap; }

/* Opinion */
.zn-ops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.zn-op2 { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); border-top: 3px solid #334155; min-width: 0; }
.zn-op2__body { flex: 1; min-width: 0; }
.zn-op2 h3 { font-size: 16px; line-height: 1.6; margin-bottom: 6px; }
.zn-op2__by { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.zn-op2__avatar { width: 28px; height: 28px; border-radius: 50%; }
.zn-op2__img { flex: none; width: 110px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--paper); }

/* زناتة ثيفي */
.zn-tv2 { background: linear-gradient(180deg, var(--navy-900), #071a4d); margin-top: 32px; padding: 24px 0 30px; }
.zn-tv2 .zn-sec-head { border-color: rgba(255, 255, 255, .14); }
.zn-tv2 .zn-sec-title { color: var(--white); --tone: var(--yellow); }
.zn-tv2 .zn-sec-title .zn-icon { background: rgba(255, 192, 0, .16); }
.zn-tv2__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.zn-vid h3 { font-size: 16px; line-height: 1.6; margin-top: 10px; }
.zn-vid h3 a, .zn-tv2 .zn-vid h3 { color: var(--white); }
.zn-vid h3 a:hover { color: var(--yellow); }
.zn-vid .zn-time { color: #b8c4e4; }
.zn-vid__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0b1d55; }
.zn-vid__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 18, 56, .5), rgba(6, 18, 56, 0) 55%); }
.zn-vid__play { position: absolute; inset-inline-start: 50%; top: 50%; transform: translate(50%, -50%); z-index: 1; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy-900); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform .15s, background .15s; }
.zn-vid__play .zn-icon { width: 34px; height: 34px; }
.zn-vid__media:hover .zn-vid__play, .zn-vid__media:focus-visible .zn-vid__play { background: var(--yellow); transform: translate(50%, -50%) scale(1.06); }
.zn-tv2 .zn-ad { margin-top: 20px; }

/* "المزيد" menu */
.zn-nav__list .zn-more-item.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.zn-nav__list .zn-more-item > .sub-menu { right: auto; left: 0; }

/* Service pages */
.zn-service-page .zn-archive-title { display: flex; align-items: center; gap: 10px; }
.zn-service-page .zn-archive-title .zn-icon { width: 30px; height: 30px; color: var(--yellow-600); }
.zn-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin-top: 16px; }
.zn-filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink-2); min-width: 170px; }
.zn-filters .is-grow { flex: 1; min-width: 200px; }
.zn-filters select, .zn-filters input, .zn-form input, .zn-form select, .zn-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: 15px; }
.zn-filters select:focus, .zn-filters input:focus, .zn-form :is(input, select, textarea):focus { outline: 2px solid var(--yellow); border-color: var(--navy); }
.zn-notice { margin-top: 20px; padding: 16px 18px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); border-right: 4px solid var(--yellow); line-height: 1.8; }
.zn-notice.is-ok { border-right-color: #15803d; background: #f0faf4; }
.zn-notice.is-error { border-right-color: var(--red); background: #fdf1f2; }
.zn-source { margin-top: 16px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.zn-source a { color: var(--blue); text-decoration: underline; }
.zn-dir { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.zn-dir__item { background: var(--white); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); min-width: 0; }
.zn-dir__item h2 { font-size: 18px; margin-bottom: 6px; }
.zn-dir__item p { margin: 4px 0; font-size: 14.5px; }
.zn-dir__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zn-dir__tags .zn-chip { margin: 0; }
.zn-dir__area { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.zn-dir__area .zn-icon { width: 15px; height: 15px; }
.zn-dir__dates { color: var(--muted); font-size: 13px !important; }
.zn-dir__item .zn-btn { margin-top: 10px; padding: 7px 14px; font-size: 13.5px; }
.zn-hp { position: absolute !important; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.zn-voice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 20px; align-items: start; }
.zn-voice__form, .zn-voice__list { background: var(--white); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.zn-voice h2 { font-size: 20px; margin-bottom: 12px; }
.zn-form { display: grid; gap: 14px; }
.zn-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.zn-form .req { color: var(--red); }
.zn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zn-check { display: flex !important; align-items: flex-start; gap: 8px; font-weight: 500 !important; }
.zn-check input { width: auto; margin-top: 5px; }
.zn-issue { padding: 14px 0; border-top: 1px solid var(--line); }
.zn-issue:first-of-type { border-top: 0; }
.zn-issue h3 { font-size: 17px; margin: 6px 0; }
.zn-issue__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.zn-issue__meta .zn-chip { margin: 0; }
.zn-issue__status { font-size: 12.5px; font-weight: 700; color: #15803d; background: #f0faf4; padding: 2px 10px; border-radius: 999px; }
.zn-issue__followup { background: var(--navy-050); padding: 10px 12px; border-radius: 8px; font-size: 14.5px; }
.zn-jobs { display: grid; gap: 12px; margin-top: 20px; }
.zn-job { display: flex; gap: 16px; align-items: center; justify-content: space-between; background: var(--white); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); border-right: 4px solid var(--navy); }
.zn-job h2 { font-size: 17px; }
.zn-job__org { margin: 4px 0 0; color: var(--muted); }
.zn-job__side { display: flex; align-items: center; gap: 14px; flex: none; }
.zn-job__deadline { margin: 0; display: grid; text-align: center; }
.zn-job__deadline span { font-size: 12px; color: var(--muted); }
.zn-job__deadline small { color: #c2410c; font-weight: 700; }
.zn-prayer { margin-top: 20px; background: var(--white); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.zn-prayer .zn-filters { margin-top: 0; }
.zn-prayer__label { margin: 16px 0 10px; font-family: var(--f-head); font-weight: 700; color: var(--navy); }
.zn-prayer__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.zn-prayer__cell { display: grid; gap: 4px; text-align: center; padding: 14px 6px; border-radius: 12px; background: var(--navy-050); }
.zn-prayer__cell span { font-weight: 700; color: var(--ink-2); }
.zn-prayer__cell strong { font-size: 24px; font-variant-numeric: tabular-nums; color: var(--navy-900); font-family: var(--f-head); }
.zn-prayer__cell.is-sun { background: #fff7e0; }
.zn-forum-note { background: #fff7e0; padding: 10px 14px; border-radius: 8px; }

@media (max-width: 1100px) {
	.zn-svc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.zn-forum { grid-template-columns: 1fr; }
	.zn-forum__enter { justify-self: start; }
}
@media (max-width: 900px) {
	.zn-top { grid-template-columns: 1fr; }
	.zn-top__slider .zn-slider__viewport { min-height: 0; }
	.zn-top__day .zn-day__list li:nth-child(n+5) { display: none; } /* compact on phones */
	.zn-ops, .zn-tv2__grid, .zn-dir { grid-template-columns: 1fr 1fr; }
	.zn-voice { grid-template-columns: 1fr; }
	.zn-prayer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.zn-local2 { padding: 16px 14px; }
	.zn-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; max-width: 100%; }
	.zn-tabs [role=tab] { flex: none; }
	.zn-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zn-forum__spaces, .zn-ops, .zn-tv2__grid, .zn-dir { grid-template-columns: 1fr; }
	.zn-op2__img { width: 90px; }
	.zn-job { flex-direction: column; align-items: stretch; }
	.zn-job__side { justify-content: space-between; }
	.zn-form__row { grid-template-columns: 1fr; }
	.zn-filters label { min-width: 0; flex: 1 1 140px; }
}

/* Dark mode */
html.zn-dark { color-scheme: dark; }
html.zn-dark .zn-local2, html.zn-dark .zn-op2, html.zn-dark .zn-dir__item, html.zn-dark .zn-voice__form, html.zn-dark .zn-voice__list, html.zn-dark .zn-job, html.zn-dark .zn-prayer, html.zn-dark .zn-notice, html.zn-dark .zn-forum__space, html.zn-dark .zn-top__day .zn-day__title { background: #141c2f; border-color: #26304a; box-shadow: none; }
html.zn-dark .zn-forum { background: #101831; border-color: #26304a; }
html.zn-dark .zn-svc__card { background: #141c2f; color: #e8edf7; }
html.zn-dark .zn-svc__icon, html.zn-dark .zn-forum__icon { background: #1c2742; }
html.zn-dark .zn-tabs [role=tab], html.zn-dark .zn-day__all, html.zn-dark .zn-prayer__cell { background: #1a2338; border-color: #2c3a62; color: #dbe3f5; }
html.zn-dark .zn-tabs [role=tab][aria-selected=true] { background: var(--yellow); color: var(--navy-900); }
html.zn-dark .zn-prayer__cell strong, html.zn-dark .zn-top__day .zn-day__title { color: #f1f4fa; }
html.zn-dark .zn-filters select, html.zn-dark .zn-filters input, html.zn-dark .zn-form :is(input, select, textarea) { background: #1a2338; border-color: #2c3a62; color: #e3e8f2; }
html.zn-dark .zn-slider__pause { background: #141c2f; border-color: #26304a; color: #dbe3f5; }
html.zn-dark .zn-slider__dot span { background: #26304a; }
html.zn-dark .zn-slider__dot span::after { background: var(--yellow); }
html.zn-dark .zn-slider__count b { color: var(--yellow); }
html.zn-dark body { background: #0c1220; color: #e3e8f2; }
html.zn-dark h1, html.zn-dark h2, html.zn-dark h3, html.zn-dark h4 { color: #f1f4fa; }
html.zn-dark .zn-header, html.zn-dark .zn-nav, html.zn-dark .zn-block, html.zn-dark .zn-local,
html.zn-dark .zn-hero__side .zn-card, html.zn-dark .zn-day, html.zn-dark .zn-article, html.zn-dark .zn-archive-head,
html.zn-dark .zn-list, html.zn-dark .zn-empty, html.zn-dark .zn-widget, html.zn-dark .zn-op, html.zn-dark .zn-service,
html.zn-dark .zn-drawer__panel, html.zn-dark .zn-grid--archive > .zn-card--lead, html.zn-dark .zn-pagination a, html.zn-dark .zn-pagination span:not(.current) {
	background: #141c2f; border-color: #26304a; box-shadow: none;
}
html.zn-dark .zn-nav { border-bottom-color: var(--yellow); }
html.zn-dark .zn-nav__list > li > a { color: #dbe3f5; border-color: #26304a; }
html.zn-dark .zn-nav__list > li > a .zn-icon { color: #9dbbff; }
html.zn-dark .zn-nav__list > li > a:hover { background: #1c2742; color: var(--yellow); }
html.zn-dark .zn-nav__list > li.current-menu-item > a, html.zn-dark .zn-nav__list > li.current_page_item > a { background: var(--yellow); color: var(--navy-900); }
html.zn-dark .zn-nav__list > li.current-menu-item > a .zn-icon { color: var(--navy-900); }
html.zn-dark .zn-brand .custom-logo, html.zn-dark .zn-drawer__head .custom-logo { background: #fff; border-radius: 10px; padding: 2px 6px; }
html.zn-dark .zn-brand__tag { color: #9dbbff; }
html.zn-dark .zn-iconbtn, html.zn-dark .zn-drawer__head .zn-darkbtn { background: #1c2742; color: #dbe3f5; }
html.zn-dark .zn-sec-head, html.zn-dark .zn-card--row, html.zn-dark .zn-card--bullet, html.zn-dark .zn-day__list li,
html.zn-dark .zn-article__meta, html.zn-dark .zn-article__foot, html.zn-dark .zn-latest li, html.zn-dark .zn-widget__title,
html.zn-dark .zn-drawer__list li, html.zn-dark .zn-drawer__head { border-color: #26304a; }
html.zn-dark .zn-card__title, html.zn-dark .zn-card__title a, html.zn-dark .zn-day__list a, html.zn-dark .zn-latest a,
html.zn-dark .zn-drawer__list a, html.zn-dark .zn-readalso__title, html.zn-dark .zn-service { color: #e8edf7; }
html.zn-dark a:hover, html.zn-dark .zn-card__title a:hover { color: var(--yellow); }
html.zn-dark .zn-card__excerpt, html.zn-dark .zn-article__lede, html.zn-dark .zn-archive-desc, html.zn-dark .zn-updated { color: #b9c3d8; }
html.zn-dark .zn-time, html.zn-dark .zn-day__list time, html.zn-dark .zn-article__meta, html.zn-dark .zn-crumbs, html.zn-dark .zn-service small { color: #8e9ab4; }
html.zn-dark .zn-chip { background: #1f2c4d; color: #a9c4ff; }
html.zn-dark .zn-card--overlay .zn-chip { background: var(--yellow); color: var(--navy-900); }
html.zn-dark .zn-places a { background: #1c2742; border-color: #2c3a62; color: #c6d6ff; }
html.zn-dark .zn-card__media, html.zn-dark .zn-img--empty, html.zn-dark .zn-readalso__img { background-color: #1c2742; }
html.zn-dark .zn-content { color: #dde3ef; }
html.zn-dark .zn-content a, html.zn-dark .zn-crumbs a, html.zn-dark .zn-byline a { color: #8fb4ff; }
html.zn-dark .zn-content blockquote, html.zn-dark .zn-readalso { background: #1a2338; }
html.zn-dark .zn-readalso__label { color: var(--yellow); }
html.zn-dark .zn-tags a, html.zn-dark .zn-share a, html.zn-dark .zn-share button { background: #1a2338; border-color: #2c3a62; color: #c9d4ec; }
html.zn-dark .zn-search, html.zn-dark .zn-search input { background: #1a2338; border-color: #2c3a62; color: #e3e8f2; }
html.zn-dark .zn-article__img { background: #1a2338; }
html.zn-dark .zn-day__list::before { background: #26304a; }
html.zn-dark .zn-day__list li::after { box-shadow: 0 0 0 3px #141c2f; }
html.zn-dark .zn-ticker { background: #0a1a44; }
html.zn-dark .zn-totop { background: var(--yellow); color: var(--navy-900); }

/* Compact footer */
.zn-footer { margin-top: 28px; border-top-width: 3px; }
.zn-footer__grid { gap: 18px 28px; padding-block: 20px 14px; font-size: 14px; }
.zn-footer__logo { padding: 4px 8px; margin-bottom: 8px; }
.zn-footer__logo .custom-logo { height: 40px; }
.zn-footer__about p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.7; }
.zn-footer h2 { font-size: 15px; margin-bottom: 6px; }
.zn-footer__col li { padding: 2px 0; }
.zn-social--footer { margin-top: 6px; }
.zn-social--footer a { width: 28px; height: 28px; }
.zn-footer__bottom { padding: 8px 0; font-size: 12.5px; }
.zn-footer__col ul { columns: 2; column-gap: 18px; }
.zn-footer__col li { break-inside: avoid; }
.zn-footer__col .zn-contact { columns: 1; }
@media (max-width: 900px) {
	.zn-footer__grid { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
}
@media (max-width: 640px) {
	.zn-footer__grid { grid-template-columns: 1fr 1fr; padding-block: 16px 10px; }
	.zn-footer__about { grid-column: 1 / -1; }
	.zn-footer__col:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   2.1 – fill layout gaps, share bar, modern comments
   ========================================================================== */
/* Service cards always fill the row, whatever their number. */
.zn-svc { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
/* Mini section blocks keep one column each: a lone block on the last row is no longer stretched
   (it made «فن وثقافة» far bigger than the other sections). */

/* Share bar */
.zn-share { flex-wrap: wrap; }
.zn-share span { display: none; }
.zn-share a, .zn-share button { transition: background .15s, color .15s, border-color .15s, transform .15s; }
.zn-share a:hover, .zn-share button:hover { transform: translateY(-1px); }
.zn-share .is-tg:hover { background: #229ed9; border-color: #229ed9; color: #fff; }
.zn-share .is-in:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.zn-share .is-mail:hover, .zn-share .is-native:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.zn-share--full a, .zn-share--full button { width: auto; height: 40px; padding: 0 14px; border-radius: 999px; display: inline-flex; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; border: 0; }
.zn-share--full span { display: inline; }
.zn-share--full .is-fb { background: #1877f2; }
.zn-share--full .is-wa { background: #128c4a; }
.zn-share--full .is-x { background: #111; }
.zn-share--full .is-tg { background: #229ed9; }
.zn-share--full .is-in { background: #0a66c2; }
.zn-share--full .is-mail, .zn-share--full .is-native { background: var(--ink-2); }
.zn-share--full .is-copy { background: var(--navy); }
.zn-share--full .is-copy.is-done { background: #128c4a; }
.zn-share--full a:hover, .zn-share--full button:hover { filter: brightness(1.08); color: #fff; }
.zn-article__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
.zn-article__foot-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); }
.zn-meta-comments { display: inline-flex; align-items: center; gap: 4px; color: inherit; }
.zn-meta-comments .zn-icon { width: 16px; height: 16px; }
.zn-fshare { position: fixed; inset-inline-start: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(10, 31, 92, .3); cursor: pointer; }
.zn-fshare[hidden] { display: none; }
@media (max-width: 640px) { .zn-share--full a, .zn-share--full button { padding: 0 12px; font-size: 13px; } .zn-share--full .is-in, .zn-share--full .is-mail { display: none; } }

/* Comments */
.zn-comments { border-top: 1px solid var(--line); padding-top: 18px; }
.zn-comments .zn-sec-head { display: flex; align-items: center; justify-content: space-between; }
.zn-comments__count { color: var(--muted); font-size: 14px; }
.zn-comments__notice { display: flex; gap: 8px; align-items: center; background: #e9f7ef; color: #0f6b3a; border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.zn-comments__closed { color: var(--muted); }
.zn-cform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; }
.zn-cform > * { grid-column: 1 / -1; margin: 0; }
.zn-cform .zn-cf--name, .zn-cform .zn-cf--email { grid-column: auto; }
.zn-cform__title { font-family: var(--f-head); font-size: 17px; margin: 4px 0 6px; }
.zn-cform__title small { font-size: 13px; margin-inline-start: 8px; }
.zn-cform__note { color: var(--muted); font-size: 13.5px; }
.zn-cf { display: grid; gap: 4px; position: relative; }
.zn-cf label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.zn-cf input, .zn-cf textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; background: var(--paper); color: var(--ink); }
.zn-cf textarea { min-height: 110px; resize: vertical; }
.zn-cf input:focus, .zn-cf textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: var(--white); }
.zn-cf__count { font-size: 12px; color: var(--muted); justify-self: end; }
.zn-cform .form-submit { display: flex; justify-content: flex-end; }
.zn-cform__submit { padding: 10px 26px; }
.zn-comments__list, .zn-comments__list .children { list-style: none; margin: 0; padding: 0; }
.zn-comments__list { margin-top: 18px; display: grid; gap: 14px; }
.zn-comments__list .children { margin-top: 12px; padding-inline-start: clamp(14px, 4vw, 40px); border-inline-start: 2px solid var(--line); display: grid; gap: 12px; }
.zn-cm__box { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
.zn-cm__avatar img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.zn-cm__main { background: var(--paper); border-radius: 12px; padding: 10px 14px; min-width: 0; }
.zn-cm__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.zn-cm__name { font-family: var(--f-head); font-size: 15px; }
.zn-cm__badge { background: var(--yellow); color: var(--navy-900); font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; }
.zn-cm__head time { color: var(--muted); font-size: 12.5px; }
.zn-cm__held { color: #9a5b00; font-size: 13px; margin: 6px 0 0; }
.zn-cm__text { overflow-wrap: anywhere; line-height: 1.85; }
.zn-cm__text p { margin: 6px 0; }
.zn-cm__foot { display: flex; gap: 14px; align-items: center; margin-top: 4px; }
.zn-cm__like, .zn-cm__foot .comment-reply-link { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 4px 0; color: var(--muted); font: inherit; font-size: 13.5px; cursor: pointer; text-decoration: none; }
.zn-cm__like .zn-icon, .zn-cm__foot .zn-icon { width: 17px; height: 17px; }
.zn-cm__like:hover, .zn-cm__foot .comment-reply-link:hover { color: var(--red); }
.zn-cm__like[aria-pressed="true"] { color: var(--red); }
.zn-cm__like[aria-pressed="true"] .zn-icon { fill: currentColor; }
.zn-comments .comment-respond { margin-top: 12px; }
.zn-cm .comment-respond { margin-inline-start: 56px; }
@media (max-width: 640px) { .zn-cform { grid-template-columns: 1fr; } .zn-cform .zn-cf--name, .zn-cform .zn-cf--email { grid-column: 1 / -1; } .zn-cm .comment-respond { margin-inline-start: 0; } }
html.zn-dark .zn-comments { border-color: #26304a; }
html.zn-dark .zn-cf input:focus, html.zn-dark .zn-cf textarea:focus { background: #141c2f; }
html.zn-dark .zn-cm__main, html.zn-dark .zn-cf input, html.zn-dark .zn-cf textarea { background: #1a2338; border-color: #2c3a62; color: #e3e8f2; }
html.zn-dark .zn-cf label, html.zn-dark .zn-cm__name { color: #e8edf7; }
html.zn-dark .zn-comments__list .children { border-color: #26304a; }
html.zn-dark .zn-comments__notice { background: #12301f; color: #8fe0b0; }
/* ==========================================================================
   2.2 – installable app (PWA) prompts
   ========================================================================== */
.zn-appbox { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); max-width: 420px; }
.zn-appbox[hidden], .zn-appbar[hidden], .zn-appios[hidden] { display: none; }
.zn-appbox img, .zn-appbar img { border-radius: 10px; flex: 0 0 auto; }
.zn-appbox__txt, .zn-appbar__txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.zn-appbox__txt strong, .zn-appbar__txt strong { font-family: var(--f-head); font-size: 14.5px; }
.zn-appbox__txt span, .zn-appbar__txt span { font-size: 12.5px; opacity: .85; }
.zn-appbox__btn { background: var(--yellow); color: var(--navy-900); padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.zn-appbar { position: fixed; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 80; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: 0 10px 30px rgba(10, 31, 92, .25); border: 1px solid var(--line); }
.zn-appbar__btn { padding: 8px 16px; font-size: 14px; }
.zn-appbar__x { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; flex: 0 0 auto; }
.zn-appbar__x .zn-icon { width: 18px; height: 18px; }
.zn-appios { position: fixed; inset: 0; z-index: 90; background: rgba(6, 14, 40, .55); display: grid; place-items: end center; padding: 16px; }
.zn-appios__box { position: relative; width: min(420px, 100%); background: var(--white); color: var(--ink); border-radius: 16px; padding: 22px 20px 16px; margin-bottom: env(safe-area-inset-bottom, 0px); }
.zn-appios__box h2 { font-family: var(--f-head); font-size: 18px; margin: 0 0 10px; }
.zn-appios__box ol { margin: 0 0 10px; padding-inline-start: 20px; line-height: 2; }
.zn-appios__box p { margin: 0; color: var(--muted); font-size: 14px; }
.zn-appios__box .zn-appbar__x { position: absolute; top: 8px; inset-inline-start: auto; inset-inline-end: 8px; }
html.zn-dark .zn-appbar, html.zn-dark .zn-appios__box { background: #141c2f; color: #e8edf7; border-color: #26304a; }

/* ==========================================================================
   2.3.0 – «إعدادات زناتة نيوز»: module wrappers, no-sidebar, breaking bar,
   preview bar, single-column top row.
   ========================================================================== */
.zn-mod { display: contents; }
.zn-noside .zn-layout { grid-template-columns: minmax(0, 1fr); }
.zn-noside .zn-layout--article .zn-article { max-width: 860px; margin-inline: auto; width: 100%; }
.zn-top--solo { grid-template-columns: minmax(0, 1fr); }
.zn-breaking { background: var(--red); color: var(--white); }
.zn-breaking__in { display: flex; align-items: center; gap: 12px; min-height: 42px; padding-block: 6px; }
.zn-breaking__label { flex: none; background: var(--white); color: var(--red); font-weight: 800; font-size: 13px; padding: 2px 10px; border-radius: 4px; animation: zn-blink 1.6s ease-in-out infinite; }
.zn-breaking__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; min-width: 0; }
.zn-breaking__list a { color: var(--white); font-weight: 700; font-size: 15px; }
.zn-breaking__list a:hover { text-decoration: underline; }
@keyframes zn-blink { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .zn-breaking__label { animation: none; } }
.zn-previewbar { position: sticky; top: 0; z-index: 1000; background: #fff4cc; color: #3d2e00; border-bottom: 2px solid #ffc000; padding: 8px 16px; font-size: 14px; text-align: center; }
.zn-previewbar a { color: #11318a; font-weight: 700; text-decoration: underline; }

/* ==========================================================================
   2.3.0 – Google Play button and colour accents (sections + forum)
   ========================================================================== */
.zn-appbox [hidden], .zn-appbar [hidden] { display: none !important; }
.zn-appbox { flex-wrap: wrap; }
.zn-appbox__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.zn-play-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 10px; background: #000; color: #fff; border: 1px solid #5f6368; line-height: 1.1; text-decoration: none; direction: ltr; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease; }
.zn-play-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.zn-play-btn span { display: grid; text-align: left; font-family: "Segoe UI", Roboto, Arial, sans-serif; font-weight: 600; font-size: 16px; }
.zn-play-btn small { font-size: 10px; font-weight: 400; letter-spacing: .02em; direction: rtl; text-align: left; font-family: var(--f-body); }
.zn-play-btn--drawer { margin: 14px 16px 4px; align-self: flex-start; }

/* Section palette: each topic has its own colour (the panel can still override it). */
.zn-sec--local    { --tone: #1d4ed8; }
.zn-sec--royal    { --tone: #b8860b; }
.zn-sec--national { --tone: #0b3a8c; }
.zn-sec--politics { --tone: #4338ca; }
.zn-sec--jobs     { --tone: #0f766e; }
.zn-sec--society  { --tone: #7c3aed; }
.zn-sec--accident { --tone: #c2410c; }
.zn-sec--sport    { --tone: #15803d; }
.zn-sec--economy  { --tone: #b45309; }
.zn-sec--art      { --tone: #be185d; }
.zn-sec--opinion  { --tone: #334155; }

/* Small blocks: coloured top edge with a soft tinted header and a filled icon chip. */
.zn-cols3--mini .zn-block { border-top: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 9%, var(--white)) 0, var(--white) 64px); box-shadow: inset 0 4px 0 var(--tone), var(--shadow); }
.zn-block .zn-sec-title .zn-icon { background: var(--tone); color: #fff; }
.zn-block .zn-sec-title { color: color-mix(in srgb, var(--tone) 70%, var(--ink)); }
.zn-block .zn-sec-head { border-bottom-color: color-mix(in srgb, var(--tone) 22%, transparent); }
.zn-card--bullet .zn-card__title::before { background-color: color-mix(in srgb, var(--tone) 16%, transparent); }
.zn-block .zn-card__title a:hover { color: var(--tone); }

/* Forum: a bright band with one colour per discussion space. */
.zn-forum { position: relative; overflow: hidden; background: linear-gradient(120deg, #0a1f5c 0%, #11318a 45%, #0f766e 100%); border: 0; color: #fff; box-shadow: 0 14px 34px rgba(10, 31, 92, .22); }
.zn-forum::before { content: ""; position: absolute; inset-inline-end: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 192, 0, .35), transparent 70%); pointer-events: none; }
.zn-forum > * { position: relative; }
.zn-forum__intro .zn-sec-title { color: #fff; --tone: var(--yellow); }
.zn-forum__intro .zn-sec-title .zn-icon { background: var(--yellow); color: var(--navy-900); }
.zn-forum__intro p { color: rgba(255, 255, 255, .85); }
.zn-forum__space { --c: #1d4ed8; background: rgba(255, 255, 255, .96); border: 0; border-inline-start: 4px solid var(--c); box-shadow: 0 4px 12px rgba(0, 0, 0, .12); transition: transform .15s ease, box-shadow .15s ease; }
.zn-forum__space:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .2); color: var(--navy-900); }
.zn-forum__space:nth-child(6n+1) { --c: #1d4ed8; }
.zn-forum__space:nth-child(6n+2) { --c: #0f766e; }
.zn-forum__space:nth-child(6n+3) { --c: #c2410c; }
.zn-forum__space:nth-child(6n+4) { --c: #7c3aed; }
.zn-forum__space:nth-child(6n+5) { --c: #be185d; }
.zn-forum__space:nth-child(6n+6) { --c: #15803d; }
.zn-forum__icon { background: var(--c); color: #fff; }
.zn-forum__enter { background: var(--yellow); color: var(--navy-900); }
.zn-forum__enter:hover { background: #ffd23f; color: var(--navy-900); }

html.zn-dark .zn-cols3--mini .zn-block { background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 18%, #141c2f) 0, #141c2f 64px); }
html.zn-dark .zn-block .zn-sec-title { color: color-mix(in srgb, var(--tone) 45%, #f1f4fa); }
html.zn-dark .zn-forum { background: linear-gradient(120deg, #0a1433 0%, #0e2266 50%, #0b4f4a 100%); }
html.zn-dark .zn-forum__space { background: #141c2f; color: #e8edf7; }
html.zn-dark .zn-forum__icon { background: var(--c); }
.zn-appbox__logo, .zn-appbar__logo { flex: 0 0 auto; display: grid; place-items: center; background: #fff; border-radius: 12px; padding: 6px 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.zn-appbox__logo img { display: block; width: 104px; height: auto; border-radius: 0; }
.zn-appbar__logo { padding: 4px 8px; border: 1px solid var(--line); box-shadow: none; }
.zn-appbar__logo img { display: block; width: 76px; height: auto; border-radius: 0; }
.zn-appbox__actions { flex-basis: 100%; }
.zn-appbox__txt { flex: 1 1 160px; }

/* 2.4.0 – forum: join box (new account / sign in) and bbPress forms */
.zn-forum-join { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; margin: 18px 0; padding: 18px 20px; border-radius: 14px; background: linear-gradient(120deg, #0a1f5c 0%, #11318a 60%, #0f766e 100%); color: #fff; }
.zn-forum-join strong { font-family: var(--f-head); font-size: 18px; }
.zn-forum-join p { margin: 4px 0 0; color: rgba(255, 255, 255, .85); font-size: 14px; }
.zn-forum-join__btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.zn-forum-join .zn-forum-join__new { background: var(--yellow); color: var(--navy-900); }
.zn-forum-join .zn-forum-join__in { background: #fff; color: var(--navy-900); }
.zn-forum-join__lost { color: #fff; text-decoration: underline; font-size: 14px; }
#bbpress-forums fieldset.bbp-form { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
#bbpress-forums .bbp-login-form input[type="text"], #bbpress-forums .bbp-login-form input[type="password"], #bbpress-forums fieldset.bbp-form input[type="text"], #bbpress-forums fieldset.bbp-form textarea { width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
#bbpress-forums .bbp-submit-wrapper { margin-top: 12px; }
#bbpress-forums button.submit, #bbpress-forums .bbp-submit-wrapper button { background: var(--navy); color: #fff; border: 0; border-radius: 10px; padding: 10px 24px; font-family: var(--f-head); font-size: 15px; cursor: pointer; }
#bbpress-forums button.submit:hover, #bbpress-forums .bbp-submit-wrapper button:hover { background: var(--navy-900); }
/* =========================================================================
   2.4.0 – brighter, open sections; matches strip; editor template blocks
   ========================================================================= */

/* 2.7.0 — section colours in the paper's identity: blues for news, its yellow turned to gold for
   royal/economy, and a few calm accents. Every tone reads at ≥ 4.5:1 on white (titles and links)
   and carries white icons. A colour chosen in «إعدادات زناتة نيوز ← الأقسام» still wins. */
.zn-sec--local    { --tone: #1d4ed8; }
.zn-sec--national { --tone: #11318a; }
.zn-sec--politics { --tone: #3730a3; }
.zn-sec--royal    { --tone: #a16207; }
.zn-sec--economy  { --tone: #b45309; }
.zn-sec--jobs     { --tone: #0e7490; }
.zn-sec--society  { --tone: #0f766e; }
.zn-sec--sport    { --tone: #15803d; }
.zn-sec--accident { --tone: #b91c1c; }
.zn-sec--art      { --tone: #6d28d9; }
.zn-sec--opinion  { --tone: #334155; }

/* Section boxes: light coloured header band, airy body, big first picture */
.zn-cols3 { gap: 24px; margin-top: 34px; }
.zn-cols3--mini .zn-block {
	padding: 0 0 6px; overflow: hidden; border-radius: 18px;
	background: var(--white); border: 1px solid color-mix(in srgb, var(--tone) 16%, var(--line));
	box-shadow: 0 6px 18px rgba(15, 23, 42, .06); transition: transform .18s ease, box-shadow .18s ease;
}
.zn-cols3--mini .zn-block:hover { transform: translateY(-3px); box-shadow: 0 14px 30px color-mix(in srgb, var(--tone) 18%, transparent); }
.zn-cols3--mini .zn-block .zn-sec-head {
	margin: 0; padding: 12px 16px; border: 0;
	background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 14%, var(--white)), color-mix(in srgb, var(--tone) 4%, var(--white)));
}
.zn-cols3--mini .zn-block .zn-sec-title { padding: 0; font-size: 18.5px; color: color-mix(in srgb, var(--tone) 78%, var(--ink)); }
.zn-cols3--mini .zn-block .zn-sec-title .zn-icon { width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--tone); color: #fff; box-shadow: 0 4px 10px color-mix(in srgb, var(--tone) 35%, transparent); }
.zn-cols3--mini .zn-block .zn-more { color: var(--tone); font-weight: 700; }
.zn-cols3--mini .zn-block__body { padding: 14px 16px 6px; }
.zn-cols3--mini .zn-block__body > .zn-card--row:first-child { display: block; padding: 0 0 12px; }
.zn-cols3--mini .zn-block__body > .zn-card--row:first-child .zn-card__media { display: block; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 10px; border-radius: 12px; overflow: hidden; }
.zn-cols3--mini .zn-block__body > .zn-card--row:first-child .zn-card__media img { width: 100%; height: 100%; object-fit: cover; }
.zn-cols3--mini .zn-block__body > .zn-card--row:first-child .zn-card__title { font-size: 17px; line-height: 1.6; }
.zn-cols3--mini .zn-card--bullet { padding: 9px 0; border-top: 1px dashed color-mix(in srgb, var(--tone) 22%, var(--line)); }
.zn-cols3--mini .zn-card--bullet .zn-card__title::before { width: 8px; height: 8px; margin-top: 11px; background: var(--tone); }
.zn-block .zn-card__title a:hover { color: var(--tone); }
html.zn-dark .zn-cols3--mini .zn-block { background: #141c2f; border-color: color-mix(in srgb, var(--tone) 30%, #26304a); }
html.zn-dark .zn-cols3--mini .zn-block .zn-sec-head { background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 28%, #141c2f), #141c2f); }
html.zn-dark .zn-cols3--mini .zn-block .zn-sec-title { color: color-mix(in srgb, var(--tone) 40%, #f1f4fa); }

/* «المباريات والنتائج» strip */
.zn-mt { margin: 34px 0; padding: 28px 0 32px; color: #fff; background: radial-gradient(circle at 90% 0, rgba(255, 192, 0, .16), transparent 45%), linear-gradient(135deg, #064e3b 0%, #15803d 55%, #0f5132 100%); }
.zn-mt .zn-sec-head { border-color: rgba(255, 255, 255, .18); }
.zn-mt .zn-sec-title { color: #fff; --tone: var(--yellow); }
.zn-mt .zn-sec-title .zn-icon { background: var(--yellow); color: #064e3b; }
.zn-mt__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .35) transparent; }
.zn-mt__card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 12px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.zn-mt__top { display: flex; justify-content: space-between; gap: 8px; margin: 0; font-size: 12.5px; color: var(--muted); }
.zn-mt__top span:first-child { font-weight: 700; color: #15803d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zn-mt__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.zn-mt__team { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; text-align: center; min-width: 0; }
.zn-mt__team strong { font-family: var(--f-head); font-size: 14px; line-height: 1.45; }
.zn-mt__team.is-win strong { color: #15803d; }
.zn-mt__badge { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #ecfdf5; border: 2px solid #bbf7d0; color: #15803d; font-family: var(--f-head); font-weight: 800; font-size: 15px; }
.zn-mt__score { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--f-head); } /* RTL: the home score sits next to the home team */
.zn-mt__score b { min-width: 34px; padding: 4px 0; border-radius: 8px; background: #0f172a; color: #fff; font-size: 22px; text-align: center; }
.zn-mt__score i { font-style: normal; color: var(--muted); }
.zn-mt__score .zn-mt__time { min-width: 0; padding: 6px 10px; background: #fef3c7; color: #92400e; font-size: 16px; }
.zn-mt__state { margin: 0; padding-top: 8px; border-top: 1px dashed var(--line); text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.zn-mt__card.is-live .zn-mt__state { color: #dc2626; }
.zn-mt__card.is-live .zn-mt__state::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 6px; border-radius: 50%; background: #dc2626; animation: zn-blink 1.2s infinite; }
.zn-mt__card.is-done .zn-mt__state { color: #15803d; }
@keyframes zn-blink { 50% { opacity: .2; } }
html.zn-dark .zn-mt__card { background: #141c2f; color: #e8edf7; }
html.zn-dark .zn-mt__badge { background: #10291f; border-color: #1f5137; }
@media (max-width: 1024px) { .zn-mt__track { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (max-width: 720px) { .zn-mt__track { grid-auto-columns: 82%; } }
/* Editor template blocks inside articles («قوالب زناتة نيوز») */
.zn-content .zn-lead, .zn-content .is-style-zn-lead { font-size: 1.1em; font-weight: 500; color: var(--navy-900); }
.zn-content .zn-guest { margin: 1.4em 0; padding: 12px 16px; border-radius: 12px; background: var(--navy-050); border-right: 4px solid var(--navy); }
.zn-content .zn-guest p { margin: 0; line-height: 1.6; }
.zn-content .zn-q { position: relative; margin: 1.4em 0 .4em; padding-right: 36px; font-size: 19px; color: var(--navy); }
.zn-content .zn-q::before { content: "س"; position: absolute; right: 0; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; line-height: 26px; text-align: center; }
.zn-content .zn-a { position: relative; padding-right: 36px; }
.zn-content .zn-a::before { content: "ج"; position: absolute; right: 0; top: 7px; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--navy-900); font-size: 14px; font-weight: 700; line-height: 26px; text-align: center; }
.zn-content .zn-facts { margin: 1.6em 0; padding: 16px 20px; border-radius: 12px; background: #fff8e1; border: 1px solid #ffe08a; }
.zn-content .zn-facts h3 { margin: 0 0 .4em; font-size: 18px; }
.zn-content .zn-facts ul { margin: 0; }
.zn-content blockquote.is-style-zn-pull { margin: 1.8em 0; padding: 18px 24px; border: 0; border-top: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); background: none; border-radius: 0; text-align: center; }
.zn-content .is-style-zn-pull p { margin: 0; font-family: var(--f-head); font-size: 23px; font-weight: 700; line-height: 1.7; color: var(--navy-900); }
.zn-content .is-style-zn-pull cite { display: block; margin-top: 6px; font-size: 14px; font-style: normal; color: var(--muted); }
.zn-content .zn-also { margin: 1.4em 0; padding: 10px 14px; border-radius: 10px; background: var(--navy-050); border-right: 4px solid var(--yellow); }
.zn-content .zn-source { font-size: 15px; color: var(--muted); }
.zn-content .zn-note { margin: 1.4em 0; padding: 10px 16px; border-radius: 10px; font-size: 16px; }
.zn-content .zn-note p { margin: 0; }
.zn-content .zn-note--update { background: #ecfdf5; border-right: 4px solid #15803d; }
.zn-content .zn-note--fix { background: #fff1f2; border-right: 4px solid #c8102e; }
html.zn-dark .zn-content .zn-guest, html.zn-dark .zn-content .zn-also { background: #1a2338; }
html.zn-dark .zn-content .zn-facts { background: #2a2414; border-color: #5c4a12; }
html.zn-dark .zn-content .zn-note--update { background: #10291f; }
html.zn-dark .zn-content .zn-note--fix { background: #2d1518; }
html.zn-dark .zn-content .is-style-zn-pull p, html.zn-dark .zn-content .zn-lead { color: #e8edf7; }
.zn-mt__card.is-local { box-shadow: 0 0 0 3px var(--yellow), 0 8px 22px rgba(0, 0, 0, .18); }
.zn-mt__card.is-local .zn-mt__top span:first-child::before { content: "المحمدية · "; color: #b45309; }

/* Pharmacy and mosque logos in «خدمات وقضايا القرب» */
.zn-svc__icon.has-logo { width: 64px; height: 64px; border-radius: 18px; }
.zn-svc__icon .zn-logo { width: 44px; height: 44px; display: block; }
.zn-svc__card:hover .zn-logo { transform: scale(1.06); transition: transform .15s ease; }

/* Botola standings («جداول» plugin) under the matches strip */
.zn-mt__table { margin-top: 18px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); overflow: hidden; }
.zn-mt__table summary { cursor: pointer; padding: 14px 18px; font-family: var(--f-head); font-weight: 800; font-size: 17px; color: #064e3b; background: #ecfdf5; list-style: none; }
.zn-mt__table summary::-webkit-details-marker { display: none; }
.zn-mt__table summary::after { content: "▾"; float: left; color: #15803d; }
.zn-mt__table:not([open]) summary::after { content: "◂"; }
.zn-mt__table-in { padding: 8px 12px 12px; overflow-x: auto; }
.zn-mt__table-in table { width: 100%; min-width: 320px; font-size: 14px; }
html.zn-dark .zn-mt__table { background: #141c2f; color: #e8edf7; }
html.zn-dark .zn-mt__table summary { background: #10291f; color: #bbf7d0; }

/* =========================================================================
   2.5.0 – pitch matches, writer cards, video platform, diaspora map,
   glowing breaking bar, app band
   ========================================================================= */

/* «المباريات والنتائج»: football-pitch grass with mowing stripes and white lines */
/* Real grass photo (assets/grass.webp, 116 KB) under soft mowing stripes and a light vignette for readable text. */
.zn-mt--pitch { position: relative; overflow: hidden; isolation: isolate; background-color: #2b7a2f;
	background-image:
		radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, .12), transparent 60%),
		linear-gradient(180deg, rgba(0, 40, 10, .18), rgba(0, 30, 8, .38)),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 90px, rgba(0, 0, 0, .05) 90px 180px),
		url("assets/grass.webp");
	background-size: auto, auto, auto, cover;
	background-position: center;
}
.zn-mt--pitch::before { content: ""; position: absolute; inset: 14px; z-index: -1; border: 2px solid rgba(255, 255, 255, .28); border-radius: 4px; pointer-events: none;
	background:
		linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, .28) calc(50% - 1px), rgba(255, 255, 255, .28) calc(50% + 1px), transparent calc(50% + 1px)),
		radial-gradient(circle at 50% 50%, transparent 78px, rgba(255, 255, 255, .28) 79px, rgba(255, 255, 255, .28) 81px, transparent 82px),
		radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .35) 4px, transparent 5px);
}
.zn-mt--pitch::after { content: ""; position: absolute; z-index: -1; top: 50%; width: 120px; height: 220px; transform: translateY(-50%); inset-inline-start: 14px; border: 2px solid rgba(255, 255, 255, .22); border-inline-start: 0; pointer-events: none; }
.zn-mt__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: -4px 0 14px; }
.zn-mt__chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.zn-mt__chip { border: 1px solid rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .18); color: #fff; border-radius: 999px; padding: 6px 14px; font: 600 13.5px/1.3 var(--f-body); cursor: pointer; transition: background .15s ease; }
.zn-mt__chip:hover { background: rgba(0, 0, 0, .3); }
.zn-mt__chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #064e3b; }
.zn-mt__sort { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 13.5px; font-weight: 600; }
.zn-mt__sort select { border: 0; border-radius: 8px; padding: 6px 10px; font: inherit; color: #064e3b; background: #fff; }
.zn-mt__card { border: 1px solid rgba(255, 255, 255, .6); }
.zn-mt__card[hidden] { display: none; }
.zn-mt__team strong { font-size: 15px; font-weight: 800; }
.zn-mt__badge { width: 48px; height: 48px; font-size: 16px; background: linear-gradient(145deg, #fff, #ecfdf5); box-shadow: 0 3px 8px rgba(6, 78, 59, .18); }
.zn-mt__score b { font-size: 24px; min-width: 38px; }
.zn-mt__state { display: flex; justify-content: center; }
.zn-mt__state::before { flex: none; }
.zn-mt__card.is-live { border-color: #fecaca; box-shadow: 0 0 0 2px rgba(220, 38, 38, .55), 0 8px 22px rgba(0, 0, 0, .2); }
.zn-mt__card.is-live .zn-mt__state { color: #fff; background: #dc2626; border: 0; border-radius: 999px; padding: 4px 12px; margin-inline: auto; }
.zn-mt__card.is-live .zn-mt__state::before { background: #fff; }
.zn-mt__card.is-done .zn-mt__state { color: #15803d; }
.zn-mt__card.is-next .zn-mt__state { color: #92400e; }
@media (max-width: 720px) {
	.zn-mt--pitch::after { display: none; }
	.zn-mt__tools { flex-direction: column; align-items: stretch; }
	.zn-mt__chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.zn-mt__chip { flex: none; }
}

/* «أعمدة الرأي»: writer cards on warm paper */
.zn-opx { margin: 34px 0; padding: 30px 0 34px; background: linear-gradient(180deg, #f7f3ea, #f2ece0); border-block: 1px solid #e7dfcd; }
.zn-opx .zn-sec-title { color: #3b2f1e; --tone: #a16207; }
.zn-opx .zn-sec-title .zn-icon { background: #3b2f1e; color: #f7e7b4; }
.zn-opx .zn-sec-head { border-color: #e3d8c0; }
.zn-opx .zn-more { color: #8a5a00; }
.zn-opx__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.zn-opx__card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-width: 0; padding: 22px 16px 18px; border-radius: 18px; background: #fffdf8; border: 1px solid #eadfc8; box-shadow: 0 6px 18px rgba(59, 47, 30, .07); transition: transform .18s ease, box-shadow .18s ease; }
.zn-opx__card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(59, 47, 30, .14); }
.zn-opx__card::before { content: "”"; position: absolute; top: 4px; inset-inline-start: 14px; font: 700 54px/1 Georgia, serif; color: #ecd9a8; pointer-events: none; }
.zn-opx__photo { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #c9a24a, #f3dc9a, #11318a, #c9a24a); flex: none; }
.zn-opx__photo img, .zn-opx__initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 3px solid #fffdf8; display: block; }
.zn-opx__initials { display: grid; place-items: center; background: #11318a; color: #f7e7b4; font: 800 26px/1 var(--f-head); }
.zn-opx__name { margin: 4px 0 0; font: 700 14px/1.4 var(--f-head); color: #8a5a00; letter-spacing: .01em; }
.zn-opx__title { margin: 0; font-size: 16.5px; line-height: 1.65; font-weight: 700; }
.zn-opx__title a { color: #2a2218; }
.zn-opx__title a:hover { color: #11318a; }
.zn-opx .zn-time { color: #8b7d66; font-size: 12.5px; margin-top: auto; }
html.zn-dark .zn-opx { background: linear-gradient(180deg, #17150f, #12110d); border-color: #2b261b; }
html.zn-dark .zn-opx__card { background: #1d1a13; border-color: #352e20; }
html.zn-dark .zn-opx__title a, html.zn-dark .zn-opx .zn-sec-title { color: #f1e9d6; }
html.zn-dark .zn-opx__photo img, html.zn-dark .zn-opx__initials { border-color: #1d1a13; }
@media (max-width: 1024px) { .zn-opx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .zn-opx__grid { grid-template-columns: minmax(0, 1fr); } .zn-opx__card { flex-direction: row; text-align: start; align-items: center; flex-wrap: wrap; column-gap: 14px; } .zn-opx__photo { width: 72px; height: 72px; } .zn-opx__card > :not(.zn-opx__photo) { flex: 1 1 calc(100% - 90px); } }

/* «زناتة ثيفي»: video platform – big player, playlist with thumbnails */
.zn-tvx { background: radial-gradient(circle at 85% -10%, rgba(255, 192, 0, .14), transparent 40%), linear-gradient(180deg, #08142f, #050c1f); }
.zn-tvx__tag { margin-inline-start: 8px; padding: 2px 8px; border-radius: 4px; background: #e11d48; color: #fff; font: 700 11px/1.6 var(--f-body); letter-spacing: .04em; vertical-align: middle; }
.zn-tvx__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.zn-tvx__main { min-width: 0; }
.zn-tvx__media, .zn-tvx__thumb { position: relative; display: block; overflow: hidden; border-radius: 16px; background: #000; aspect-ratio: 16 / 9; }
.zn-tvx__media img, .zn-tvx__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .2s ease; }
.zn-tvx__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .65)); pointer-events: none; }
.zn-tvx__media:hover img, .zn-tvx__item:hover img { transform: scale(1.04); }
.zn-tvx__play { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; color: #fff; background: rgba(225, 29, 72, .92); box-shadow: 0 0 0 8px rgba(255, 255, 255, .16), 0 10px 26px rgba(0, 0, 0, .45); transition: transform .2s ease, background .2s ease; }
.zn-tvx__play svg { width: 30px; height: 30px; margin-left: 4px; }
.zn-tvx__media:hover .zn-tvx__play, .zn-tvx__item:hover .zn-tvx__play { transform: scale(1.08); background: #e11d48; }
.zn-tvx__cap { padding: 14px 4px 0; }
.zn-tvx__cap h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.55; }
.zn-tvx__cap h3 a, .zn-tvx__item h3 a { color: #fff; }
.zn-tvx__cap h3 a:hover, .zn-tvx__item h3 a:hover { color: var(--yellow); }
.zn-tvx .zn-time { color: #9fb0d8; font-size: 12.5px; }
.zn-tvx__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: zntv; }
.zn-tvx__item { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background .15s ease; }
.zn-tvx__item:hover { background: rgba(255, 255, 255, .1); }
.zn-tvx__thumb { border-radius: 10px; }
.zn-tvx__thumb .zn-tvx__play { width: 38px; height: 38px; margin: -19px 0 0 -19px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .16); }
.zn-tvx__thumb .zn-tvx__play svg { width: 16px; height: 16px; margin-left: 2px; }
.zn-tvx__item h3 { margin: 0 0 4px; font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .zn-tvx__grid { grid-template-columns: minmax(0, 1fr); } .zn-tvx__cap h3 { font-size: 19px; } }
@media (max-width: 520px) { .zn-tvx__item { grid-template-columns: 116px minmax(0, 1fr); } .zn-tvx__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; } }

/* «مغاربة العالم»: soft map with arcs linking Morocco to the diaspora */
.zn-dia { position: relative; overflow: hidden; isolation: isolate; margin: 34px 0; padding: 30px 0 34px; background: linear-gradient(135deg, #f0f6ff 0%, #fff7e6 100%); border-block: 1px solid #e2e8f4; }
.zn-dia__map { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.zn-dia__land { fill: rgba(17, 49, 138, .05); stroke: rgba(17, 49, 138, .28); stroke-width: 1.4; stroke-dasharray: 1 6; stroke-linecap: round; }
.zn-dia__arc { fill: none; stroke: #c8102e; stroke-width: 1.6; stroke-dasharray: 5 6; opacity: .55; animation: zn-dash 2.8s linear infinite; animation-delay: var(--d, 0s); }
.zn-dia__dot { fill: #11318a; opacity: .6; }
.zn-dia__home { fill: #c8102e; }
.zn-dia__pulse { fill: none; stroke: #c8102e; stroke-width: 2; transform-origin: 470px 205px; animation: zn-pulse 2.4s ease-out infinite; }
@keyframes zn-dash { to { stroke-dashoffset: -44; } }
@keyframes zn-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(4); opacity: 0; } }
.zn-dia .zn-sec-title { color: #0a1f5c; --tone: #c8102e; }
.zn-dia .zn-sec-title .zn-icon { background: linear-gradient(135deg, #c8102e, #8b0a1f); color: #fff; }
.zn-dia .zn-btn--light { background: #fff; color: #0a1f5c; border: 1px solid #d6deef; }
.zn-dia__lead { margin: -6px 0 16px; color: #475069; font-size: 15px; }
.zn-dia__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.zn-dia__card { min-width: 0; overflow: hidden; border-radius: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(4px); border: 1px solid #e3e9f5; box-shadow: 0 6px 18px rgba(10, 31, 92, .07); transition: transform .18s ease, box-shadow .18s ease; }
.zn-dia__card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(10, 31, 92, .14); }
.zn-dia__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe6f3; border-bottom: 3px solid #c8102e; }
.zn-dia__media img { width: 100%; height: 100%; object-fit: cover; }
.zn-dia__body { padding: 12px 14px 14px; }
.zn-dia__body h3 { margin: 0 0 6px; font-size: 15.5px; line-height: 1.6; }
.zn-dia__body h3 a { color: var(--ink); }
.zn-dia__body h3 a:hover { color: #c8102e; }
html.zn-dark .zn-dia { background: linear-gradient(135deg, #0d1630, #1a1710); border-color: #26304a; }
html.zn-dark .zn-dia__card { background: rgba(20, 28, 47, .92); border-color: #26304a; }
html.zn-dark .zn-dia__body h3 a, html.zn-dark .zn-dia .zn-sec-title { color: #e8edf7; }
html.zn-dark .zn-dia__lead { color: #9fb0d8; }
@media (max-width: 1024px) { .zn-dia__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .zn-dia__grid { grid-template-columns: minmax(0, 1fr); } }

/* «عاجل»: red bar with a light sweep and a pulsing dot */
.zn-breaking--glow { position: relative; overflow: hidden; background: linear-gradient(90deg, #a50d26, #d4112f 50%, #a50d26); box-shadow: 0 2px 14px rgba(200, 16, 46, .35); }
.zn-breaking--glow::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); animation: zn-sweep 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes zn-sweep { to { left: 110%; } }
.zn-breaking--glow .zn-breaking__in { position: relative; z-index: 1; }
.zn-breaking--glow .zn-breaking__label { display: inline-flex; align-items: center; gap: 6px; animation: none; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: zn-ring 1.8s ease-out infinite; }
.zn-breaking__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: zn-blink 1s ease-in-out infinite; }
@keyframes zn-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
.zn-breaking__list span { color: #fff; font-weight: 700; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .zn-breaking--glow::after, .zn-breaking--glow .zn-breaking__label, .zn-breaking__dot, .zn-dia__arc, .zn-dia__pulse { animation: none; } }

/* «تطبيق زناتة نيوز» band above the footer */
.zn-apppro { margin-top: 40px; color: #fff; background: radial-gradient(circle at 15% 20%, rgba(255, 192, 0, .2), transparent 35%), linear-gradient(120deg, #0a1f5c 0%, #11318a 60%, #1d56c4 100%); overflow: hidden; }
.zn-apppro__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; padding-block: 34px 0; }
.zn-apppro__kicker { margin: 0 0 6px; color: var(--yellow); font-weight: 700; font-size: 13.5px; letter-spacing: .03em; }
.zn-apppro h2 { margin: 0 0 12px; font-family: var(--f-head); font-size: clamp(22px, 3vw, 30px); line-height: 1.4; color: #fff; text-wrap: balance; }
.zn-apppro__list { margin: 0 0 20px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.zn-apppro__list li { position: relative; padding-inline-start: 22px; color: rgba(255, 255, 255, .9); font-size: 15px; }
.zn-apppro__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(-45deg); }
.zn-apppro__btns { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 34px; }
.zn-play-btn--lg { padding: 9px 18px 9px 14px; border-radius: 12px; }
.zn-play-btn--lg span { font-size: 18px; }
button.zn-play-btn { cursor: pointer; font: inherit; }
.zn-ios-btn svg { color: #fff; }
.zn-apppro__phone { align-self: end; justify-self: center; width: 210px; height: 300px; padding: 10px 10px 0; border-radius: 34px 34px 0 0; background: #0b1020; box-shadow: 0 -10px 40px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .12); }
.zn-apppro__screen { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 10px; border-radius: 26px 26px 0 0; background: #f5f7fb; overflow: hidden; }
.zn-apppro__bar { display: grid; place-items: center; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.zn-apppro__bar img { width: 96px; height: auto; display: block; }
.zn-apppro__brk { align-self: flex-start; padding: 2px 10px; border-radius: 6px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; animation: zn-blink 1.6s ease-in-out infinite; }
.zn-apppro__card { height: 74px; border-radius: 10px; background: linear-gradient(135deg, #1d56c4, #11318a); }
.zn-apppro__card.is-small { height: 46px; background: linear-gradient(135deg, #ffc000, #e0a800); }
.zn-apppro__line { height: 8px; border-radius: 4px; background: #dfe5f1; }
.zn-apppro__line.is-short { width: 60%; }
.zn-apppro__tabs { display: flex; justify-content: space-around; margin-top: auto; padding: 8px 0 4px; border-top: 1px solid #e2e6ee; }
.zn-apppro__tabs i { width: 14px; height: 14px; border-radius: 4px; background: #c7d0e4; }
.zn-apppro__tabs i:first-child { background: #11318a; }
.zn-apppro + .zn-footer { margin-top: 0; }
@media (max-width: 720px) {
	.zn-apppro__in { grid-template-columns: minmax(0, 1fr); text-align: center; }
	.zn-apppro__list { grid-template-columns: minmax(0, 1fr); justify-items: center; }
	.zn-apppro__btns { justify-content: center; padding-bottom: 8px; }
	.zn-apppro__phone { width: 180px; height: 170px; }
}
.zn-footer__bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; }
.zn-footer__credit { opacity: .8; }
@media (max-width: 720px) { .zn-footer__bottom-in { justify-content: center; text-align: center; } }
@media (max-width: 720px) {
	.zn-breaking__in { gap: 10px; }
	.zn-breaking__list { flex-direction: column; flex-wrap: nowrap; gap: 2px; flex: 1; }
	.zn-breaking__list li { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.zn-breaking__list a, .zn-breaking__list span { font-size: 14px; }
}
.zn-mt__badge.has-logo { background: #fff; padding: 5px; }
.zn-mt__badge.has-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ==========================================================================
   v2.5.1 — «صوت المواطن» (replaces «المباريات والنتائج») on the homepage
   ========================================================================== */
.zn-cv { --cv-blue: #1a365d; --cv-blue-2: #2c5282; --cv-gold: #d97706; --cv-line: #e5e9f2; }
.zn-cv__box { position: relative; overflow: hidden; padding: 24px 22px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--cv-line); box-shadow: 0 8px 24px rgba(26, 54, 93, .06); }
.zn-cv__box::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(270deg, var(--cv-blue) 0%, var(--cv-blue-2) 58%, var(--cv-gold) 100%); }
.zn-cv__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.zn-cv__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 24px; color: var(--cv-blue); }
.zn-cv__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--cv-gold); background: #fff7ed; border: 1px solid #fde4c4; }
.zn-cv__icon .zn-icon { width: 22px; height: 22px; }
.zn-cv__lead { margin: 6px 0 0; color: #52607a; font-size: 15px; }
.zn-cv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.zn-cv__cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; background: var(--cv-blue); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 14.5px; transition: background .15s ease, transform .15s ease; }
.zn-cv__cta:hover { background: var(--cv-gold); color: #fff; transform: translateY(-1px); }
.zn-cv__cta .zn-icon { width: 18px; height: 18px; }
.zn-cv__all { display: inline-flex; align-items: center; gap: 6px; color: var(--cv-blue); font-weight: 700; font-size: 14.5px; }
.zn-cv__all:hover { color: var(--cv-gold); }
.zn-cv__all .zn-icon { width: 16px; height: 16px; }

.zn-cv__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.zn-cv__grid--solo { grid-template-columns: minmax(0, 1fr); }
.zn-cv__main { min-width: 0; padding: 18px; border-radius: 14px; background: linear-gradient(180deg, #f8fafd 0%, #fff 70%); border: 1px solid var(--cv-line); border-inline-start: 4px solid var(--cv-gold); }
.zn-cv__media { display: block; margin: -4px -4px 14px; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 9; background: #e8edf5; }
.zn-cv__media img { width: 100%; height: 100%; object-fit: cover; }
.zn-cv__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.zn-cv__meta .zn-time { font-size: 12.5px; color: #6b7891; }
.zn-cv__badge { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; font: 700 12.5px/1.6 var(--f-body); color: var(--cv-blue); background: #eef2f8; border: 1px solid #d5deeb; }
.zn-cv__badge.is-letter { color: #92400e; background: #fef3c7; border-color: #fde68a; }
.zn-cv__hot { display: inline-flex; align-items: center; gap: 6px; font: 700 12.5px/1.6 var(--f-body); color: #b45309; }
.zn-cv__hot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cv-gold); box-shadow: 0 0 0 3px rgba(217, 119, 6, .18); }
.zn-cv__h { margin: 10px 0 8px; font-size: 21px; line-height: 1.6; }
.zn-cv__h a, .zn-cv__item-h a { color: #14223b; }
.zn-cv__h a:hover, .zn-cv__item-h a:hover { color: var(--cv-gold); }
.zn-cv__excerpt { margin: 0 0 10px; color: #3d4a62; font-size: 15px; line-height: 1.8; }
.zn-cv__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.zn-cv__foot .zn-time { font-size: 12.5px; color: #6b7891; }
.zn-cv__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.zn-cv__item { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--cv-line); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.zn-cv__item:hover { border-color: rgba(26, 54, 93, .28); box-shadow: 0 6px 16px rgba(26, 54, 93, .08); transform: translateY(-2px); }
.zn-cv__item-h { margin: 0; font-size: 15.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zn-cv__item .zn-issue__status { justify-self: start; }
.zn-cv__empty { margin: 0; padding: 14px; border-radius: 12px; background: #f8fafd; border: 1px dashed #cdd7e6; color: #52607a; font-size: 15px; }
@media (max-width: 900px) { .zn-cv__grid { grid-template-columns: minmax(0, 1fr); } .zn-cv__title { font-size: 21px; } .zn-cv__h { font-size: 19px; } }
@media (max-width: 520px) { .zn-cv__box { padding: 20px 14px 16px; } .zn-cv__main { padding: 14px; } .zn-cv__actions { width: 100%; justify-content: space-between; } }
html.zn-dark .zn-cv__box { background: #111a2e; border-color: #26304a; box-shadow: none; }
html.zn-dark .zn-cv__title, html.zn-dark .zn-cv__all { color: #c9d8f5; }
html.zn-dark .zn-cv__icon { background: #2a2113; border-color: #4a3a1c; }
html.zn-dark .zn-cv__lead, html.zn-dark .zn-cv__excerpt { color: #b9c3d8; }
html.zn-dark .zn-cv__main { background: #141f36; border-color: #26304a; border-inline-start-color: var(--cv-gold); }
html.zn-dark .zn-cv__item { background: #141f36; border-color: #26304a; }
html.zn-dark .zn-cv__h a, html.zn-dark .zn-cv__item-h a { color: #e8edf7; }
html.zn-dark .zn-cv__badge { background: #1f2c4d; border-color: #2e3d63; color: #a9c4ff; }
html.zn-dark .zn-cv__badge.is-letter { background: #3a2a10; border-color: #5a4215; color: #fcd34d; }
html.zn-dark .zn-cv__empty { background: #141f36; border-color: #2e3d63; color: #b9c3d8; }

/* ==========================================================================
   v2.5.1 — «زناتة ثيفي» 3D: raised white cards and a 3D play button
   ========================================================================== */
/* حاوية كروت زناتة TV بتأثير 3D */
.zenata-tv-card-3d {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px -5px rgba(15, 23, 42, 0.18), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  transform: perspective(1000px) rotateX(0deg);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.zenata-tv-card-3d:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.25), 0 12px 16px -8px rgba(15, 23, 42, 0.15);
}

/* زر التشغيل المجسم 3D Play Button */
.zenata-play-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #e63946, #c1121f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 15px rgba(230, 57, 70, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zenata-tv-card-3d:hover .zenata-play-3d {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 10px 22px rgba(230, 57, 70, 0.65), inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

/* Fit the cards above into the theme's «زناتة ثيفي» markup */
.zn-tvx .zenata-play-3d { margin: 0; }
.zn-tvx .zenata-play-3d svg { width: 22px; height: 22px; margin-left: 3px; }
.zn-tvx__thumb .zenata-play-3d { width: 36px; height: 36px; margin: 0; box-shadow: 0 4px 10px rgba(230, 57, 70, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.35); }
.zn-tvx__thumb .zenata-play-3d svg { width: 15px; height: 15px; margin-left: 2px; }
.zn-tvx__main.zenata-tv-card-3d .zn-tvx__media { border-radius: 0; }
.zn-tvx__main.zenata-tv-card-3d .zn-tvx__cap { padding: 14px 16px 16px; }
.zn-tvx__item.zenata-tv-card-3d, .zn-tvx__item.zenata-tv-card-3d:hover { background: #ffffff; }
.zn-tvx .zenata-tv-card-3d h3 a { color: #0f172a; }
.zn-tvx .zenata-tv-card-3d h3 a:hover { color: #c1121f; }
.zn-tvx .zenata-tv-card-3d .zn-time { color: #64748b; }
.zn-tvx .zenata-tv-card-3d:hover .zenata-play-3d { background: linear-gradient(135deg, #e63946, #c1121f); }
html.zn-dark .zenata-tv-card-3d, html.zn-dark .zn-tvx__item.zenata-tv-card-3d:hover { background: #111a2e; border-color: rgba(255, 255, 255, 0.12); }
html.zn-dark .zn-tvx .zenata-tv-card-3d h3 a { color: #e8edf7; }
html.zn-dark .zn-tvx .zenata-tv-card-3d .zn-time { color: #9fb0d8; }

/* Duration chip (raised) and pulsing red «حصري» / «مباشر» badge */
.zn-tvx__dur { position: absolute; z-index: 2; bottom: 10px; left: 10px; padding: 3px 8px; border-radius: 6px; direction: ltr; font: 700 12px/1.5 var(--f-body); letter-spacing: .02em; color: #fff; background: linear-gradient(180deg, rgba(51, 65, 85, .95), rgba(2, 6, 23, .95)); box-shadow: 0 3px 0 rgba(0, 0, 0, .5), 0 6px 12px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .2); }
.zn-tvx__flag { position: absolute; z-index: 2; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 4px; border-radius: 999px; font: 700 12px/1.5 var(--f-body); color: #fff; background: linear-gradient(180deg, #f43f5e, #be123c); box-shadow: 0 3px 0 #881337, 0 8px 16px rgba(190, 18, 60, .45), inset 0 1px 0 rgba(255, 255, 255, .3); animation: zn-tv-flag 2s ease-in-out infinite; }
.zn-tvx__flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; animation: zn-tv-dot 1.2s ease-in-out infinite; }
@keyframes zn-tv-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.65); } }
@keyframes zn-tv-flag { 0%, 100% { box-shadow: 0 3px 0 #881337, 0 8px 16px rgba(190, 18, 60, .45), inset 0 1px 0 rgba(255, 255, 255, .3); } 50% { box-shadow: 0 3px 0 #881337, 0 8px 22px rgba(244, 63, 94, .75), inset 0 1px 0 rgba(255, 255, 255, .3); } }
.zn-tvx__thumb .zn-tvx__dur { bottom: 6px; left: 6px; padding: 1px 6px; font-size: 11px; }
.zn-tvx__thumb .zn-tvx__flag { top: 6px; right: 6px; padding: 1px 7px 2px; font-size: 10.5px; gap: 4px; }
.zn-tvx__thumb .zn-tvx__flag::before { width: 5px; height: 5px; }

@media (prefers-reduced-motion: reduce) {
  .zenata-tv-card-3d, .zenata-play-3d { transition: none; }
  .zenata-tv-card-3d:hover { transform: none; }
  .zn-tvx__flag, .zn-tvx__flag::before { animation: none; }
}

/* ==========================================================================
   v2.5.1 — back-to-top: smaller and tucked in the corner so it never covers text
   ========================================================================== */
.zn-totop { width: 38px; height: 38px; left: 10px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); box-shadow: 0 4px 12px rgba(10, 31, 92, .25); }
.zn-totop .zn-icon { width: 18px; height: 18px; }
.zn-totop.is-shown { opacity: .85; }
.zn-totop:hover, .zn-totop:focus-visible { opacity: 1; }
@media (max-width: 768px) {
	.zn-totop { width: 32px; height: 32px; left: 6px; bottom: max(8px, env(safe-area-inset-bottom, 0px)); box-shadow: 0 3px 8px rgba(10, 31, 92, .22); }
	.zn-totop .zn-icon { width: 16px; height: 16px; }
}

/* 2.8.2 — «محرر زناتة»: تنسيقات المقال الجديدة، وألوان الخط مقروءة في الوضع الليلي */
.zn-content .zn-mark { padding: 0 .12em; border-radius: 3px; background: linear-gradient(transparent 52%, #ffe58a 52%); color: inherit; }
.zn-content .zn-mark--blue { background: linear-gradient(transparent 52%, #cfe0ff 52%); }
.zn-content .zn-hot { color: #c8102e; font-weight: 700; }
.zn-content .zn-note--info { background: var(--navy-050, #eef3fc); border-right: 4px solid var(--navy, #11318a); }
html.zn-dark .zn-content .zn-mark { background: linear-gradient(transparent 52%, rgba(255, 192, 0, .35) 52%); }
html.zn-dark .zn-content .zn-mark--blue { background: linear-gradient(transparent 52%, rgba(96, 150, 255, .35) 52%); }
html.zn-dark .zn-content .zn-hot { color: #ff6b7d; }
html.zn-dark .zn-content .zn-note--info { background: #1a2338; }
html.zn-dark .zn-content [style*="#0a1f5c"], html.zn-dark .zn-content [style*="#11318a"], html.zn-dark .zn-content [style*="#1d4ed8"] { color: #9cc0ff !important; }
html.zn-dark .zn-content [style*="#1f2937"], html.zn-dark .zn-content [style*="#000000"] { color: inherit !important; }
html.zn-dark .zn-content [style*="#c8102e"] { color: #ff6b7d !important; }
html.zn-dark .zn-content [style*="#b45309"] { color: #fb923c !important; }
html.zn-dark .zn-content [style*="#8a6100"] { color: #facc15 !important; }
html.zn-dark .zn-content [style*="#15803d"] { color: #4ade80 !important; }
html.zn-dark .zn-content [style*="#64748b"] { color: #a3b1c9 !important; }
