/* ============================================================================
   Smarter Way — "Cozy Dark" design system
   Warm charcoal surfaces, cream text, amber accent. Bedtime-reading mood.
   ============================================================================ */

:root {
  /* surfaces (warm, not cold slate) */
  --bg: #18130F;
  --surface: #221C16;
  --surface-2: #2B231B;
  --header-bg: #120E0B;
  --line: #38301F;

  /* text */
  --text: #EDE6DB;
  --text-muted: #B6AB99;
  --text-dim: #8C8270;

  /* brand */
  --accent: #E0A458;        /* amber */
  --accent-strong: #F2BE74;
  --accent-ink: #1B1510;    /* text on amber */
  --accent-soft: rgba(224, 164, 88, 0.12);

  /* kids — a warm, gentle pop that still belongs to the palette */
  --kids: #6FBFAE;
  --kids-warm: #F2956A;

  /* shape + depth */
  --r: 16px;
  --r-sm: 10px;
  --r-pill: 999px;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.40);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
  --ring: 0 0 0 1px var(--line);

  /* type */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-text: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --measure: 68ch;
  --content: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(1200px 600px at 50% -200px, #241C15 0%, rgba(36,28,21,0) 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}

a { color: var(--accent); }

img { max-width: 100%; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ============================================================================
   HEADER + NAV
   ============================================================================ */

header {
  padding: 30px 20px 18px;
  text-align: center;
  background: linear-gradient(180deg, var(--header-bg) 0%, rgba(18,14,11,0.6) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.logo {
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo img { width: auto; height: 118px; max-width: min(90vw, 440px); object-fit: contain; display: block; }
/* The gold lockup image carries the "Smarter Way" wordmark, so the text heading is screen-reader only. */
.brand-heading { font-size: 0; margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

header h1 {
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  margin: 0 0 0.1em;
}
.h1-sub, header .h1-sub {
  display: block;
  font-family: var(--font-text);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-top: 0.35em;
}
.slogan {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
}

nav { margin-top: 24px; }
nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px;
}
nav ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  display: inline-block;
  transition: color .18s, background .18s;
}
nav ul li a:hover { color: var(--accent-strong); background: var(--accent-soft); }
nav ul li a.active { background: var(--accent); color: var(--accent-ink); }
nav ul li a.nav-free { color: #7fd6a3; }
nav ul li a.nav-free:hover { color: #a6e6c2; background: rgba(47,125,79,.18); }
nav ul li a.nav-free.active { background: #2f7d4f; color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  position: absolute; left: 16px; top: 28px; z-index: 1001;
}
.hamburger span { display: block; width: 26px; height: 3px; margin: 4px 0; background: var(--accent); border-radius: 2px; transition: .3s; }

/* Language switcher (header dropdown) — pinned to the top-right corner */
.lang-dd { position: absolute; top: 26px; right: 20px; width: max-content; margin: 0; font-size: .9rem; z-index: 1001; }
.lang-dd summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); color: var(--text); font-weight: 600; user-select: none;
  transition: border-color .18s, background .18s;
}
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary:hover { border-color: var(--accent); }
.lang-dd .flag { font-size: 1.05rem; }
.lang-dd .chev { color: var(--text-dim); font-size: .7rem; transition: transform .2s; }
.lang-dd[open] .chev { transform: rotate(180deg); }
.lang-dd ul {
  position: absolute; top: calc(100% + 6px); right: 0; left: auto; transform: none;
  margin: 0; padding: 6px; list-style: none; z-index: 1200; min-width: 100%;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow);
}
.lang-dd li { white-space: nowrap; }
.lang-dd ul a {
  display: flex; align-items: center; gap: .5rem; padding: .5rem .9rem;
  border-radius: 8px; color: var(--text-muted); text-decoration: none; font-weight: 600;
}
.lang-dd ul a:hover { background: var(--accent-soft); color: var(--accent-strong); }
/* RTL: mirror the switcher to the top-left corner */
[dir="rtl"] .lang-dd { right: auto; left: 20px; }
[dir="rtl"] .lang-dd ul { right: auto; left: 0; transform: none; }

/* ============================================================================
   LAYOUT
   ============================================================================ */

main {
  flex: 1; width: 100%;
  max-width: var(--content);
  margin: 44px auto 0;
  padding: 0 20px;
}

.blog-container { max-width: var(--content); margin: 0 auto 3.5rem; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin: 0 0 1.4rem;
}
.section-head h2 { font-size: 1.9rem; margin: 0; }
.section-head .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; font-family: var(--font-text); }

h2 { font-size: 1.7rem; }

/* ============================================================================
   HERO (homepage)
   ============================================================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 6px);
  padding: 3rem;
  margin: 1rem 0 3.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.hero .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin: .6rem 0 1rem; }
.hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 46ch; margin: 0 0 1.8rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-covers { display: flex; justify-content: center; align-items: center; width: 100%; }
.hero-covers a {
  display: block; flex: 0 0 auto; width: 38%; max-width: 240px;
  margin-left: -6%; position: relative;
}
.hero-covers a:first-child { margin-left: 0; }
.hero-covers img {
  width: 100%; border-radius: var(--r-sm); box-shadow: var(--shadow);
  aspect-ratio: 2/3; object-fit: cover; border: 1px solid var(--line); display: block;
}
.hero-covers a:nth-child(1) img { transform: rotate(-5deg); }
.hero-covers a:nth-child(2) img { transform: rotate(0deg) translateY(-14px); }
.hero-covers a:nth-child(3) img { transform: rotate(5deg); }

/* Desktop-only hover: lift the cover clear of its overlapping neighbors so
   it reads as "this one is clickable", straighten it out of the fan tilt.
   (hover: hover) excludes touchscreens, which have no hover state anyway. */
@media (hover: hover) and (pointer: fine) {
  .hero-covers a { transition: z-index .2s; }
  .hero-covers a:hover { z-index: 5; }
  .hero-covers img { transition: transform .25s ease, box-shadow .25s ease; }
  .hero-covers a:hover img {
    transform: translateY(-18px) scale(1.08) rotate(0deg);
    box-shadow: 0 20px 36px rgba(0, 0, 0, .5);
  }
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-pill);
  font-family: var(--font-text);
  font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, background .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(224,164,88,.25); }
.btn-amber:hover { background: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-block { width: 100%; }

/* ============================================================================
   CARD GRID (stories + books)
   ============================================================================ */

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0 0 22px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; height: 100%;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #4a3f2c; }

.post-featured-image {
  width: 100%; aspect-ratio: 16/9; height: auto;
  object-fit: cover; display: block;
}
.book-card .post-featured-image,
.book-card img.post-featured-image { aspect-ratio: 2/3; }

.post-content { padding: 20px 22px 0; flex: 1; display: flex; flex-direction: column; }
.post-card h2 { font-size: 1.3rem; margin: .2em 0 .4em; line-height: 1.25; }
.post-card h2 a { color: var(--text); text-decoration: none; transition: color .18s; }
.post-card h2 a:hover { color: var(--accent-strong); }
.post-meta { color: var(--text-dim); font-size: 0.88rem; margin-bottom: .9em; }
.post-excerpt { color: var(--text-muted); margin-bottom: 1.1em; line-height: 1.6; flex: 1; }

.read-more { display: inline-block; color: var(--accent); font-weight: 700; text-decoration: none; margin-top: auto; }
.read-more:hover { color: var(--accent-strong); }

.book-subtitle { font-family: var(--font-display); font-style: italic; color: var(--text-muted); margin: .4rem 0; }

/* badges */
.age-badge, .age-badge-small {
  display: inline-block; font-weight: 700; color: var(--accent-ink);
  background: var(--kids); border-radius: var(--r-pill);
}
.age-badge { padding: 5px 14px; font-size: .9rem; margin-right: 8px; }
.age-badge-small { padding: 3px 11px; font-size: .8rem; margin-bottom: 10px; }

/* kids cards: warm, gentle differentiation (no harsh borders) */
.kids-card { border-color: rgba(111,191,174,.35); }
.kids-card:hover { border-color: var(--kids); }
.kids-card .read-more { color: var(--kids); }
.kids-card .read-more:hover { color: #8fd6c6; }

/* ============================================================================
   PAGINATION
   ============================================================================ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 2.5em; }
.pagination-button { background: var(--surface-2); color: var(--text); border-radius: var(--r-pill); padding: .6rem 1.3rem; text-decoration: none; border: 1px solid var(--line); transition: .2s; }
.pagination-button:hover { background: var(--accent); color: var(--accent-ink); }

/* ============================================================================
   READING VIEW (single story)
   ============================================================================ */

.blog-post { max-width: 760px; margin: 0 auto; }
.back-to-stories { display: inline-block; margin-bottom: 1.2rem; color: var(--accent); text-decoration: none; font-weight: 600; }
.back-to-stories:hover { color: var(--accent-strong); }

.blog-post article > h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  margin: .2em 0 .3em; line-height: 1.1;
}
.blog-post article > h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1.4rem; color: var(--text-muted); margin: 0 0 1.2rem;
}
.blog-post .post-meta { font-size: .95rem; margin-bottom: 1.6rem; }

.featured-image {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; height: auto;
  display: block; border-radius: var(--r); margin: 0 0 2.4rem; box-shadow: var(--shadow);
}

.story-content { font-size: 1.18rem; line-height: 1.85; color: #E7DFD2; max-width: var(--measure); margin: 0 auto; }
.story-content p { margin: 0 0 1.5rem; }
.story-content > p:first-of-type { font-size: 1.28rem; line-height: 1.75; color: var(--text); }
/* tasteful drop cap for bedtime stories */
.story-content > p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 700;
  font-size: 3.4rem; line-height: .8; float: left;
  padding: .1em .12em 0 0; color: var(--accent);
}
[dir="rtl"] .story-content > p:first-of-type::first-letter { float: right; padding: .1em 0 0 .12em; }

.story-content h2, .story-content h3 { color: var(--text); margin: 2.4rem 0 .9rem; }
.story-content h2 { font-size: 1.7rem; }
.story-content h3 { font-size: 1.4rem; }
.story-content blockquote {
  border-left: 3px solid var(--accent); padding: 1rem 1.4rem; margin: 1.8rem 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem;
  background: var(--accent-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text);
}
.story-content blockquote p { margin: 0; }
.story-content ul, .story-content ol { margin: 1.5rem 0; padding-left: 1.6rem; }
.story-content li { margin-bottom: .6rem; }
.story-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* book CTA inside a story */
.book-cta {
  margin: 3rem auto; max-width: var(--measure);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--r); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm);
}
.book-cta h3 { font-size: 1.5rem; margin: 0 0 .5rem; color: var(--accent-strong); }
.book-cta p { color: var(--text-muted); margin: 0 0 1.5rem; }
.book-cta.kids { border-left-color: var(--kids); }
.book-cta.kids h3 { color: var(--kids); }

/* language switcher */
.language-switcher {
  position: fixed; top: 96px; right: 18px; z-index: 1000;
  display: flex; flex-direction: column; gap: .4rem;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: .6rem; border-radius: var(--r-sm); box-shadow: var(--shadow);
}
.language-switcher a { color: var(--text-muted); text-decoration: none; font-size: .9rem; font-weight: 600; padding: .3rem .6rem; border-radius: 6px; white-space: nowrap; }
.language-switcher a:hover { background: var(--accent-soft); color: var(--accent-strong); }
[dir="rtl"] .language-switcher { right: auto; left: 18px; }

/* ============================================================================
   BOOK DETAIL
   ============================================================================ */
.book-single { max-width: var(--content); margin: 0 auto; padding: 2.5rem 20px; }
.book-layout { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; margin: 1.5rem 0; align-items: start; }
.book-cover-img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 2/3; object-fit: cover; }
.buy-box {
  margin-top: 1.6rem; padding: 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  position: sticky; top: 1.5rem;
}
.buy-box .price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--accent-strong); margin: 0 0 .2rem; }
.buy-box .price-sub { color: var(--text-dim); font-size: .9rem; margin: 0 0 1.2rem; }
.buy-links { display: flex; flex-direction: column; gap: .6rem; }
.book-title { color: var(--accent-strong); margin: 0 0 .4rem; font-size: clamp(1.8rem,4vw,2.6rem); }
.book-sub { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.3rem; color: var(--text-muted); margin: 0 0 1.5rem; }
.book-specs { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 2rem; color: var(--text-muted); }
.about-box { background: var(--surface); border: 1px solid var(--line); padding: 1.6rem; border-radius: var(--r); margin-bottom: 2rem; }
.about-box h3 { color: var(--accent-strong); margin-top: 0; }
.about-box p { color: var(--text-muted); line-height: 1.8; margin: 0; white-space: pre-line; }
.themes { display: flex; gap: .5rem; flex-wrap: wrap; }
.theme-pill { background: var(--surface-2); border: 1px solid var(--line); color: var(--text-muted); padding: .45rem 1rem; border-radius: var(--r-pill); font-size: .9rem; }
.story-link-box { background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 1.4rem; border-radius: var(--r); }
.story-link-box a { color: var(--accent-strong); text-decoration: none; font-weight: 700; }

/* ============================================================================
   STATIC PAGES (about / privacy)
   ============================================================================ */
.about-content, .privacy-content {
  max-width: 820px; margin: 1rem auto 3rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 2.6rem; line-height: 1.8; color: var(--text-muted);
}
.about-content h1, .about-content h2, .privacy-content h1, .privacy-content h2 { color: var(--accent-strong); }
.about-content h2, .privacy-content h2 { margin-top: 2em; }
.about-content h2:first-of-type, .privacy-content h1:first-child { margin-top: 0; }
.about-content a, .privacy-content a { color: var(--accent); }
.story-examples { background: var(--surface-2); border-radius: var(--r-sm); padding: 1.2rem 1.4rem; margin: 2em 0; }
.story-examples h3 { color: var(--accent-strong); margin-top: 0; }
.about-content .connect { margin-top: 2.5em; padding-top: 2em; border-top: 1px solid var(--line); text-align: center; }

/* ============================================================================
   FREE BOOKS
   ============================================================================ */
.free-badge {
  display: inline-block; background: #2f7d4f; color: #fff;
  padding: 3px 12px; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 800; letter-spacing: .04em; margin-bottom: 10px;
}
.free-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  max-width: 760px; margin: 3rem auto 0; padding: 1.8rem 2rem;
  background: linear-gradient(135deg, #234d38 0%, #2f7d4f 100%);
  border: 1px solid #3a8e5a; border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.free-cta h3 { margin: 0 0 .3rem; color: #fff; font-size: 1.4rem; }
.free-cta p { margin: 0; color: #d8efe0; }
.free-cta .btn-amber { white-space: nowrap; }

/* ============================================================================
   NEWSLETTER
   ============================================================================ */
.newsletter-footer-box {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 2.4rem; max-width: 520px; margin: 3rem auto 0; box-shadow: var(--shadow-sm);
}
.newsletter-footer-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--text); margin: 0 0 1.2rem; line-height: 1.4; }
.newsletter-footer-input { width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 1rem; margin-bottom: 1rem; background: var(--bg); color: var(--text); outline: none; }
.newsletter-footer-input:focus { border-color: var(--accent); }
.newsletter-footer-btn { width: 100%; padding: .9rem; background: var(--accent); color: var(--accent-ink); font-size: 1rem; font-weight: 700; border: none; border-radius: var(--r-pill); cursor: pointer; transition: background .2s; }
.newsletter-footer-btn:hover { background: var(--accent-strong); }
.newsletter-footer-feedback { margin-top: .8rem; font-size: .95rem; color: #f0a06a; min-height: 20px; }

/* ============================================================================
   FOOTER
   ============================================================================ */
footer {
  margin-top: 5rem; padding: 2.2rem 1rem 1.6rem;
  background: var(--header-bg); border-top: 1px solid var(--line);
  color: var(--text-dim); text-align: center; font-size: .95rem;
}
.icons { display: flex; gap: 1.4rem; justify-content: center; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.icons li a { color: var(--text-muted); display: inline-flex; transition: color .2s; }
.icons li a:hover { color: var(--accent); }
.footer-links { margin: 0 0 1rem; display: flex; gap: .5rem; justify-content: center; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-links span { color: var(--text-dim); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 1.5rem; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-covers { max-width: 440px; margin: 1.5rem auto 0; }
  .book-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .buy-box { position: static; }
}
@media (max-width: 700px) {
  main { padding: 0 14px; margin-top: 28px; }
  header { padding: 24px 14px 14px; }
  nav ul { display: none; flex-direction: column; gap: 2px; background: var(--surface); position: absolute; top: 100%; left: 0; width: 100%; z-index: 1000; padding: 10px 0 18px; box-shadow: var(--shadow); }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  /* Compact flag-only switcher in the top-right corner (symmetric with the hamburger) */
  .lang-dd { top: 22px; right: 12px; }
  .lang-dd .name { display: none; }
  [dir="rtl"] .lang-dd { left: 12px; right: auto; }
  .story-content { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
