#main .hero-photograph > .hero-photo-link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
}

#main .hero-photo-link:focus-visible {
  outline: 3px solid #884b38;
  outline-offset: -4px;
}

#main .hero-photo-link img {
  transform: scale(1.06);
  transform-origin: 58% 54%;
}

@media (min-width: 700px) {
  #main.editorial-home > .editorial-hero > .hero-photograph {
    container: home-hero-photo / size;
  }

  /* When the contained image leaves space at the left, fade its actual edge. */
  @container home-hero-photo (aspect-ratio > 1080 / 723) {
    #main.editorial-home .hero-photograph > .hero-photo-link > img {
      --photo-left: calc(100% - 100cqh * 1080 / 723);
      mask-image: linear-gradient(
        to right,
        transparent var(--photo-left),
        #000 calc(var(--photo-left) + clamp(80px, 10cqw, 180px))
      );
    }
  }
}

@media (max-width: 699px) {
  #main.editorial-home > .editorial-collections {
    background: linear-gradient(to bottom, #f8f5ef calc(100% - 42px), #fff);
  }

  /* Lighten the Georgian photo's warm midtones and preserve dark label inks. */
  html[lang^="ka"] #main.editorial-home .hero-photograph > .hero-photo-link > img {
    filter: url(#molisan-home-ka-tone);
  }
}

#main.editorial-home .home-hero-photo-filter {
  position: absolute;
  pointer-events: none;
}

@media (max-width: 699px) {
  html[lang^="ka"] #main.editorial-home > .editorial-hero > .hero-purchase {
    padding-bottom: 16px;
  }

  html[lang^="ka"] #main.editorial-home > .editorial-collections {
    padding-top: 14px;
  }

  html[lang^="ka"] #main.editorial-home .collection-heading {
    flex-wrap: wrap;
  }

  html[lang^="ka"] #main.editorial-home #products-title {
    flex-shrink: 0;
    max-width: 100%;
    font-size: clamp(1.25rem, 6.4vw, 1.75rem);
  }
}
