/* Akoya homepage 609 */
.home-intro section.wedding-editorial[data-akoya-banner]:not(.home-has-video) {
  background: #faf9f7;
}
.home-intro section.wedding-editorial[data-akoya-banner]:not(.home-has-video) .wedding-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.home-intro section.wedding-editorial[data-akoya-banner]:not(.home-has-video) .wedding-image::after {
  background: none;
}
@media (min-width:761px) {
  .home-intro section.wedding-editorial[data-akoya-banner]:not(.home-has-video) {
    display: grid;
    grid-template-columns: minmax(0, 30.4fr) minmax(0, 69.6fr);
    align-items: center;
    min-height: 0;
  }
  .home-intro section.wedding-editorial[data-akoya-banner]:not(.home-has-video) .wedding-image {
    position: relative;
    inset: auto;
    grid-area: 1 / 2;
    min-height: 0;
    height: auto;
  }
  .home-intro section.wedding-editorial[data-akoya-banner]:not(.home-has-video) .wedding-image::after {
    content: none;
  }
  .home-intro section.wedding-editorial[data-akoya-banner]:not(.home-has-video) .wedding-copy {
    grid-area: 1 / 1;
    align-self: center;
    margin: 0;
    width: auto;
    padding: 24px 5% 24px 14%;
  }
  .home-intro section.wedding-editorial[data-akoya-banner] .wedding-copy h2 {
    font-size: clamp(34px, 3.45vw, 78px);
  }
}
@media (max-width:760px) {
  .home-intro section.wedding-editorial[data-akoya-banner]:not(.home-has-video) .wedding-image {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }
}

/* The lower corner of the selection panel and the upper join of the portal panels. */
@media (min-width:761px) {
  .home-intro section.wedding-editorial[data-akoya-banner]:not(.home-has-video)
    .wedding-image:has(img[src*="perlovy-nahrdelnik-akoya-na-ledu.webp"]) {
    --photo-width: 69.6%;
    grid-area: 1 / 1 / 2 / -1;
    align-self: center;
    --selection-clip: polygon(22.7% 0, 100% 0, 100% 100%, 38.94% 100%);
    clip-path: var(--selection-clip);
    overflow: hidden;
  }
  .home-intro section.wedding-editorial[data-akoya-banner]:not(.home-has-video)
    .wedding-image:has(img[src*="perlovy-nahrdelnik-akoya-na-ledu.webp"]) img {
    width: var(--photo-width, 69.6%);
    margin-left: auto;
  }
  .home-intro section.wedding-editorial[data-akoya-banner]:not(.home-has-video)
    .wedding-image:has(img[src*="perlovy-nahrdelnik-akoya-na-ledu.webp"])::before {
    content: "";
    position: absolute;
    inset: 0 var(--photo-width) 0 auto;
    width: var(--photo-width);
    transform: scaleX(-1);
    background: url("/assets/homepage/perlovy-nahrdelnik-akoya-na-ledu.webp?v=4f7b621bc137c54d") left center / 100% 100% no-repeat;
  }
}

.home-intro [data-akoya-banner]:not(.home-has-video) .wedding-image {
  --selection-corner-radius: var(--jewellery-frame-radius, 4px);
  --selection-clip: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  border-radius: var(--selection-corner-radius);
  overflow: hidden;
}
@media (min-width: 761px) {
  /* Expand only the photographs. Keep the heading, captions and interior seams
     at their existing positions within the original 91%-wide collection. */
  .home-intro .selection.section-wrap .selection-collage {
    width: 109.89010989%;
    margin-inline-start: -4.945054945%;
    aspect-ratio: 320 / 91;
  }
  .home-intro .selection .selection-viridis {
    width: 31.8%;
    --selection-clip: polygon(0 0, 98.88396% 0, 70.21038% 100%, 0 100%);
  }
  .home-intro .selection .selection-viridis img {
    left: 14.15094%;
    width: 73.83019%;
  }
  .home-intro .selection .selection-mondstein { left: 22.7%; width: 36.4%; }
  .home-intro .selection .selection-tenebris { left: 50%; width: 23.66%; }
  .home-intro .selection .selection-rubin {
    left: 67.29%;
    width: 32.71%;
    --selection-clip: polygon(19.83583% 0, 100% 0, 100% 100%, .34497% 100%);
  }
}
