/* ==========================================================================
   GUIDE — language switcher, ritual timeline, Talbiyah box, tip list
   (Shared by haj-guide / umrah-guide, all language versions)
   ========================================================================== */

/* ---------------------------------- Centered intro block ------------------- */
.about-intro {
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
  padding-bottom: var(--space-5);
  border-bottom: 2px solid var(--color-gold);
}
.about-intro p { color: var(--color-ink-soft); font-size: var(--fs-md); margin-top: var(--space-2); }

/* ---------------------------------- Language switcher --------------------- */
.lang-switch {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}
.lang-switch a {
  padding: 8px 20px;
  border-radius: 999px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(250, 245, 234, 0.35);
  color: rgba(250, 245, 234, 0.85);
  transition: all var(--transition);
}
.lang-switch a.is-active {
  background: var(--color-gold);
  color: var(--color-emerald-deep);
  border-color: var(--color-gold);
}
.lang-switch a:hover:not(.is-active) {
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
}

/* ---------------------------------- Talbiyah callout ----------------------- */
.talbiyah-box {
  background: var(--color-emerald-deep);
  color: var(--color-cream);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-5);
  text-align: center;
}
.talbiyah-box__arabic {
  font-family: 'Amiri', serif; /* always genuine Quranic Arabic - never follows the page's heading font */
  font-size: clamp(1.3rem, 1rem + 1.5vw, 1.8rem);
  line-height: 1.9;
  color: var(--color-gold-light);
  direction: rtl;
  margin-bottom: var(--space-3);
}
.talbiyah-box__translit {
  font-family: var(--font-label);
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: var(--space-2);
}
.talbiyah-box__translation {
  font-size: 0.9rem;
  opacity: 0.75;
  max-width: 50ch;
  margin-inline: auto;
}

/* ---------------------------------- Ritual timeline ------------------------ */
.guide-timeline {
  position: relative;
  padding-left: 44px;
}
.guide-timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--color-border);
}

.guide-step { position: relative; padding-bottom: var(--space-5); }
.guide-step:last-child { padding-bottom: 0; }

.guide-step__num {
  position: absolute;
  left: -44px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-emerald);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.guide-step__day {
  font-family: var(--font-label);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 4px;
}
.guide-step h3 { margin-bottom: var(--space-2); }
.guide-step p { color: var(--color-ink-soft); }

/* ---------------------------------- Tip / mistakes list -------------------- */
.tip-list {
  background: var(--color-cream-deep);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-5);
}
.tip-list li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.94rem;
  color: var(--color-ink-soft);
}
.tip-list li:last-child { border-bottom: none; }
.tip-list li svg { width: 18px; height: 18px; color: #B23B3B; flex-shrink: 0; margin-top: 2px; }

/* ---------------------------------- RTL support (Urdu page) ----------------
   Flexbox `row` direction already auto-reverses under dir="rtl" — it follows
   the inline text direction automatically, so icon+text pairs like
   .inclusion-item and .tip-list li need NO override here. These fixes are
   only for properties that do NOT auto-flip: hardcoded left/right positioning
   and physical (non-logical) margins/borders. */
html[dir="rtl"] .guide-timeline { padding-left: 0; padding-right: 44px; }
html[dir="rtl"] .guide-timeline::before { left: auto; right: 14px; }
html[dir="rtl"] .guide-step__num { left: auto; right: -44px; }

html[dir="rtl"] .skip-link { left: auto; right: var(--space-3); }
html[dir="rtl"] .nav-list > li > a::after,
html[dir="rtl"] .nav-dropdown-toggle::after { left: auto; right: 0; }
html[dir="rtl"] .header-call { margin-left: 0; margin-right: var(--space-4); }
html[dir="rtl"] .package-note { border-left: none; border-right: 4px solid var(--color-emerald); }
html[dir="rtl"] .alert-box { border-left: none; border-right: 4px solid var(--color-gold); }

/* Deliberate exception: keep the language switcher's order (English | हिंदी | اردو)
   consistent on every page, rather than letting it mirror with RTL */
html[dir="rtl"] .lang-switch { flex-direction: row-reverse; }
