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

/* ─── Page heading ───────────────────────────────────────── */
.sg-hed {
  background: var(--white);
  padding: calc(var(--band-pad) * 0.75) 0 calc(var(--band-pad) * 0.5);
  text-align: left;
}
.sg-hed h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 0 0 0.75rem;
  max-width: 820px;
}
.sg-hed p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  max-width: 640px;
  margin: 0 0 1.5rem;
  line-height: var(--lh-body);
}
.sg-hed .btn-row { justify-content: flex-start; }
.sg-hed a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.sg-hed a:not(.btn):hover { color: var(--teal-hover); }

/* ─── Brands showcase ────────────────────────────────────── */
.sg-brands-head {
  text-align: left;
  margin-bottom: 2.5rem;
}
.sg-brands-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 0 0.75rem;
}
.sg-brands-head p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  max-width: 640px;
  margin: 0;
  line-height: var(--lh-body);
}
.sg-brand-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--content-max);
  margin: 0 auto;
}
.sg-brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.sg-brand-logo:hover {
  border-color: var(--teal);
  box-shadow: 0 6px 20px rgba(0, 97, 125, 0.12);
  transform: translateY(-3px);
}
.sg-brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.sg-brand-logo span {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  text-align: center;
}

/* ─── Two-column content (insurance info + no-insurance) ─── */
.sg-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.sg-two-col__block 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;
}
.sg-two-col__block p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0 0 1.25rem;
}
.sg-two-col__block a:not(.btn) {
  color: var(--teal);
  text-decoration: underline;
  font-weight: 600;
}
.sg-two-col__block a:not(.btn):hover { color: var(--teal-hover); }

/* ─── Drive-time text band ───────────────────────────────── */
.sg-drive {
  text-align: left;
}
.sg-drive p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: var(--lh-tight);
  margin: 0;
}

/* ─── Single-col content section (prescription) ─────────── */
.sg-content {
  max-width: var(--content-narrow);
  margin: 0 auto;
}
.sg-content 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;
}
.sg-content p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0 0 1rem;
}
.sg-content p:last-of-type { margin-bottom: 0; }
.sg-content a:not(.btn) {
  color: var(--teal);
  text-decoration: underline;
  font-weight: 600;
}
.sg-content a:not(.btn):hover { color: var(--teal-hover); }

/* ─── Instagram section helpers ─────────────────────────── */
.sg-insta-head { margin-bottom: 2rem; }
.sg-insta-cta { justify-content: center; margin-top: 1.75rem; }

/* ─── Instagram grid ─────────────────────────────────────── */
.sg-insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: var(--content-max);
  margin: 0 auto;
}
.sg-insta-item {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 9 / 10;
}
.sg-insta-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.sg-insta-item:hover img { transform: scale(1.04); }

/* ─── Intro (centered text under hero) ─────────────────── */
.sg-intro {
  text-align: left;
  max-width: var(--content-narrow);
  margin: 0 auto;
}
.sg-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;
}
.sg-intro p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: var(--lh-body);
  margin: 0;
}

.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) {
  .sg-two-col {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .sg-brand-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .sg-insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
