/* Homepage collection gallery: full-card image with its title below. */
.index-highlights .contact-slide{
  display:flex;
  flex-direction:column;
  isolation:isolate;
}
.index-highlights .contact-slide-zoom{
  position:relative;
  display:block;
  flex:1 1 auto;
  min-height:0;
  width:100%;
  overflow:hidden;
  border:0;
  padding:0;
  background:transparent;
  cursor:zoom-in;
}
.index-highlights .contact-slide-zoom:focus-visible{
  outline:3px solid #a94987;
  outline-offset:-4px;
  z-index:2;
}
.index-highlights .contact-slide img{
  position:static;
  inset:auto;
  display:block;
  width:100%;
  height:100%;
  padding:0;
  object-fit:cover;
  mix-blend-mode:normal;
}
.index-highlights .contact-slide figcaption{
  position:static;
  inset:auto;
  z-index:auto;
  display:flex;
  flex:0 0 42px;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:0 10px;
  background:transparent;
  color:#302936;
  font-size:13px;
  font-weight:700;
  text-shadow:none;
}

/* Shared enlarged-image viewer used by the homepage product gallery. */
.about-image-viewer{
  position:fixed;
  max-width:94vw;
  max-height:92vh;
  padding:46px 14px 14px;
  border:1px solid #ffffffbf;
  border-radius:16px;
  background:#fff;
  overflow:visible;
}
.about-image-viewer::backdrop{
  background:rgba(24,18,29,.82);
  backdrop-filter:blur(3px);
}
.about-image-viewer>img{
  display:block;
  width:auto;
  height:auto;
  max-width:calc(94vw - 30px);
  max-height:calc(92vh - 70px);
  object-fit:contain;
  border-radius:8px;
}
.about-image-viewer-close{
  position:absolute;
  top:8px;
  right:8px;
  z-index:1;
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border:0;
  border-radius:50%;
  background:#302936;
  color:#fff;
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
.about-image-viewer-close:hover{background:#a94987}

@media(max-width:760px){
  .index-highlights .contact-slide figcaption{font-size:12px}
  .about-image-viewer{max-width:96vw;padding:42px 8px 8px}
  .about-image-viewer>img{max-width:calc(96vw - 18px);max-height:calc(90vh - 60px)}
}

/* Homepage gallery heading follows the About page's subtitle/link layout. */
.index-gallery-intro{
  max-width:620px;
  margin:12px 0 0;
  color:#6c6870;
  font-size:14px;
  line-height:1.6;
}
.index-highlights .contact-gallery-head>.text-link{
  color:#302b32;
  white-space:nowrap;
}
.index-highlights .contact-gallery-head>.text-link span{color:#bd5897}
@media(max-width:760px){
  .index-highlights .contact-gallery-head{display:block}
  .index-highlights .contact-gallery-head>.text-link{display:inline-block;margin-top:16px}
  .index-gallery-intro{font-size:13px}
}
