section[data-type=gallery][data-style=rotated] .item-details{z-index:500}section[data-type=gallery][data-style=rotated] .item-details:nth-child(odd){transform:rotate(1deg)}section[data-type=gallery][data-style=rotated] .item-details:nth-child(even){transform:rotate(-2deg)}section[data-type=gallery][data-style=rotated] .item-details:nth-child(4n+1){transform:rotate(2deg)}section[data-type=gallery][data-style=rotated] .item-details:nth-child(3n+2){transform:rotate(-3deg)}section[data-type=gallery][data-style=rotated] .item-details:nth-child(5n+3){transform:rotate(3deg)}section[data-type=gallery][data-style=rotated] .item-details:nth-child(7n){transform:rotate(-1deg)}section[data-type=gallery][data-style=rotated] .item-details:nth-child(5n+7){transform:rotate(1.5deg)}section[data-type=gallery][data-style=rotated] .item-details:hover{transform:scale(1.1);z-index:903}section[data-type=gallery][data-style=full-width]{max-width:none}section[data-type=gallery][data-style=full-width] .gallery-wrap{width:100%;max-width:none}section[data-type=gallery][data-style=full-width] .gallery-wrap .gallery-image-text{position:absolute;bottom:0;left:0;width:100%;padding:.5rem;margin:0}section[data-type=gallery][data-style=full-width] .gallery-wrap .gallery-title{margin-top:0}section[data-type=gallery][data-style=full-width] .item-list{max-width:none}section[data-type=gallery][data-style=grid] .item-list ul,section[data-type=gallery][data-style=grid] .item-list .gallery-image{height:100% !important}section[data-type=gallery][data-style=grid] .item-list .gallery-image-text{position:absolute;bottom:0;left:0;width:100%;padding:.5rem;margin:0}section[data-type=gallery][data-style=grid] .item-list .gallery-title{margin-top:0}section[data-type=gallery] .item-details{transition:var(--transition-slow)}section[data-type=gallery] a{color:inherit}section[data-type=gallery] .gallery-image{overflow:hidden}section[data-type=gallery] .gallery-image img{width:100%;height:100%;object-fit:cover;transition:var(--transition-ultra-slow)}section[data-type=gallery] .gallery-title{margin:.5em 0 .2em}section[data-type=gallery] .item-details[data-text-color=light] .gallery-image-text{color:var(--c-grey-very-light);text-shadow:1px 1px 2px rgba(0,0,0,.5)}section[data-type=gallery] .item-details[data-text-color=dark] .gallery-image-text{color:var(--c-black)}section[data-type=gallery] .item-details[data-show-whole-image=true] .gallery-image img{object-fit:contain}