/* ============================================
   UmmahSpace — Mosque Landing
   Design: dark theme, green accents
   ============================================ */

:root {
  --bg-body:       #0F0F0F;
  --bg-card:       #1A1A1A;
  --bg-card-2:     #222222;
  --bg-card-hover: #2A2A2A;
  --accent:        #22C55E;
  --accent-dark:   #16A34A;
  --accent-muted:  rgba(34,197,94,.15);
  --text-primary:  #FFFFFF;
  --text-secondary:#A1A1AA;
  --text-muted:    #71717A;
  --border:        #2D2D2D;
  --nav-bg:        rgba(15,15,15,.88);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --max-w:         960px;
}

[data-theme="light"] {
  --bg-body:       #F4F4F5;
  --bg-card:       #FFFFFF;
  --bg-card-2:     #EBEBEC;
  --bg-card-hover: #E4E4E7;
  --accent:        #16A34A;
  --accent-dark:   #15803D;
  --accent-muted:  rgba(22,163,74,.12);
  --text-primary:  #111111;
  --text-secondary:#52525B;
  --text-muted:    #A1A1AA;
  --border:        #E4E4E7;
  --nav-bg:        rgba(244,244,245,.92);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── Utilities ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 32px 0; }
.section + .section { border-top: 1px solid var(--border); }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.3px;
}
.see-all {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  transition: opacity .2s;
}
.see-all:hover { opacity: .75; }

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ── Global Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background-color .25s, border-color .25s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.5px;
}
.logo-text {
  font-family: 'Story Script', cursive;
  font-weight: 400;
  font-size: 1.3em;
  letter-spacing: 0;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon svg { width: 20px; height: 20px; fill: white; }
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-mobile a:hover { color: var(--text-primary); background: var(--bg-card); }
.nav-mobile.open { display: flex; }

/* ── Hero ── */
.hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(15,15,15,.95) 100%);
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 20px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-muted);
  border: 1px solid rgba(34,197,94,.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.hero-title {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.15;
  margin-bottom: 10px;
  color: #ffffff;
}
.hero-address {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.hero-address svg { flex-shrink: 0; }

/* ── Prayer Times ── */
.prayer-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.prayer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.prayer-next {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.prayer-next-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.prayer-next-name {
  font-size: 22px;
  font-weight: 800;
}
.prayer-next-countdown {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}
.prayer-date {
  text-align: right;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.prayer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.prayer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--bg-card-2);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
  border: 1px solid var(--border);
  transition: border-color .2s;
}
.prayer-item.active {
  border-color: var(--accent);
  background: var(--accent-muted);
}
.prayer-item-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.prayer-item.active .prayer-item-name { color: var(--accent); }
.prayer-item-time {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Imams ── */
.imams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.imam-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: border-color .2s, transform .2s;
  cursor: pointer;
}
.imam-card:hover { border-color: rgba(34,197,94,.4); transform: translateY(-2px); }
.imam-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.imam-avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-card-2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}
.imam-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.imam-role {
  font-size: 12px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Fundraising ── */
.fundraising-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fundraising-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.fundraising-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}
.fundraising-info { flex: 1; min-width: 0; }
.fundraising-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.fundraising-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.fundraising-progress { margin-bottom: 8px; }
.progress-bar {
  height: 6px;
  background: var(--bg-card-2);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width .5s ease;
}
.fundraising-amounts {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 6px;
}
.fundraising-raised { color: var(--accent); font-weight: 600; }
.fundraising-goal { color: var(--text-muted); }
.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}
.btn-donate:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ── Lecture List ── */
.lectures-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lecture-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color .2s, transform .15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.lecture-item:hover { border-color: rgba(34,197,94,.4); transform: translateX(2px); }
.lecture-meta { flex: 1; min-width: 0; }
.lecture-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.lecture-author-dot {
  width: 3px; height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
}
.lecture-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lecture-tags {
  display: flex;
  gap: 5px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
  background: var(--bg-card-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.play-btn:hover { background: var(--accent-dark); transform: scale(1.08); }
.play-btn svg { margin-left: 2px; }

/* ── Upcoming Events ── */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.event-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .2s;
}
.event-card:hover { border-color: rgba(34,197,94,.35); }
.event-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent-muted);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  min-width: 52px;
  flex-shrink: 0;
}
.event-day { font-size: 22px; font-weight: 800; color: var(--accent); line-height: 1; }
.event-month { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--accent); margin-top: 2px; }
.event-info { flex: 1; min-width: 0; }
.event-title { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.event-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; line-height: 1.5; }
.event-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Lesson Schedule ── */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.schedule-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.schedule-day {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-secondary);
}
.schedule-day.today {
  background: var(--accent-muted);
  border: 1px solid rgba(34,197,94,.3);
  color: var(--accent);
}
.schedule-info { flex: 1; min-width: 0; }
.schedule-name { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.schedule-teacher { font-size: 12px; color: var(--text-muted); }
.schedule-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

/* ── Footer ── */
.site-footer {
  padding: 40px 20px 32px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 240px;
  line-height: 1.6;
}
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 13px; color: var(--text-muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--text-primary); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ════════════════════════════════════════
   LECTURES LIST PAGE
   ════════════════════════════════════════ */
.page-header {
  padding: 40px 0 24px;
}
.page-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.6px;
  margin-bottom: 8px;
}
.page-subtitle { font-size: 15px; color: var(--text-secondary); }

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.filter-btn:hover { border-color: rgba(34,197,94,.4); color: var(--text-primary); }
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-muted);
}

.lectures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.lecture-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.lecture-card:hover { border-color: rgba(34,197,94,.4); transform: translateY(-3px); }
.lecture-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.lecture-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lecture-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
}
.lecture-card-play .play-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.lecture-card:hover .play-circle { transform: scale(1.1); }
.lecture-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.lecture-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.author-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.author-name-sm { font-size: 13px; color: var(--text-secondary); }
.lecture-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}
.lecture-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.lecture-card-duration {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

/* ════════════════════════════════════════
   SINGLE LECTURE PAGE
   ════════════════════════════════════════ */
.lecture-page { max-width: 760px; margin: 0 auto; padding: 0 20px 60px; }

.video-wrapper {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  width: 100%;
  margin-bottom: 24px;
}
.video-wrapper video,
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--bg-card);
  cursor: pointer;
}
.video-placeholder .big-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.video-placeholder:hover .big-play { transform: scale(1.08); }
.video-placeholder p { font-size: 14px; color: var(--text-secondary); }

.lecture-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.author-avatar-lg {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.author-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.author-info { flex: 1; }
.author-name-lg { font-size: 16px; font-weight: 700; }
.author-role-lg { font-size: 13px; color: var(--text-muted); }
.lecture-date { font-size: 13px; color: var(--text-muted); }

.lecture-main-title {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.3;
  margin-bottom: 16px;
}
.lecture-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.key-points {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.key-points h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.key-points ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.key-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.key-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}

.tags-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; }

/* Audio player */
.audio-player {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid var(--border);
  margin-bottom: 32px;
}
.audio-player h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.audio-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.audio-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}
.audio-play-btn:hover { background: var(--accent-dark); }
.audio-timeline { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.audio-seek {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  border-radius: 99px;
  cursor: pointer;
  outline: none;
}
.audio-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}
.audio-times { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }

/* Other lectures */
.other-lectures h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 0 0;
  transition: color .2s;
}
.back-link:hover { color: var(--text-primary); }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .theme-toggle { width: 32px; height: 32px; }

  .hero { height: 300px; }

  .prayer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .imams-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .imam-avatar, .imam-avatar-placeholder { width: 56px; height: 56px; }

  .fundraising-card { flex-wrap: wrap; }

  .lectures-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .event-card { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .prayer-grid { grid-template-columns: repeat(3, 1fr); }
  .prayer-item-time { font-size: 11px; }
  .imams-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 16px; }

  .fundraising-card {
    flex-direction: column;
  }
  .btn-donate { width: 100%; justify-content: center; }

  .lecture-page { padding: 0 16px 50px; }
  .audio-controls { gap: 10px; }
}
