.resources-swiper .swiper-wrapper {
	align-items: center;
	margin-left: -16%;
}

.resources-swiper .swiper-slide {
	position: relative;
	opacity: 0.4;
	width:12.5%;
}

.resources-swiper .swiper-slide-active {
	opacity: 1;
	z-index: 2;
	min-height: 600px;
	width: 50%!important;
}

@media screen and (max-width:1200px){
	.resources-swiper .swiper-wrapper {
		margin-left: 8%;
	}

	.resources-swiper .swiper-slide {
		min-height: 300px;
	}
	
	.resources-swiper .swiper-slide-active {
		width: 85% !important;
		min-height: 400px;
	}
}


.resources-swiper .resource-content {
	position: absolute;
	bottom: 0;
	background-color: var(--wp--custom--primary--main);
	padding: 30px;
	border-top-right-radius: var(--wp--custom--radius--lg);
	width: 75%;
	visibility: hidden;
	transition: background-color 300ms ease-in-out;
}

.resources-swiper .swiper-slide-active .resource-content {
	visibility: visible;
}

.resources-swiper .swiper-slide { 
	padding-top: 3px;
	line-height: 1;
}

.resources-swiper .swiper-slide:not(.swiper-slide-active) { pointer-events: none; }

.resources-swiper .resource-slide { transition: transform 300ms ease-in-out; }

.resources-swiper .resource-slide:hover { transform: translateY(-3px); }

.resources-swiper .resource-slide a {
	color: var(--wp--custom--light--wt);
	background-color: var(--wp--custom--primary--dark);
	display: inline-block;
	height: 500px;
	width: 100%;
	background-position: center;
	background-size: cover;
	transition: height 0s linear, transform 300ms ease-in-out;
}


.resources-swiper .swiper-slide-active a {
	height: 600px;
}

.resources-swiper .resource-slide a:hover .resource-content{
	background-color: var(--wp--custom--light--wt);
	color: var(--wp--custom--primary--main);
}

.resources-swiper .resource-link-text{
	margin-top:30px;
	display:block;
}

.resources-swiper .resource-slide a .resource-content h4{transition: color 300ms ease-in-out;}

.resources-swiper .resource-slide a:hover .resource-content h4{	color: var(--wp--custom--primary--main); }

.resources-swiper .resource-slide a:hover .excerpt{transition: all 300ms ease-in-out;}

.resources-swiper .swiper-pagination {
	position: initial;
	margin-top: 40px;
}

.resources-swiper .swiper-pagination-bullet {
	height: 20px;
	width: 20px;
	background-color: var(--wp--custom--light--wt);
}

.resources-swiper .swiper-button-next,
.resources-swiper .swiper-rtl .swiper-button-prev {
	right: 15%;
	top: 47%;
}

.resources-swiper .swiper-button-prev,
.resources-swiper .swiper-rtl .swiper-button-next {
	left: 15%;
	top: 47%;
}

@media (max-width: 600px) {
	.resources-swiper .swiper-button-next,
	.resources-swiper .swiper-rtl .swiper-button-prev {
		right: 5%;
	}

	.resources-swiper .swiper-button-prev,
	.resources-swiper .swiper-rtl .swiper-button-next {
		left: 5%;
	}
}

/*resource single*/
.single-resource .entry-content{
	padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl);
}

/*related resource*/

.resource-cat-cols .cols{
	gap: 30px;
  margin: var(--wp--custom--spacer--md) 0 var(--wp--custom--spacer--xs);
	width: 100%;
}

@media screen and (max-width: 1200px) {
	.resource-cat-cols .cols { gap: 24px }
}

@media screen and (max-width: 600px) {
	.resource-cat-cols .cols { gap: 12px }
}

.resource-cat-cols .cols:after{display:none;}

.resource-cat-cols .cols .resource-cat {
	display: flex;
	background-color: var(--wp--custom--light--3);
    border: 3px solid var(--wp--custom--headache--light--3);
		border-radius: var(--wp--custom--radius--brand);
    /* flex: auto; */
	transition: all 300ms ease-in-out;
	padding:0 2px;
}

.resource-cat-cols .cols .resource-cat { width: calc(20% - 24px); }

@media screen and (max-width: 1200px) {
	.resource-cat-cols .cols .resource-cat { width: calc(25% - 18px); }
}

@media screen and (max-width: 900px) {
	.resource-cat-cols .cols .resource-cat { width: calc((100% / 3) - 16px); }
}

@media screen and (max-width: 600px) {
	.resource-cat-cols .cols .resource-cat { width: calc(50% - 6px); }
}

.resource-cat-cols .cols .resource-cat:hover{
	transform: scale(1.025) translateY(-2px);
}

.resource-cat-cols .cols .resource-cat .resource-cat-link {
	padding: 30px 15px;
	display:block;
	text-align: center;
	width: 100%;
}

.resource-cat-cols .cols .resource-cat .resource-cat-link .resource-cat-icon { 
	display: inline-block;
	padding: 1rem;
	border-radius: 100%;
	box-sizing: border-box;
	color: var(--wp--custom--light--wt);
	font-size: 0;
	line-height: 1;
}

.resource-cat-cols .cols .resource-cat:nth-child(odd) .resource-cat-link .resource-cat-icon { background-color: var(--wp--custom--secondary--main); }

.resource-cat-cols .cols .resource-cat:nth-child(even) .resource-cat-link .resource-cat-icon { background-color: var(--wp--custom--primary--main); }


@media screen and (min-width: 901px) and (max-width: 1200px) {
	.resource-cat-cols .cols .resource-cat:nth-child(8n-1) .resource-cat-link .resource-cat-icon,
	.resource-cat-cols .cols .resource-cat:nth-child(8n-3) .resource-cat-link .resource-cat-icon { background-color: var(--wp--custom--primary--main); }

	.resource-cat-cols .cols .resource-cat:nth-child(8n-2) .resource-cat-link .resource-cat-icon,
	.resource-cat-cols .cols .resource-cat:nth-child(8n) .resource-cat-link .resource-cat-icon {  background-color: var(--wp--custom--secondary--main); }
}

@media screen and (max-width: 600px) {
	.resource-cat-cols .cols .resource-cat:nth-child(4n+3) .resource-cat-link .resource-cat-icon { background-color: var(--wp--custom--primary--main); }

	.resource-cat-cols .cols .resource-cat:nth-child(4n+4) .resource-cat-link .resource-cat-icon { background-color: var(--wp--custom--secondary--main); }

}

.resource-cat-cols .cols .resource-cat .resource-cat-link svg {
	max-width: calc(70px - 1rem);
	max-height: calc(70px - 1rem);
	width: 100%;
	height: 100%;
}

.resource-cat-cols .resource-cat-title{
	margin-top: 1rem;
	line-height:1;
}

.archive-description{
	text-align: center; 
	margin: 0 auto 30px; 
	max-width:800px;
}