/* Match the compact heading scale used by the situations page. */
.causatives-page .cause-intro h1,
.conjugation-page .conj-intro h1,
.foundation-page .f-hero h1 {
  font-size: clamp(27px, 2.4vw, 36px);
  line-height: 1.4;
}

.causatives-page .cause-toolbar h2,
.conjugation-page .conj-picker h2,
.foundation-page .foundation-main h2 {
  font-size: 22px;
  line-height: 1.5;
}

/* The illustration shows one person prompting another to do an everyday action. */
.causatives-page .cause-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  min-height: 258px;
  background: linear-gradient(115deg, #e8f6ef 0%, #f4fbf9 55%, #eef4ff 100%);
  box-shadow: 0 14px 35px #17415b0a;
}
.causatives-page .cause-intro-copy { min-width: 0; }
.causatives-page .cause-intro p { max-width: 660px; font-size: 14px; line-height: 1.8; }
.causatives-page .cause-intro-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  align-self: stretch;
  isolation: isolate;
}
.causatives-page .cause-intro-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(86%, 310px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffffd9 0%, #c8e9dc9c 65%, transparent 72%);
}
.causatives-page .cause-intro-art img {
  display: block;
  width: min(100%, 390px);
  max-height: 230px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 9px 13px #1d51401c);
}

.causatives-page .cause-card {
  border-color: #d9e5ec;
  border-radius: 18px;
  padding: 19px;
  box-shadow: 0 7px 22px #17315908;
}
.causatives-page .cause-card:hover { border-color: #a9d5c5; }
.causatives-page .cause-form { background: #f7fafc; border-color: #e3edf2; }
.causatives-page .cause-form--derived { background: #edf8f3; border-color: #cce8d9; }
.causatives-page .cause-form-word strong { font-size: 17px; line-height: 1.45; }
.causatives-page .cause-form-meaning { font-size: 12.5px; line-height: 1.65; }
.causatives-page .cause-example-word strong { font-size: 15px; line-height: 1.55; }
.causatives-page .cause-example p { font-size: 12.5px; line-height: 1.7; }
.causatives-page .cause-explanation { font-size: 12.5px; line-height: 1.75; }
.causatives-page .cause-arrow { color: #1e8a72; font-size: 19px; }
.causatives-page .cause-speak { width: 38px; height: 38px; }

.conjugation-page .conj-result-heading h2 { font-size: 23px; line-height: 1.45; }
.conjugation-page .conj-verbs button strong { font-size: 15px; }
.conjugation-page .conj-person span { font-size: 15px; }
.conjugation-page .conj-table thead tr:first-child th { font-size: 14px; }
.conjugation-page .conj-table thead th span { font-size: 13px; }
.conjugation-page .conj-form strong { font-size: 14px; line-height: 1.5; }
.conjugation-page .conj-form small { font-size: 11.5px; line-height: 1.6; }

/* Keep the standalone adverbs page and the beginners page on the same heading scale. */
.foundation-page .f-word-card h3 { font-size: 21px; }
.foundation-page .f-meaning { font-size: 14px; }
.foundation-page .f-example p[lang] { font-size: 15px; }
.foundation-page .f-example-ar { font-size: 12px; }

@media (max-width: 760px) {
  .causatives-page .cause-intro h1,
  .conjugation-page .conj-intro h1,
  .foundation-page .f-hero h1 { font-size: 28px; line-height: 1.4; }
  .causatives-page .cause-toolbar h2,
  .conjugation-page .conj-picker h2,
  .foundation-page .foundation-main h2 { font-size: 20px; }
  .causatives-page .cause-intro { grid-template-columns: 1fr; gap: 5px; }
  .causatives-page .cause-intro p { font-size: 13px; }
  .causatives-page .cause-intro-art { max-height: 185px; }
  .causatives-page .cause-intro-art img { max-height: 185px; width: min(100%, 290px); }
  .causatives-page .cause-form-word strong { font-size: 15px; }
  .causatives-page .cause-example-word strong { font-size: 14px; }
  .causatives-page .cause-form-meaning,
  .causatives-page .cause-example p { font-size: 12px; }
  .causatives-page .cause-speak { width: 44px; height: 44px; }
  .conjugation-page .conj-result-heading h2 { font-size: 21px; }
  .conjugation-page .conj-form strong { font-size: 13.5px; }
  .conjugation-page .conj-form small { font-size: 11px; }
}

@media (max-width: 360px) {
  .causatives-page .cause-intro h1,
  .conjugation-page .conj-intro h1,
  .foundation-page .f-hero h1 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .causatives-page .cause-card,
  .causatives-page .cause-speak { transition: none; }
  .causatives-page .cause-card:hover,
  .causatives-page .cause-speak:hover { transform: none; }
}
