/* Fox Run Eye Care: Eye Exams page. Colors only via tokens. */

/* ─── Two-column image + text ──────────────────────────── */
.ex-it-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ex-it-block + .ex-it-block {
  margin-top: 3rem;
}
.ex-it-block--rev {
  direction: rtl;
}
.ex-it-block--rev > * {
  direction: ltr;
}
.ex-it-block__img {
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 97, 125, 0.15);
}
.ex-it-block__img img {
  display: block;
  width: 100%;
  height: auto;
}
.ex-it-block__text .eyebrow {
  display: block;
  margin-bottom: 0.5rem;
}
.ex-it-block__text h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 0 0 0.75rem;
}
.ex-it-block__text h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 0 0 0.75rem;
}
.ex-it-block__text h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 0 0 0.75rem;
}
.ex-it-block__text p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0 0 1rem;
}
.ex-it-block__text p:last-child {
  margin-bottom: 0;
}
.ex-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0 0 1rem;
}

/* ─── Section heading ────────────────────────────────────── */
.ex-sec-head {
  text-align: left;
  max-width: var(--content-narrow);
  margin: 0 auto 2.375rem;
}
.ex-sec-head:has(+ *) {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.ex-sec-head .eyebrow {
  display: block;
  margin-bottom: 0.5rem;
}
.ex-sec-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 0;
}
.ex-sec-head p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0.75rem 0 0;
  max-width: 640px;
}

/* ─── Refraction grid ────────────────────────────────────── */
.ex-ref-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.ex-ref-text p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0 0 1rem;
}
.ex-ref-text p:last-child {
  margin-bottom: 0;
}
.ex-rx-box {
  background: var(--bg-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
}
.ex-rx-box h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 0 0 0.5rem;
}
.ex-rx-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ex-rx-box li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  line-height: var(--lh-body);
}
.ex-rx-box li:last-child {
  border-bottom: 0;
}
.ex-rx-box li strong {
  color: var(--ink);
}
.ex-ref-cards {
  display: grid;
  gap: 1rem;
}
.ex-ref-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.375rem 1.625rem;
}
.ex-ref-card .tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.375rem;
}
.ex-ref-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  margin: 0 0 0.5rem;
}
.ex-ref-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0;
}
.ex-inline {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.ex-inline:hover {
  color: var(--teal-hover);
}



/* ─── Mobile ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .ex-it-block {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .ex-it-block--rev {
    direction: ltr;
  }
  .ex-ref-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}



/* ─── Text list with body font ───────────────────────────── */
.ex-list {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  padding-left: 1.5rem;
  margin: 0;
}
.ex-list li {
  margin-bottom: 0.5rem;
}
.ex-list li:last-child {
  margin-bottom: 0;
}

/* Source attribution */
.source {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-top: 0.25rem;
}
.source a { color: var(--teal); font-weight: 600; text-decoration: underline; }
