/* Shared adjustments for the owner-directed September / October merge. */

/* September's centered, marks-only presentation with the current eight plans. */
.insurance-rail {
  grid-template-columns: 1fr !important;
  justify-items: center;
  gap: 16px !important;
  padding-top: 26px !important;
  padding-bottom: 24px !important;
}

.insurance-logos {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: center !important;
  justify-items: center !important;
  width: 100%;
  max-width: 1120px;
  gap: 26px 40px !important;
  overflow: visible !important;
}

.insurance-logos > img,
.insurance-logos > .insurance-wordmark,
.insurance-logos > .insurance-cigna,
.insurance-logos > :nth-child(n) {
  grid-column: auto !important;
  min-width: 0;
}

.insurance-logos > img {
  width: auto !important;
  height: 40px !important;
  max-width: min(100%, 190px) !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: none;
}

.insurance-logos > .insurance-wordmark {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px;
  max-width: 100% !important;
  padding: 0;
  font-size: 16px !important;
  font-weight: 800;
  line-height: 1.25 !important;
  text-align: center;
  white-space: normal !important;
}

.insurance-cigna {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #0077a8;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.insurance-cigna img {
  display: block;
  width: 48px !important;
  height: 44px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  filter: none;
}

/* Keep the lab marquee inside its column instead of sizing the grid to it. */
.labs-copy, .labs-index, .lab-stream { min-width: 0; }

@media (min-width: 1101px) {
  .hero h1 { font-size: clamp(64px, 5.15vw, 94px) !important; }
  .labs { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}

.insurance-note {
  grid-column: 1 / -1 !important;
  width: 100%;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.5;
  text-align: center !important;
  white-space: normal !important;
}

.site-footer > div { min-width: 0; }
.site-footer a { overflow-wrap: anywhere; }
.copyright .legal-links {
  display: inline-flex;
  gap: 18px;
}
.legal-links a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .insurance-rail { gap: 18px !important; padding: 24px 20px !important; }
  .insurance-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 26px 22px !important;
  }
  .insurance-logos > img {
    height: 34px !important;
    max-width: min(100%, 150px) !important;
  }
  .insurance-logos > .insurance-wordmark {
    font-size: 14px !important;
    min-height: 40px;
  }
  .insurance-note { font-size: 11px !important; }
  .insurance-cigna { font-size: 22px; }
  .insurance-cigna img { width: 42px !important; height: 40px !important; }
  .copyright .legal-links { display: flex; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .proof-bg, .proof-slide { transition: none !important; }
  .proof-bg.is-on { animation: none !important; transform: none; }
}


/* v28: footer completeness on tablet and mobile. All current pages/contact columns remain visible. */
@media(max-width:1120px){
  .site-footer>div:last-child{display:flex!important}
}


/* v29 targeted visual and accessibility refinements. */
.insurance-cigna{font-size:0;gap:0}
.insurance-cigna img{width:auto!important;height:40px!important;max-width:170px!important;object-fit:contain!important;object-position:center!important}
.insurance-intro .button:not(.secondary){background:var(--ink);color:#fff;border-color:var(--ink)}
.medicare-wba-note{grid-column:1/-1;width:min(1120px,100%);margin:0 auto!important;font-size:12.5px;line-height:1.5;color:#65777c;text-align:center}
.pp-contact .hero-contact .pp-hero-art img{object-position:50% 40%!important}
@media(max-width:760px){
  .insurance-note{font-size:12.5px!important}
  .insurance-cigna img{height:32px!important;max-width:140px!important}
  .medicare-wba-note{font-size:12.5px!important;line-height:1.5}
  .pp-contact .hero-contact .pp-hero-art img{object-position:50% 38%!important}
}


/* v33 About hero alignment: keep copy visually connected to hallway image */
@media(min-width:761px){
  .pp-about .hero-about{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)}
  .pp-about .hero-about .pp-hero-content{padding-left:max(5vw,58px);padding-right:clamp(26px,3vw,44px);max-width:none}
  .pp-about .hero-about .pp-hero-lead{max-width:620px}
}

/* v41: Men's Health cross-links */
.pc-related-care{margin:28px 0 0;font-size:15px;line-height:1.55;color:#4d666c}
.pc-related-care a{font-weight:850;color:#0b6f60;border-bottom:1px solid currentColor}
.labx-related-care{font-size:14px!important;line-height:1.55!important;color:#526b70!important;margin-top:20px!important;max-width:620px}
.labx-related-care a{font-weight:850;color:#0b6f60;border-bottom:1px solid currentColor}
.hh-mens-health-link{margin-top:22px}

/* v41: keep the expanded desktop navigation comfortable before the hamburger breakpoint. */
@media (min-width:1121px) and (max-width:1320px){
  body:not(.pp-page) .site-header{gap:18px;padding-left:24px;padding-right:24px}
  body:not(.pp-page) .brand{width:160px;flex:0 0 160px}
  body:not(.pp-page) .brand img{width:158px}
  body:not(.pp-page) .main-nav{gap:14px;font-size:12.5px;white-space:nowrap}
  body:not(.pp-page) .book-link{font-size:12.5px;padding:10px 12px;white-space:nowrap}
}
