/* masthead */
.resources-masthed-section .section-bg:after{content: ''; position: absolute; top:0; right:0; bottom:0; left:0;}

/* filter */
.btn-checks-block{display: flex; align-items: flex-start; justify-content: flex-start; gap:var(--margin-small) 1.5rem;}
.btn-checks-block .block-label{flex:none; white-space: nowrap; }
.btn-checks-block .block-label:after{content: ':';}
.btn-checks-block .checks-group{display: flex; flex-wrap:wrap;}
.btn-checks-block .checks-group .btn-check-label, .btn-checks-block a.checks-toggle{white-space: nowrap; cursor: pointer; display: flex; align-items: center; justify-content: center; text-decoration: none; transition:color 0.2s ease, border 0.2s ease, background 0.2s ease;}

/* featured */
.ba-resources-featured-slider .item{margin-bottom:1px; display: flex; flex-direction: row-reverse; align-items: stretch;}
.ba-resources-featured-slider .image{ flex:none; overflow: hidden; transform: scaleZ(1);}
.ba-resources-featured-slider .image img{object-fit: cover; width:100%; height:100%; transition:transform 2s ease;}
.ba-resources-featured-slider .content{ display: flex; flex-direction: column; align-items: flex-start; justify-content: center; flex-grow:1;}
.ba-resources-featured-slider a:not(.area-link){z-index: 5;}
.ba-resources-featured-slider .title{transition:color 0.2s ease;}
.ba-resources-featured-slider .swiper-pagination-bullets{margin:0; width:auto; position: absolute;}

/* listing */
.ba-resources-listing{display: flex; align-items: stretch; flex-wrap:wrap;}
.ba-resources-listing .item{display: flex; align-items: stretch;}

.ba-resources-listing.listing-column .item{width:100%;}
.ba-resources-listing.listing-column .resource-card .description{flex-direction: row; }

/* details */
.resource-details-masthead-section .tags-wrap{display: flex; align-items: flex-start; justify-content: center;}

.ba-resource-share-block {display: flex; align-items: center;}

/* related */
.ba-resource-related-slider .item{display: flex; align-items: stretch;}
.resource-related-slider-controls{display: flex;}


@media (max-width: 767.98px) {
	.ba-resources-featured-slider .item{flex-direction: column;}
	.ba-resources-featured-slider .content{display: block;}
	
	.btn-checks-block{flex-direction: column;}
	.btn-checks-block .block-label{width:auto;}
	
	.ba-resources-filter .filter-row { gap:1rem; }
}

@media (max-width: 575.98px){
	.ba-resources-listing.listing-column .resource-card .description{flex-direction: column;}
}
