/* ============================================================
   TOKENS
============================================================ */
:root {
  /* Colors matched directly from the MadarsaHub logo — deep teal,
     warm cream, and sage green, no gold anywhere (the logo has none). */
  --ink-black: #0D2622;
  --brand-green: #1B555C;
  --brand-green-light: #3D7D77;
  --gold: #7FA89D;
  --gold-light: #A9C4B8;
  --cream: #F3EBD8;
  --cream-card: #FFFFFF;
  --ink: #16302C;
  --muted: #5B6F68;
  --border: #E3D9BE;

  --font-display-en: 'Fraunces', serif;
  --font-body-en: 'Manrope', sans-serif;
  --font-display-ur: 'Noto Sans Arabic', sans-serif;
  --font-body-ur: 'Noto Sans Arabic', sans-serif;

  --font-display: var(--font-display-en);
  --font-body: var(--font-body-en);

  --max-width: 1180px;
}

html[dir="rtl"] {
  --font-display: var(--font-display-ur);
  --font-body: var(--font-body-ur);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* RTL-specific type adjustments — Nastaliq needs more line-height and
   slightly larger size to read comfortably; without this it looks
   cramped compared to the Latin display face. */
html[dir="rtl"] h1 { line-height: 1.3; }
html[dir="rtl"] h2 { line-height: 1.35; }
html[dir="rtl"] .hero-sub, html[dir="rtl"] p { line-height: 1.7; }
/* Arabic/Urdu script is cursive — letters within a word are meant to
   join. ANY letter-spacing (which every uppercase "label" style below
   uses, a purely Latin-typography convention) forces gaps into that
   joining, breaking the script apart and making it read as small,
   fragmented, and cramped even at a perfectly normal font size. Every
   element that sets letter-spacing for its Latin/English label style
   gets it reset to normal here, and uppercase (meaningless for a
   script with no case distinction anyway) turned off too. */
html[dir="rtl"] * {
  letter-spacing: normal !important;
  text-transform: none !important;
}
html[dir="rtl"] .feature-list li { line-height: 1.65; }
html[dir="rtl"] .form-field label,
html[dir="rtl"] .eyebrow, html[dir="rtl"] .section-eyebrow, html[dir="rtl"] .feature-cat-eyebrow,
html[dir="rtl"] .scroll-hint { font-size: 1.05em; }

.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px; border-radius: 12px; font-size: 15.5px; font-weight: 700;
  border: none; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #201800;
  box-shadow: 0 10px 28px rgba(200,155,60,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(200,155,60,0.45); }
.btn-outline {
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.28); backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-small { padding: 10px 20px; font-size: 13.5px; }
.btn-full { width: 100%; padding: 16px; margin-top: 6px; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 31, 23, 0.55); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display-en); font-weight: 700; font-size: 20px; color: #fff;
}
.logo-img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.logo-mark { color: var(--gold-light); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 14.5px; font-weight: 600; transition: color 0.15s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-btn {
  background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 8px 14px; font-size: 13.5px; font-weight: 700; transition: background 0.15s;
}
.lang-btn:hover { background: rgba(255,255,255,0.16); }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 22px; }
.mobile-menu {
  display: none; flex-direction: column; padding: 10px 24px 18px; gap: 4px;
  background: rgba(11,31,23,0.97);
}
.mobile-menu a { color: #fff; padding: 10px 0; font-size: 15px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu.open { display: flex; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  background: var(--ink-black);
  display: flex; align-items: center; justify-content: center;
}
#bg-canvas, #bg-canvas-2 { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 48%, rgba(11,31,23,0.7) 0%, rgba(11,31,23,0) 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 120px 24px 60px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700;
  color: var(--gold-light); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px); color: #fff; margin-bottom: 22px;
}
html[dir="ltr"] .hero h1 {
  background: linear-gradient(90deg, #ffffff 15%, var(--gold-light) 55%, #ffffff 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(15.5px, 2vw, 19px); color: #D7E3DA; max-width: 560px; margin: 0 auto 38px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 28px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent); animation: scrollpulse 2s ease-in-out infinite; }
@keyframes scrollpulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ============================================================
   SECTION HEADS (shared)
============================================================ */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 700; color: var(--brand-green-light); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); color: var(--ink); }
.demo .section-head h2, .demo .section-eyebrow { color: #fff; }
.demo-sub { color: #D7E3DA; margin-top: 14px; font-size: 15.5px; }

/* ============================================================
   FEATURES — stacked module cards: number + title, full image
   (never cropped), then the detail list below it.
============================================================ */
.features { background: var(--cream); padding: 100px 0; }
.feature-cat {
  padding: 56px 0; border-bottom: 1px solid var(--border);
}
.feature-cat:last-child { border-bottom: none; padding-bottom: 0; }
.feature-cat:first-of-type { padding-top: 0; }

.feature-cat-header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.feature-cat-num {
  font-family: var(--font-display-en); font-size: 15px; font-weight: 700; color: var(--gold);
  border: 1.5px solid var(--gold); width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-cat-eyebrow {
  display: block; font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase;
  font-weight: 700; color: var(--brand-green-light);
}
.feature-cat-text h3 {
  font-size: clamp(20px, 2.6vw, 27px); color: var(--brand-green); font-weight: 700; margin-top: 2px;
}
html[dir="rtl"] .feature-cat-text h3 { line-height: 1.7; }

.feature-cat-visual {
  background: var(--cream-card); border: 1px solid var(--border); border-radius: 20px;
  padding: 14px; margin-bottom: 26px; box-shadow: 0 14px 34px rgba(27,85,92,0.1);
}
.feature-cat-visual img { width: 100%; height: auto; display: block; border-radius: 10px; }
.feature-cat-visual.icon-only { display: flex; align-items: center; justify-content: center; padding: 40px; }
.cat-illustration { width: 140px; height: 140px; }

.feature-list {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px;
}
.feature-list li {
  position: relative; padding-inline-start: 28px; font-size: 15px; color: var(--muted); line-height: 1.55;
}
.feature-list li::before {
  content: '✓'; position: absolute; inset-inline-start: 0; top: 1px;
  color: var(--gold); font-weight: 800; font-size: 14px;
  width: 18px; height: 18px; border-radius: 50%; background: rgba(127,168,157,0.18);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   GALLERY
============================================================ */
.gallery { background: #EFE9D6; padding: 90px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item {
  background: var(--cream-card); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(27,85,92,0.12); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; display: block; }
.gallery-item figcaption { padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--brand-green); text-align: center; }

/* ============================================================
   HOW IT WORKS
============================================================ */
.how { background: #EFE9D6; padding: 100px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; padding: 0 10px; }
.step-num {
  font-family: var(--font-display-en); font-size: 15px; font-weight: 700; color: var(--gold);
  border: 1.5px solid var(--gold); width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; color: var(--brand-green); }
.step p { font-size: 14.5px; color: var(--muted); max-width: 280px; margin: 0 auto; }

/* ============================================================
   FAQ
============================================================ */
.faq { background: #EFE9D6; padding: 100px 0; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--cream-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none; text-align: start;
  font-size: 15.5px; font-weight: 700; color: var(--brand-green); font-family: inherit;
}
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(127,168,157,0.18);
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--brand-green);
  transition: transform 0.2s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 22px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
html[dir="rtl"] .faq-a p { line-height: 1.8; }

/* ============================================================
   DEMO FORM
============================================================ */
.demo { position: relative; background: var(--ink-black); padding: 110px 0; overflow: hidden; }
.demo-inner { position: relative; z-index: 2; }
.demo-form {
  max-width: 560px; margin: 0 auto; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 20px; padding: 34px;
  backdrop-filter: blur(8px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 12.5px; font-weight: 700; color: #D7E3DA; margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.5px; }
.optional-tag { text-transform: none; font-weight: 500; color: rgba(255,255,255,0.4); letter-spacing: 0; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06); color: #fff; font-size: 14.5px; font-family: inherit; resize: vertical;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold-light); background: rgba(255,255,255,0.1); }
.form-status { text-align: center; margin-top: 14px; font-size: 13.5px; min-height: 18px; }
.form-status.success { color: #7FD9A8; }
.form-status.error { color: #F09090; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: #081712; padding: 40px 0 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display-en); font-weight: 700; font-size: 17px; color: #fff; }
.footer-brand .logo-img { width: 36px; height: 36px; }
.footer-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-link { display: flex; align-items: center; gap: 8px; color: #D7E3DA; font-size: 14px; font-weight: 600; transition: color 0.15s; }
.footer-link:hover { color: var(--gold-light); }
.footer-icon { display: inline-flex; }
.whatsapp-icon { color: #25D366; }
.footer-bottom { text-align: center; padding: 20px 0; color: rgba(255,255,255,0.4); font-size: 12.5px; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; bottom: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45); transition: transform 0.2s ease;
}
html[dir="ltr"] .wa-float { right: 24px; }
html[dir="rtl"] .wa-float { left: 24px; }
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .feature-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  /* The language toggle stays visible up top on mobile (not tucked
     away at the bottom in the footer) — only the "Try It Free" button
     moves out, since the hamburger menu doesn't currently surface it. */
  .nav-actions .btn { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-content { padding: 100px 20px 50px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-form { padding: 24px; }
  .features, .how { padding: 70px 0; }
  .demo { padding: 80px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 50px; height: 50px; bottom: 18px; }
  html[dir="ltr"] .wa-float { right: 18px; }
  html[dir="rtl"] .wa-float { left: 18px; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-line { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   GUIDE — documentation pages (same brand, quieter/content-first
   layout — no 3D hero, this is for reading and following steps).
============================================================ */
.guide-hero {
  background: var(--ink-black); padding: 130px 0 60px; text-align: center;
}
.guide-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.guide-hero p { color: #D7E3DA; max-width: 560px; margin: 0 auto; font-size: 15.5px; }

.guide-search {
  max-width: 480px; margin: 28px auto 0; position: relative;
}
.guide-search input {
  width: 100%; padding: 13px 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07); color: #fff; font-size: 14.5px; font-family: inherit;
}
.guide-search input::placeholder { color: rgba(255,255,255,0.4); }
.guide-search .icon { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 16px; color: rgba(255,255,255,0.5); }

.guide-grid-section { background: var(--cream); padding: 60px 0 100px; }
.guide-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px;
}
.guide-card {
  display: block; background: var(--cream-card); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(27,85,92,0.12); border-color: var(--brand-green-light); }
.guide-card-num { font-family: var(--font-display-en); font-size: 12.5px; font-weight: 700; color: var(--gold); margin-bottom: 10px; display: block; }
.guide-card h3 { font-size: 17px; color: var(--brand-green); margin-bottom: 6px; }
.guide-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---- individual module page ---- */
.guide-page-header { background: var(--ink-black); padding: 120px 0 40px; }
.guide-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.guide-breadcrumb a { color: rgba(255,255,255,0.75); }
.guide-breadcrumb a:hover { color: var(--gold-light); }
.guide-page-header h1 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); }
.guide-page-header .lead { color: #D7E3DA; font-size: 15.5px; margin-top: 12px; max-width: 640px; }

.guide-body { background: var(--cream); padding: 56px 0 100px; }
.guide-layout { display: grid; grid-template-columns: 220px 1fr; gap: 50px; align-items: start; }
.guide-toc { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; }
.guide-toc-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; }
.guide-toc a { padding: 8px 12px; border-radius: 8px; font-size: 13.5px; color: var(--ink); }
html[dir="ltr"] .guide-toc a { border-left: 2px solid transparent; }
html[dir="rtl"] .guide-toc a { border-right: 2px solid transparent; }
.guide-toc a:hover { background: var(--cream-card); color: var(--brand-green); }

.guide-section { margin-bottom: 46px; scroll-margin-top: 90px; }
.guide-section h2 {
  font-size: 21px; color: var(--brand-green); margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border); display: flex; align-items: center; gap: 10px;
}
.guide-section-icon { color: var(--gold); flex-shrink: 0; }
.guide-section p { font-size: 15px; color: var(--ink); line-height: 1.7; margin-bottom: 14px; }
html[dir="rtl"] .guide-section p { line-height: 1.85; }

.guide-steps { list-style: none; counter-reset: guide-step; display: flex; flex-direction: column; gap: 16px; margin: 18px 0; }
.guide-steps li {
  counter-increment: guide-step; position: relative; padding-inline-start: 44px; font-size: 14.5px; color: var(--ink); line-height: 1.6;
}
.guide-steps li::before {
  content: counter(guide-step); position: absolute; top: -2px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--brand-green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; font-family: var(--font-display-en);
}
html[dir="ltr"] .guide-steps li::before { left: 0; }
html[dir="rtl"] .guide-steps li::before { right: 0; }
.guide-steps li b { color: var(--brand-green); }

.guide-shot { margin: 22px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 14px 32px rgba(27,85,92,0.1); }
.guide-shot img { width: 100%; display: block; }

.guide-callout {
  background: #EFF6F2; border-radius: 10px;
  padding: 16px 20px; margin: 20px 0; font-size: 14px; color: var(--ink); line-height: 1.6;
}
html[dir="ltr"] .guide-callout { border-left: 4px solid var(--brand-green-light); }
html[dir="rtl"] .guide-callout { border-right: 4px solid var(--brand-green-light); }
html[dir="ltr"] .guide-callout.warn { border-left-color: var(--gold); }
html[dir="rtl"] .guide-callout.warn { border-right-color: var(--gold); }
.guide-callout.warn { background: #FBF1DC; }
.guide-callout b { color: var(--brand-green); }

.guide-nextprev { display: flex; justify-content: space-between; gap: 16px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border); }
.guide-nav-link { flex: 1; padding: 16px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--cream-card); transition: border-color 0.2s; }
.guide-nav-link:hover { border-color: var(--brand-green-light); }
.guide-nav-link .dir-label { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.guide-nav-link .mod-name { font-size: 15px; font-weight: 700; color: var(--brand-green); margin-top: 4px; }
.guide-nav-link.next { text-align: end; }

@media (max-width: 900px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 10px; }
  .guide-toc a { white-space: nowrap; }
}
@media (max-width: 640px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-nextprev { flex-direction: column; }
  .guide-nav-link.next { text-align: start; }
}
