/* Keep only the homepage content compact on medium-wide desktop screens. */
@media screen and (min-width: 1360px) and (max-width: 1600px) {
  /*.main-content {
    zoom: 0.8;
    margin-left: 10vw;
    margin-right: 10vw;
    overflow-x: visible;
  }*/

  /* Keep the desktop hero centered and fit it into a laptop-height viewport. */
  .main-content .hero {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }

  .main-content .hero__wrapper {
    width: 100%;
    grid-template-columns: minmax(0, 3.12fr) minmax(0, 1fr);
  }

  .main-content .hero__main {
    height: min(686px, 55vh);
    aspect-ratio: auto;
  }

  .main-content .hero__side {
    gap: min(20px, 2vh);
  }

  .main-content .hero__side-banner {
    width: 100%;
    height: auto;
    min-height: 0;
    flex: 1 1 0;
  }

  .main-content .hero__side-banner:first-child .hero__side-content,
  .main-content .hero__side-banner:nth-child(2) .hero__side-content {
    padding-top: 0;
  }

  .main-content .hero__mini-banners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: min(19.75px, 2vh);
  }

  .main-content .mini-banner {
    height: min(308px, 25vh);
  }

  /* Keep the section content compact while extending its background to the viewport edges. */
  .main-content .brands,
  .main-content .products-section--collections,
  .main-content .about {
    position: relative;
    isolation: isolate;
  }

  .main-content .brands::before,
  .main-content .products-section--collections::before,
  .main-content .about::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: -50%;
    bottom: 0;
    left: -50%;
    background: #F8F5F0;
  }
}
