/* Desktop refinement; phone/tablet hero composition remains unchanged. */
.site-header .masthead-tools > .site-utility:is([data-open-menu], [data-open-search]):hover,
.site-header .phone-bar > :is(.phone-menu-toggle, .phone-search-toggle):hover {
  background: transparent;
  box-shadow: none;
  color: var(--white, #fff);
}
/* Existing :focus-visible outlines are deliberately retained. */
@media (min-width: 768px) {
  .site-header .masthead {
    min-height: 104px;
    padding-block: 16px;
  }
  body[data-page="home"] #main .hero .intro > .editorial-link[href*="base.garant.ru/414998092"] {
    display: none;
  }
}
@media (min-width: 960px) {
  /* Share the existing named hero tracks: the portrait ends where the
     action-button row ends; portrait selectors occupy the following row. */
  body[data-page="home"] #main .hero-grid > .leadership {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: summary / end;
    row-gap: 0;
    align-self: stretch;
  }
  body[data-page="home"] #main .hero-grid > .leadership > .leadership-stage {
    grid-row: summary / annotation;
    min-height: 0;
  }
  body[data-page="home"] #main .hero-grid > .leadership > .leadership-controls {
    grid-row: annotation / end;
    align-self: start;
  }
}
