/* ==========================================================================
   المدرسة المثالية في الأدب — طبقة الأقسام والإشراف
   تصميم مطابق لهوية الموقع: بني #6F4E37 · ذهبي #C5A021 · رخام #F5F5DC · فحمي #1A1A1A
   ========================================================================== */

:root {
  --alm-brown: #6f4e37;
  --alm-brown-d: #4a3427;
  --alm-gold: #c5a021;
  --alm-gold-l: #e0c35c;
  --alm-marble: #f5f5dc;
  --alm-charcoal: #1a1a1a;
  --alm-ink: #2b2119;
  --alm-serif: "Cairo", "Tajawal", system-ui, sans-serif;
  --alm-body: "Tajwal", "Cairo", system-ui, sans-serif;
  --alm-shadow: 0 18px 45px -22px rgba(74, 52, 39, 0.55);
  --alm-shadow-lg: 0 34px 70px -30px rgba(74, 52, 39, 0.6);
}

/* ---------- عناصر مشتركة ---------- */

.alm-wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .alm-wrap { padding-inline: 1.5rem; }
}

.alm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--alm-gold);
  text-transform: uppercase;
}

.alm-eyebrow::before,
.alm-eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--alm-gold));
}

.alm-eyebrow::after {
  background: linear-gradient(270deg, transparent, var(--alm-gold));
}

.alm-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.alm-ornament i {
  display: block;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 33, 0.75));
}

.alm-ornament i:last-child {
  background: linear-gradient(270deg, transparent, rgba(197, 160, 33, 0.75));
}

.alm-ornament span {
  width: 9px;
  height: 9px;
  rotate: 45deg;
  background: var(--alm-gold);
  box-shadow: 0 0 0 4px rgba(197, 160, 33, 0.16);
}

/* ==========================================================================
   1) شريط استعراض أقسام المدرسة — أسفل الهيرو في الصفحة الرئيسية
   ========================================================================== */

.alm-showcase {
  position: relative;
  background:
    radial-gradient(900px 340px at 88% -10%, rgba(197, 160, 33, 0.16), transparent 70%),
    radial-gradient(700px 320px at 8% 110%, rgba(111, 78, 55, 0.13), transparent 70%),
    linear-gradient(180deg, #fbf8e9 0%, var(--alm-marble) 55%, #efeccd 100%);
  border-top: 1px solid rgba(197, 160, 33, 0.32);
  border-bottom: 1px solid rgba(197, 160, 33, 0.32);
  padding-block: clamp(1.6rem, 3.5vw, 2.6rem);
  overflow: hidden;
}

.alm-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><path d='M0 60h120M60 0v120' stroke='%23c5a021' stroke-opacity='0.10' stroke-width='1'/></svg>");
}

.alm-showcase > * { position: relative; }

.alm-showcase-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(1.1rem, 2.6vw, 1.8rem);
}

.alm-showcase-head h2 {
  margin: 0.7rem 0 0;
  font-family: var(--alm-serif);
  font-weight: 800;
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  line-height: 1.35;
  color: var(--alm-brown);
}

.alm-showcase-head p {
  margin: 0.75rem auto 0;
  max-width: 660px;
  font-family: var(--alm-body);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.8;
  color: rgba(43, 33, 25, 0.76);
}

.alm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.6vw, 0.95rem);
}

@media (min-width: 1024px) {
  .alm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- كارت القسم ---------- */

.alm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.8rem 0.85rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(197, 160, 33, 0.34);
  background: linear-gradient(165deg, #fffdf5 0%, #f7f3e0 100%);
  box-shadow: var(--alm-shadow);
  cursor: pointer;
  text-align: start;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.alm-card::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--alm-gold), var(--alm-brown));
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.alm-card:hover {
  transform: translateY(-7px);
  border-color: rgba(197, 160, 33, 0.75);
  box-shadow: var(--alm-shadow-lg);
}

.alm-card:hover::after { height: 100%; }

.alm-card:focus-visible {
  outline: 3px solid rgba(197, 160, 33, 0.55);
  outline-offset: 3px;
}

.alm-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.alm-card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--alm-gold);
  background: linear-gradient(150deg, rgba(197, 160, 33, 0.22), rgba(197, 160, 33, 0.05));
  border: 1px solid rgba(197, 160, 33, 0.35);
  transition: transform 0.35s ease, background 0.35s ease;
}

.alm-card:hover .alm-card-icon {
  transform: scale(1.06) rotate(-4deg);
  background: linear-gradient(150deg, rgba(197, 160, 33, 0.38), rgba(197, 160, 33, 0.12));
}

.alm-card-icon svg { width: 19px; height: 19px; }

.alm-card-count {
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.6rem;
  color: var(--alm-brown);
  background: rgba(197, 160, 33, 0.18);
  border: 1px solid rgba(197, 160, 33, 0.32);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

.alm-card h3 {
  margin: 0;
  font-family: var(--alm-serif);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--alm-brown);
}

.alm-card-desc {
  margin: 0;
  font-family: var(--alm-body);
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(43, 33, 25, 0.7);
}

.alm-card-sup {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(197, 160, 33, 0.45);
}

.alm-card-sup-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--alm-gold);
  background: var(--alm-brown);
  display: grid;
  place-items: center;
  color: var(--alm-gold-l);
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.66rem;
  overflow: hidden;
}

.alm-card-sup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.alm-card-sup-txt { min-width: 0; }

.alm-card-sup-txt small {
  display: block;
  font-family: var(--alm-body);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: rgba(43, 33, 25, 0.55);
}

.alm-card-sup-txt b {
  display: block;
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--alm-brown);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alm-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--alm-gold);
}

.alm-card-cta svg { width: 13px; height: 13px; transition: transform 0.3s ease; }
.alm-card:hover .alm-card-cta svg { transform: translateX(-5px); }

/* ==========================================================================
   2) كارت الإشراف داخل صفحة القسم
   ========================================================================== */

.alm-sup {
  position: relative;
  margin: clamp(1.6rem, 4vw, 2.6rem) auto 0;
  max-width: 1120px;
  padding-inline: 1rem;
}

@media (min-width: 768px) { .alm-sup { padding-inline: 1.5rem; } }

.alm-sup-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.2rem, 3vw, 1.9rem);
  border-radius: 20px;
  color: var(--alm-marble);
  background:
    radial-gradient(700px 260px at 100% 0%, rgba(197, 160, 33, 0.26), transparent 68%),
    linear-gradient(135deg, #2c231c 0%, #1a1a1a 48%, #241b15 100%);
  border: 1px solid rgba(197, 160, 33, 0.55);
  box-shadow: 0 28px 60px -28px rgba(26, 26, 26, 0.8),
    inset 0 0 0 1px rgba(197, 160, 33, 0.16);
  overflow: hidden;
}

.alm-sup-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><path d='M0 30h60M30 0v60' stroke='%23c5a021' stroke-width='0.6'/></svg>");
}

.alm-sup-box > * { position: relative; }

.alm-sup-photo {
  flex: 0 0 auto;
  width: clamp(86px, 15vw, 124px);
  height: clamp(86px, 15vw, 124px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--alm-gold-l);
  font-family: var(--alm-serif);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  background: linear-gradient(150deg, #4a3427, #241b15);
  border: 3px solid var(--alm-gold);
  box-shadow: 0 0 0 6px rgba(197, 160, 33, 0.12), 0 18px 36px -16px rgba(0, 0, 0, 0.8);
}

.alm-sup-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.alm-sup-body { min-width: 0; flex: 1; }

.alm-sup-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--alm-gold);
}

.alm-sup-label svg { width: 14px; height: 14px; }

.alm-sup-body h3 {
  margin: 0.45rem 0 0.25rem;
  font-family: var(--alm-serif);
  font-weight: 800;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  line-height: 1.5;
  color: var(--alm-marble);
}

.alm-sup-role {
  display: inline-block;
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--alm-brown);
  background: linear-gradient(135deg, var(--alm-gold-l), var(--alm-gold));
  border-radius: 999px;
  padding: 0.24rem 0.85rem;
  box-shadow: 0 6px 16px -8px rgba(197, 160, 33, 0.9);
}

.alm-sup-desc {
  margin: 0.7rem 0 0;
  font-family: var(--alm-body);
  font-size: clamp(0.88rem, 2.2vw, 1rem);
  line-height: 1.95;
  color: rgba(245, 245, 220, 0.82);
  max-width: 68ch;
}

.alm-sup-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.05rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--alm-charcoal);
  background: linear-gradient(135deg, var(--alm-gold-l), var(--alm-gold));
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 26px -14px rgba(197, 160, 33, 0.95);
}

.alm-sup-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(197, 160, 33, 1); }
.alm-sup-cta svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .alm-sup-box { flex-direction: column; text-align: center; }
  .alm-sup-body { text-align: center; }
  .alm-sup-desc { margin-inline: auto; }
  .alm-sup-label { justify-content: center; }
}

/* ---------- شريحة الهيرو داخل صفحة القسم ---------- */

.alm-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.95rem;
  border-radius: 999px;
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--alm-gold);
  background: rgba(197, 160, 33, 0.12);
  border: 1px solid rgba(197, 160, 33, 0.42);
  backdrop-filter: blur(2px);
}

.alm-hero-chip svg { width: 14px; height: 14px; }

.alm-hero-caption {
  margin: 0.15rem auto 0 !important;
  max-width: 60ch !important;
  font-family: var(--alm-body) !important;
  font-size: clamp(0.88rem, 2.2vw, 1.02rem) !important;
  line-height: 1.9 !important;
  color: rgba(245, 245, 220, 0.78) !important;
  font-style: normal !important;
}

.alm-hero-caption b { color: var(--alm-gold); font-weight: 700; }

/* ==========================================================================
   3) صفحة القائمين على المدرسة
   ========================================================================== */

.alm-team {
  position: fixed;
  inset: 0;
  z-index: 130;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--alm-marble);
  color: var(--alm-ink);
  font-family: var(--alm-body);
  -webkit-overflow-scrolling: touch;
}

.alm-team-hero {
  position: relative;
  padding: clamp(3.2rem, 8vw, 6rem) 1rem clamp(2.4rem, 5vw, 3.6rem);
  text-align: center;
  color: var(--alm-marble);
  background:
    radial-gradient(760px 320px at 50% -20%, rgba(197, 160, 33, 0.34), transparent 70%),
    linear-gradient(150deg, #4a3427 0%, #1a1a1a 55%, #2c231c 100%);
  border-bottom: 3px solid var(--alm-gold);
  overflow: hidden;
}

.alm-team-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><path d='M0 40h80M40 0v80' stroke='%23c5a021' stroke-width='0.7'/></svg>");
}

.alm-team-hero > * { position: relative; }

.alm-team-hero h1 {
  margin: 0.8rem 0 0;
  font-family: var(--alm-serif);
  font-weight: 800;
  font-size: clamp(1.85rem, 5.2vw, 3.2rem);
  line-height: 1.4;
  text-shadow: 0 2px 18px rgba(197, 160, 33, 0.25);
}

.alm-team-hero p {
  margin: 0.9rem auto 0;
  max-width: 680px;
  font-size: clamp(0.94rem, 2.3vw, 1.08rem);
  line-height: 2;
  color: rgba(245, 245, 220, 0.82);
}

.alm-team-close {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  color: var(--alm-gold);
  background: rgba(26, 26, 26, 0.55);
  border: 1px solid rgba(197, 160, 33, 0.45);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 3;
}

.alm-team-close:hover { transform: rotate(90deg); background: rgba(197, 160, 33, 0.22); }
.alm-team-close svg { width: 20px; height: 20px; }

.alm-team-body {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(2.2rem, 5vw, 3.6rem) 1rem clamp(4rem, 8vw, 6rem);
}

.alm-team-group { margin-bottom: clamp(2.6rem, 6vw, 4rem); }

.alm-team-group-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.alm-team-group-head .alm-eyebrow { flex: 0 0 auto; }

.alm-team-group-head h2 {
  margin: 0;
  font-family: var(--alm-serif);
  font-weight: 800;
  font-size: clamp(1.25rem, 3.6vw, 1.85rem);
  color: var(--alm-brown);
  white-space: nowrap;
}

.alm-team-group-head .alm-ornament {
  flex: 1;
  margin: 0;
  justify-content: flex-start;
}

.alm-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

.alm-person {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 2.4vw, 1.6rem);
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(170deg, #fffdf5 0%, #f6f1dd 100%);
  border: 1px solid rgba(197, 160, 33, 0.34);
  box-shadow: var(--alm-shadow);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease,
    border-color 0.35s ease;
  overflow: hidden;
}

.alm-person:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 160, 33, 0.72);
  box-shadow: var(--alm-shadow-lg);
}

.alm-person::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 18%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--alm-gold), transparent);
}

.alm-person-photo {
  width: 122px;
  height: 122px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--alm-gold-l);
  font-family: var(--alm-serif);
  font-weight: 800;
  font-size: 2rem;
  background: linear-gradient(150deg, #4a3427, #241b15);
  border: 3px solid var(--alm-gold);
  box-shadow: 0 0 0 6px rgba(197, 160, 33, 0.13), 0 16px 32px -16px rgba(74, 52, 39, 0.9);
}

.alm-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.alm-person h3 {
  margin: 0;
  font-family: var(--alm-serif);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--alm-brown);
}

.alm-person-role {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.26rem 0.9rem;
  border-radius: 999px;
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--alm-brown);
  background: rgba(197, 160, 33, 0.18);
  border: 1px solid rgba(197, 160, 33, 0.4);
}

.alm-person p {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  line-height: 1.95;
  color: rgba(43, 33, 25, 0.76);
}

.alm-person-sec {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(197, 160, 33, 0.45);
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--alm-gold);
}

/* ---- المؤسس: بطاقة مميزة ---- */

.alm-founder {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.4rem, 3.4vw, 2.6rem);
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: 24px;
  color: var(--alm-marble);
  background:
    radial-gradient(760px 300px at 90% 10%, rgba(197, 160, 33, 0.3), transparent 70%),
    linear-gradient(135deg, #33261d 0%, #1a1a1a 52%, #2c231c 100%);
  border: 1px solid rgba(197, 160, 33, 0.55);
  box-shadow: 0 30px 64px -30px rgba(26, 26, 26, 0.85),
    inset 0 0 0 1px rgba(197, 160, 33, 0.14);
  overflow: hidden;
}

@media (min-width: 860px) {
  .alm-founder { grid-template-columns: 260px minmax(0, 1fr); }
}

.alm-founder-photo {
  width: clamp(150px, 60vw, 230px);
  height: clamp(150px, 60vw, 230px);
  margin-inline: auto;
  border-radius: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--alm-gold-l);
  font-family: var(--alm-serif);
  font-weight: 800;
  font-size: 3rem;
  background: linear-gradient(150deg, #4a3427, #241b15);
  border: 3px solid var(--alm-gold);
  box-shadow: 0 0 0 6px rgba(197, 160, 33, 0.13), 0 22px 44px -18px rgba(0, 0, 0, 0.9);
}

.alm-founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.alm-founder h3 {
  margin: 0.5rem 0 0;
  font-family: var(--alm-serif);
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.5;
}

.alm-founder p {
  margin: 0.85rem 0 0;
  font-size: clamp(0.92rem, 2.3vw, 1.02rem);
  line-height: 2.05;
  color: rgba(245, 245, 220, 0.83);
  max-width: 62ch;
}

.alm-founder .alm-sup-role { margin-top: 0.9rem; }

/* ==========================================================================
   4) إصلاحات جمالية عامة على الموقع
   ========================================================================== */

body.alm-page-active { overflow: hidden; }

/* توحيد ارتفاع وصورة بطاقات الأقسام داخل صفحات القسم */
.alm-section-cards a {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* لمعة ذهبية خفيفة على أزرار الموقع الرئيسية */
body.alm-enhanced a[href*="/category/"],
body.alm-enhanced a[href*="/poetry"],
body.alm-enhanced a[href*="/prose"],
body.alm-enhanced a[href*="/narrative"],
body.alm-enhanced a[href*="/literary-studies"],
body.alm-enhanced a[href*="/press-interview"] {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.alm-enhanced a[href*="/category/"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px -20px rgba(74, 52, 39, 0.55);
}

/* ---------- شريط سفلي عائم للوصول السريع للأقسام ---------- */

.alm-dock {
  position: fixed;
  inset-inline-start: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 1023px) {
  .alm-dock { bottom: 5.6rem; inset-inline-start: 0.75rem; }
  .alm-dock-btn { width: 44px; height: 44px; }
  .alm-dock-menu { min-width: 200px; }
}

.alm-dock-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--alm-gold);
  background: rgba(26, 26, 26, 0.88);
  border: 1px solid rgba(197, 160, 33, 0.5);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.85);
  transition: transform 0.3s ease, background 0.3s ease;
}

.alm-dock-btn:hover { transform: translateY(-3px) scale(1.05); background: rgba(197, 160, 33, 0.25); }
.alm-dock-btn svg { width: 21px; height: 21px; }

.alm-dock-menu {
  position: absolute;
  bottom: 0;
  inset-inline-end: 58px;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.6rem;
  border-radius: 18px;
  background: rgba(26, 26, 26, 0.95);
  border: 1px solid rgba(197, 160, 33, 0.4);
  box-shadow: 0 22px 48px -18px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
  min-width: 218px;
  max-height: 70vh;
  overflow-y: auto;
}

.alm-dock.open .alm-dock-menu { display: flex; }

.alm-dock-menu button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.7rem;
  border-radius: 11px;
  cursor: pointer;
  font-family: var(--alm-serif);
  font-weight: 700;
  font-size: 0.84rem;
  color: rgba(245, 245, 220, 0.88);
  background: transparent;
  border: 0;
  text-align: start;
  transition: background 0.25s ease, color 0.25s ease;
}

.alm-dock-menu button:hover { background: rgba(197, 160, 33, 0.18); color: var(--alm-gold); }
.alm-dock-menu button svg { width: 16px; height: 16px; color: var(--alm-gold); flex: 0 0 16px; }

/* ---------- حركات ---------- */

@keyframes alm-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.alm-anim { animation: alm-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .alm-anim { animation: none; }
  .alm-card, .alm-person { transition: none; }
}

@media (max-width: 480px) {
  .alm-card { padding: 0.7rem 0.65rem 0.65rem; gap: 0.4rem; }
  .alm-card h3 { font-size: 0.88rem; }
  .alm-card-desc { font-size: 0.74rem; line-height: 1.5; }
  .alm-card-icon { width: 34px; height: 34px; }
  .alm-card-icon svg { width: 17px; height: 17px; }
  .alm-card-count { font-size: 0.55rem; padding: 0.16rem 0.4rem; }
  .alm-showcase-head h2 { font-size: 1.25rem; }
  .alm-showcase-head p { font-size: 0.82rem; }
}
