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

/* ─── Hero: image left, text right ──────────────────────── */
.ef-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ef-hero__img-wrap {
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 72, 92, 0.15);
}
.ef-hero__img {
  display: block;
  width: 100%;
  height: auto;
}
.ef-hero__text h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}
.ef-hero__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-bottom: 1rem;
}
.ef-hero__text p {
  font-family: var(--font-body);
  color: var(--text);
  line-height: var(--lh-body);
  margin-bottom: 0.85rem;
}
.ef-hero__text .btn-row { margin-top: 1.5rem; }
.ef-hero__text a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.ef-hero__text a:not(.btn):hover { color: var(--teal-hover); }

/* ─── Brand product grid ─────────────────────────────────── */
.ef-brands-intro {
  text-align: left;
  max-width: none;
  margin: 0 0 2.5rem;
}
.ef-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}
.ef-brand-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.ef-brand-card__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  display: block;
}
.ef-brand-card__name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  padding: 0.75rem 1rem;
  text-align: center;
}
.ef-brands-note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: var(--lh-body);
  color: var(--text);
}
.ef-brands-note a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.ef-brands-note a:not(.btn):hover { color: var(--teal-hover); }

/* ─── Prescription CTA ───────────────────────────────────── */
.ef-cta {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}
.ef-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.ef-cta p {
  font-family: var(--font-body);
  color: var(--text);
  line-height: var(--lh-body);
  margin-bottom: 0.85rem;
}
.ef-cta .btn-row { justify-content: center; margin-top: 1.5rem; }

/* ─── Intro (centered text blocks) ─────────────────────── */
.ef-intro {
  text-align: left;
  max-width: var(--content-narrow);
  margin: 0 auto;
}
.ef-intro 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;
}
.ef-intro p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0;
}
.ef-intro a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.ef-intro a:not(.btn):hover { color: var(--teal-hover); }


.faq a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.faq a:not(.btn):hover { color: var(--teal-hover); }



/* ─── Mobile ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .ef-hero { grid-template-columns: 1fr; }
  .ef-hero__img-wrap {
    order: 2;
    aspect-ratio: auto;
  }
  .ef-hero__text { order: 1; }
  .ef-brand-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .ef-brand-grid { grid-template-columns: 1fr; }
}
