/* PSD 1920: dark band, three photos 535x329 with 10px gaps (row x152-1773), 190 above */
.about .block-gallery {padding: 3rem 1.5rem 1.5rem; background-color: var(--color-primary);}

.about .block-gallery .slider {margin: 0 -.3125rem 4.5rem;}
.about .block-gallery .slide {padding: 0 .3125rem;}
.about .block-gallery .photo {
	aspect-ratio: 535 / 329; border-radius: 10px;
	background-color: var(--color-primary-light); background-size: cover; background-position: center;
}

/* Pre-init fallback mirrors slick's own float+width layout */
.about .block-gallery .slider:not(.slick-initialized) {display: block; overflow: hidden;}
.about .block-gallery .slider:not(.slick-initialized) .slide {float: right; width: 100%;}
.about .block-gallery .slider:not(.slick-initialized) .slide:nth-child(n+2) {display: none;}

/* Arrows: below the photos on narrow screens, outside the edge photos on desktop */
.about .block-gallery .slick-prev,
.about .block-gallery .slick-next {top: auto; bottom: -3.75rem; transform: none; border-color: rgba(255,255,255,.9);}
.about .block-gallery .slick-prev {left: calc(50% + .5rem);}
.about .block-gallery .slick-next {right: calc(50% + .5rem);}
.about .block-gallery .slick-prev:before,
.about .block-gallery .slick-next:before {color: #fff; transition: color .25s ease;}
.about .block-gallery .slick-prev:hover,
.about .block-gallery .slick-next:hover {border-color: #fff; background-color: #fff;}
.about .block-gallery .slick-prev:hover:before,
.about .block-gallery .slick-next:hover:before {color: var(--color-primary);}

@media screen and (min-width: 40em) {
	.about .block-gallery {padding: 4rem 3rem 1.5rem;}
	.about .block-gallery .slider:not(.slick-initialized) .slide {width: 50%;}
	.about .block-gallery .slider:not(.slick-initialized) .slide:nth-child(n+2) {display: block;}
	.about .block-gallery .slider:not(.slick-initialized) .slide:nth-child(n+3) {display: none;}
}

@media screen and (min-width: 64em) {
	.about .block-gallery {padding: 6rem 0 4rem;}
	.about .block-gallery .slider {width: calc(84.4% + .625rem); margin: 0 auto;}
	.about .block-gallery .slider:not(.slick-initialized) .slide {width: 33.3333%;}
	.about .block-gallery .slider:not(.slick-initialized) .slide:nth-child(n+3) {display: block;}
	.about .block-gallery .slider:not(.slick-initialized) .slide:nth-child(n+4) {display: none;}

	.about .block-gallery .slick-prev,
	.about .block-gallery .slick-next {top: 50%; bottom: auto; transform: translateY(-50%);}
	.about .block-gallery .slick-prev {left: -3.5rem;}
	.about .block-gallery .slick-next {right: -3.5rem;}
}

@media screen and (min-width: 90em) {
	.about .block-gallery {padding: 11.9rem 0 8.5rem;}
}
