/* ============================================================
   صفحات عمومی سایت — نوار بالا، هیرو، بخش‌های محتوایی، فوتر
   ============================================================ */

.public-nav {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 20;
}
.public-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.public-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.public-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.public-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 999px;
}
.public-links a:hover { background: var(--surface-2); color: var(--ink); }
.public-links a.active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }

.hero {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 14px 14px;
}
.hero .kicker { color: var(--accent); font-weight: 600; margin-bottom: 4px; font-size: 12px; }
.hero h1 { font-size: clamp(17px, 2.8vw, 24px); max-width: 640px; line-height: 1.5; margin-bottom: 4px; }
.hero p.lead { max-width: 520px; font-size: 13px; margin-top: 2px; }

.gate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 10px;
  max-width: 760px;
  width: 100%;
  margin-top: 14px;
  padding: 0 12px;
}
.gate-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 6px 10px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform .12s, border-color .12s;
}
.gate-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.gate-card .icon { font-size: 22px; margin-bottom: 6px; }
.gate-card .title { font-weight: 700; margin-bottom: 2px; font-size: 12.5px; }
.gate-card .desc { font-size: 10.5px; color: var(--ink-soft); line-height: 1.5; }

/* آواتار گرد نقش‌ها — عکس انتخاب‌شده‌ی مدیر، یا همان آیکن پیش‌فرض */
.gate-avatar {
  width: 60px;
  height: 60px;
  margin: 0 auto 8px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  background: var(--surface-2);
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.gate-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.section-block {
  border-top: 1px solid var(--line);
  padding: 28px 16px;
}
.section-block:nth-of-type(even) { background: var(--surface); }
.section-inner {
  max-width: 860px;
  margin: 0 auto;
}
.section-inner h2 { font-size: 17px; margin-bottom: 12px; }
.lead-text { font-size: 14px; line-height: 1.9; white-space: pre-line; }

.public-footer {
  text-align: center;
  padding: 30px 20px 44px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

/* ---- کارت‌های صفحه‌ی «درباره‌ی ما» ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 10px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.contact-card h4 { font-size: 14px; margin-bottom: 8px; color: var(--accent); }
.map-frame {
  width: 100%;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.gallery-grid figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.gallery-grid img { width: 100%; height: 140px; object-fit: cover; display: block; }
.gallery-grid figcaption { padding: 8px 10px; font-size: 12.5px; color: var(--ink-soft); }

/* ---- قوانین ---- */
.rule-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.rule-item .num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.rule-item h4 { margin-bottom: 4px; }
.rule-item p { margin: 0; }

/* ---- افتخارات ---- */
.tab-row { display: flex; gap: 8px; margin-bottom: 20px; }
.tab-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 13.5px;
}
.tab-btn.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.achievement-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.achievement-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.achievement-card .body { padding: 14px 16px; }
.achievement-card h4 { font-size: 14.5px; margin-bottom: 6px; }
.achievement-card .date { font-size: 12px; color: var(--accent); margin-bottom: 6px; }
.achievement-card p { font-size: 13px; margin: 0; }

.top-class-group { margin-bottom: 28px; }
.top-class-group h3 { font-size: 16px; margin-bottom: 12px; padding-bottom:8px; border-bottom: 1px solid var(--line); }
.top-student-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.top-rank-badge {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.top-student-row .name { font-weight: 600; }
.top-student-row .note { font-size: 12.5px; color: var(--ink-soft); }

.empty-note { color: var(--ink-soft); font-size: 14px; padding: 20px 0; text-align: center; }

@media (max-width: 720px) {
  .gate-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .gate-avatar { width: 52px; height: 52px; font-size: 24px; }
  .public-nav-inner { flex-wrap: wrap; gap: 6px; padding: 6px 12px; }
  .public-links { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .public-links a { white-space: nowrap; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   تقویم شمسی مدرسه — صفحه‌ی اصلی
   ============================================================ */
.school-calendar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px 22px;
  max-width: 480px;
  margin: 0 auto;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 8px;
}
.cal-nav { padding: 6px 12px; font-size: 13px; flex-shrink: 0; }
.cal-title { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cal-title > span { font-weight: 700; font-size: 15.5px; }
.cal-today-btn {
  background: none; border: none; color: var(--accent);
  font-size: 12px; cursor: pointer; padding: 0; font-family: var(--font);
}
.cal-weekdays, .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-weekday {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  padding-bottom: 8px;
  font-weight: 600;
}
.cal-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  border-radius: 8px;
  margin: 2px 0;
}
.cal-cell.has-event { cursor: pointer; background: var(--surface-2); font-weight: 700; }
.cal-cell.has-event:hover { background: var(--accent); color: var(--accent-ink); }
.cal-cell.is-today { border: 1.5px solid var(--accent); }
.cal-dot {
  position: absolute;
  bottom: 4px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.cal-cell.has-event:hover .cal-dot { background: var(--accent-ink); }
.cal-day-detail {
  margin-top: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.cal-detail-date { font-weight: 700; color: var(--accent); margin-bottom: 6px; font-size: 13.5px; }
.cal-detail-item { margin-bottom: 8px; font-size: 13.5px; }
.cal-detail-item p { margin: 2px 0 0; font-size: 12.5px; }

.cal-year-events { max-width: 640px; margin: 26px auto 0; }
.cal-year-events h3 { font-size: 16px; margin-bottom: 12px; }
.cal-event-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.cal-event-row:last-child { border-bottom: none; }
.cal-event-date {
  flex-shrink: 0;
  min-width: 78px;
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
  padding-top: 2px;
}
.cal-event-body { flex: 1; font-size: 14px; }
.badge-upcoming {
  flex-shrink: 0;
  background: var(--accent-2);
  color: var(--accent-ink);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  align-self: flex-start;
}

/* ------------------------------------------------------------
   شمار معکوس رای‌گیری (شورا + رای‌گیری‌های عمومی) — بزرگ و
   برجسته، برای نمایش در صفحه‌ی اول و صفحات مربوطه.
------------------------------------------------------------ */
.countdown-section { display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.countdown-box {
  background: linear-gradient(135deg, var(--accent) 0%, var(--surface-2) 130%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  text-align: center;
}
.countdown-box .countdown-title { font-weight: 700; font-size: 17px; margin-bottom: 12px; color: var(--accent-ink); }
.countdown-box .countdown-label { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--accent-ink); opacity: .92; }
.countdown-clock { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.countdown-unit {
  background: rgba(255,255,255,.18);
  border-radius: 12px;
  min-width: 68px;
  padding: 10px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.countdown-unit span.countdown-num { font-size: 28px; font-weight: 800; line-height: 1; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.countdown-unit small { font-size: 12px; color: var(--accent-ink); opacity: .85; }
.countdown-box.is-plain { background: var(--surface); }
.countdown-box.is-plain .countdown-title,
.countdown-box.is-plain .countdown-label { color: var(--ink); }
.countdown-box.is-plain .countdown-unit { background: var(--surface-2); }
.countdown-box.is-plain .countdown-unit span.countdown-num,
.countdown-box.is-plain .countdown-unit small { color: var(--ink); }
@media (max-width: 480px) {
  .countdown-unit { min-width: 58px; padding: 8px 4px; }
  .countdown-unit span.countdown-num { font-size: 22px; }
}


/* ============================================================
   تقویم سنجاق‌شده روی دیوار — صفحهٔ اصلی
   ============================================================ */
.wall-cal-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 16px 0;
  background: transparent;
  position: relative;
  z-index: 2;
}
.wall-cal {
  position: relative;
  width: min(200px, 70vw);
  background: linear-gradient(165deg, #fffdf6 0%, #f7f0e0 55%, #f0e6d2 100%);
  color: #2c2416;
  border-radius: 6px 6px 10px 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 10px 28px rgba(40, 28, 10, .18),
    0 2px 6px rgba(40, 28, 10, .12);
  padding: 14px 12px 10px;
  text-align: center;
  transform: rotate(-1.2deg);
  border: 1px solid rgba(120, 90, 40, .18);
}
.wall-cal.is-holiday {
  background: linear-gradient(165deg, #fff5f5 0%, #ffe8e4 60%, #fdded8 100%);
}
.wall-cal-pins {
  position: absolute;
  top: -8px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 28px;
  pointer-events: none;
}
.wall-cal .pin {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd76a, #c8921a 55%, #8a6410 100%);
  box-shadow:
    0 1px 2px rgba(0,0,0,.35),
    0 0 0 2px rgba(255,255,255,.35) inset;
}
.wall-cal-tape {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 64px;
  height: 16px;
  background: linear-gradient(180deg, rgba(255,240,160,.85), rgba(255,220,100,.55));
  border: 1px solid rgba(180,140,40,.25);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  opacity: .9;
}
.wall-cal-weekday {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #8a6a3a;
  margin-bottom: 2px;
}
.wall-cal-day {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: #1f2a24;
  font-variant-numeric: tabular-nums;
  margin: 2px 0 4px;
}
.wall-cal.is-holiday .wall-cal-day { color: #b33a2e; }
.wall-cal-clock {
  margin: 6px 0 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(80, 55, 20, .06);
  border: 1px solid rgba(120, 90, 40, .18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.wall-cal-clock-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #8a7a60;
  letter-spacing: .02em;
}
.wall-cal-clock-time {
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  color: #2c2416;
  font-family: ui-monospace, 'Vazirmatn', Tahoma, sans-serif;
  direction: ltr;
  unicode-bidi: isolate;
}
.wall-cal.is-holiday .wall-cal-clock {
  background: rgba(180, 50, 40, .07);
  border-color: rgba(180, 50, 40, .2);
}
[data-theme="dark"] .wall-cal-clock,
body.dark .wall-cal-clock,
[data-theme="night"] .wall-cal-clock {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .1);
}
[data-theme="dark"] .wall-cal-clock-label,
body.dark .wall-cal-clock-label,
[data-theme="night"] .wall-cal-clock-label { color: #9aa0a8; }
[data-theme="dark"] .wall-cal-clock-time,
body.dark .wall-cal-clock-time,
[data-theme="night"] .wall-cal-clock-time { color: #f2f0ea; }

.wall-cal-month {
  font-size: 13.5px;
  font-weight: 700;
  color: #4a3a22;
  margin-bottom: 10px;
}
.wall-cal-occ {
  border-top: 1px dashed rgba(120, 90, 40, .28);
  padding-top: 10px;
  min-height: 28px;
  font-size: 13px;
  line-height: 1.45;
}
.wall-cal-occ-item {
  margin: 4px 0;
  font-weight: 600;
  color: #2a3d34;
}
.wall-cal-occ-empty,
.wall-cal-occ-loading {
  color: #8a7a60;
  font-size: 12.5px;
  font-weight: 500;
}

/* تم تیره */
[data-theme="dark"] .wall-cal,
body.dark .wall-cal {
  background: linear-gradient(165deg, #2a3038 0%, #222830 100%);
  color: #e8e2d6;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
}
[data-theme="dark"] .wall-cal-weekday,
body.dark .wall-cal-weekday { color: #c4b08a; }
[data-theme="dark"] .wall-cal-day,
body.dark .wall-cal-day { color: #f2f0ea; }
[data-theme="dark"] .wall-cal-month,
body.dark .wall-cal-month { color: #d0c4a8; }
[data-theme="dark"] .wall-cal-occ-item,
body.dark .wall-cal-occ-item { color: #dce8e0; }
[data-theme="dark"] .wall-cal-occ-empty,
body.dark .wall-cal-occ-empty { color: #9aa0a8; }

@media (max-width: 480px) {
  .wall-cal { width: min(170px, 62vw); padding: 12px 10px 8px; }
  .wall-cal-day { font-size: 30px; }
}

/* ============================================================
   بنر «کمک‌های مردمی» — بالای صفحه‌ی اصلی و صفحه‌ی donate
   ============================================================ */

/* دکمهٔ شناور کوچک کمک مردمی — چشمک‌زن، بدون اشغال نصف صفحه */
.donate-fab {
  position: fixed;
  z-index: 40;
  left: 14px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(220px, calc(100vw - 28px));
  padding: 8px 12px 8px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: #0d4f40;
  background: linear-gradient(135deg, #ffffff 0%, #e8faf3 55%, #fff6e5 100%);
  border: 1.5px solid rgba(15, 91, 74, .28);
  box-shadow: 0 6px 20px rgba(15, 91, 74, .18), 0 0 0 0 rgba(46, 180, 120, .35);
  animation: donateFabPulse 2.2s ease-in-out infinite;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
  line-height: 1.25;
}
.donate-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 26px rgba(15, 91, 74, .25);
  animation: none;
}
.donate-fab-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.08));
}
.donate-fab-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.donate-fab-text strong {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f5b4a;
}
.donate-fab-blink {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #c62828;
  animation: donateTextBlink 1.4s ease-in-out infinite;
}
@keyframes donateFabPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(15, 91, 74, .16), 0 0 0 0 rgba(46, 180, 120, .4); }
  50% { box-shadow: 0 6px 18px rgba(15, 91, 74, .16), 0 0 0 8px rgba(46, 180, 120, 0); }
}
@keyframes donateTextBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@media (max-width: 480px) {
  .donate-fab { left: 10px; bottom: 12px; padding: 7px 10px; }
  .donate-fab-text strong { font-size: 12px; }
  .donate-fab-blink { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .donate-fab, .donate-fab-blink { animation: none !important; }
}



/* ============================================================
   نوار متحرک تاریخ / ساعت / مناسبت — صفحه‌ی اصلی
   ============================================================ */
.info-ticker {
  overflow: hidden;
  direction: ltr;               /* فقط برای مکانیک حرکت؛ متن داخلش راست‌به‌چپ است */
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.info-ticker.is-holiday { background: #fdecea; color: #8c2a20; }
[data-theme="dark"] .info-ticker.is-holiday, body.dark .info-ticker.is-holiday { background: #3a1f1c; color: #ffd2cc; }
.info-ticker-track {
  display: flex;
  width: max-content;
  animation: infoTickerMove 40s linear infinite;
  will-change: transform;
}
.info-ticker:hover .info-ticker-track,
.info-ticker:active .info-ticker-track { animation-play-state: paused; }
.info-ticker-group {
  direction: rtl;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 100vw;
  justify-content: space-around;
  gap: 18px;
  padding: 7px 14px;
  white-space: nowrap;
  font-size: 13px;
}
.info-ticker .tk-sep { opacity: .35; }
.info-ticker .tk-muted { opacity: .65; font-size: 12px; }
.info-ticker .tk-clock-time { font-variant-numeric: tabular-nums; color: var(--accent); margin-inline-start: 4px; unicode-bidi: isolate; }
.info-ticker.is-holiday .tk-clock-time { color: inherit; }
.info-ticker.is-static .info-ticker-track { width: 100%; justify-content: center; }
.info-ticker.is-static .info-ticker-group:nth-child(2) { display: none; }
@keyframes infoTickerMove {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .info-ticker-track { animation: none !important; }
}


/* ---- کادر مدرسه (صفحه درباره ما) ---- */
.staff-section-head {
  text-align: center;
  margin-bottom: 28px;
}
.staff-section-head h2 {
  font-size: 1.55rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.staff-section-head p {
  margin: 0 auto;
  max-width: 520px;
  line-height: 1.8;
  font-size: 14px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.staff-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 20px 22px;
  text-align: center;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.staff-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #6366f1, #a855f7);
  opacity: .9;
}
.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .1);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}
.staff-photo {
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid color-mix(in srgb, var(--accent) 40%, #fff);
  box-shadow: 0 8px 20px rgba(99, 102, 241, .18);
  background: var(--surface-2, #f1f5f9);
}
.staff-photo-fallback {
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #0ea5e9, #6366f1);
  box-shadow: 0 8px 20px rgba(99, 102, 241, .22);
}
.staff-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
}
.staff-role {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.staff-bio {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft, #64748b);
}
@media (max-width: 560px) {
  .staff-grid { grid-template-columns: 1fr; }
}
