/* الطريقة الصديقية الشاذلية — الأنماط العامة */
:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --surface-2: #f3eee2;
  --ink: #1f2a24;
  --ink-soft: #55615a;
  --green: #0f4d3a;
  --green-2: #176b51;
  --gold: #b08a3e;
  --gold-text: #7a5c1a;
  --gold-soft: #e9dcc0;
  --line: #e4dccb;
  --shadow: 0 6px 24px rgba(15, 77, 58, .08);
  --radius: 14px;
  --font-body: "Noto Naskh Arabic", "Amiri", serif;
  --font-head: "Amiri", "Noto Naskh Arabic", serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1613; --surface: #16201b; --surface-2: #1c2822; --ink: #ece6d8;
    --ink-soft: #a9b3ad; --green: #7fc8a9; --green-2: #5fb592; --gold: #d6b26a; --gold-text: #d6b26a;
    --gold-soft: #3a3322; --line: #2a3832; --shadow: 0 6px 24px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --bg: #0f1613; --surface: #16201b; --surface-2: #1c2822; --ink: #ece6d8;
  --ink-soft: #a9b3ad; --green: #7fc8a9; --green-2: #5fb592; --gold: #d6b26a; --gold-text: #d6b26a;
  --gold-soft: #3a3322; --line: #2a3832; --shadow: 0 6px 24px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 18px; line-height: 1.95;
}
img { max-width: 100%; }
a { color: var(--green-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green); line-height: 1.4; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* الترويسة */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.25rem; color: var(--green); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: auto; flex: none; background: #fbf8f1; border-radius: 8px; padding: 2px 4px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-size: 1rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); color: var(--green); text-decoration: none; }
.nav-tools { display: flex; gap: 6px; align-items: center; }
.icon-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer; font-size: 1.1rem;
  display: inline-grid; place-items: center;
}
.menu-btn { display: none; }
@media (max-width: 1180px) {
  .menu-btn { display: inline-grid; }
  .nav-links {
    position: absolute; inset-inline: 0; top: 68px; flex-direction: column;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* البطل */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 88px 0 72px; background:
    radial-gradient(ellipse at top, color-mix(in srgb, var(--gold) 18%, transparent), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%230f4d3a' stroke-width='1.2'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3C/g%3E%3C/svg%3E");
}
.hero .basmala { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-text); margin-bottom: 18px; }
.hero p.lead { max-width: 720px; margin: 0 auto 28px; color: var(--ink-soft); font-size: 1.15rem; }
.hero-quote { font-family: var(--font-head); font-size: 1.3rem; color: var(--green-2); margin-top: 30px; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 700;
  background: var(--green); color: var(--bg); border: 2px solid var(--green); font-size: 1rem;
}
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn.outline { background: transparent; color: var(--green); }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* الأقسام */
section.block { padding: 64px 0; }
section.alt { background: var(--surface-2); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); max-width: 680px; margin-inline: auto; }
.ornament { display: block; margin: 0 auto 10px; color: var(--gold); font-size: 1.4rem; letter-spacing: 8px; }

.page-hero { padding: 56px 0 36px; text-align: center; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.page-hero p { color: var(--ink-soft); max-width: 720px; margin: 0 auto; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card .tag { display: inline-block; font-size: .85rem; color: var(--gold-text); margin-bottom: 6px; }
.card.link-card { transition: transform .2s; color: inherit; display: block; }
.card.link-card:hover { transform: translateY(-3px); text-decoration: none; }

.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--gold-text); }
.stat span { color: var(--ink-soft); font-size: .95rem; }

blockquote {
  margin: 0 0 1.2em; padding: 18px 22px; border-inline-start: 4px solid var(--gold);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head); font-size: 1.2rem; color: var(--green);
}
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li { margin-bottom: .4em; }

.note {
  background: var(--gold-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; font-size: .95rem; color: var(--ink);
}

/* السلسلة */
.chain-tools { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.chain-tools input {
  font: inherit; font-size: 1rem; padding: 10px 16px; border-radius: 999px; min-width: min(320px, 100%);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.chain { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.chain::before {
  content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 27px;
  width: 2px; background: linear-gradient(var(--gold), var(--green));
}
.chain li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 8px 0; }
.chain .num {
  flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--gold); color: var(--green);
  font-weight: 700; z-index: 1; font-size: 1rem;
}
.chain .body {
  flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 18px;
}
.chain .name { font-weight: 700; color: var(--ink); }
.chain .dates { color: var(--ink-soft); font-size: .9rem; }
.chain li.key .num { background: var(--green); color: var(--bg); border-color: var(--green); }
.chain li.key .body { border-color: var(--gold); }
.chain li.prophet .num { background: var(--gold); color: #fff; border-color: var(--gold); }
.chain li.hidden { display: none; }

/* الجدول */
table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
th { background: var(--green); color: var(--bg); font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* التراجم */
.bio { scroll-margin-top: 90px; }
.bio .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pill { font-size: .85rem; padding: 2px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft); }
.timeline { list-style: none; padding: 0; margin: 0; border-inline-start: 2px solid var(--gold-soft); }
.timeline li { padding: 4px 18px 10px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; inset-inline-start: -7px; top: 14px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold);
}
.timeline b { color: var(--green); }

.bio .src, .card .src { font-size: .85rem; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 12px; margin-bottom: 0; }
.rijal-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0 0 36px; }
.rijal-index a {
  display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: .95rem;
}
.rijal-index a:hover { border-color: var(--gold); text-decoration: none; }
.rijal-index b { color: var(--gold-text); min-width: 1.6em; }
.chain .name a { color: inherit; }
.chain .name a:hover { color: var(--green-2); }

/* المرئيات والصوتيات */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.tabs button {
  font: inherit; font-size: 1rem; padding: 8px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.tabs button[aria-selected="true"] { background: var(--green); color: var(--bg); border-color: var(--green); }
.tab-panel[hidden] { display: none; }
.video-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.video-tools input, .video-tools select {
  font: inherit; font-size: .95rem; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 0;
}
.video-tools input { flex: 1 1 240px; }
.video-tools select { flex: 1 1 260px; max-width: 100%; }
.video-count { color: var(--ink-soft); font-size: .9rem; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.video-card {
  display: block; text-align: start; padding: 0; overflow: hidden; cursor: pointer; font: inherit; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.video-card:hover { border-color: var(--gold); }
.video-card .thumb { position: relative; aspect-ratio: 16/9; background: var(--surface-2); }
.video-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card .dur {
  position: absolute; bottom: 6px; left: 6px; background: rgba(0,0,0,.75); color: #fff;
  font-size: .78rem; padding: 1px 6px; border-radius: 4px; direction: ltr;
}
.video-card .vt { padding: 10px 12px; font-size: .95rem; line-height: 1.7; }
.more-row { text-align: center; margin-top: 24px; }
.player-modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.8);
  display: grid; place-items: center; padding: 16px;
}
.player-modal[hidden] { display: none; }
.player-box { width: min(960px, 100%); }
.player-box .frame { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 10px; overflow: hidden; }
.player-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-box .bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: #fff; margin-top: 10px; }
.player-box .bar a { color: #f1dca8; }
.audio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.audio-grid iframe { width: 100%; height: 300px; border: 0; border-radius: 10px; margin-top: 8px; }
.program-list { columns: 2 280px; column-gap: 28px; padding-inline-start: 1.2em; }
.program-list li { break-inside: avoid; margin-bottom: .5em; }

/* الأخبار */
.news-list { display: grid; gap: 18px; max-width: 860px; margin-inline: auto; }
.news-item time { display: block; color: var(--gold-text); font-size: .9rem; margin-bottom: 4px; }
.news-item h3 { margin-bottom: .3em; }
.news-item p { margin-bottom: .5em; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; margin-top: 12px; }
.gallery a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; background: var(--surface-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox {
  position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.9);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; margin: auto; border-radius: 6px; grid-column: 2; }
.lightbox .lb-close { position: absolute; top: 12px; inset-inline-end: 12px; }
.lightbox .lb-count { position: absolute; bottom: 12px; inset-inline: 0; text-align: center; color: #ddd; font-size: .9rem; }

/* المصادر */
.sources li { margin-bottom: .5em; word-break: break-word; }

/* التذييل */
.site-footer { background: var(--green); color: #e9efe9; padding: 44px 0 24px; margin-top: 40px; }
:root[data-theme="dark"] .site-footer { background: #0a110e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background: #0a110e; } }
.site-footer a { color: #f1dca8; }
.site-footer h4 { color: #f1dca8; font-size: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 16px; font-size: .9rem; text-align: center; opacity: .85; }

.to-top {
  position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40; opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .chain::before { inset-inline-start: 21px; }
  .chain .num { width: 44px; height: 44px; font-size: .9rem; }
  section.block { padding: 48px 0; }
}

/* أدوات مساعدة (بدل التنسيقات المضمّنة، لتوافق سياسة أمان المحتوى) */
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-20 { margin-bottom: 20px; } .mb-28 { margin-bottom: 28px; } .mb-32 { margin-bottom: 32px; }
.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; }
.center { text-align: center; } .anchor { scroll-margin-top: 80px; } .pad-80 { padding: 80px 0; }
.gap-24 { gap: 24px; } .gap-28 { gap: 28px; }
.narrow-860 { max-width: 860px; margin: 28px auto 0; } .narrow-820 { max-width: 820px; margin: 0 auto 24px; }
p.tag { color: var(--gold-text); font-size: .85rem; }

/* سهولة الوصول */
.skip-link {
  position: absolute; inset-inline-start: 8px; top: -60px; z-index: 200; padding: 8px 16px;
  background: var(--green); color: var(--bg); border-radius: 8px;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.player-modal :focus-visible, .lightbox :focus-visible { outline-color: #f1dca8; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* الطباعة */
@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #fff; --ink: #000; --ink-soft: #333; --green: #000; --green-2: #000; --gold: #555; --gold-text: #333; --line: #bbb; --shadow: none; }
  .site-header, .site-footer, .to-top, .skip-link, .tabs, .video-tools, .chain-tools, .player-modal, .lightbox, .btn-row, .more-row, iframe { display: none !important; }
  body { font-size: 12.5pt; line-height: 1.8; }
  .hero::before { display: none; }
  .page-hero, section.block, section.alt { padding: 12pt 0; background: none; border: 0; }
  .card { box-shadow: none; break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  h2, h3 { break-after: avoid; }
}

.hero-logo { display: block; width: min(300px, 70%); height: auto; margin: 0 auto 20px; background: #fbf8f1; border-radius: 18px; padding: 12px 16px; }

/* المجالس الحيّة — الهوية المشتركة والصفحة الرئيسية */
:root { --radius: 8px; --shadow: 0 4px 18px rgba(15,77,58,.035); }
.container { width: min(1240px, 100% - 64px); }
.site-header { background: #092f25; border-bottom: 1px solid #ffffff20; color: #f6f1e6; backdrop-filter: none; }
.nav { min-height: 88px; gap: 18px; }
.brand { color: #f6f1e6; white-space: nowrap; font-size: 1.24rem; }
.brand img { height: 54px; border-radius: 4px; padding: 3px; }
.nav-links { gap: 0; }
.nav-links a { color: #f1eee4; font-size: .91rem; padding: 10px 9px; border-radius: 0; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: transparent; color: #e5bf77; box-shadow: inset 0 -2px #d8b26c; }
.site-header .icon-btn { background: transparent; color: #f6f1e6; border-color: #ffffff30; border-radius: 5px; width: 36px; height: 36px; flex-shrink: 0; }
.nav-tools { flex-shrink: 0; }
.btn { border-radius: 5px; padding: 11px 24px; font-size: 1.05rem; }
.page-hero { padding: 64px 0 48px; background: var(--surface-2); }
.page-hero h1 { margin-bottom: 16px; }
.site-footer { background: #092f25; padding-top: 56px; }
.home-page .site-footer { margin-top: 0; }
.eyebrow { font-size: .95rem; color: var(--gold-text); margin: 0 0 12px; }
.gathering-hero { position: relative; isolation: isolate; overflow: hidden; background: #082b22; color: #f8f2e5; min-height: 660px; display: flex; align-items: center; }
.gathering-photo { position: absolute; z-index: -3; left: 0; top: 0; width: 67%; height: 100%; object-fit: cover; object-position: 45% 55%; }
.gathering-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(270deg,#082b22 4%,#082b22 30%,rgba(8,43,34,.94) 40%,rgba(8,43,34,.3) 68%,rgba(8,43,34,.08) 100%); }
.gathering-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,rgba(5,24,18,.5),transparent 35%); }
.gathering-content { padding-block: 75px 85px; }
.gathering-content .eyebrow { color: #e2c58c; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 24px; }
.gathering-content h1 { color: #fbf4e6; font-size: clamp(2.7rem,4.8vw,4.5rem); line-height: 1.45; margin-bottom: 18px; max-width: 680px; }
.gathering-motto { font-size: clamp(1.18rem,1.85vw,1.55rem); margin-bottom: 12px; }
.gathering-intro { color: #d0ddd4; font-size: 1.05rem; margin-bottom: 30px; }
.gathering-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-gold { background: #e3bc75; border-color: #e3bc75; color: #153528; }
.btn-glass { background: transparent; border: 1px solid #d7dfd4; color: #fbf4e6; }
.gathering-actions .btn span, .awrad-band .btn span { margin-inline-start: 18px; }
.hero-caption { position: absolute; bottom: 25px; left: 32px; font-size: .92rem; color: #fff6e4; text-shadow: 0 1px 5px #000; }
.hero-caption span { display: block; font-size: .75rem; opacity: .8; }
.home-section { padding: 82px 0; }
.editorial-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.editorial-heading h2, .awrad-band h2, .home-about h2, .visit-inner h2 { font-size: clamp(1.9rem,3.3vw,2.7rem); margin-bottom: 0; }
.editorial-heading h2::after { content: ''; display: block; width: 64px; height: 3px; background: #bd9450; margin-top: 20px; }
.text-link { font-weight: 700; color: var(--gold-text); }
.text-link span { margin-inline-start: 14px; }
.gatherings-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; }
.featured-gathering { color: inherit; display: block; }
.featured-gathering:hover { text-decoration: none; }
.featured-photo { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 6px; background: #102c22; }
.featured-photo::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent,#061b15dc); }
.featured-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; display: block; transition: transform .25s; }
.featured-gathering:hover img { transform: scale(1.025); }
.play-mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 68px; height: 68px; background: #fbf8f1ed; color: #123d2d; border-radius: 50%; display: grid; place-items: center; padding-left: 4px; font-size: 23px; z-index: 1; box-shadow: 0 0 0 10px #ffffff22; }
.feature-label { position: absolute; bottom: 18px; right: 24px; z-index: 1; color: #fff6e4; }
.featured-copy { padding-top: 23px; }
.featured-copy h3 { font-size: 1.65rem; margin: 7px 0 10px; }
.featured-copy p { color: var(--ink-soft); margin: 0; }
.gathering-notes article { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.gathering-notes h3 { font-size: 1.55rem; }
.gathering-notes h3 a { color: inherit; }
.gathering-notes p { color: var(--ink-soft); margin-bottom: 10px; }
.audio-link { display: flex; align-items: center; gap: 18px; color: var(--green); }
.audio-link > span:first-child { font-size: 2rem; color: var(--gold-text); }
.audio-link small { display: block; font-size: .85rem; color: var(--ink-soft); }
.audio-link > span:last-child { margin-inline-start: auto; }
.awrad-band { background: radial-gradient(ellipse at 8% 100%,#1e533e,transparent 55%),#092f25; padding: 56px 0; color: #eeeede; border-block: 1px solid #b8955344; }
.awrad-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.awrad-band .eyebrow { color: #dfc58e; }
.awrad-band h2 { color: #fbf4e6; margin-bottom: 15px; }
.awrad-band p { margin-bottom: 12px; }
.awrad-band .btn { flex-shrink: 0; }
.awrad-shortcuts { display: flex; flex-wrap: wrap; gap: 15px; font-size: .92rem; }
.awrad-shortcuts a { color: #e8c787; }
.heading-note { color: var(--ink-soft); margin: 0; }
.path-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; }
.path-item { padding: 20px 0 8px 32px; color: inherit; border-inline-end: 1px solid var(--line); }
.path-item:last-child { border: 0; }
.path-item:hover { text-decoration: none; }
.path-item:hover h3 { text-decoration: underline; text-underline-offset: 6px; }
.path-number { color: var(--gold-text); font-size: 1.35rem; }
.path-item h3 { font-size: 1.7rem; margin-top: 16px; }
.path-item p { color: var(--ink-soft); }
.home-about { background: var(--surface-2); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.home-about h2 { margin-bottom: 25px; }
.home-about p:not(.eyebrow) { color: var(--ink-soft); }
.home-about figure { margin: 0; }
.home-about figure img { display: block; width: 100%; height: auto; border-radius: 5px; }
.home-about figcaption { color: var(--gold-text); border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; font-size: .9rem; }
.visit-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.visit-inner p:last-child { color: var(--ink-soft); margin: 14px 0 0; }
.visit-links { display: flex; flex-direction: column; gap: 16px; align-items: center; }
@media (max-width: 1250px) {
  .menu-btn { display: inline-grid; }
  .nav-links { display: none; position: absolute; inset-inline: 0; top: 88px; background: #092f25; flex-direction: column; padding: 12px 32px 22px; border-bottom: 1px solid #d7b26a55; max-height: calc(100dvh - 88px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; font-size: 1rem; }
  .nav-tools { margin-inline-start: auto; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .gathering-hero { min-height: 620px; }
  .gathering-photo { width: 100%; opacity: .55; object-position: 40% center; }
  .gathering-hero::before { background: linear-gradient(270deg,#082b22ed,rgba(8,43,34,.65) 65%,rgba(8,43,34,.25)); }
  .gathering-content { padding-block: 65px 90px; }
  .gatherings-grid { grid-template-columns: 1fr; gap: 30px; }
  .gathering-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .audio-link { grid-column: 1/-1; }
  .awrad-inner, .visit-inner { align-items: flex-start; flex-direction: column; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .heading-note { display: none; }
  .path-grid { gap: 20px; }
  .path-item { padding-inline-end: 15px; }
  .home-section { padding: 56px 0; }
  .visit-links { align-items: flex-start; }
}
@media (max-width: 520px) {
  .nav { min-height: 76px; gap: 8px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand img { height: 42px; }
  .nav-links { top: 76px; max-height: calc(100dvh - 76px); padding-inline: 20px; }
  .nav-tools { gap: 5px; }
  .site-header .icon-btn { width: 32px; height: 34px; }
  .gathering-content h1 { font-size: 2.7rem; }
  .gathering-content .eyebrow { margin-bottom: 20px; }
  .gathering-actions { gap: 10px; }
  .gathering-actions .btn { padding: 10px 15px; font-size: .98rem; }
  .gathering-actions .btn span { margin-inline-start: 8px; }
  .editorial-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .gathering-notes { display: block; }
  .path-grid { grid-template-columns: 1fr; gap: 0; }
  .path-item { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 25px 0; }
  .path-number { float: left; }
  .path-item h3 { margin-top: 0; }
  .awrad-band { padding: 44px 0; }
  .grid-2, .audio-grid { grid-template-columns: minmax(0,1fr); }
}
@media print {
  .gathering-hero, .awrad-band { background: white; color: black; min-height: 0; }
  .gathering-hero::before, .gathering-hero::after, .gathering-photo, .hero-caption, .gathering-actions { display: none; }
  .gathering-content h1, .awrad-band h2, .gathering-content p, .awrad-band p { color: black; }
  .home-section, .gathering-content { padding-block: 20px; }
}

/* النسخة المختارة: صور المجالس الأصلية، وافتتاحية مدمجة */
.container { width:min(1240px,100% - 64px); }
.nav { min-height:76px; }
.brand img { height:46px; }
.gathering-hero { min-height:420px; background:#073729; }
.gathering-hero::before,.gathering-hero::after { display:none; }
.gathering-visual { position:absolute; inset:0 auto 0 0; width:58%; z-index:-1; }
.gathering-photo { position:static; width:100%; height:100%; object-fit:cover; object-position:50% 42%; opacity:1; }
.gathering-visual::after { content:''; position:absolute; inset:0; background:linear-gradient(to right,transparent 67%,#073729 100%); }
.gathering-content { padding-block:32px 38px; }
.hero-copy { width:47%; }
.gathering-content .eyebrow { margin:0 0 14px; font-size:1.15rem; }
.gathering-content h1 { font-size:clamp(2.5rem,4vw,3.65rem); line-height:1.35; margin:0 0 16px; }
.gathering-motto { font-size:clamp(1.05rem,1.6vw,1.3rem); margin:0 0 25px; }
.gathering-actions { gap:16px; }
.gathering-actions .btn { padding:9px 23px; min-width:165px; text-align:center; font-size:1rem; }
.btn-gold { background:#e8c16e; border-color:#e8c16e; color:#123426; }
.btn-glass { border:1px solid #e8c16e; }
.home-section { padding-block:58px; }
.gatherings-section { padding-block:32px 30px; }
.editorial-heading { gap:26px; margin-bottom:24px; align-items:center; }
.editorial-heading h2 { font-size:2.25rem; }
.gatherings-section .editorial-heading h2 { margin:0; flex-shrink:0; }
.gatherings-section .editorial-heading h2::after { display:none; }
.heading-rule { height:1px; background:var(--gold); flex:1; opacity:.85; }
.editorial-heading .text-link { flex-shrink:0; font-size:.95rem; }
.gatherings-grid { grid-template-columns:1.2fr 1fr; gap:46px; align-items:stretch; }
.featured-photo { aspect-ratio:1.95; height:100%; min-height:290px; max-height:370px; }
.featured-photo img { object-position:50% 37%; }
.play-mark { left:36%; width:52px; height:52px; font-size:20px; background:#071e1680; color:white; border:2px solid white; box-shadow:none; }
.feature-label { right:22px; bottom:18px; font-family:var(--font-head); font-size:1.65rem; }
.gathering-notes { display:flex; flex-direction:column; justify-content:center; }
.gathering-notes article { margin-bottom:18px; padding-bottom:18px; }
.gathering-notes article:last-child { margin-bottom:0; padding-bottom:0; border:0; }
.gathering-notes h3 { font-size:1.65rem; margin-bottom:8px; }
.gathering-notes p { font-size:1rem; line-height:1.8; }
.gathering-notes .text-link { color:var(--green); font-size:.95rem; }
.awrad-band { padding-block:28px; background:#073729; }
.awrad-inner { gap:32px; }
.awrad-band h2 { font-size:2.3rem; margin:0; white-space:nowrap; }
.awrad-band p { margin:0; padding-inline-start:28px; border-inline-start:1px solid #d9b16c; flex:1; font-size:1.22rem; }
.awrad-band .btn { min-width:185px; text-align:center; }
@media(min-width:1600px) { .gathering-visual { width:calc(50% + 100px); } .hero-copy { width:48%; } }
@media(max-width:1250px) { .nav-links { top:76px; max-height:calc(100dvh - 76px); } }
@media(max-width:900px) {
 .hero-copy { width:50%; } .gathering-content h1 { font-size:2.65rem; }
 .gathering-actions { gap:10px; } .gathering-actions .btn { min-width:0; padding:8px 15px; }
 .gatherings-grid { gap:28px; } .awrad-inner { flex-wrap:wrap; } .awrad-band h2 { font-size:2rem; }
}
@media(max-width:800px) {
 .gathering-hero { min-height:400px; }
 .gathering-content { padding-block:34px; }
 .gathering-hero::before { display:none; }
 .gathering-photo { width:100%; opacity:1; }
 .gathering-visual { width:60%; }
 .gatherings-grid { grid-template-columns:1fr; }
 .featured-photo { height:auto; min-height:0; max-height:none; aspect-ratio:1.85; }
 .gathering-notes { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
 .gathering-notes article { margin:0; padding:0; border:0; }
 .awrad-inner { flex-direction:row; align-items:center; }
 .awrad-band p { flex-basis:45%; font-size:1.05rem; }
}
@media(max-width:600px) {
 .container { width:calc(100% - 36px); }
 .gathering-hero { display:flex; flex-direction:column; min-height:0; }
 .gathering-content { order:0; padding-block:28px; }
 .hero-copy { width:100%; }
 .gathering-content h1 { font-size:2.45rem; line-height:1.3; margin-bottom:12px; }
 .gathering-content .eyebrow { margin-bottom:12px; font-size:1.05rem; }
 .gathering-motto { font-size:1.08rem; margin-bottom:20px; }
 .gathering-actions .btn { flex:1; font-size:.95rem; padding:9px 10px; }
 .gathering-visual { order:1; position:relative; inset:auto; width:100%; height:270px; z-index:auto; }
 .gathering-photo { object-position:50% 35%; }
 .gathering-visual::after { background:linear-gradient(to bottom,#073729 0%,transparent 18%); }
 .editorial-heading { flex-direction:row; align-items:center; flex-wrap:wrap; gap:12px; }
 .editorial-heading h2 { font-size:1.85rem; }
 .heading-rule { display:none; }
 .editorial-heading .text-link { margin-inline-start:auto; font-size:.82rem; }
 .gatherings-section { padding-block:30px; }
 .gathering-notes { grid-template-columns:1fr; gap:20px; }
 .gathering-notes article:first-child { padding-bottom:18px; border-bottom:1px solid var(--line); }
 .feature-label { font-size:1.35rem; bottom:12px; }
 .awrad-inner { flex-direction:column; align-items:flex-start; gap:16px; }
 .awrad-band p { border:0; padding:0; }
 .awrad-band .btn { min-width:0; }
 .home-section:not(.gatherings-section) { padding-block:40px; }
}
@media print { .gathering-visual { display:none; } .hero-copy { width:100%; } .gathering-hero,.awrad-band { background:white; } .awrad-band p { color:black; } }

/* الشعار الأصلي 2025: تصدير شفاف من PSD */
.brand img { width:auto; height:72px; object-fit:contain; background:transparent; border:0; border-radius:0; padding:0; }
.nav { min-height:100px; }
@media (max-width:1250px) { .nav-links { top:100px; max-height:calc(100dvh - 100px); } }
@media (max-width:600px) {
 .brand img { width:auto; height:56px; }
 .brand { font-size:.95rem; gap:8px; }
 .nav { min-height:80px; }
 .nav-links { top:80px; max-height:calc(100dvh - 80px); }
}
