/*=================================*/
/*=====----- OUTER PANEL -----=====*/
/*=================================*/

.tabbed-slider-container {
	position: relative;
	z-index: 2;
	padding: 30px 40px 0;
	margin-bottom: 75px;
}

.tabbed-slider-container .background,
.tabbed-slider-container .background .slide-img {
	position: absolute;
}

.tabbed-slider-container .background {
	inset: 0 0 auto;
	z-index: -1;
	height: 322px;
	background: var(--black);
}

.tabbed-slider-container .background .slide-img {
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.45;
}

.tabbed-slider-container .tabbed-slider-header,
.tabbed-slider-container .slideshows {
	width: 100%;
	max-width: 1238px;
	margin: 0 auto;
}

.tabbed-slider-container .tabbed-slider-header {
	margin-bottom: 42px;
}

.tabbed-slider-container .tabbed-slider-title {
	margin-bottom: 20px;
	font-family: var(--font-display);
	font-weight: normal;
	font-size: 2.75rem;
	line-height: 1;
	letter-spacing: -0.055em;
	text-align: center;
	color: var(--white);
}

.tabbed-slider-container .slider-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 15px 0;
}

.tabbed-slider-container .tab-button {
	display: block;
	padding: 8px 10px 6px;
	margin: 0;
	font-family: var(--font-frutiger-bold);
	font-weight: normal;
	font-size: 0.875rem;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	color: var(--white);
	background-color: transparent;
	border: none;
	border-radius: 0;
	transition: background-color var(--transition);
}

.tabbed-slider-container .tab-button.active {
	background-color: var(--salmon-alt);
}

.tabbed-slider-container .tab-button.active:focus {
	outline: unset;
}

/*====================================*/
/*=====----- INNER TEMPLATE -----=====*/
/*====================================*/

.tabbed-slider {
	position: relative;
	display: none;
}

.tabbed-slider.active {
	display: block;
}

.tabbed-slider .glide__arrows {
	position: absolute;
	inset: 29.07vw -18px auto;
	z-index: 3;
	transform: translateY(-50%);
	justify-content: space-between;
}

.tabbed-slider .template-footer {
	display: flex;
	justify-content: center;
	margin-top: 34px;
}

/*============================*/
/*=====----- SLIDES -----=====*/
/*============================*/

.tabbed-slider .slide,
.tabbed-slider .img-cont,
.tabbed-slider .slide-img {
	position: relative;
	z-index: 1;
}

.tabbed-slider .img-cont {
	margin-bottom: 16px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.tabbed-slider .slide-img {
	width: 100%;
}

.tabbed-slider .slide-title {
	margin-bottom: 6px;
	font-family: var(--font-frutiger-bold-condensed);
	font-weight: normal;
	font-size: 1.125rem;
	line-height: calc(22/18);
	color: var(--black);
}

.tabbed-slider .slide-desc {
	margin: 0;
	font-family: var(--font-georgia);
	font-weight: normal;
	font-size: 0.9375rem;
	line-height: calc(20/15);
	color: var(--gray);
}

.tabbed-slider .slide-footer {
	margin-top: 8px;
}

/*===================================*/
/*=====----- MEDIA QUERIES -----=====*/
/*===================================*/

@media (min-width: 40em) {
	.tabbed-slider .glide__arrows {
		top: 15.625vw;
	}
}

@media (min-width: 64em) {
	/*----- outer panel -----*/

	.tabbed-slider-container {
		padding-top: 85px;
		margin-bottom: 90px;
	}

	.tabbed-slider-container .background {
		height: 432px;
		background-attachment: fixed;
	}

	.tabbed-slider-container .background:after {
		content: '';
		position: absolute;
		inset: 0;
		background-color: rgb(0 0 0 / .45);
	}

	.tabbed-slider-container .background img {
		display: none;
	}

	.tabbed-slider-container .tabbed-slider-header {
		margin-bottom: 75px;
	}

	.tabbed-slider-container .tabbed-slider-title {
		margin-bottom: 24px;
		font-size: 3.75rem;
	}

	.tabbed-slider-container .slider-tabs {
		gap: 15px 3px;
	}

	.tabbed-slider-container .tab-button {
		padding: 8px 18px 7px;
		font-size: 1.25rem;
	}

	/*----- inner template -----*/

	.tabbed-slider .glide__arrows {
		inset: 10.9375vw -35px auto;
	}

	.tabbed-slider .template-footer {
		margin-top: 52px;
	}

	/*----- slides -----*/

	.tabbed-slider .img-cont {
		margin-bottom: 26px;
	}

	.tabbed-slider .slide-title {
		margin-bottom: 6px;
		font-size: 1.375rem;
	}

	.tabbed-slider .slide-desc {
		font-size: 1rem;
		line-height: 1.5;
	}
}

@media (min-width: 83em) {
	.tabbed-slider .glide__arrows {
		top: 148px;
	}
}