.featured-block{
	padding: 100px 0;
	overflow: hidden;
	position: relative;
}

.featured-block .h1{
	color: var(--block-featured-color, var(--secondary-color));
}

.featured-block .bg-active{
	border-radius: var(--theme-border-radius);
	overflow: hidden;
	background-color: var(--bg-featured-color);
	color: var(--block-featured-color);
}

@media only screen and (min-width: 1025px) {
	.featured-block .bg-active{
		padding: 45px;
	}
}

.featured-block .featured-slider{
	padding: 0;
	overflow: visible !important;
}

body.block-editor-page .featured-slider{
	height: fit-content;
}

.featured-block .featured-slider.two-column .swiper-wrapper,
.featured-block .featured-slider.three-column .swiper-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.featured-block .featured-slider.two-column .media-container{
	padding-bottom: 35vh;
	min-height: 400px;
}

.featured-block .featured-slider.two-column .swiper-slide,
.featured-block .featured-slider.three-column .swiper-slide {
	flex: 0 0 100%;
}

@media only screen and (min-width: 480px) {
	.featured-block .featured-slider.two-column .swiper-wrapper,
	.featured-block .featured-slider.three-column .swiper-wrapper {
		flex-wrap: nowrap;
	}

	.featured-block .featured-slider.two-column .swiper-slide {
		flex: 0 0 calc(50% - 12px);
	}

	.featured-block .featured-slider.three-column .swiper-slide {
		flex: 0 0 calc(33.33% - 16px);
	}
}

@media only screen and (max-width: 1024px) {
	.featured-block .featured-slider.three-column .media-container{
		padding-bottom: 35vh!important;
		min-height: 400px!important;
	}
}

.featured-block .featured-slider .swiper-slide {
	transition: transform 0.3s ease, background-color 0.3s ease;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

@media only screen and (min-width: 480px) {
	.featured-block .featured-slider .swiper-slide {
		margin-right: 24px;
	}
}

.featured-block .bg-active .featured-slider .swiper-slide{
	background: transparent;
}

.featured-block .media-container {
	position: relative;
	padding-bottom: 175%; /* 9:16 aspect ratio */
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.featured-block .media-container iframe,
.featured-block .media-container img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
	object-fit: cover;
}

.featured-block .media-container img{
	height: calc(100% - 100px);
}

.featured-block .media-container iframe{
	top: -50px;
	z-index: -1;
}

.featured-block .zoom-on-hover {
	transition: transform 0.3s ease;
}

.featured-block .card-link-wrapper:hover .zoom-on-hover {
	transform: scale(1.05);
}

.featured-block .card-link-wrapper {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.featured-block .featured-slider.two-column .media-container,
.featured-block .featured-slider.three-column .media-container{
	padding-bottom: 0;
	min-height: 500px;
}

@media (min-width: 480px) {
	.featured-block .featured-slider.two-column .media-container,
	.featured-block .featured-slider.three-column .media-container{
		padding-bottom: 45vh;
	}
}

@media (min-width: 1025px) {
	.featured-block .featured-slider.two-column .media-container,
	.featured-block .featured-slider.three-column .media-container{
		min-height: 667px;
		padding-bottom: 75vh;
	}
}

.featured-block .museum-content {
	padding: 10px 0 20px 0;
	transition: background-color 0.3s ease;
	margin-top: -100px;
	background-color: #fff;
	z-index: 1;
	position: relative;
	color: #787878;
}

.featured-block .museum-content h4{
	font-family: var(--font-base);
	font-weight: var(--bold-font-weight);
	margin-bottom: 0;
	color: var(--theme-black);
}

.featured-block .bg-active .museum-content{
	background-color: var(--bg-featured-color);
	color: inherit;
}

.featured-block .bg-active .museum-content h4{
	color: inherit;
}

@media (min-width: 480px) {
	.featured-block .bg-active .museum-content p{
		max-width: 85%;
	}
}

@media (min-width: 1600px) {
	.featured-block .media-container img{
		height: calc(100% - 200px);
	}

	.featured-block .media-container iframe{
		top: -100px;
	}
	
	.featured-block .museum-content {
		margin-top: -200px;
	}
}

/* Swiper arrows */
.featured-block .swiper-button-prev,
.featured-block .swiper-button-next{
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #f4f4f4;
	color: #000;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	cursor: pointer;
	transition: background 0.3s ease;
	position: absolute;
	top: -60px;
	right: 0;
	left: initial;
}
@media (min-width: 1025px) {
	.featured-block .swiper-button-prev,
	.featured-block .swiper-button-next {
		display: flex;
	}
}

.featured-block .swiper-button-prev{
	right: 50px;
}

.featured-block .swiper-button-prev:hover,
.featured-block .swiper-button-next:hover {
	background-color: #e0e0e0;
}

.featured-block .swiper-button-prev::after,
.featured-block .swiper-button-next::after {
	display: none;
}

.featured-block .swiper-button-prev svg {
  transform: rotate(180deg);
}

.featured-block .swiper-button-next svg,
.featured-block .swiper-button-prev svg{
	width: initial;
	height: initial;
}

.featured-block .spacer-div{
	display: block;
	margin: 35px 0 0 0;
}