/* Vaccine Counsel: photo-free presentation, scoped to the public site.
   Exception (approved 2026-12-02): the homepage hero portrait (.hero-portrait) is shown. */
#vc-site-root .portrait-link,
#vc-site-root .portrait:not(.hero-portrait),
#vc-site-root .profile-photo,
#vc-site-root img[src*="bruce-headshot"],
#vc-site-root img[srcset*="bruce-headshot"] {
  display: none !important;
}

/* The homepage keeps its original headline, inquiry form, and phone controls.
   The attorney hero (.hero-attorney) has its own layout in the theme's style.css; only the background applies to it. */
#vc-site-root #home.hero-with-form {
  background: linear-gradient(115deg, #f8f6ef 0%, #f4f7f8 64%, #edf3f8 100%);
}
#vc-site-root #home.hero-with-form:not(.hero-attorney) .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(390px, .94fr);
  grid-template-areas: "copy form";
  gap: 56px;
  align-items: start;
  padding-block: 56px 64px;
}
#vc-site-root #home.hero-with-form:not(.hero-attorney) .hero-copy {
  max-width: 580px;
  border-left: 3px solid #b79a60;
  padding-left: 27px;
  margin-top: 24px;
}
#vc-site-root #home.hero-with-form:not(.hero-attorney) h1 {
  font-size: clamp(2.7rem, 4.5vw, 4.05rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
#vc-site-root #home.hero-with-form:not(.hero-attorney) h1 em {
  display: block;
  margin-top: 20px;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  line-height: 1.32;
  letter-spacing: -.015em;
}
#vc-site-root #home.hero-with-form:not(.hero-attorney) .hero-lead { max-width: 480px; }
#vc-site-root #home.hero-with-form:not(.hero-attorney) .hero-note {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #d5d8d4;
}

/* Only the biography hero is expanded; the other article layouts stay intact. */
#vc-site-root .article-hero:has(+ .profile-credentials) {
  background: linear-gradient(115deg, #f8f6ef, #f0f5f8);
  padding-bottom: 56px;
}
#vc-site-root .article-hero:has(+ .profile-credentials) .article-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
#vc-site-root .article-hero:has(+ .profile-credentials) .article-hero-copy {
  max-width: 940px;
  border-left: 3px solid #b79a60;
  padding-left: 28px;
}
#vc-site-root .article-hero:has(+ .profile-credentials) h1 {
  font-size: clamp(3rem, 5.4vw, 4.6rem);
  line-height: 1.08;
}
#vc-site-root .article-hero:has(+ .profile-credentials) .article-lead {
  max-width: 780px;
  font-size: 1.15rem;
  line-height: 1.8;
}

@media (max-width: 880px) {
  #vc-site-root #home.hero-with-form:not(.hero-attorney) .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "form";
    gap: 32px;
    padding-block: 36px 48px;
  }
  #vc-site-root #home.hero-with-form:not(.hero-attorney) .hero-copy { max-width: 700px; margin-top: 0; }
}
@media (max-width: 650px) {
  #vc-site-root #home.hero-with-form:not(.hero-attorney) .hero-copy,
  #vc-site-root .article-hero:has(+ .profile-credentials) .article-hero-copy {
    padding-left: 18px;
  }
  #vc-site-root #home.hero-with-form:not(.hero-attorney) h1 { font-size: 2.7rem; }
  #vc-site-root #home.hero-with-form:not(.hero-attorney) h1 em { font-size: 1.6rem; margin-top: 17px; }
  #vc-site-root .article-hero:has(+ .profile-credentials) { padding-bottom: 38px; }
  #vc-site-root .article-hero:has(+ .profile-credentials) h1 { font-size: 2.8rem; }
  #vc-site-root .article-hero:has(+ .profile-credentials) .article-lead { font-size: 1.03rem; }
}
