.stage3Body [lang="ar"],
.stage3Body .arabicText {
  font-family: "Noto Naskh Arabic", "Amiri", "Segoe UI", serif;
}

.stage3Body .wordCardText h3,
.stage3Body .exampleArabic,
.stage3Body .storyArabic,
.stage3Body .audioStorySentence strong {
  direction: rtl;
  text-align: right;
}

.stage3Body .wordCardText h3 {
  font-size: 1.75rem;
  line-height: 1.4;
}

.stage3Body .stage3CardContent > small[lang="ar"] {
  margin-top: .45rem;
  color: #174f5f;
  font-size: 1.55rem;
  line-height: 1.65;
  font-weight: 700;
  text-align: right;
}

.stage3Body .stage3CardReading {
  display: block;
  margin-top: .1rem;
  color: #9a3412;
  font-size: .95rem;
  line-height: 1.45;
  font-weight: 700;
  direction: ltr;
}

.stage3Body .wordPronunciation,
.stage3Body .examplePronunciation,
.stage3Body .storyPronunciation {
  display: block;
  direction: ltr;
  color: #9a3412;
  font-weight: 700;
  margin-top: .35rem;
}

.stage3Body .exampleArabic {
  display: block;
  font-size: 1.5rem;
  line-height: 1.65;
}

.stage3Body .exampleTranslation {
  display: block;
  color: #475569;
  margin-top: .25rem;
}

.stage3Body .storySentenceCard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #d7e4e2;
  border-radius: 20px;
  background: #fff;
}

.stage3Body .storyArabic {
  font-size: 1.8rem;
  line-height: 1.7;
  color: #123b4a;
}

.stage3Body .storyTranslation {
  margin: .4rem 0 0;
  color: #334155;
}

.stage3Body .storySentenceCard img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 16px;
}

.stage3Body .storySentenceActions {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: .75rem;
}

.stage3Body .storySentenceList {
  display: grid;
  gap: 1rem;
}

.stage3Body .wordCardText strong {
  margin-top: .3rem;
}

.stage3Body .exampleGroup > header img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.stage3Body .exampleGroup > header small {
  display: block;
  color: #596b65;
  margin-top: .25rem;
}

.stage3Body .quizQuestion {
  min-inline-size: 0;
  margin: 0;
}

.stage3Body .quizQuestion h3 [lang="ar"] {
  display: inline-block;
  direction: rtl;
  font-family: "Noto Naskh Arabic", "Amiri", "Segoe UI", serif;
  font-size: 1.35rem;
}

.stage3Body .stage3ImageModal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 31, 38, .82);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.stage3Body .stage3ImageModal[hidden] { display: none; }
.stage3Body .stage3ImageModal figure { margin: 0; max-width: 620px; color: #fff; text-align: center; }
.stage3Body .stage3ImageModal img { max-width: 100%; max-height: 76vh; border-radius: 24px; }
.stage3Body .stage3ImageModal button { position: fixed; top: 18px; right: 18px; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 1.5rem; }

@media (max-width: 680px) {
  .stage3Body .storySentenceCard { grid-template-columns: 1fr; }
  .stage3Body .storySentenceCard img { width: 100%; height: auto; aspect-ratio: 1; }
  .stage3Body .exampleArabic { font-size: 1.3rem; }
  .stage3Body .stage3CardContent > small[lang="ar"] { font-size: 1.35rem; }
  .stage3Body .stage3CardReading { font-size: .9rem; }
}
