:root {
  /* تركيبة أزرق-سماوي مائل للفيروزي (أخف من الكحلي السابق) */
  --primary: #246072;
  --primary-deep: #1a4d5c;
  --secondary: #C9A94D;
  --bg: #f5f7fb;
  --text: #0f172a;
  --card: #ffffff;
}

body.dark {
  --bg: #0b1220;
  --text: #ecf0f8;
  --card: #111a2c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade,
  .card,
  .btn,
  .btn-primary,
  button,
  .menu-toggle {
    transition-duration: 0.01ms !important;
  }
}
.btn,
.btn-primary,
button,
.menu-toggle,
.nav a,
.card-link {
  touch-action: manipulation;
}
body {
  margin: 0;
  font-family: Inter, Cairo, sans-serif;
  background: var(--bg);
  color: var(--text);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
body.rtl {
  direction: rtl;
  font-family: Cairo, Inter, sans-serif;
}
body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl p,
body.rtl small,
body.rtl li,
body.rtl label,
body.rtl input,
body.rtl textarea {
  text-align: right;
}
body.rtl .hero,
body.rtl .stats,
body.rtl .stat {
  text-align: center;
}
.container { width: min(1120px, 92%); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 58, 72, 0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 12px; }
.brand { color: #fff; text-decoration: none; font-weight: 800; }
.brand-signature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(201, 169, 77, 0.45);
  border-radius: 999px;
  padding: 6px 10px 6px 7px;
  background: rgba(255, 255, 255, 0.05);
  max-width: 320px;
}
.brand-signature-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #143d48;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #f2dd9d, #c9a94d);
}
.brand-signature-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 700;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #fff; text-decoration: none; margin: 0 4px; font-size: 14px; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: rgba(255, 255, 255, 0.12); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.btn-toggle { border: 1px solid var(--secondary); background: transparent; color: #fff; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.btn-toggle:hover { background: rgba(201, 169, 77, 0.18); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  z-index: 12;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.4);
  z-index: 9;
}
.menu-open .nav-backdrop { display: block; }
.hero {
  min-height: 72vh; display: grid; place-items: center;
  background: linear-gradient(rgba(36, 96, 114, 0.28), rgba(36, 96, 114, 0.45)), url('https://images.unsplash.com/photo-1541872703-74c5e44368f9?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: #fff; text-align: center;
  transition: background-image .7s ease-in-out;
}
.hero h1 { font-size: clamp(30px, 6vw, 64px); margin-bottom: 12px; }
.hero p {
  font-size: 1.05rem;
  max-width: 780px;
  margin: 0 auto 20px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.hero .btn-primary {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.btn-primary {
  background: var(--secondary); color: #111; text-decoration: none; font-weight: 700;
  padding: 12px 18px; border-radius: 10px; display: inline-block;
}
.section { padding: 64px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border-radius: 14px; padding: 18px;
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(2, 8, 23, 0.12); }
.card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: #dfe7f3;
}
.card-media-lg {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 10px;
  background: #dfe7f3;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: center; }
.stat { background: var(--card); padding: 22px; border-radius: 14px; }
.stat .count { font-size: 2rem; color: var(--secondary); font-weight: 800; }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--secondary); }
.timeline-item { margin: 20px 0; padding-left: 16px; }
body.rtl .timeline { padding-left: 0; padding-right: 26px; }
body.rtl .timeline::before { left: auto; right: 8px; }
body.rtl .timeline-item { padding-left: 0; padding-right: 16px; }
.timeline-item h3 { margin: 0 0 6px; }
.quote { border-left: 4px solid var(--secondary); padding: 10px 14px; background: var(--card); border-radius: 8px; }
body.rtl .quote { border-left: 0; border-right: 4px solid var(--secondary); }
.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 12px; overflow: hidden; }
.table th, .table td { padding: 12px; border-bottom: 1px solid #ddd; text-align: left; }
body.rtl .table th, body.rtl .table td { text-align: right; }
.cards .card h3 { line-height: 1.5; }
.cards .card p { line-height: 1.85; }
.fade { opacity: 0; transform: translateY(18px); transition: all .5s ease; }
.fade.show { opacity: 1; transform: none; }
.site-footer { background: var(--primary); color: #fff; text-align: center; padding: 22px 0; margin-top: 42px; }
input, textarea, select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px; margin: 6px 0 12px; }
button, .btn { background: var(--primary); color: #fff; border: none; padding: 10px 14px; border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn, .btn-primary, .btn-toggle, button { transition: all .2s ease; }
.btn:hover, button:hover { filter: brightness(1.08); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.table { display: block; overflow-x: auto; }
.site-footer p { margin: 6px 0; font-weight: 600; color: #f2f6ff; }

.biography-wrapper { max-width: 980px; }
.bio-single {
  padding: 28px;
  border: 1px solid rgba(201, 169, 77, 0.42);
  box-shadow: 0 22px 44px rgba(2, 8, 23, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.bio-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
}
.bio-text {
  line-height: 2;
  white-space: normal;
  color: #1e293b;
}
body.dark .bio-text { color: #dce6f8; }
.bio-name {
  margin-top: 8px;
  margin-bottom: 18px;
  font-size: clamp(24px, 3.2vw, 34px);
}
.bio-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.bio-fact-item {
  background: linear-gradient(180deg, rgba(201, 169, 77, 0.14), rgba(201, 169, 77, 0.04));
  border: 1px solid rgba(201, 169, 77, 0.4);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 16px rgba(2, 8, 23, 0.06);
}
.bio-fact-item small {
  display: block;
  color: #475569;
  margin-bottom: 4px;
}
.bio-fact-item strong {
  font-size: 15px;
  color: #0f172a;
}
body.dark .bio-fact-item small { color: #c5d1e8; }
body.dark .bio-fact-item strong { color: #eef4ff; }
.bio-sections {
  display: grid;
  gap: 14px;
}
.bio-section {
  background: linear-gradient(180deg, rgba(248, 250, 253, 0.98), rgba(241, 245, 250, 0.98));
  border: 1px solid rgba(130, 143, 165, 0.28);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 12px 20px rgba(2, 8, 23, 0.06);
}
body.dark .bio-section {
  background: linear-gradient(180deg, rgba(21, 30, 48, 0.9), rgba(14, 22, 36, 0.92));
  border-color: rgba(141, 157, 185, 0.24);
}
.bio-section h3 {
  margin: 0 0 10px;
  color: #132742;
  font-size: 22px;
  border-bottom: 1px solid rgba(123, 141, 169, 0.35);
  padding-bottom: 8px;
}
body.dark .bio-section h3 { color: #f3f7ff; }
.bio-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.bio-section li {
  position: relative;
  padding-inline-start: 12px;
  line-height: 1.9;
  color: #1a2d46;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(245, 248, 252, 0.88));
  border: 1px solid rgba(129, 146, 173, 0.2);
  padding-top: 7px;
  padding-bottom: 7px;
  padding-inline-end: 12px;
}
body.rtl .bio-section li {
  padding-inline-start: 12px;
  padding-inline-end: 12px;
}
body.dark .bio-section li { color: #d8e2f2; }
body.dark .bio-section li {
  background: linear-gradient(180deg, rgba(35, 47, 67, 0.6), rgba(24, 35, 52, 0.66));
  border-color: rgba(148, 163, 184, 0.22);
}

.admin-muted { color: #475569; margin-top: -4px; margin-bottom: 20px; }
.admin-stats { margin-bottom: 18px; }
.admin-slider-wrap {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
}
.admin-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 6px 2px 12px;
}
.admin-slider .admin-card {
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  min-height: 148px;
  border: 1px solid rgba(201, 169, 77, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
body.dark .admin-slider .admin-card {
  background: linear-gradient(180deg, #111a2c 0%, #0b1528 100%);
}
.admin-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 77, 0.55);
  background: #fff;
  color: var(--primary-deep);
  font-size: 30px;
  line-height: 1;
  padding: 0;
}
body.dark .admin-slider-btn {
  background: #101a2f;
  color: #dfe8f8;
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-block; order: 3; }
  .nav-actions { order: 2; margin-left: auto; }
  body.rtl .nav-actions { margin-left: 0; margin-right: auto; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 340px);
    height: 100vh;
    background: linear-gradient(180deg, #174858 0%, #123a46 100%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 76px 14px 20px;
    transform: translateX(106%);
    transition: transform .28s ease;
    pointer-events: none;
  }
  body.rtl .nav { right: 0; left: auto; transform: translateX(106%); }
  .menu-open .nav,
  body.rtl.menu-open .nav { transform: translateX(0) !important; pointer-events: auto; }
  .nav a { margin: 0; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.08); }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 64vh; }
  .hero p { font-size: .98rem; }
  .section { padding: 44px 0; }
  .card { padding: 14px; }
  .card-media { aspect-ratio: 16 / 10; }
  .card-media-lg { aspect-ratio: 16 / 10; }
  .stats, .grid-2 { grid-template-columns: 1fr; }
  .admin-slider-wrap { grid-template-columns: 1fr; }
  .admin-slider-btn { display: none; }
}
@media (max-width: 540px) {
  .container { width: 94%; }
  .brand { font-size: 15px; max-width: 60%; }
  .brand-signature { padding: 5px 8px 5px 6px; }
  .brand-signature-mark { width: 24px; height: 24px; font-size: 11px; }
  .brand-signature-text { font-size: 11px; }
  .btn-toggle { padding: 7px 9px; font-size: 12px; }
  .hero h1 { font-size: clamp(24px, 9vw, 36px); }
  .table th, .table td { padding: 10px 9px; font-size: 13px; }
}

/* Premium visual refresh */
body {
  background:
    radial-gradient(circle at 8% 10%, rgba(201, 169, 77, 0.14), transparent 35%),
    radial-gradient(circle at 92% 88%, rgba(36, 96, 114, 0.09), transparent 42%),
    var(--bg);
}

.section {
  position: relative;
  padding: 74px 0;
}

.section h1,
.section h2 {
  position: relative;
  margin-bottom: 24px;
  letter-spacing: .2px;
}

.section h1::after,
.section h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), rgba(201, 169, 77, 0.25));
}

.site-header {
  box-shadow: 0 12px 30px rgba(2, 8, 23, 0.16);
}

.nav a {
  font-weight: 600;
}

.nav a:hover {
  transform: translateY(-1px);
}

.hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 -120px 120px rgba(2, 8, 23, 0.1);
}

.hero .container {
  position: relative;
  backdrop-filter: none;
}

.btn,
.btn-primary,
button {
  border-radius: 11px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(2, 8, 23, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, #dbc16d 0%, #c9a94d 52%, #b6912f 100%);
}

.btn:hover,
button:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(2, 8, 23, 0.18);
}

.card {
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 12px 28px rgba(2, 8, 23, 0.09);
}

.card h3,
.card h2 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.card p {
  color: #334155;
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.card-link::after {
  content: "↗";
  position: absolute;
  top: 12px;
  inset-inline-end: 14px;
  color: var(--secondary);
  font-size: 18px;
  font-weight: 700;
  opacity: .9;
}
body.rtl .card-link::after {
  content: "↖";
}

body.dark .card {
  background: linear-gradient(180deg, #121d31 0%, #0e1627 100%);
  border-color: rgba(148, 163, 184, 0.2);
}

body.dark .card p {
  color: #d4deef;
}

.card-media,
.card-media-lg,
.bio-image {
  border: 1px solid rgba(201, 169, 77, 0.3);
  box-shadow: 0 12px 22px rgba(2, 8, 23, 0.16);
}

.table {
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(2, 8, 23, 0.08);
}

.table thead tr {
  background: linear-gradient(180deg, rgba(36, 96, 114, 0.95), rgba(26, 77, 92, 0.9));
  color: #fff;
}

.table td {
  background: rgba(255, 255, 255, 0.85);
}

body.dark .table td {
  background: rgba(17, 26, 44, 0.9);
}

input,
textarea,
select {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.95);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(201, 169, 77, 0.88);
  box-shadow: 0 0 0 4px rgba(201, 169, 77, 0.16);
}

body.dark input,
body.dark textarea,
body.dark select {
  background: rgba(15, 23, 42, 0.86);
  color: #ecf0f8;
}

.quote {
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 77, 0.35);
  background: linear-gradient(180deg, rgba(201, 169, 77, 0.07), rgba(201, 169, 77, 0.01));
}

.stats .stat {
  border: 1px solid rgba(201, 169, 77, 0.34);
  box-shadow: 0 12px 24px rgba(2, 8, 23, 0.08);
}

.site-footer {
  background:
    radial-gradient(circle at 14% 18%, rgba(201, 169, 77, 0.2), transparent 34%),
    radial-gradient(circle at 82% 80%, rgba(201, 169, 77, 0.12), transparent 30%),
    var(--primary);
  border-top: 1px solid rgba(201, 169, 77, 0.28);
}

@media (max-width: 900px) {
  .section {
    padding: 52px 0;
  }
}

/* Ultra dark mode polish across the website */
body.dark {
  --bg: #070d18;
  --text: #e8eefb;
  --card: #0f1728;
  background:
    radial-gradient(circle at 10% 8%, rgba(64, 86, 122, 0.22), transparent 38%),
    radial-gradient(circle at 88% 92%, rgba(33, 52, 83, 0.18), transparent 42%),
    #070d18;
}

body.dark .site-header {
  background: rgba(14, 44, 54, 0.98);
  border-bottom: 1px solid rgba(142, 162, 194, 0.22);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

body.dark .nav a {
  color: #e5eefc;
}

body.dark .nav a:hover {
  background: rgba(142, 162, 194, 0.14);
}

body.dark .btn-toggle {
  border-color: rgba(192, 165, 95, 0.62);
  color: #eef4ff;
}

body.dark .btn-toggle:hover {
  background: rgba(192, 165, 95, 0.18);
}

body.dark .hero {
  box-shadow: inset 0 -140px 160px rgba(0, 0, 0, 0.22);
  border-bottom-color: rgba(146, 167, 199, 0.22);
}

body.dark .card,
body.dark .stat,
body.dark .bio-single,
body.dark .bio-section {
  background: linear-gradient(180deg, #121c31 0%, #0c1527 100%);
  border-color: rgba(137, 156, 186, 0.24);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

body.dark .card h1,
body.dark .card h2,
body.dark .card h3,
body.dark .bio-name {
  color: #f4f7ff;
}

body.dark .card p,
body.dark .card li,
body.dark .bio-text,
body.dark .bio-section li {
  color: #d8e2f4;
}

body.dark .bio-fact-item {
  background: linear-gradient(180deg, rgba(47, 64, 90, 0.58), rgba(24, 35, 53, 0.72));
  border-color: rgba(153, 173, 203, 0.3);
}

body.dark .bio-fact-item small {
  color: #c8d4ec;
}

body.dark .bio-fact-item strong {
  color: #f2f6ff;
}

body.dark .table {
  border-color: rgba(129, 151, 184, 0.3);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.34);
}

body.dark .table thead tr {
  background: linear-gradient(180deg, rgba(22, 36, 61, 0.98), rgba(16, 28, 49, 0.95));
}

body.dark .table td {
  background: rgba(18, 28, 47, 0.92);
  border-bottom-color: rgba(140, 160, 192, 0.14);
}

body.dark input,
body.dark textarea,
body.dark select {
  background: rgba(13, 22, 39, 0.92);
  border-color: rgba(128, 149, 184, 0.36);
  color: #ecf3ff;
}

body.dark input:focus,
body.dark textarea:focus,
body.dark select:focus {
  border-color: rgba(192, 165, 95, 0.9);
  box-shadow: 0 0 0 4px rgba(192, 165, 95, 0.24);
}

body.dark .site-footer {
  background:
    radial-gradient(circle at 16% 14%, rgba(192, 165, 95, 0.14), transparent 34%),
    radial-gradient(circle at 84% 86%, rgba(80, 140, 155, 0.12), transparent 36%),
    #0f2a32;
  border-top-color: rgba(192, 165, 95, 0.26);
}

body.dark .site-footer p {
  color: #e6eefc;
}

/* —— دليل اللجان: شبكة وبطاقات وبحث —— */
.committees-intro {
  color: #475569;
  margin: -12px 0 18px;
  max-width: 52ch;
}
body.dark .committees-intro { color: #a8b9d4; }

.committee-search-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 22px;
}
.committee-search-input {
  flex: 1;
  min-width: min(100%, 280px);
  max-width: 480px;
  padding: 14px 18px;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(36, 96, 114, 0.22);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(36, 96, 114, 0.06);
}
body.dark .committee-search-input {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(120, 165, 178, 0.28);
  color: #ecf0f8;
}
.committee-search-input:focus {
  outline: none;
  border-color: rgba(201, 169, 77, 0.75);
  box-shadow: 0 0 0 4px rgba(201, 169, 77, 0.12), 0 10px 26px rgba(36, 96, 114, 0.08);
}
.committee-search-hint {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
body.dark .committee-search-hint { color: #9fd4e0; }

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.committee-card {
  background: linear-gradient(165deg, #ffffff 0%, #f7fbfc 100%);
  border: 1px solid rgba(36, 96, 114, 0.14);
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: 0 12px 28px rgba(36, 96, 114, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.committee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(36, 96, 114, 0.11);
}
body.dark .committee-card {
  background: linear-gradient(165deg, #121d2a 0%, #0f1826 100%);
  border-color: rgba(120, 165, 178, 0.2);
}
.committee-card__title {
  margin: 0;
  font-size: 1.15rem;
  color: var(--primary-deep);
  line-height: 1.45;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(201, 169, 77, 0.45);
}
body.dark .committee-card__title { color: #e8f4f7; }
.committee-card__address {
  margin: 0;
  flex: 1;
  line-height: 1.85;
  color: #334155;
  font-size: 0.98rem;
}
body.dark .committee-card__address { color: #c5d4e8; }
.committee-card__maps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(36, 96, 114, 0.12), rgba(36, 96, 114, 0.06));
  color: var(--primary-deep);
  border: 1px solid rgba(36, 96, 114, 0.25);
}
.committee-card__maps:hover {
  background: linear-gradient(135deg, rgba(36, 96, 114, 0.2), rgba(36, 96, 114, 0.1));
}
body.dark .committee-card__maps {
  color: #d4eef4;
  border-color: rgba(120, 165, 178, 0.35);
  background: rgba(36, 96, 114, 0.2);
}
.committee-card__maps--muted {
  cursor: default;
  opacity: 0.65;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  background: transparent;
  color: #64748b;
  padding: 8px 12px;
}

/* —— فوتر وتواصل —— */
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 8px 0 4px;
}
.footer-heading {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 800;
  color: #fff;
}
.footer-tagline {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: #0f172a;
  background: linear-gradient(135deg, #f8fafc 0%, #e8f4f7 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.footer-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}
.footer-social-link--fb:hover { background: linear-gradient(135deg, #e8f0ff, #dbeafe); }
.footer-social-link--ig:hover { background: linear-gradient(135deg, #fdf2f8, #fce7f3); }
.footer-social-link--x:hover { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); }
.footer-social-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.footer-copy {
  margin: 12px 0 0 !important;
  font-size: 0.88rem !important;
  opacity: 0.92;
}

/* —— لوحة تحكم الإدارة —— */
.admin-body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #eef5f7 0%, #f5f7fb 38%, #f5f7fb 100%);
}
body.dark.admin-body {
  background: linear-gradient(180deg, #070d14 0%, #0a121c 40%, #070d18 100%);
}
.admin-dashboard__top {
  background: linear-gradient(120deg, rgba(36, 96, 114, 0.98), rgba(26, 77, 92, 0.96));
  color: #fff;
  padding: 22px 0 26px;
  box-shadow: 0 12px 32px rgba(36, 96, 114, 0.25);
}
.admin-dashboard__top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.admin-dashboard__title {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
}
.admin-dashboard__subtitle {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
  max-width: 36rem;
  line-height: 1.6;
}
.admin-dashboard__logout {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: none;
}
.admin-dashboard__logout:hover {
  background: rgba(255, 255, 255, 0.22);
  filter: none;
}

.section--admin-dash {
  padding-top: 28px;
  padding-bottom: 48px;
}
.admin-dash-section-title {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-deep);
}
body.dark .admin-dash-section-title { color: #d4eef4; }
.admin-dash-section-title--spaced {
  margin-top: 36px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
@media (min-width: 600px) {
  .admin-stat-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
}
.admin-stat-tile {
  background: linear-gradient(165deg, #fff 0%, #f4fafb 100%);
  border: 1px solid rgba(36, 96, 114, 0.14);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(36, 96, 114, 0.06);
}
body.dark .admin-stat-tile {
  background: linear-gradient(165deg, #121c28 0%, #0e1622 100%);
  border-color: rgba(120, 165, 178, 0.2);
}
.admin-stat-tile__value {
  display: block;
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
}
.admin-stat-tile__label {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-deep);
}
body.dark .admin-stat-tile__label { color: #e2edf2; }
.admin-stat-tile__meta {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: #64748b;
  font-family: ui-monospace, monospace;
  opacity: 0.85;
}
body.dark .admin-stat-tile__meta { color: #8fa3bc; }

.admin-quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 480px) {
  .admin-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .admin-quick-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}
.admin-quick-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  border: 1px solid rgba(201, 169, 77, 0.28);
  box-shadow: 0 10px 22px rgba(36, 96, 114, 0.07);
  min-height: 92px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.admin-quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(36, 96, 114, 0.12);
}
body.dark .admin-quick-card {
  background: linear-gradient(180deg, #111a28 0%, #0c1420 100%);
  border-color: rgba(201, 169, 77, 0.22);
}
.admin-quick-card__title {
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--primary-deep);
}
body.dark .admin-quick-card__title { color: #f0f7fa; }
.admin-quick-card__desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
}
body.dark .admin-quick-card__desc { color: #9eb0c8; }

.section--admin {
  padding-top: 32px;
  padding-bottom: 48px;
}
.admin-form-card label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary-deep);
}
body.dark .admin-form-card label { color: #dce8ee; }

.map-embed {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 10px;
}
.card--vision-spacing { margin-bottom: 14px; }
.admin-table-spaced { margin-top: 20px; }
.admin-tabs-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.admin-login-container { max-width: 520px; margin-inline: auto; }
.admin-login-error {
  color: #b91c1c;
  font-weight: 600;
}
body.dark .admin-login-error { color: #fca5a5; }

.admin-msg-success {
  color: #166534;
  font-weight: 700;
  padding: 10px 14px;
  background: rgba(34, 197, 94, 0.12);
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.35);
}
body.dark .admin-msg-success {
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.28);
}
.admin-inline-form {
  display: inline;
  margin: 0;
}
.admin-inline-form button {
  margin: 0;
}
.btn--danger-soft {
  background: #991b1b;
  color: #fff;
}
.btn--danger-soft:hover {
  filter: brightness(1.08);
}
.admin-muted-inline {
  color: #94a3b8;
  font-size: 0.9rem;
}
body.dark .admin-muted-inline { color: #64748b; }
