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

/* ─── Hero two-column ───────────────────────────────────── */
.gs-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.gs-hero__img {
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 72, 92, 0.15);
}
.gs-hero__img img {
  display: block;
  width: 100%;
  height: auto;
}
.gs-hero__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;
}
.gs-hero__text h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 0.25rem 0 0.75rem;
}
.gs-hero__text p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0 0 1rem;
}
.gs-hero__text p:last-of-type {
  margin-bottom: 0;
}
.gs-hero__text a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.gs-hero__text a:not(.btn):hover {
  color: var(--teal-hover);
}

/* ─── Section heading ───────────────────────────────────── */
.gs-sec-head {
  text-align: left;
  margin-bottom: 2rem;
}
.gs-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;
}

/* ─── Two-column image + text ───────────────────────────── */
.gs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.gs-two-col__img {
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 72, 92, 0.15);
}
.gs-two-col__img img {
  display: block;
  width: 100%;
  height: auto;
}
.gs-two-col__text h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 0 0 0.75rem;
}
.gs-two-col__text p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0 0 1rem;
}
.gs-two-col__text p:last-of-type {
  margin-bottom: 0;
}
.gs-two-col__text a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.gs-two-col__text a:not(.btn):hover {
  color: var(--teal-hover);
}

/* Flipped: image right, text left (desktop) */
@media (min-width: 768px) {
  .gs-two-col--flip .gs-two-col__img { grid-column: 2; grid-row: 1; }
  .gs-two-col--flip .gs-two-col__text { grid-column: 1; grid-row: 1; }
}

/* ─── Three-column badge grid ───────────────────────────── */
.gs-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gs-badge {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.gs-badge__img {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gs-badge__img img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.gs-badge h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 0 0 0.625rem;
}
.gs-badge p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0;
}
.gs-badge a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.gs-badge a:not(.btn):hover {
  color: var(--teal-hover);
}

/* ─── Centered copy sections ────────────────────────────── */
.gs-copy-sec {
  max-width: var(--content-narrow);
  margin: 0 auto;
}
.gs-copy-sec 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 1rem;
}
.gs-copy-sec h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 1.25rem 0 0.5rem;
}
.gs-copy-sec p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0 0 1rem;
}
.gs-copy-sec p:last-of-type {
  margin-bottom: 0;
}
.gs-copy-sec a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.gs-copy-sec a:not(.btn):hover {
  color: var(--teal-hover);
}
.gs-copy-sec .source-line {
  font-size: 0.85rem;
  color: var(--text);
}



/* FAQ links */
.faq a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.faq a:hover {
  color: var(--teal-hover);
}

/* ─── Mobile ────────────────────────────────────────────── */
@media (max-width: 767px) {
  .gs-hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .gs-hero__img {
    aspect-ratio: auto;
  }
  .gs-two-col {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .gs-two-col__img {
    aspect-ratio: auto;
  }
  .gs-badges {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
