/* Homepage on the design system. Loaded after /assets/css/ds/base.css. */

/* ---- Hero: the homepage's photo, and a taller hero than other pages ------------------------ */
.mat-ds .mat-hero{min-height:min(88vh,calc(var(--space-11) * 3.5));background-image:url("/wp-content/uploads/2025/05/girl-at-doctor-for-vaccination.jpg")}

/* ---- Intro: headline left, lead right ------------------------------------------------------- */
.mat-ds .mat-home__intro{grid-template-columns:5fr 7fr}

/* ---- Quality: certification marks on white cards -------------------------------------------- */
.mat-ds .mat-home__certs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}
.mat-ds .mat-home__certs .mat-card{display:grid;place-items:center}
.mat-ds .mat-home__certs img{max-height:calc(var(--space-9) + var(--space-3));width:auto;margin:0 auto}

/* ---- Why MAT Research: four reasons under the split --------------------------------------- */
.mat-ds .mat-home__reasons{gap:var(--space-5) var(--space-6)}

/* ---- Trusted by: partner logos -------------------------------------------------------------- */
.mat-ds .mat-section-head + .mat-home__logos{margin-top:var(--space-6)}

/* ---- Close: product shot on navy, motif in the top corner (base.css: .mat-section--navy > .mat-motif) */
.mat-ds .mat-home__close{overflow:hidden}

/* ---- Laboratory gallery --------------------------------------------------------------------- */
.mat-ds .mat-section-head + .mat-home__lab{margin-top:var(--space-6)}

@media (max-width:1024px){
  .mat-ds .mat-hero{min-height:0}
  .mat-ds .mat-home__intro{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:767px){
  .mat-ds .mat-home__certs{gap:var(--space-2)}
}
