.module-gallery.layout-slider .slide-content{background:rgba(0,0,0,.5);bottom:0;color:#fff;padding:1.5em;pointer-events:none;top:auto;transition:transform .3s ease,opacity .4s ease}.module-gallery.layout-slider .tf_swiper-slide-active .slide-content{opacity:1}.module-gallery.layout-slider.rounded .slide-content{border-bottom-left-radius:var(--tb_rounded_corner);border-bottom-right-radius:var(--tb_rounded_corner)}.module-gallery.layout-slider .slide-content>p{line-height:1;margin:1em 0 0}.module-gallery.layout-slider .tf_swiper-wrapper[style*="transition-duration:0ms"] .tf_swiper-slide-active .slide-content{opacity:1;transform:translateY(0)}.module-gallery.layout-slider .slide-content>*{color:inherit}.module-gallery.layout-slider .slide-image{margin-bottom:0}.module-gallery.layout-slider .carousel-wrap+.carousel-wrap{padding:1em 3em}.module-gallery.layout-slider :is(.slide-content>h3,.carousel-nav-wrap){margin:0}