/* Home hero: mobile and tablet alignment (2026-12-03). Loaded only by index.php. */
@media (max-width:767px){
  /* slides stack in one grid cell, so the hero grows with its content and the controls never cover the card */
  .eh-hero{display:grid;grid-template-columns:minmax(0,1fr);height:auto!important;min-height:100svh!important}
  .eh-hero>.eh-slide{position:relative;inset:auto;grid-area:1/1;min-width:0}
  .eh-hero>.eh-slide>picture{position:absolute;inset:0;overflow:hidden}
  .eh-hero>.eh-slide .eh-content{height:auto!important;align-content:start;padding-top:152px!important;padding-bottom:96px!important}
  .eh-hero .eh-eyebrow{font-size:11px!important;letter-spacing:1.6px!important;gap:10px}
  .eh-hero .eh-doctors{width:min(250px,calc(100% - 80px))!important;max-width:250px!important;margin-top:10px!important;justify-self:center}
  .eh-hero .eh-controls{bottom:22px}
  .eh-hero .eh-controls .eh-container{justify-content:space-between;gap:10px;padding-right:80px!important}
  .eh-hero .eh-dots{gap:8px}
  .eh-hero .eh-count{white-space:nowrap;width:auto}
  .eh-hero .eh-dot{width:22px}
  .eh-hero .eh-arrows{gap:8px}
  .eh-hero .eh-arrows button{width:40px;height:40px;flex:none}
}
@media (max-width:359px){
  .eh-hero .eh-dot{width:12px}
  .eh-hero .eh-dots{gap:6px}
  .eh-hero .eh-controls .eh-container{padding-right:72px!important}
}
@media (min-width:768px) and (max-width:991px){
  /* keep the doctor card clear of the right-side navigator button */
  .eh-hero .eh-doctors{margin-right:40px}
}
