/* v3.16: steady bottom shadow for legible collection titles and smooth photo crossfades. */
.bk-category-section .categories.bk-four-collections .cat{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
/* Two images occupy the same card; only their opacity changes during rotation. */
.bk-category-section .categories.bk-four-collections .cat > img.bk-slide-image{
  position:absolute!important;
  inset:0!important;
  display:block;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:cover!important;
  opacity:0;
  pointer-events:none;
  transition:opacity .85s ease-in-out,transform .4s ease!important;
  will-change:opacity;
}
.bk-category-section .categories.bk-four-collections .cat > img.bk-slide-image.is-active{
  opacity:1;
}
/* Stable shadow/gradient across light, dark, hover and focus: no white text background. */
.bk-category-section .categories.bk-four-collections .cat .cat-info,
.bk-category-section .categories.bk-four-collections .cat:hover .cat-info,
.bk-category-section .categories.bk-four-collections .cat:focus-visible .cat-info,
html[data-bk-theme="dark"] .bk-category-section .categories.bk-four-collections .cat .cat-info,
html[data-bk-theme="dark"] .bk-category-section .categories.bk-four-collections .cat:hover .cat-info{
  position:absolute;
  z-index:2;
  inset:auto 0 0;
  padding:88px 20px 22px;
  background:linear-gradient(to bottom,transparent 0%,rgba(8,7,9,.28) 23%,rgba(8,7,9,.73) 65%,rgba(8,7,9,.91) 100%)!important;
  filter:none!important;
}
.bk-category-section .categories.bk-four-collections .cat .cat-info strong,
.bk-category-section .categories.bk-four-collections .cat .cat-info small{
  text-shadow:0 1px 3px rgba(0,0,0,.5);
}
@media(prefers-reduced-motion:reduce){
  .bk-category-section .categories.bk-four-collections .cat > img.bk-slide-image{
    transition:none!important;
  }
}
