.dynamic-gallery-wrapper{display:grid;gap:1rem}.dynamic-gallery-card{display:flex;flex-direction:column-reverse;overflow:hidden;position:relative}.dynamic-gallery-card .title-wrapper h2{align-items:center;background:rgba(17,11,13,.8);color:#fff;cursor:pointer;display:flex;font-size:2rem;margin:0;padding:1rem;transition:all .5s ease}.dynamic-gallery-card .title-wrapper h2 div{display:inline-block}.dynamic-gallery-card .title-wrapper .arrow{border-bottom:2px solid #fff;border-right:2px solid #fff;display:inline-block;height:.75rem;margin-bottom:.25rem;margin-left:1rem;transform:rotate(45deg);transition:all .5s ease;width:.75rem}.dynamic-gallery-card.active .title-wrapper .arrow{border-color:var(--color--text);margin-bottom:-.5rem;transform:rotate(225deg)}.dynamic-gallery-card .image-wrapper{aspect-ratio:8/5;cursor:pointer;overflow:hidden;z-index:0}.dynamic-gallery-card .image-wrapper img{max-height:100%;object-fit:cover;transition:all .15s ease;width:100%}.dynamic-gallery-card:hover .image-wrapper img{transform:scale(1.05)}.dynamic-gallery-card.active .content-wrapper{transform:translateX(0)}.dynamic-gallery-card.active .title-wrapper h2{background:none;color:#000;padding:1rem 2rem 1rem 0;transform:none}.dynamic-gallery-card .text-slider-wrapper{display:grid;gap:1rem;max-height:0;overflow:hidden;transition:all .5s ease}.dynamic-gallery-card.active .text-slider-wrapper{margin-bottom:2rem;max-height:1000px}.dynamic-gallery-card .slider-wrapper{align-items:center;aspect-ratio:4/3;display:flex;justify-content:center}.dynamic-gallery-card .splide__slide img{aspect-ratio:4/3;object-fit:cover}.dynamic-gallery-card .splide__main.is-initialized{padding-bottom:1.5rem}.dynamic-gallery-card .slider__container{max-width:calc(100vw - 4rem);width:100%}#main-content .dynamic-gallery-card .splide__slide--caption{background:none!important;padding:.5rem 0!important}#main-content .dynamic-gallery-card .splide__pagination__page{min-width:0}#main-content .dynamic-gallery-card .splide__pagination{max-width:100%}#main-content .dynamic-gallery-card .splide__toggle{align-items:center;background:#fff;border:none;border-radius:50%;bottom:4.25rem;display:inline-flex;height:1.8rem;justify-content:center;opacity:.7;padding:1px 6px;transition:background-color .2s ease;width:1.8rem}#main-content .dynamic-gallery-card .splide_toggle svg{fill:initial}#main-content .dynamic-gallery-card .splide__toggle:hover{opacity:1}@media (min-width:900px){.dynamic-gallery-card{display:block;overflow:hidden}.dynamic-gallery-card .text-wrapper,.dynamic-gallery-card.active .text-wrapper{max-height:none}.dynamic-gallery-card .content-wrapper{background:hsla(0,0%,100%,.97);display:flex;flex-direction:column;height:calc(100% - 2rem);left:0;margin:1rem;padding:2rem;position:absolute;top:0;transform:translateX(calc(100% + 1rem));transition:all .5s ease;width:calc(100% - 2rem);z-index:10}.dynamic-gallery-card .title-wrapper{grid-column:1/3}.dynamic-gallery-card .text-slider-wrapper{gap:4rem;grid-template-columns:minmax(0,2fr) minmax(0,3fr);overflow-y:scroll}.dynamic-gallery-card.active .text-slider-wrapper{margin-bottom:0}.dynamic-gallery-card .title-wrapper h2{display:inline-block;font-size:2.5rem;padding:2rem;transform:translateX(calc(-100% - 2rem))}.dynamic-gallery-card.active .title-wrapper h2{padding:2rem 4rem 2rem 0}.dynamic-gallery-card .title-wrapper .arrow{margin-bottom:.125rem;transform:rotate(-45deg)}.dynamic-gallery-card.active .title-wrapper .arrow{margin-bottom:.125rem;margin-left:1rem;transform:rotate(-225deg)}}