.mauritz-home .hero-visual.home-hero-gallery {
  align-self: center;
  min-width: 0;
  height: auto;
  background: var(--white);
  color: var(--dark);
}

.home-hero-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.home-hero-dish-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 450ms ease;
}

.home-hero-dish-photo[data-hero-current] {
  opacity: 1;
}

.home-hero-photo .home-hero-mark {
  z-index: 1;
  pointer-events: none;
}

.home-hero-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 14px;
  padding: clamp(14px, 2.1vw, 30px);
}

.home-hero-titles {
  display: grid;
  align-items: center;
}

.home-hero-titles > h2 {
  grid-area: 1 / 1;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.04;
  text-transform: uppercase;
  text-wrap: balance;
  visibility: hidden;
}

.home-hero-titles > [data-hero-current] {
  visibility: visible;
}

.home-hero-controls:not([hidden]) {
  display: flex;
  gap: 5px;
}

.home-hero-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--dark);
  background: var(--white);
  color: var(--dark);
  font-size: 22px;
  cursor: pointer;
}

.home-hero-controls button:hover,
.home-hero-controls button:focus-visible {
  background: var(--dark);
  color: var(--white);
}

.home-hero-controls button:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 2px;
}

.home-hero-controls svg {
  width: 20px;
  height: 20px;
}

.home-hero-play-icon,
.home-hero-gallery[data-hero-paused] .home-hero-pause-icon {
  display: none;
}

.home-hero-gallery[data-hero-paused] .home-hero-play-icon {
  display: initial;
}

.mauritz-home .home-menu-card[data-action="dinner"] img {
  filter: brightness(1.15);
}

@media (max-width: 800px) {
  .mauritz-home .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mauritz-home .hero-visual.home-hero-gallery {
    border-left: 0;
    border-top: 1px solid var(--white);
  }
}

@media (max-width: 485px) {
  .home-hero-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero-controls {
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-dish-photo {
    transition: none;
  }
}
