/**
 * مركز أضواء للبحوث والدراسات — الهوية البصرية (كحلي رسمي + ذهبي).
 * يُطبَّق على كل الموقع (الرأس/التذييل/البطاقات) + الصفحة الرئيسية (.adh-*).
 */

:root {
	--adh-navy: #14263d;
	--adh-navy-900: #0c1828;
	--adh-navy-700: #22385a;
	--adh-gold: #c8962e;
	--adh-gold-600: #a97b1f;
	--adh-gold-50: #faf4e6;
	--adh-ink: #1b2430;
	--adh-muted: #5f6b7a;
	--adh-line: #e4e8ee;
	--adh-bg: #ffffff;
	--adh-tint: #f5f7fa;
	--adh-radius: 14px;
	--adh-shadow: 0 1px 2px rgba(16, 32, 56, .04), 0 8px 24px rgba(16, 32, 56, .06);
	--adh-font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
	--medad-primary: var(--adh-navy);
	--medad-accent: var(--adh-gold);
	--medad-dark: var(--adh-navy-900);
}

/* ---------- الخط العام ---------- */
body,
body.bs-theme,
.bs-theme h1, .bs-theme h2, .bs-theme h3, .bs-theme h4, .bs-theme h5, .bs-theme h6,
.bs-theme .main-menu > li > a,
.bs-theme .section-heading .h-text,
.bs-theme .post-meta,
.bs-theme input, .bs-theme button, .bs-theme select, .bs-theme textarea {
	font-family: var(--adh-font) !important;
}
body.bs-theme { color: var(--adh-ink); background: var(--adh-bg); }
.bs-theme a:hover { color: var(--adh-gold-600); }

/* ---------- الشريط العلوي ---------- */
.adh-header .adh-wrap { max-width: 1240px; margin-inline: auto; padding-inline: 20px; box-sizing: border-box; }
.adh-topbar { background: var(--adh-navy-900); color: #c9d3e0; font-size: 13.5px; font-family: var(--adh-font); }
.adh-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.adh-topbar__links { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; }
.adh-topbar__links a { color: #c9d3e0 !important; }
.adh-topbar__links a:hover { color: var(--adh-gold) !important; }
.adh-topbar .medad-social { display: flex; gap: 10px; margin: 0; padding-inline-start: 16px; border-inline-start: 1px solid rgba(255, 255, 255, .15); }
.adh-topbar .medad-social svg { width: 15px; height: 15px; }

/* ---------- صف الهوية ---------- */
.bs-theme .site-header.adh-header { background: #fff !important; border-bottom: 1px solid var(--adh-line); }
.bs-theme .site-header .adh-brandrow { padding: 0 !important; }
.adh-brandrow__inner { display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.adh-brand { margin: 0 !important; line-height: 1; flex: 0 0 auto; }
.adh-brand a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.adh-brand img { max-height: 64px; width: auto; display: block; }
.adh-brand__mark { color: var(--adh-gold); flex: 0 0 auto; }
.adh-brand__text { display: flex; flex-direction: column; gap: 4px; font-family: var(--adh-font); }
.adh-brand__text b { font-size: 28px; font-weight: 700; color: var(--adh-navy); line-height: 1.1; letter-spacing: 0; }
.adh-brand__text small { font-size: 14px; font-weight: 500; color: var(--adh-gold-600); line-height: 1.2; }
.adh-brand--light .adh-brand__text b { color: #fff; }
.adh-brand--light .adh-brand__text small { color: var(--adh-gold); }

.adh-search { position: relative; flex: 1 1 auto; max-width: 440px; margin-inline-start: auto; }
.adh-search input[type="search"] { width: 100%; height: 46px; margin: 0; padding: 0 18px 0 48px; border: 1.5px solid var(--adh-line) !important; border-radius: 12px !important; background: var(--adh-tint) !important; font: 15px var(--adh-font) !important; color: var(--adh-ink) !important; box-shadow: none !important; transition: border-color .2s, background .2s; }
.adh-search input[type="search"]:focus { outline: none; border-color: var(--adh-gold) !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(200, 150, 46, .18) !important; }
.adh-search button { position: absolute; inset-block: 4px; inset-inline-end: 4px; width: 40px; display: flex; align-items: center; justify-content: center; padding: 0 !important; border: 0 !important; border-radius: 9px !important; background: var(--adh-navy) !important; color: #fff !important; cursor: pointer; line-height: 1 !important; height: auto !important; }
.adh-search button:hover { background: var(--adh-gold-600) !important; }
.adh-brandrow__cta { flex: 0 0 auto; }

/* ---------- القائمة الرئيسية ---------- */
.bs-theme .adh-header .main-menu-wrapper,
.bs-theme .adh-header .main-menu-wrapper .main-menu-container { background: #fff !important; border-top: 1px solid var(--adh-line) !important; border-bottom: 0 !important; }
.bs-theme .adh-header .main-menu > li > a { color: var(--adh-navy) !important; font-weight: 600 !important; font-size: 15.5px !important; text-transform: none !important; line-height: 54px !important; padding: 0 14px !important; }
.bs-theme .adh-header .main-menu > li > a::before { background: var(--adh-gold) !important; height: 3px !important; }
.bs-theme .adh-header .main-menu > li.current-menu-item > a,
.bs-theme .adh-header .main-menu > li.current-menu-ancestor > a,
.bs-theme .adh-header .main-menu > li:hover > a { color: var(--adh-gold-600) !important; }
.bs-theme .adh-header .main-menu .sub-menu { border-top: 3px solid var(--adh-gold) !important; box-shadow: var(--adh-shadow); border-radius: 0 0 12px 12px; padding: 6px 0 !important; }
.bs-theme .adh-header .main-menu .sub-menu > li > a { font-size: 14.5px !important; padding: 9px 18px !important; color: var(--adh-ink) !important; }
.bs-theme .adh-header .main-menu .sub-menu > li > a:hover { color: var(--adh-gold-600) !important; background: var(--adh-tint) !important; }
.bs-theme .main-menu-wrapper.menu-actions-btn-width-1 .search-container .search-handler { color: var(--adh-navy) !important; }

/* ---------- رأس الجوال (Publisher) ---------- */
.bs-theme .rh-header { background: var(--adh-navy) !important; border-bottom: 3px solid var(--adh-gold); }
.bs-theme .rh-header .logo-container a { font-family: var(--adh-font) !important; font-weight: 700 !important; color: #fff !important; }
.bs-theme .rh-cover { background: var(--adh-navy-900) !important; }

@media (max-width: 1100px) {
	.adh-search { max-width: 320px; }
}
@media (max-width: 900px) {
	.adh-brandrow__cta { display: none; }
}

/* ---------- عناوين الأقسام في القالب (التصنيفات/المفردة) ---------- */
.bs-theme .section-heading .h-text,
.bs-theme .section-heading .main-link .h-text { color: var(--adh-navy) !important; }
.bs-theme .section-heading::after,
.bs-theme .section-heading .h-text::before { background: var(--adh-gold) !important; border-color: var(--adh-gold) !important; }
.bs-theme .term-badges .term-badge a { background: var(--adh-navy) !important; color: #fff !important; }
.bs-theme .pagination .page-numbers.current,
.bs-theme .bs-pagination .btn-bs-pagination:hover { background: var(--adh-navy) !important; border-color: var(--adh-navy) !important; color: #fff !important; }
.bs-theme .single-post-title { color: var(--adh-navy); line-height: 1.5; }
.bs-theme .entry-content { font-size: 17px; line-height: 2; }

/* ---------- التذييل ---------- */
.bs-theme .site-footer.adh-footer { background: var(--adh-navy-900) !important; color: #aebbcc; font-family: var(--adh-font); border: 0 !important; margin-top: 0 !important; }
.adh-footer .adh-wrap { max-width: 1240px; margin-inline: auto; padding-inline: 20px; box-sizing: border-box; }
.adh-footer h2 { font-family: var(--adh-font) !important; }
.adh-footer a { color: #dfe6ef !important; text-decoration: none; }
.adh-footer a:hover { color: var(--adh-gold) !important; }

.adh-footer__cta { background: linear-gradient(135deg, var(--adh-navy), var(--adh-navy-700)); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.adh-footer__cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px; }
.adh-footer__cta h2 { color: #fff !important; font-size: 22px !important; margin: 0 0 4px !important; line-height: 1.5 !important; }
.adh-footer__cta p { margin: 0; color: #c9d3e0; font-size: 15px; }
.adh-footer__cta .adh-btn { flex: 0 0 auto; color: var(--adh-navy-900) !important; }
.adh-footer__cta .adh-btn:hover { color: #fff !important; }

.adh-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 40px; padding-block: 52px 44px; }
.adh-footer__grid--3 { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); }
.adh-footer__about p { margin: 18px 0 20px; font-size: 14.5px; line-height: 2; color: #aebbcc; max-width: 42ch; }
.adh-footer__about .medad-social { display: flex; gap: 10px; margin: 0; }
.adh-footer__about .medad-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.adh-footer__about .medad-social a:hover { background: var(--adh-gold); color: var(--adh-navy-900) !important; }
.adh-footer__col h2 { color: #fff !important; font-size: 16px !important; font-weight: 700 !important; margin: 4px 0 18px !important; padding-bottom: 12px; position: relative; }
.adh-footer__col h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 32px; height: 2px; background: var(--adh-gold); }
.adh-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.adh-footer__col li a { font-size: 14.5px; color: #c9d3e0 !important; transition: color .2s, padding .2s; }
.adh-footer__col li a:hover { color: var(--adh-gold) !important; padding-inline-start: 4px; }
.adh-footer__nl p { margin: 0 0 14px; font-size: 14px; color: #aebbcc; }
.adh-footer__nl form { display: flex; flex-direction: column; gap: 10px; }
.adh-footer__nl input[type="email"] { height: 46px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .14) !important; border-radius: 10px !important; background: rgba(255, 255, 255, .06) !important; color: #fff !important; font: 15px var(--adh-font) !important; text-align: right; box-shadow: none !important; }
.adh-footer__nl input[type="email"]::placeholder { color: #8796aa; }
.adh-footer__nl input[type="email"]:focus { outline: none; border-color: var(--adh-gold) !important; }
.adh-footer__nl .adh-btn { width: 100%; min-height: 46px; color: var(--adh-navy-900) !important; border: 0; }

.bs-theme .adh-footer .copy-footer.adh-footer__bottom { background: #08111d !important; border-top: 1px solid rgba(255, 255, 255, .06) !important; padding: 0 !important; }
.adh-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 18px; font-size: 13.5px; color: #8796aa; }
.adh-footer__bottom-inner p { margin: 0; }
.adh-footer__menu ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.adh-footer__menu a { color: #aebbcc !important; font-size: 13.5px; }
.bs-theme .back-top { background: var(--adh-gold) !important; color: var(--adh-navy-900) !important; border-radius: 10px !important; }

@media (max-width: 960px) {
	.adh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
	.adh-footer__about, .adh-footer__nl { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.adh-footer .adh-wrap { padding-inline: 16px; }
	.adh-footer__cta-inner { flex-direction: column; align-items: flex-start; }
	.adh-footer__cta .adh-btn { width: 100%; }
	.adh-footer__grid { padding-block: 36px 28px; }
	.adh-footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* =========================================================
   الصفحة الرئيسية
   ========================================================= */
.adh-home { font-family: var(--adh-font); color: var(--adh-ink); }
.adh-home *, .adh-home *::before, .adh-home *::after { box-sizing: border-box; }
.adh-home h1, .adh-home h2, .adh-home h3 { margin: 0; color: var(--adh-navy); line-height: 1.5; font-weight: 700; }
.adh-home p { margin: 0; }
.adh-home a { text-decoration: none; }
.adh-home img { display: block; width: 100%; height: 100%; object-fit: cover; }

.adh-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.adh-section { padding: 64px 0; }
.adh-section--tint { background: var(--adh-tint); }

/* رأس القسم */
.adh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.adh-head__title { font-size: 26px; position: relative; padding-inline-start: 16px; }
.adh-head__title::before { content: ""; position: absolute; inset-inline-start: 0; top: .35em; bottom: .35em; width: 4px; border-radius: 4px; background: var(--adh-gold); }
.adh-head__sub { color: var(--adh-muted); font-size: 15px; margin-top: 4px !important; padding-inline-start: 16px; }
.adh-head__more { color: var(--adh-gold-600) !important; font-weight: 600; font-size: 14px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.adh-head__more:hover { color: var(--adh-navy) !important; }

/* أزرار */
.adh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.adh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; font-family: inherit; }
.adh-btn:hover { transform: translateY(-1px); }
.adh-btn--gold { background: var(--adh-gold); color: var(--adh-navy-900) !important; }
.adh-btn--gold:hover { background: var(--adh-gold-600); color: #fff !important; }
.adh-btn--ghost { background: #fff; border-color: var(--adh-line); color: var(--adh-navy) !important; }
.adh-btn--ghost:hover { border-color: var(--adh-navy); }
.adh-btn--line { border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.adh-btn--line:hover { border-color: var(--adh-gold); color: var(--adh-gold) !important; }

.adh-kicker { display: inline-block; font-size: 13px; font-weight: 600; color: var(--adh-gold-600); background: var(--adh-gold-50); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.adh-kicker--light { background: rgba(200, 150, 46, .16); color: var(--adh-gold); }

.adh-chip { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--adh-navy) !important; background: #eef2f7; padding: 3px 10px; border-radius: 6px; margin-bottom: 10px; }
.adh-chip:hover { background: var(--adh-navy); color: #fff !important; }

.adh-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--adh-muted); margin-top: auto; padding-top: 12px; }
.adh-meta__author { color: var(--adh-navy-700); font-weight: 600; }
.adh-meta__author + time::before { content: "•"; margin-inline-end: 14px; color: #c3cad4; }

/* صورة بديلة زخرفية */
.adh-ph { position: relative; display: flex; align-items: flex-end; width: 100%; height: 100%; min-height: inherit; overflow: hidden; background:
	repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px),
	radial-gradient(circle at 18% 85%, rgba(200, 150, 46, .38), transparent 42%),
	linear-gradient(135deg, var(--adh-navy-700), var(--adh-navy-900)); }
.adh-ph::before { content: ""; position: absolute; top: -30%; inset-inline-end: -12%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(200, 150, 46, .35); box-shadow: 0 0 0 18px rgba(200, 150, 46, .06), 0 0 0 42px rgba(200, 150, 46, .04); }
.adh-ph__mark { position: relative; margin: 14px 16px; padding-inline-start: 10px; border-inline-start: 3px solid var(--adh-gold); color: #e8edf4; font-size: 13px; font-weight: 600; line-height: 1.4; }
.adh-mini .adh-ph::before, .adh-mini .adh-ph__mark { display: none; }

/* ---------- الواجهة ---------- */
.adh-hero { padding: 36px 0 56px; background: linear-gradient(180deg, var(--adh-tint), #fff); }
.adh-hero__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.adh-hero__main { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--adh-line); border-radius: 20px; overflow: hidden; box-shadow: var(--adh-shadow); }
.adh-hero__img { display: block; min-height: 380px; background: var(--adh-navy); }
.adh-hero__body { padding: 36px 34px; display: flex; flex-direction: column; min-width: 0; }
.adh-hero__main, .adh-hero__side, .adh-split > * { min-width: 0; }
.adh-hero__title { font-size: 28px; line-height: 1.55; }
.adh-hero__title a { color: inherit; }
.adh-hero__title a:hover { color: var(--adh-gold-600); }
.adh-hero__excerpt { margin-top: 14px !important; color: var(--adh-muted); font-size: 16px; line-height: 1.95; }
.adh-hero__body .adh-meta { margin-top: 18px; padding-top: 0; }

.adh-hero__side { background: #fff; border: 1px solid var(--adh-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--adh-shadow); }
.adh-side-title { font-size: 19px; padding-bottom: 12px; border-bottom: 2px solid var(--adh-gold); margin-bottom: 6px !important; }
.adh-hero__side .adh-head__more { margin-top: auto; padding-top: 12px; }

.adh-mini { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--adh-line); }
.adh-mini:last-of-type { border-bottom: 0; }
.adh-mini__img { display: block; width: 76px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--adh-navy); }
.adh-mini__title { font-size: 15px !important; line-height: 1.6 !important; font-weight: 600 !important; }
.adh-mini__title a { color: var(--adh-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adh-mini__title a:hover { color: var(--adh-gold-600); }
.adh-mini .adh-meta { padding-top: 4px; font-size: 12px; }

/* ---------- الإحصاءات ---------- */
.adh-stats { background: var(--adh-navy); color: #fff; }
.adh-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.adh-stat { padding: 28px 16px; text-align: center; border-inline-start: 1px solid rgba(255, 255, 255, .08); }
.adh-stat:first-child { border-inline-start: 0; }
.adh-stat b { display: block; font-size: 34px; font-weight: 700; color: var(--adh-gold); line-height: 1.2; font-variant-numeric: tabular-nums; }
.adh-stat span { display: block; margin-top: 6px; color: #c9d3e0; font-size: 15px; }

/* ---------- الشبكات والبطاقات ---------- */
.adh-grid { display: grid; gap: 24px; }
.adh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.adh-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.adh-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--adh-line); border-radius: var(--adh-radius); overflow: hidden; transition: box-shadow .25s, transform .25s; height: 100%; }
.adh-card:hover { box-shadow: var(--adh-shadow); transform: translateY(-3px); }
.adh-card__img { display: block; aspect-ratio: 16 / 10; background: var(--adh-navy); overflow: hidden; }
.adh-card__img img { transition: transform .5s; }
.adh-card:hover .adh-card__img img { transform: scale(1.04); }
.adh-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.adh-card__title { font-size: 17px !important; line-height: 1.65 !important; }
.adh-card__title a { color: var(--adh-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.adh-card__title a:hover { color: var(--adh-gold-600); }
.adh-card__excerpt { color: var(--adh-muted); font-size: 14.5px; line-height: 1.9; margin-top: 8px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* بطاقة أفقية */
.adh-card--row { flex-direction: row; }
.adh-card--row .adh-card__img { flex: 0 0 38%; aspect-ratio: auto; min-height: 170px; }
.adh-stack { display: grid; gap: 18px; }

/* ---------- التبويبات ---------- */
.adh-tabs__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: thin; }
.adh-tabs__list button { flex: 0 0 auto; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--adh-navy); background: #fff; border: 1.5px solid var(--adh-line); border-radius: 999px; padding: 8px 20px; cursor: pointer; transition: all .2s; }
.adh-tabs__list button:hover { border-color: var(--adh-navy); }
.adh-tabs__list button[aria-selected="true"] { background: var(--adh-navy); border-color: var(--adh-navy); color: #fff; }
.adh-tabs__list button:focus-visible { outline: 3px solid var(--adh-gold); outline-offset: 2px; }
.adh-tabs__more { margin-top: 22px; }

/* ---------- الاستطلاعات ---------- */
.adh-pollcard { background: #fff; border: 1px solid var(--adh-line); border-radius: var(--adh-radius); padding: 22px; box-shadow: var(--adh-shadow); }
.adh-pollcard .medad-poll { border: 0; padding: 0; margin: 0; background: none; box-shadow: none; }
.adh-pollcard .medad-poll__q { font-size: 18px; color: var(--adh-navy); margin-bottom: 16px; }
.adh-pollcard .medad-poll__bar { background: #edf0f4; border-radius: 99px; height: 8px; overflow: hidden; }
.adh-pollcard .medad-poll__bar span { background: linear-gradient(90deg, var(--adh-gold), var(--adh-gold-600)); border-radius: 99px; display: block; height: 100%; }
.adh-pollcard .medad-poll__submit { background: var(--adh-navy); color: #fff; width: 100%; border-radius: 10px; min-height: 44px; }

/* ---------- الشريط الداكن ---------- */
.adh-band { background:
	radial-gradient(800px 300px at 90% 0%, rgba(200, 150, 46, .18), transparent 60%),
	linear-gradient(135deg, var(--adh-navy), var(--adh-navy-900)); color: #fff; padding: 64px 0; }
.adh-band__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.adh-band h2 { color: #fff !important; font-size: 30px; }
.adh-band__text p { color: #c9d3e0; font-size: 16px; line-height: 2; margin-top: 12px !important; max-width: 60ch; }
.adh-band__features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.adh-band__features li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-inline-start: 3px solid var(--adh-gold); }
.adh-band__features b { font-size: 17px; color: #fff; }
.adh-band__features span { color: #aebbcc; font-size: 14px; }

/* ---------- المقالات + الأخبار ---------- */
.adh-split { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 36px; }
.adh-timeline { position: relative; display: grid; gap: 4px; }
.adh-timeline__item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--adh-line); }
.adh-timeline__item time { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--adh-gold-50); border-radius: 12px; padding: 8px 4px; color: var(--adh-gold-600); font-size: 11.5px; line-height: 1.4; }
.adh-timeline__item time b { font-size: 24px; color: var(--adh-navy); line-height: 1.1; }
.adh-timeline__item h3 { font-size: 15.5px !important; line-height: 1.7 !important; font-weight: 600 !important; }
.adh-timeline__item h3 a { color: var(--adh-ink); }
.adh-timeline__item h3 a:hover { color: var(--adh-gold-600); }

/* ---------- المكتبة ---------- */
.adh-book { display: flex; flex-direction: column; gap: 10px; }
.adh-book__cover { position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: 6px 12px 12px 6px; overflow: hidden; background: var(--adh-navy); box-shadow: -6px 8px 22px rgba(12, 24, 40, .22); transition: transform .3s; }
.adh-book__cover::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 10px; background: linear-gradient(90deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .18)); }
.adh-book:hover .adh-book__cover { transform: translateY(-4px) rotate(-1deg); }
.adh-book__auto { display: flex; align-items: flex-end; height: 100%; padding: 22px 18px; color: #fff; font-weight: 700; font-size: 16px; line-height: 1.6;
	background: radial-gradient(circle at 70% 25%, rgba(200, 150, 46, .5), transparent 40%), linear-gradient(160deg, var(--adh-navy-700), var(--adh-navy-900));
	border-top: 6px solid var(--adh-gold); }
.adh-book__title { font-size: 15px !important; line-height: 1.6 !important; }
.adh-book__title a { color: var(--adh-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adh-book__author { color: var(--adh-muted); font-size: 13px; }

/* ---------- النشرة ---------- */
.adh-newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 36px 40px; border-radius: 20px; background: var(--adh-gold-50); border: 1px solid #efe2c2; }
.adh-newsletter h2 { font-size: 24px; }
.adh-newsletter p { color: var(--adh-muted); margin-top: 6px !important; }
.adh-newsletter__form { display: flex; gap: 10px; }
.adh-newsletter__form input[type="email"] { flex: 1; min-width: 0; height: 50px; border: 1.5px solid #e3d6b6; border-radius: 10px; padding: 0 16px; font-size: 15px; background: #fff; text-align: right; }
.adh-newsletter__form input[type="email"]:focus { outline: none; border-color: var(--adh-gold); box-shadow: 0 0 0 3px rgba(200, 150, 46, .2); }
.adh-newsletter__form .adh-btn { min-height: 50px; }
.adh-newsletter__msg { grid-column: 1 / -1; font-weight: 600; }
.adh-newsletter__msg--ok { color: #1f7a4a; }
.adh-newsletter__msg--bad, .adh-newsletter__msg--err { color: #b3261e; }
.adh-hp { position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap; opacity: 0; pointer-events: none; }

/* ---------- صفحة الكتاب المفردة ---------- */
.medad-bookpage { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 28px; padding: 24px; background: var(--adh-tint); border-radius: var(--adh-radius); }
.medad-bookpage__cover { position: relative; border-radius: 6px 12px 12px 6px; overflow: hidden; box-shadow: -6px 8px 22px rgba(12, 24, 40, .22); aspect-ratio: 3 / 4.2; background: var(--adh-navy); }
.medad-bookpage__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.medad-bookpage__cover .medad-book__auto { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 22px 18px; color: #fff; font-size: 17px; line-height: 1.6; background: radial-gradient(circle at 70% 25%, rgba(200, 150, 46, .5), transparent 40%), linear-gradient(160deg, var(--adh-navy-700), var(--adh-navy-900)); border-top: 6px solid var(--adh-gold); }
.medad-bookpage__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 20px; border: 1px solid var(--adh-line); border-radius: 12px; overflow: hidden; background: #fff; }
.medad-bookpage__meta div { padding: 12px 16px; border-bottom: 1px solid var(--adh-line); }
.medad-bookpage__meta dt { font-size: 13px; color: var(--adh-muted); font-weight: 500; }
.medad-bookpage__meta dd { margin: 2px 0 0; font-weight: 700; color: var(--adh-navy); }
.medad-bookpage__dl { font-size: 16px; padding: 12px 28px; }
.medad-book__pub { color: var(--adh-muted); font-size: 13px; margin: 2px 0 6px; }

/* =========================================================
   صفحات الأقسام + صفحة المقال
   ========================================================= */
.adh-wrap--narrow { max-width: 900px; }

/* مسار التنقّل */
.adh-crumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; color: var(--adh-muted); }
.adh-crumbs li { display: inline-flex; align-items: center; }
.adh-crumbs li + li::before { content: "‹"; margin: 0 8px; color: #b7c0cc; }
.adh-crumbs a { color: var(--adh-muted) !important; }
.adh-crumbs a:hover { color: var(--adh-gold-600) !important; }

/* رأس القسم */
.adh-archive__head { padding: 40px 0 32px; background:
	radial-gradient(700px 240px at 100% 0%, rgba(200, 150, 46, .12), transparent 60%),
	linear-gradient(180deg, var(--adh-tint), #fff); border-bottom: 1px solid var(--adh-line); }
.adh-archive__title { font-size: 36px !important; line-height: 1.4 !important; }
.adh-archive__desc { color: var(--adh-muted); font-size: 16px; line-height: 1.9; max-width: 70ch; margin-top: 8px; }
.adh-archive__desc p { margin: 0; }
.adh-archive__count { margin-top: 10px !important; font-size: 14px; color: var(--adh-gold-600); font-weight: 600; }

/* شريط الأقسام الفرعية + السنة */
.adh-archive__bar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--adh-line); }
.admin-bar .adh-archive__bar { top: 32px; }
.adh-archive__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.adh-subnav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.adh-subnav::-webkit-scrollbar { display: none; }
.adh-subnav a { flex: 0 0 auto; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--adh-navy) !important; border: 1.5px solid var(--adh-line); white-space: nowrap; }
.adh-subnav a:hover { border-color: var(--adh-navy); }
.adh-subnav a[aria-current="page"] { background: var(--adh-navy); border-color: var(--adh-navy); color: #fff !important; }
.adh-yearfilter { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; font-size: 14px; color: var(--adh-muted); }
.adh-yearfilter select { height: 38px; padding: 0 12px 0 32px; border: 1.5px solid var(--adh-line); border-radius: 10px; background-color: #fff; font: inherit; color: var(--adh-navy); font-weight: 600; cursor: pointer; }
.adh-yearfilter select:focus { outline: none; border-color: var(--adh-gold); box-shadow: 0 0 0 3px rgba(200, 150, 46, .2); }

.adh-archive__body { padding-top: 40px; }
.adh-archive__top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; margin-bottom: 24px; }
.adh-archive__side { display: grid; gap: 24px; }

/* بطاقة مميّزة (أفقية كبيرة) */
.adh-card--feature { flex-direction: row; }
.adh-card--feature .adh-card__img { flex: 0 0 52%; aspect-ratio: auto; min-height: 340px; }
.adh-card--feature .adh-card__body { padding: 28px; }
.adh-card--feature .adh-card__title { font-size: 24px !important; line-height: 1.55 !important; }
.adh-card--feature .adh-card__title a { -webkit-line-clamp: 4; }
.adh-card--compact .adh-card__img { aspect-ratio: 16 / 8; }
.adh-card--compact .adh-card__title { font-size: 16px !important; }
.adh-card--compact .adh-card__title a { -webkit-line-clamp: 2; }

/* ترقيم الصفحات */
.adh-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 44px; }
.adh-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--adh-line); color: var(--adh-navy) !important; font-weight: 600; background: #fff; }
.adh-pager a.page-numbers:hover { border-color: var(--adh-navy); }
.adh-pager .page-numbers.current { background: var(--adh-navy); border-color: var(--adh-navy); color: #fff !important; }
.adh-pager .dots { border: 0; background: none; }
.adh-empty { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--adh-line); border-radius: var(--adh-radius); }
.adh-empty h2 { font-size: 20px; margin-bottom: 16px !important; }

/* ---------- صفحة المقال ---------- */
.adh-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 9999; pointer-events: none; }
.adh-progress span { display: block; height: 100%; background: var(--adh-gold); transform: scaleX(0); transform-origin: right; }
.admin-bar .adh-progress { top: 32px; }

.adh-article__head { padding: 40px 0 32px; text-align: start; background: linear-gradient(180deg, var(--adh-tint), #fff); }
.adh-chip--gold { background: var(--adh-gold-50); color: var(--adh-gold-600) !important; }
.adh-chip--gold:hover { background: var(--adh-gold); color: var(--adh-navy-900) !important; }
.adh-article__title { font-size: 38px !important; line-height: 1.5 !important; margin-top: 4px !important; }
.adh-article__lead { margin-top: 16px !important; font-size: 19px; line-height: 1.9; color: #3c4858; }
.adh-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--adh-line); font-size: 15px; color: var(--adh-ink); }
.adh-article__meta > span { display: flex; flex-direction: column; gap: 2px; }
.adh-article__meta small { font-size: 12px; color: var(--adh-muted); }
.adh-article__meta .adh-article__author { flex-direction: row; align-items: center; gap: 12px; }
.adh-article__author > span:last-child { display: flex; flex-direction: column; }
.adh-article__author b { color: var(--adh-navy); }
.adh-article__source { color: var(--adh-navy) !important; font-weight: 600; text-align: right; }
.adh-article__source:hover { color: var(--adh-gold-600) !important; }
.adh-avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--adh-navy); color: var(--adh-gold); font-weight: 700; font-size: 18px; }

.adh-article__figure { margin: 0 auto 8px; }
.adh-article__figure img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 18px; }
.adh-article__figure figcaption { margin-top: 8px; font-size: 13px; color: var(--adh-muted); text-align: center; }

.adh-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; padding-top: 32px; padding-bottom: 56px; align-items: start; }
.adh-article__main { min-width: 0; max-width: 760px; order: 1; }
.adh-article__aside { order: 2; }
.adh-article__sticky { position: sticky; top: 24px; display: grid; gap: 20px; }
.admin-bar .adh-article__sticky { top: 56px; }
.adh-toc, .adh-tools { background: var(--adh-tint); border-radius: var(--adh-radius); padding: 18px 20px; }
.adh-toc h2, .adh-tools h2 { font-size: 14px !important; color: var(--adh-muted) !important; font-weight: 600 !important; margin-bottom: 10px !important; }
.adh-toc__toggle { all: unset; display: flex; align-items: center; justify-content: space-between; width: 100%; cursor: default; font: inherit; color: inherit; }
.adh-toc .adh-toc__toggle { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; height: auto !important; min-height: 0 !important; line-height: 1.6 !important; color: inherit !important; font-size: inherit !important; font-weight: inherit !important; text-transform: none !important; }
.adh-toc__toggle:focus-visible { outline: 2px solid var(--adh-gold); outline-offset: 4px; border-radius: 4px; }
.adh-toc ol[hidden] { display: none; }
.adh-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 55vh; overflow-y: auto; }
.adh-toc a { display: block; padding: 6px 12px; border-inline-start: 2px solid var(--adh-line); font-size: 14px; line-height: 1.6; color: var(--adh-ink) !important; }
.adh-toc .adh-toc__h3 a { padding-inline-start: 24px; font-size: 13px; color: var(--adh-muted) !important; }
.adh-toc a:hover, .adh-toc a.is-active { border-color: var(--adh-gold); color: var(--adh-navy) !important; font-weight: 600; }
.adh-tools .medad-share { margin: 0; padding: 0; border: 0; }

/* نص المقال — توحيد التنسيقات القديمة المضمّنة */
.adh-article__content { font-size: 18px; line-height: 2.05; color: #222b36; overflow-wrap: anywhere; }
.adh-article__content * { font-family: inherit !important; }
.adh-article__content [style*="font-size"] { font-size: inherit !important; }
.adh-article__content [style*="color"]:not(a) { color: inherit !important; }
.adh-article__content [style*="background"] { background: none !important; }
.adh-article__content p { margin: 0 0 1.3em !important; text-align: start !important; }
.adh-article__content h2, .adh-article__content h3, .adh-article__content h4 { color: var(--adh-navy); line-height: 1.6; margin: 1.8em 0 .6em !important; scroll-margin-top: 80px; }
.adh-article__content h2 { font-size: 26px !important; padding-inline-start: 14px; border-inline-start: 4px solid var(--adh-gold); }
.adh-article__content h3 { font-size: 21px !important; }
.adh-article__content h4 { font-size: 18px !important; }
.adh-article__content a { color: var(--adh-gold-600); text-decoration: underline; text-underline-offset: 3px; }
.adh-article__content img { max-width: 100%; height: auto; border-radius: 12px; }
.adh-article__content blockquote { margin: 1.6em 0; padding: 18px 24px; border: 0; border-inline-start: 4px solid var(--adh-gold); background: var(--adh-gold-50); border-radius: 0 12px 12px 0; font-size: 19px; color: var(--adh-navy); }
.adh-article__content ul, .adh-article__content ol { padding-inline-start: 1.4em; margin: 0 0 1.3em; }
.adh-article__content li { margin-bottom: .4em; }
.adh-article__content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; display: block; overflow-x: auto; }
.adh-article__content th, .adh-article__content td { border: 1px solid var(--adh-line); padding: 10px 12px; text-align: start; }
.adh-article__content th { background: var(--adh-tint); color: var(--adh-navy); }
.adh-article__content iframe { max-width: 100%; }

.adh-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--adh-line); font-size: 14px; color: var(--adh-muted); }
.adh-tags a { padding: 5px 12px; border-radius: 8px; background: var(--adh-tint); color: var(--adh-navy) !important; font-weight: 500; }
.adh-tags a:hover { background: var(--adh-navy); color: #fff !important; }

.adh-cite { margin-top: 32px; padding: 22px 24px; border-radius: var(--adh-radius); border: 1px solid var(--adh-line); background: #fff; }
.adh-cite h2 { font-size: 16px !important; margin-bottom: 10px !important; }
.adh-cite__text { font-size: 14.5px; line-height: 1.9; color: var(--adh-muted); padding: 12px 14px; background: var(--adh-tint); border-radius: 10px; margin-bottom: 12px !important; overflow-wrap: anywhere; }
.adh-cite__copy { min-height: 40px; font-size: 14px; }

.adh-byauthor { margin-top: 32px; padding: 22px 24px; border-radius: var(--adh-radius); background: var(--adh-navy); color: #fff; }
.adh-byauthor h2 { color: #fff !important; font-size: 17px !important; margin-bottom: 8px !important; }
.adh-byauthor ul { list-style: none; margin: 0; padding: 0; }
.adh-byauthor li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.adh-byauthor li:last-child { border-bottom: 0; }
.adh-byauthor a { color: #e8edf4 !important; font-weight: 500; line-height: 1.7; }
.adh-byauthor a:hover { color: var(--adh-gold) !important; }
.adh-byauthor time { color: var(--adh-gold); font-size: 13px; flex: 0 0 auto; }

/* التعليقات (قالب Publisher) */
.adh-article .comments-wrap, .adh-article #comments { margin-top: 40px; }

@media print {
	.site-header, .site-footer, .topbar, .adh-article__aside, .adh-progress, .adh-section--tint, .adh-cite__copy, .adh-byauthor, #comments, .back-top { display: none !important; }
	.adh-article__layout { display: block; padding: 0; }
	.adh-article__head { background: none; padding: 0 0 16px; }
	.adh-article__content { font-size: 13pt; }
}

/* ---------- الاستجابة ---------- */
@media (max-width: 1100px) {
	.adh-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.adh-grid--5 > :nth-child(5) { display: none; }
	.adh-hero__main { grid-template-columns: minmax(0, 1fr); }
	.adh-hero__img { min-height: 260px; aspect-ratio: 16 / 9; }
}
@media (max-width: 960px) {
	.adh-archive__top { grid-template-columns: minmax(0, 1fr); }
	.adh-archive__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.adh-card--feature { flex-direction: column; }
	.adh-card--feature .adh-card__img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
	.adh-article__layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.adh-article__main { max-width: none; }
	.adh-article__aside { order: 0; margin-bottom: 24px; }
	.adh-article__sticky { position: static; }
	.adh-toc ol { max-height: none; margin-top: 10px; }
	.adh-toc h2 { margin: 0 !important; }
	.adh-toc__toggle { cursor: pointer; color: var(--adh-navy); font-size: 15px; }
	.adh-toc__toggle::after { content: "＋"; color: var(--adh-gold-600); font-weight: 700; }
	.adh-toc__toggle[aria-expanded="true"]::after { content: "−"; }
	.adh-tools { display: none; }
	.adh-hero__grid, .adh-split, .adh-band__grid, .adh-newsletter { grid-template-columns: minmax(0, 1fr); }
	.adh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.adh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.adh-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.adh-grid--5 > :nth-child(n+4) { display: none; }
	.adh-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.adh-stat:nth-child(3) { border-inline-start: 0; }
	.adh-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 640px) {
	.adh-archive__head, .adh-article__head { padding: 24px 0 20px; }
	.adh-archive__title { font-size: 26px !important; }
	.adh-archive__bar { position: static; }
	.adh-archive__bar-inner { flex-direction: column; align-items: stretch; gap: 10px; }
	.adh-yearfilter select { flex: 1; }
	.adh-archive__side { grid-template-columns: minmax(0, 1fr); }
	.adh-card--feature .adh-card__body { padding: 18px; }
	.adh-card--feature .adh-card__title { font-size: 19px !important; }
	.adh-article__title { font-size: 26px !important; }
	.adh-article__lead { font-size: 17px; }
	.adh-article__meta { gap: 12px 22px; }
	.adh-article__content { font-size: 17px; line-height: 1.95; }
	.adh-article__content h2 { font-size: 22px !important; }
	.adh-article__figure img { border-radius: 12px; }
	.adh-pager .page-numbers { min-width: 40px; height: 40px; padding: 0 10px; }
	.adh-wrap { padding-inline: 16px; }
	.adh-section, .adh-band { padding: 44px 0; }
	.adh-hero { padding: 20px 0 40px; }
	.adh-hero__body { padding: 24px 20px; }
	.adh-hero__title { font-size: 22px; }
	.adh-head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.adh-head__title { font-size: 22px; }
	.adh-grid--3, .adh-grid--4 { grid-template-columns: 1fr; }
	.adh-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.adh-grid--5 > :nth-child(n+3) { display: flex; }
	.adh-grid--5 > :nth-child(5) { display: none; }
	.adh-card--row { flex-direction: column; }
	.adh-card--row .adh-card__img { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
	.adh-stat b { font-size: 26px; }
	.adh-band h2 { font-size: 23px; }
	.adh-newsletter { padding: 24px 20px; }
	.adh-newsletter__form { flex-direction: column; }
	.medad-bookpage { grid-template-columns: 1fr; }
	.medad-bookpage__cover { max-width: 200px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.adh-home * { transition: none !important; }
}
