/* ============================================================
   NasNews — ثيم شبكة أخبار الناصرية
   بنية مستوحاة من سكاي نيوز عربية، هوية الشبكة الحمراء
   ============================================================ */

/* ---------- الخطوط ---------- */
@font-face {
	font-family: 'IBM Plex Sans Arabic';
	src: url('../fonts/plex-arabic-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IBM Plex Sans Arabic';
	src: url('../fonts/plex-arabic-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IBM Plex Sans Arabic';
	src: url('../fonts/plex-arabic-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- المتغيرات ---------- */
:root {
	--red: #C60000;
	--red-dark: #9E0000;
	--blue: #00A3F5;      /* أزرق أيقونة التطبيق */
	--blue-deep: #0072AC; /* درجة أغمق للخلفيات */
	--ink: #141414;
	--yellow: #F8EB20;
	--bg: #F5F7F8;
	--card: #FFFFFF;
	--link: #0B4C8C;
	--muted: #6B7280;
	--line: #E4E7EA;
	--radius: 8px;
	--shadow: 0 1px 3px rgba(20, 20, 20, .07);
	--shadow-hover: 0 6px 18px rgba(20, 20, 20, .12);
	--container: 1400px;
	--font: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}

/* ---------- الأساس ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	/* مساحة لشريط العاجل الثابت */
	padding-bottom: 52px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 16px;
}

/* ============================================================
   الترويسة
   ============================================================ */
.utility-bar {
	background: var(--ink);
	color: #fff;
	font-size: 13px;
}
.utility-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 34px;
}
.utility-tagline { color: rgba(255, 255, 255, .75); }

.logo-row { background: #fff; border-bottom: 1px solid var(--line); }
.logo-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 14px;
}
.site-logo img { max-height: 54px; width: auto; }

/* إعلان الإذاعة بالترويسة — يملأ الفراغ بين الشعار والبحث ويشغل البث بالضغط */
.radio-promo {
	flex: 1;
	max-width: 640px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 16px;
	border-radius: 14px;
	background: #fff;
	border: 1.5px solid #ECECEC;
	box-shadow: 0 2px 10px rgba(20, 20, 20, .07);
	color: var(--ink);
	overflow: hidden;
	transition: box-shadow .15s, border-color .15s;
}
.radio-promo:hover { box-shadow: var(--shadow-hover); border-color: #E3D4D4; }
.rp-logo {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 2px rgba(198, 0, 0, .35);
}
.rp-eq {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 28px;
	flex: 0 0 auto;
}
.rp-eq i {
	width: 4px;
	border-radius: 2px;
	background: var(--red);
}
.rp-eq i:nth-child(1) { height: 40%; }
.rp-eq i:nth-child(2) { height: 75%; animation-delay: .12s; }
.rp-eq i:nth-child(3) { height: 55%; animation-delay: .24s; }
.rp-eq i:nth-child(4) { height: 95%; animation-delay: .36s; }
.rp-eq i:nth-child(5) { height: 60%; animation-delay: .48s; }
.radio-promo.is-playing .rp-eq i { animation: rp-eq .9s ease-in-out infinite; }
@keyframes rp-eq {
	0%, 100% { height: 30%; }
	50% { height: 100%; }
}
.rp-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.5;
}
.rp-text b {
	font-size: 16px;
	font-weight: 800;
	white-space: nowrap;
}
.rp-fm {
	display: inline-block;
	background: #FDECEC;
	color: var(--red);
	border-radius: 6px;
	padding: 0 7px;
	font-size: 12.5px;
	margin-inline-start: 4px;
}
.rp-tag {
	font-size: 12.5px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.rp-btn {
	display: flex;
	align-items: center;
	gap: 7px;
	background: var(--red);
	color: #fff;
	font-weight: 800;
	font-size: 13.5px;
	border-radius: 999px;
	padding: 9px 18px;
	white-space: nowrap;
	transition: background .15s;
}
.radio-promo:hover .rp-btn { background: var(--red-dark); }
.rp-ic-pause { display: none; }
.radio-promo.is-playing .rp-ic-play { display: none; }
.radio-promo.is-playing .rp-ic-pause { display: block; }
@media (max-width: 1250px) {
	.rp-tag { display: none; }
	.rp-text b { font-size: 15px; }
}
@media (max-width: 1000px) {
	.radio-promo { display: none; } /* بالجوال يحل محله شريط .radio-strip المصغر */
}

/* شريط الإذاعة المصغر — نسخة الجوال من البانر، سطر واحد تحت القائمة */
.radio-strip { display: none; }
@media (max-width: 1000px) {
	.radio-strip {
		display: flex;
		align-items: center;
		gap: 9px;
		padding: 8px 16px;
		background: #fff;
		border-top: 1px solid var(--line);
		color: var(--ink);
	}
}
.radio-strip img {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 1.5px rgba(198, 0, 0, .35);
	flex: 0 0 auto;
}
.rs-eq {
	display: flex;
	align-items: flex-end;
	gap: 2px;
	height: 14px;
	flex: 0 0 auto;
}
.rs-eq i { width: 3px; border-radius: 2px; background: var(--red); }
.rs-eq i:nth-child(1) { height: 45%; }
.rs-eq i:nth-child(2) { height: 90%; animation-delay: .15s; }
.rs-eq i:nth-child(3) { height: 60%; animation-delay: .3s; }
.radio-strip.is-playing .rs-eq i { animation: rp-eq .9s ease-in-out infinite; }
.radio-strip b {
	font-size: 13.5px;
	font-weight: 800;
	white-space: nowrap;
}
.rs-tag {
	flex: 1;
	min-width: 0;
	color: var(--muted);
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.rs-btn {
	background: var(--red);
	color: #fff;
	font-weight: 800;
	font-size: 12px;
	border-radius: 999px;
	padding: 5px 14px;
	white-space: nowrap;
	flex: 0 0 auto;
}
@media (max-width: 420px) {
	.rs-tag { display: none; }
	.radio-strip b { flex: 1; }
}

.search-box {
	display: flex;
	align-items: center;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 999px;
	overflow: hidden;
	min-width: 280px;
}
.search-box input {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 9px 18px;
	font-family: inherit;
	font-size: 14px;
	outline: none;
}
.search-box button {
	border: 0;
	background: transparent;
	color: var(--muted);
	padding: 9px 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
}

/* صف التنقل */
.nav-row {
	background: #fff;
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 50;
}
.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
}
.nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}
.nav-list a {
	display: inline-block;
	padding: 13px 14px;
	font-size: 15.5px;
	font-weight: 500;
	border-bottom: 3px solid transparent;
	transition: color .15s;
}
.nav-list a:hover { color: var(--blue-deep); border-bottom-color: var(--blue-deep); }
.nav-list a.is-active {
	color: var(--red);
	border-bottom-color: var(--red);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }

.btn-live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--red);
	color: #fff;
	font-weight: 700;
	font-size: 14.5px;
	padding: 10px 17px;
	border-radius: 12px;
	transition: background .15s;
}
.btn-live:hover { background: var(--red-dark); }
.live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	animation: pulse 1.4s infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.btn-live { white-space: nowrap; }

/* حالات زر المباشر أثناء تشغيل الإذاعة */
.btn-live.is-loading .live-dot { animation-duration: .5s; }
.btn-live.is-playing { background: var(--ink); }
.btn-live.is-playing:hover { background: #000; }
.btn-live.is-playing .live-dot { border-radius: 2px; animation: none; } /* مربع إيقاف */

@media (max-width: 1000px) {
	.btn-live { display: none; } /* شريط الإذاعة يغني عن زر المباشر بالجوال */
}

/* رابط تلفزيون الناصرية بالترويسة: داكن ممتلئ يوازن زر المباشر الأحمر */
.btn-tv {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ink);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 10px 16px;
	border-radius: 12px;
	transition: background .15s;
}
.btn-tv:hover { background: #000; color: #fff; }
.btn-tv-text { display: flex; flex-direction: column; align-items: flex-start; }
.btn-tv-tag { display: none; } /* العبارة التشويقية تظهر بالجوال فقط */
.btn-tv-go { display: none; } /* زر «شاهد» يظهر بالجوال فقط */

/* شعارا الإذاعة والتلفزيون داخل الزرين */
.btn-logo { display: block; height: 20px; width: auto; }
.btn-live .btn-logo {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .65);
}

/* شارة الطقس ولوحة تفاصيلها */
.wx { position: relative; }
.wx-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #f2f1ec;
	border: 0;
	border-radius: 12px;
	padding: 10px 15px;
	font-family: inherit;
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
	cursor: pointer;
	transition: background .15s;
}
.wx-chip:hover { background: #e9e7e0; }
.wx-chip .wx-t { color: var(--red); font-weight: 800; }
.wx-ico { font-size: 16px; line-height: 1; }
.wx-panel {
	position: absolute;
	top: calc(100% + 12px);
	inset-inline-end: 0;
	width: 290px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
	padding: 14px 16px;
	z-index: 60;
}
.wx-now { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wx-place { font-weight: 800; font-size: 16px; }
.wx-desc { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.wx-big { font-size: 26px; font-weight: 800; white-space: nowrap; }
.wx-meta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: var(--muted);
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--line);
}
.wx-days { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.wx-day { display: flex; justify-content: space-between; font-size: 13.5px; }
.wx-day b { font-weight: 800; }

.nav-burger {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}
.nav-burger span {
	width: 22px;
	height: 2.5px;
	background: var(--ink);
	border-radius: 2px;
}

/* ============================================================
   رؤوس الأقسام
   ============================================================ */
.section { margin-block: 34px; }

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.section-head h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 24px;
	font-weight: 700;
}
.section-head .bar {
	width: 5px;
	height: 26px;
	background: var(--red);
	border-radius: 2px;
	flex-shrink: 0;
}
.section-head .bar--white { background: #fff; }
.section-head .bar--red { background: var(--red); }
.section-head .more {
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
	transition: color .15s;
}
.section-head .more:hover { color: var(--red); }
.section-head--onband h2, .section-head--onband .more { color: #fff; }
.section-head--onband .more:hover { color: var(--yellow); }

/* ============================================================
   البطاقات
   ============================================================ */

/* شارة التصنيف */
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--red);
}
.chip::before {
	content: '';
	width: 3px;
	height: 12px;
	background: var(--red);
	border-radius: 1px;
}
.chip--overlay {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	background: var(--red);
	color: #fff;
	font-size: 13px;
	padding: 3px 12px;
	border-radius: 3px;
	z-index: 2;
}
.chip--overlay::before { display: none; }

/* شارة عدد صور الألبوم */
.album-badge {
	position: absolute;
	top: 12px;
	left: 12px; /* فيزيائي: direction:ltr يقلب inset-inline */
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(20, 20, 20, .78);
	color: #fff;
	font-size: 12.5px;
	font-weight: 500;
	padding: 3px 10px;
	border-radius: 3px;
	direction: ltr;
}
.card-img-link { position: relative; }

/* بطاقة كبيرة بعنوان فوق الصورة */
.card-hero {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--ink);
	box-shadow: var(--shadow);
	height: 100%;
}
.card-hero-link { display: block; height: 100%; position: relative; }
.card-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s;
}
.card-hero:hover .card-hero-img { transform: scale(1.04); }
.card-hero-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, 0) 70%);
}
.card-hero-title {
	position: absolute;
	bottom: 0;
	inset-inline: 0;
	padding: 18px;
	color: #fff;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.45;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
	/* حد أقصى 3 أسطر كي لا يتسلق العنوان فوق شارة التصنيف */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

/* بطاقة قياسية */
.card {
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s, transform .2s;
}
.card:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-2px);
}
.card-img-link { display: block; aspect-ratio: 16 / 9.5; overflow: hidden; background: var(--line); }
.card-img { width: 100%; height: 100%; object-fit: cover; }
.card-img--empty { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #ECEFF1, #DDE3E6); }
.card-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 7px;
	flex: 1;
}
.card-title {
	font-size: 17.5px;
	font-weight: 700;
	line-height: 1.5;
	flex: 1;
}
.card-title a:hover { color: var(--red); }
.card-time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	color: var(--muted);
}

/* عنصر قائمة مصغّر */
.card-mini {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	justify-content: space-between;
	padding-block: 12px;
	border-bottom: 1px solid var(--line);
}
.card-mini:last-child { border-bottom: 0; }
.card-mini-body { flex: 1; min-width: 0; }
.card-mini-title {
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.55;
	margin-top: 3px;
}
.card-mini-title a:hover { color: var(--red); }
.card-mini-thumb { flex-shrink: 0; }
.card-mini-img {
	width: 86px;
	height: 62px;
	object-fit: cover;
	border-radius: 6px;
}
.chip--plain { font-size: 11.5px; }
.side-sub { font-size: 12.5px; color: var(--muted); }
.mini-views {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 5px;
	font-size: 12px;
	color: var(--muted);
}
.mini-hot {
	background: var(--red);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	padding: 1px 8px;
	border-radius: 999px;
	margin-inline-start: 3px;
}

.mini-list {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 4px 16px;
}
.mini-list--flat {
	background: transparent;
	box-shadow: none;
	padding: 4px 2px;
}

/* ============================================================
   الصدارة
   ============================================================ */
.hero-wrap { margin-top: 22px; }
.hero {
	display: grid;
	grid-template-columns: 2fr 1.6fr;
	gap: 16px;
}
.hero-main { min-height: 420px; }
.hero-side {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.hero-side .card-hero-title { font-size: 16.5px; padding: 14px; }

/* الصف الثاني للصدارة: 4 بطاقات بنفس أسلوب العنوان فوق الصورة */
.hero-sub {
	margin-top: 16px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.hero-sub .card-hero { aspect-ratio: 16 / 10.5; }
.hero-sub .card-hero-title { font-size: 16.5px; padding: 14px; }

/* ============================================================
   شبكات
   ============================================================ */
.cards-grid { display: grid; gap: 16px; }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid--photo .card-hero { aspect-ratio: 16 / 10; }

.section-grid {
	display: grid;
	grid-template-columns: 1fr 330px;
	gap: 24px;
	align-items: start;
}

/* ============================================================
   الأحزمة الملونة
   ============================================================ */
.band { padding-block: 30px; margin-block: 34px; }
.band--red { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); }
.band--dark { background: var(--ink); }
.band--blue { background: linear-gradient(135deg, #0083C7 0%, var(--blue-deep) 100%); }

/* بطاقات مسطحة على الحزام الأزرق (نمط اقتصاد سكاي) */
.flat-card { display: flex; flex-direction: column; }
.flat-thumb {
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: rgba(255, 255, 255, .15);
}
.flat-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.flat-card:hover .flat-img { transform: scale(1.04); }
.flat-label {
	color: rgba(255, 255, 255, .8);
	font-size: 12.5px;
	margin-top: 11px;
}
.flat-title {
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.55;
	margin-top: 4px;
}
.flat-title a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* بطاقات برامجنا (نمط سكاي) */
.programs-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.program-card {
	background: #1C1C1F;
	border-radius: var(--radius);
	padding: 10px;
	display: flex;
	flex-direction: column;
}
.program-head {
	display: flex;
	align-items: stretch;
	margin-bottom: 10px;
	min-height: 86px;
	border-radius: 7px;
	overflow: hidden;
}
/* بلاطة اسم البرنامج: بيضاء بكامل ارتفاع الرأس، بلمسة حمراء */
.program-logo {
	background: #fff;
	color: var(--ink);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.35;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 10px;
	width: 42%;
	flex-shrink: 0;
	text-align: center;
}
.pl-mark {
	width: 22px;
	height: 5px;
	border-radius: 2px;
	background: var(--red);
	display: block;
}
/* الجدولة: شريط التكرار الداكن فوق صف الأوقات الفاتح */
.program-sched {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.program-freq {
	background: #4B4B52;
	color: #fff;
	text-align: center;
	font-size: 13px;
	padding: 6px 8px;
}
.program-times {
	background: #DCDCE0;
	color: var(--ink);
	flex: 1;
	display: flex;
	align-items: stretch;
}
.pt {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.pt + .pt { border-inline-start: 1px solid rgba(0, 0, 0, .1); }
.pt-city { font-size: 11.5px; color: #55555C; }
.pt-time { font-size: 21px; font-weight: 700; direction: ltr; line-height: 1.15; }
.program-times--note {
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14.5px;
}
.program-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
	border-radius: 7px;
}
.program-img { width: 100%; height: 100%; object-fit: cover; }
.program-play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 50px;
	height: 50px;
	border-radius: 7px;
	background: var(--red);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: .93;
	transition: transform .15s;
}
.program-card:hover .program-play { transform: scale(1.08); }
.program-badge {
	position: absolute;
	bottom: 8px;
	left: 8px;
	background: var(--red);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	padding: 2px 9px;
	border-radius: 3px;
}
.program-title {
	color: #fff;
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.55;
	padding: 11px 3px 3px;
	flex: 1;
}
.program-title a:hover { color: var(--yellow); }

.band--dark .card-mini { border-bottom-color: rgba(255, 255, 255, .12); }
.band--dark .card-mini-title a { color: #fff; }
.band--dark .card-mini-title a:hover { color: var(--yellow); }
.band--dark .mini-list { background: rgba(255, 255, 255, .05); box-shadow: none; }
.band--dark .chip--plain { color: #ff8a8a; }
.band--dark .chip--plain::before { background: #ff8a8a; }


/* ============================================================
   أربعة أعمدة
   ============================================================ */
.four-cols {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	align-items: start;
}
.col-block .section-head h2 { font-size: 19px; }
.col-block .card-title { font-size: 15.5px; }

/* ============================================================
   صفحة الخبر
   ============================================================ */
.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 28px;
	align-items: start;
	margin-block: 26px;
}
.article-layout--page { grid-template-columns: minmax(0, 860px); justify-content: center; }

.article {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 28px clamp(16px, 4vw, 40px) 36px;
}
.chip--article { font-size: 14px; margin-bottom: 10px; }
.article-title {
	font-size: clamp(24px, 3.2vw, 32px);
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 14px;
}
.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	font-size: 13.5px;
	color: var(--muted);
	margin-bottom: 14px;
}
.article-meta time { display: inline-flex; align-items: center; gap: 5px; }
.article-source { font-weight: 500; color: var(--red); }
.article-views { display: inline-flex; align-items: center; gap: 5px; }

.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.share {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.share:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share--wa:hover { background: #25D366; border-color: #25D366; }
.share--tg:hover { background: #2AABEE; border-color: #2AABEE; }
.share--fb:hover { background: #1877F2; border-color: #1877F2; }
.share--copy.is-copied { background: var(--red); color: #fff; border-color: var(--red); }

.article-figure { margin-bottom: 22px; border-radius: var(--radius); overflow: hidden; }
/* الصورة البارزة بنسبتها الحقيقية مع سقف ارتفاع — الطولية لا تبتلع الشاشة بل تتوسط بحجم معقول */
.article-img {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 560px;
	margin-inline: auto;
	border-radius: var(--radius);
}
.article-figure figcaption {
	background: var(--ink);
	color: #fff;
	font-size: 13px;
	padding: 8px 14px;
}

/* متن المقال — قراءة عربية مريحة (درس سكاي نيوز) */
.article-body {
	/* حجم الخط قابل للتعديل بأزرار أ+/أ− (يُحفظ بمتصفح الزائر) */
	font-size: var(--article-fs, 19px);
	line-height: 1.85;
}
.fs-ctl { display: inline-flex; gap: 6px; margin-inline-start: auto; flex-wrap: wrap; }
.fs-btn {
	font: 600 13.5px/1 var(--font);
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 19px;
	height: 38px;
	padding: 0 14px;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.fs-btn:hover { border-color: var(--red); color: var(--red); }
.article-body > p { margin-bottom: 18px; }
.article-body > p:first-of-type { font-weight: 700; }
.article-body a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.article-body h2, .article-body h3 {
	color: var(--link);
	font-size: 23px;
	line-height: 1.5;
	margin-block: 26px 12px;
}
.article-body img { border-radius: var(--radius); margin-block: 10px; }
.article-body blockquote {
	border-inline-start: 4px solid var(--red);
	background: var(--bg);
	padding: 14px 18px;
	border-radius: 6px;
	margin-block: 18px;
}
.article-body ul, .article-body ol { padding-inline-start: 24px; margin-bottom: 18px; }
.article-body ul { list-style: disc; }
.article-body iframe { max-width: 100%; }

/* الفيديو: ملفات محلية + تضمينات */
.article-body figure.wp-block-video {
	margin-block: 22px;
	width: 100%;
}
.article-body video {
	display: block;
	width: 100%;
	max-height: 76vh;
	background: #000;
	border-radius: var(--radius);
	box-shadow: var(--shadow-hover);
}
.article-body figure.wp-block-video figcaption {
	font-size: 13px;
	color: var(--muted);
	margin-top: 8px;
	text-align: center;
}
.article-body .wp-block-embed { margin-block: 22px; }
.article-body .wp-block-embed iframe,
.article-body > p > iframe[src*="youtube"],
.article-body > p > iframe[src*="facebook"],
.article-body > p > iframe[src*="youtu.be"] {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: var(--radius);
	background: #000;
}

/* معارض الصور (ووردبريس + جت-باك): فسيفساء بصفوف موزونة — كل صف يملأ العرض بلا فراغات */
.article-body .gallery,
.article-body .tiled-gallery,
.article-body .wp-block-jetpack-tiled-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-block: 22px;
}
.article-body .gallery .gallery-item,
.article-body .tiled-gallery .tiled-gallery-item,
.article-body .wp-block-jetpack-tiled-gallery .tiled-gallery__item {
	margin: 0;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: var(--line);
	flex: 0 0 auto;
	/* قبل حساب JS: بلاطة مرنة معقولة */
	width: calc(33.33% - 6px);
	aspect-ratio: 4 / 3;
}
.article-body .gallery .gallery-icon,
.article-body .gallery .gallery-icon a { display: block; height: 100%; }

/* كومة زوج صور عمودية داخل صف الفسيفساء (للألبومات متجانسة النسب) */
.article-body .nas-stack {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 0 0 auto;
}
.article-body .nas-stack .gallery-item,
.article-body .nas-stack .tiled-gallery-item,
.article-body .nas-stack .tiled-gallery__item {
	width: 100%;
	aspect-ratio: auto;
	flex: 1 1 0;
	min-height: 0;
}
.article-body .gallery img,
.article-body .tiled-gallery img,
.article-body .wp-block-jetpack-tiled-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* القص من الأسفل لا الوسط: الوجوه أعلى الصورة فلا تُقطع الرؤوس */
	object-position: center 18%;
	border-radius: 8px;
	margin: 0;
	cursor: zoom-in;
	transition: transform .3s;
}
.article-body .gallery .gallery-item:hover img,
.article-body .tiled-gallery .tiled-gallery-item:hover img,
.article-body .wp-block-jetpack-tiled-gallery .tiled-gallery__item:hover img { transform: scale(1.04); }
.article-body .gallery figcaption {
	position: absolute;
	bottom: 0;
	inset-inline: 0;
	background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
	color: #fff;
	font-size: 12.5px;
	padding: 18px 12px 8px;
}
.article-body .tiled-gallery .gallery-row,
.article-body .tiled-gallery .gallery-group,
.article-body .wp-block-jetpack-tiled-gallery > div,
.article-body .wp-block-jetpack-tiled-gallery .tiled-gallery__gallery,
.article-body .wp-block-jetpack-tiled-gallery .tiled-gallery__row,
.article-body .wp-block-jetpack-tiled-gallery .tiled-gallery__col { display: contents; }
.article-body .wp-block-jetpack-tiled-gallery .tiled-gallery__item a { display: block; height: 100%; }

/* ---------- اللايت بوكس ---------- */
.nas-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(10, 10, 12, .94);
	display: flex;
	align-items: center;
	justify-content: center;
}
.nas-lightbox[hidden] { display: none; }
.nas-lightbox img {
	max-width: 92vw;
	max-height: 84vh;
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}
.nas-lightbox button {
	position: absolute;
	background: rgba(255, 255, 255, .1);
	border: 0;
	color: #fff;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 22px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s;
}
.nas-lightbox button:hover { background: var(--red); }
.nas-lb-close { top: 18px; right: 18px; }
.nas-lb-next { left: 18px; top: 50%; transform: translateY(-50%); }
.nas-lb-prev { right: 18px; top: 50%; transform: translateY(-50%); }
.nas-lb-count {
	position: absolute;
	top: 30px;
	left: 24px;
	color: #fff;
	font-size: 15px;
	direction: ltr;
}
@media (max-width: 560px) {
	.nas-lightbox button { width: 38px; height: 38px; font-size: 18px; }
}

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.article-tags a {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13px;
	padding: 4px 14px;
	transition: all .15s;
}
.article-tags a:hover { background: var(--red); border-color: var(--red); color: #fff; }

.related { margin-top: 34px; }

.article-side { position: sticky; top: 68px; }

/* عمود المقال: يستوعب الأخبار المُحمَّلة بالتمرير اللانهائي تحت الخبر الأول */
.article-col {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.next-article-divider {
	display: flex;
	align-items: center;
	gap: 14px;
}
.next-article-divider::before,
.next-article-divider::after {
	content: "";
	flex: 1;
	height: 2px;
	background: var(--line);
}
.next-article-divider span {
	color: var(--red);
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
}
.infinite-status {
	text-align: center;
	color: var(--muted);
	font-size: 14px;
	padding: 6px 0;
}

/* صفحة الفيديوهات: شارة تشغيل حمراء وسط صورة البطاقة */
.cards-grid--video .card-img-link::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 46px;
	height: 46px;
	border-radius: 7px;
	background: var(--red);
	opacity: .93;
	z-index: 1;
}
.cards-grid--video .card-img-link::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 0;
	height: 0;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-left: 14px solid #fff;
	transform: translateX(-5px); /* توسيط بصري للمثلث داخل المربع */
	z-index: 2;
}

/* صدارة صفحة الفيديوهات (أسلوب سكاي): فيديو كبير + اثنان جانبيان، عنوان فوق الصورة وشارة تشغيل وسطها */
.hero--videos { margin-bottom: 30px; }
.hero--videos .hero-main { min-height: 420px; }
.hero--videos .card-hero-link::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 56px;
	height: 56px;
	border-radius: 9px;
	background: var(--red);
	opacity: .93;
	z-index: 1;
}
.hero--videos .card-hero-link::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 0;
	height: 0;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-left: 17px solid #fff;
	transform: translateX(-6px);
	z-index: 1;
}
.hero--videos .hero-side .card-hero-link::before { width: 44px; height: 44px; border-radius: 7px; }
.hero--videos .hero-side .card-hero-link::after {
	border-top-width: 9px;
	border-bottom-width: 9px;
	border-left-width: 14px;
	transform: translateX(-5px);
}

/* ============================================================
   الأرشيف
   ============================================================ */
.archive-page { margin-block: 26px; }
.archive-head { margin-bottom: 20px; }
.archive-head h1 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 27px;
}
.archive-head .bar {
	width: 5px;
	height: 28px;
	background: var(--red);
	border-radius: 2px;
	display: inline-block;
}
.archive-desc { color: var(--muted); margin-top: 6px; }
.nothing-found { font-size: 17px; color: var(--muted); margin-block: 30px; }

/* روابط التصنيفات الفرعية (فواصل سكاي) */
.archive-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.archive-cats a {
	display: inline-block;
	padding: 7px 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	font-size: 13.5px;
	font-weight: 500;
	transition: border-color .15s, color .15s;
}
.archive-cats a:hover {
	border-color: var(--red);
	color: var(--red);
}

/* صدارة الأرشيف: أصغر قليلاً من الرئيسية */
.hero--archive { margin-bottom: 26px; }
.hero--archive .hero-main { min-height: 360px; }

.section-grid--archive { align-items: start; }
.archive-side { position: sticky; top: 68px; }

.pagination-wrap { margin-top: 28px; }
.pagination-wrap .nav-links {
	display: flex;
	justify-content: center;
	gap: 6px;
	flex-wrap: wrap;
}
.pagination-wrap .page-numbers {
	display: inline-block;
	min-width: 40px;
	text-align: center;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-size: 14.5px;
	font-weight: 500;
}
.pagination-wrap .page-numbers.current { background: var(--red); color: #fff; border-color: var(--red); }
.pagination-wrap .page-numbers:hover:not(.current) { border-color: var(--red); color: var(--red); }

.search-box--page { max-width: 480px; margin-top: 10px; }
.search-box--page button {
	background: var(--red);
	color: #fff;
	font-family: inherit;
	font-weight: 700;
	padding: 9px 22px;
}

/* ============================================================
   العودة للأعلى + الفوتر
   ============================================================ */
.back-top {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #EDF0F2;
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 500;
	padding: 13px;
	margin-top: 40px;
	transition: background .15s;
}
.back-top:hover { background: var(--line); }

.site-footer {
	background: var(--ink);
	color: #fff;
	padding-block: 36px 0;
}
.footer-top {
	display: grid;
	grid-template-columns: 1.2fr 2fr;
	gap: 40px;
	padding-bottom: 28px;
}
.footer-logo {
	max-height: 46px;
	width: auto;
	margin-bottom: 14px;
	filter: brightness(0) invert(1);
}
.footer-brand p { color: rgba(255, 255, 255, .65); font-size: 14px; max-width: 360px; }
.footer-cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.footer-col h3 {
	font-size: 15.5px;
	margin-bottom: 12px;
	color: #fff;
}
.footer-list li { margin-bottom: 8px; }
.footer-list a {
	color: rgba(255, 255, 255, .7);
	font-size: 14px;
	transition: color .15s;
}
.footer-list a:hover { color: var(--yellow); }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding-block: 16px;
	font-size: 13px;
	color: rgba(255, 255, 255, .55);
	text-align: center;
}

/* ============================================================
   شريط العاجل الثابت (أسفل الشاشة)
   ============================================================ */
.breaking-bar[hidden] { display: none; }
.breaking-bar {
	position: fixed;
	bottom: 0;
	inset-inline: 0;
	z-index: 90;
	display: flex;
	align-items: stretch;
	background: var(--yellow);
	min-height: 46px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, .15);
}
.breaking-label {
	display: flex;
	align-items: center;
	background: var(--ink);
	color: var(--yellow);
	font-size: 18px;
	font-weight: 700;
	padding-inline: 20px;
	flex-shrink: 0;
}
.breaking-track {
	flex: 1;
	overflow: hidden;
	display: flex;
	align-items: center;
}
.breaking-text {
	display: inline-block;
	white-space: nowrap;
	font-size: 16.5px;
	font-weight: 700;
	color: var(--ink);
	padding-inline-start: 100%;
	animation: ticker 28s linear infinite;
}
.breaking-text:hover { animation-play-state: paused; }
@keyframes ticker {
	0% { transform: translateX(0); }
	100% { transform: translateX(100%); }
}

/* ============================================================
   التجاوب
   ============================================================ */
@media (max-width: 1100px) {
	.cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.four-cols { grid-template-columns: repeat(2, 1fr); }
	.section-grid { grid-template-columns: 1fr; }
	.hero { grid-template-columns: 1.5fr 1fr; }
	.hero-side { grid-template-columns: 1fr; }
	.hero-sub { grid-template-columns: repeat(2, 1fr); }
	.article-layout { grid-template-columns: 1fr; }
	.article-side { position: static; }
	.archive-side { position: static; }
	.footer-top { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 820px) {
	.cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.programs-grid { grid-template-columns: repeat(2, 1fr); }
	.utility-tagline { display: none; }
	/* بالجوال: زر التلفزيون «المشطوب البرتقالي» — ممدود يملأ الصف، بخلفية دافئة وحافة برتقالية
	   (زر المباشر مخفي، شريط الإذاعة يغني عنه) */
	.btn-tv {
		flex: 1;
		min-width: 0;
		gap: 10px;
		padding: 6px 12px;
		border-radius: 10px;
		background: #FFF6EA;
		border: 1px solid #F3DFC2;
		border-inline-start: 4px solid #E8820C;
		color: #3A2A14;
	}
	.btn-tv:hover { background: #FFF1DE; color: #3A2A14; }
	.btn-tv .btn-logo { height: 28px; }
	.btn-tv-text { flex: 1; min-width: 0; text-align: start; }
	.btn-tv-label { font-size: 13.5px; line-height: 1.25; white-space: nowrap; }
	.btn-tv-tag {
		display: block;
		font-size: 11px;
		font-weight: 600;
		line-height: 1.4;
		color: #A07A45;
		text-align: start;
	}
	.btn-tv-go {
		display: inline-flex;
		align-items: center;
		gap: 5px;
		background: var(--ink);
		color: #fff;
		font-size: 11px;
		font-weight: 700;
		border-radius: 999px;
		padding: 4px 10px;
		flex: 0 0 auto;
	}
	.wx-chip { padding: 9px 11px; font-size: 13px; }
	.logo-inner { flex-direction: column; gap: 10px; }
	.search-box { width: 100%; }

	/* قائمة جوال */
	.nav-burger { display: flex; }
	.nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		inset-inline: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
	}
	.nav-menu.is-open { display: block; }
	.nav-list { flex-direction: column; gap: 0; padding: 8px 0; }
	.nav-list a {
		display: block;
		padding: 12px 20px;
		border-bottom: 0;
		border-inline-start: 3px solid transparent;
	}
	.nav-list a.is-active { border-inline-start-color: var(--red); }
}

@media (max-width: 560px) {
	/* صف الترويسة الضيق: الشعار يغني عن النقطة، والحرارة تغني عن اسم المدينة */
	.live-dot { display: none; }
	.wx-city { display: none; }
	.hero { grid-template-columns: 1fr; }
	.hero-main, .hero--archive .hero-main { min-height: 300px; }
	/* بطاقة واحدة بالصف على الهاتف — عمودان يجعلانها قزمة والعناوين تغطي الشارات */
	.hero-sub { grid-template-columns: 1fr; }
	.hero-sub .card-hero { aspect-ratio: 16 / 10; }
	.cards-grid--3, .cards-grid--4, .four-cols, .programs-grid { grid-template-columns: 1fr; }
	.section-head h2 { font-size: 20px; }
	.breaking-label { font-size: 15px; padding-inline: 14px; }
	.breaking-text { font-size: 14.5px; }
	.article { padding-top: 20px; }
	/* المتغير قبل البديل كي تعمل أزرار حجم الخط على الجوال أيضاً */
	.article-body { font-size: var(--article-fs, 17.5px); }
	/* أزرار حجم الخط صفاً كاملاً متساوي الأزرار */
	.fs-ctl { width: 100%; margin-inline-start: 0; }
	.fs-btn { flex: 1; padding: 0 6px; font-size: 13px; }
}

/* ---------- صفحة اتصل بنا ---------- */
.contact-lead {
	max-width: 760px;
	color: var(--muted);
	font-size: 16.5px;
	margin-bottom: 26px;
}
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	gap: 26px;
	align-items: start;
	margin-bottom: 44px;
}
.contact-form-card,
.contact-aside {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 26px;
	box-shadow: var(--shadow);
}
.contact-card-title {
	font-size: 19px;
	font-weight: 800;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

/* نموذج CF7 */
.contact-form-card .wpcf7-form-control-wrap { display: block; margin-bottom: 14px; }
.cf-row { margin-bottom: 14px; }
/* CF7 تغلّف الحقلين بوسم p واحد — الشبكة تُطبق عليه هو */
.cf-row > p {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 0;
}
.cf-row .wpcf7-form-control-wrap { margin-bottom: 0; }
/* CF7 تضيف br بين الحقول وتترك غلاف honeypot مرئياً بارتفاع ضئيل — نخفيهما */
.contact-form-card .wpcf7 form br { display: none; }
.contact-form-card .wpcf7-form-control-wrap[class*="honeypot"] { display: none; }
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card textarea {
	direction: rtl;
	text-align: right;
	width: 100%;
	font: inherit;
	font-size: 15.5px;
	color: var(--ink);
	background: #FAFBFC;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	padding: 13px 16px;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
	outline: 0;
	background: #fff;
	border-color: var(--blue-deep);
	box-shadow: 0 0 0 3px rgba(0, 114, 172, .13);
}
.contact-form-card textarea { min-height: 170px; resize: vertical; }
.contact-form-card input[type="submit"] {
	font: inherit;
	font-weight: 800;
	font-size: 16px;
	color: #fff;
	background: var(--red);
	border: 0;
	border-radius: 12px;
	padding: 13px 38px;
	cursor: pointer;
	transition: background .15s;
}
.contact-form-card input[type="submit"]:hover { background: var(--red-dark); }
.contact-form-card .wpcf7-spinner { margin-inline-start: 10px; }

/* حالات التحقق ورسائل النتيجة */
.contact-form-card .wpcf7-not-valid { border-color: #D92D20 !important; background: #FFFBFA; }
.contact-form-card .wpcf7-not-valid-tip {
	display: block;
	color: #D92D20;
	font-size: 13px;
	margin-top: 5px;
}
.contact-form-card .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 13px 16px;
	border-radius: 12px;
	border: 1.5px solid var(--line);
	font-size: 14.5px;
	font-weight: 600;
}
.contact-form-card .wpcf7 form.sent .wpcf7-response-output {
	background: #ECFDF3;
	border-color: #6CE9A6;
	color: #054F31;
}
.contact-form-card .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-card .wpcf7 form.unaccepted .wpcf7-response-output {
	background: #FFFAEB;
	border-color: #FEC84B;
	color: #7A2E0E;
}
.contact-form-card .wpcf7 form.failed .wpcf7-response-output,
.contact-form-card .wpcf7 form.aborted .wpcf7-response-output {
	background: #FEF3F2;
	border-color: #FDA29B;
	color: #7A271A;
}

/* عمود طرق التواصل */
.contact-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 10px;
	border-radius: 12px;
	color: var(--ink);
	transition: background .15s;
}
.contact-item:hover { background: var(--bg); }
.contact-ico {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	background: #FDECEC;
	color: var(--red);
	border-radius: 12px;
}
.contact-item-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.5;
}
.contact-item-body b { font-size: 15px; }
.contact-item-body span {
	color: var(--muted);
	font-size: 13.5px;
	overflow-wrap: anywhere;
}
.contact-note {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 18px;
	padding: 14px 16px;
	background: #F3F8FB;
	border-inline-start: 3px solid var(--blue-deep);
	border-radius: 10px;
}
.contact-note b { font-size: 14.5px; }
.contact-note span { color: var(--muted); font-size: 13.5px; }

@media (max-width: 900px) {
	.contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.contact-form-card,
	.contact-aside { padding: 18px; }
	.cf-row > p { grid-template-columns: 1fr; }
}
