:root {
	--laboratory-text: #00012cb3;
}

html {
    font-size: 62.5%;
}

[data-type="acf/media-tabs"] {
    width: 100%;
    max-width: 100%;
}

.media-tabs-header {
	padding-top: 8rem;
	padding-bottom: 11rem;
	display: flex;
	justify-content: center;
}

.media-tabs-buttons {
	flex-wrap: nowrap;
}

.media-tabs-header .tabs li.active button {
	border-bottom-color: #A98EF5;
}

.media-tabs-box-header {
	position: relative;
	padding: 0 20rem;
}

.media-blocks {
	padding-bottom: 10rem;
}

.media-tabs-box-header .title {
	max-width: 73rem;
	margin-bottom: 5rem;
	font-family: var(--font-title);
	font-size: 56px;
	font-weight: 400;
	line-height: 64px;
	color: #00012C;
}

.media-box-header-content .description {
	max-width: 60rem;
	margin-left: auto;
	margin-bottom: 10rem;
	color: var(--laboratory-text);
}

.media-link {
	position: absolute;
	top: 0;
	right: 20rem;
	background: #090915;
	color: #fff;
}

.bottom-media-link {
	width: max-content;
	margin: 0 auto;
	display: flex;
	align-items: center;
	padding: 0.5rem 1.5rem 0.5rem 0.5rem;
	background: #090915;
	color: #fff;
}

.media-link:hover, .bottom-media-link:hover {
	background: var(--primary);
	color: #090915;
}

.main-image {
	margin: 0 var(--gap) 9rem;
}

.main-image img {
	width: 100%;
}

.float-block {
	position: absolute;
	right: 10%;
	top: 0;
	background: #FEFDFB;
	
	box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.2);
	max-width: 18rem;
	padding: 2rem 0.5rem 1rem;
	text-align: center;
	border-radius: 13px;
	display: flex;
	flex-direction: column;
}

.float-block-text {
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 2%;
}

.float-block img {
	width: 100%;
	height: auto;
}

.media-columns {
	display: flex;
	padding: 0 20rem;
	gap: 8rem;
}

.media-columns div {
	flex: 1 1;
	color: var(--laboratory-text);
}

.media-columns div:before {
	content: '';
	display: block;
	width: 3rem;
	margin-bottom: 2rem;
	border-top: 4px solid #A98EF5;
}

.hr-columns {
	margin: 11rem var(--gap) 12rem;
	border: 1px solid #E5E4DC;
}

.slider-container {
	position: relative;
}

.media-title-slider {
	margin: 0 20rem 6rem;
}

.media-title-slider h3 {
	margin-bottom: 2rem;
	max-width: 63rem;
	font-family: var(--font-title);
	font-size: 56px;
	font-weight: 400;
	line-height: 64px;
	color: #00012C;
}

.media-title-slider div {
	max-width: 96rem;
	font-size: 16px;
	color: var(--laboratory-text);
}

.media-slider .card {
	position: absolute;
	left: 9rem;
	bottom: 8rem;
	padding: 3rem;
	max-width: 33rem;
	background: #B89FFFF0;
}

.media-hotspot-slider .hotspot-card {
	position: absolute;
	right: 4rem;
	bottom: 5rem;
	width: 78rem;
	padding: 2rem;
	background: #B89FFFF0;
	display: none;
	gap: 2rem;
	align-items: center;
}

.media-hotspot-slider .hotspot-card.block-left {
	left: 20rem;
	bottom: 20rem;
	right: auto;
}

.media-hotspot-slider .hotspot-card.active {
	display: flex;
}

.media-hotspot-slider .hotspot-card > * {
	flex: 1 1;
}

.media-slider .card h4,
.media-hotspot-slider .hotspot-card h4 {
	margin-bottom: 0;
	font-weight: 400;
	font-family: var(--font-title);
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
}

.media-slider .card div,
.media-hotspot-slider .hotspot-card .hotspot-card-content div {
	color: var(--laboratory-text);
}

.media-slider, .media-hotspot-slider {
	margin: 0 var(--gap) 12rem;
}

.media-slider .swiper-slide, .media-hotspot-slider .swiper-slide {
	position: relative;
}

.media-slider-navigation, .hotspot-slider-navigation {
	position: absolute;
	top: 50%;
	left: 22px;
	right: 22px;
	bottom: 50%;
	height: 4rem;
}

.media-slider-navigation .media-next,
.hotspot-slider-navigation .media-hotspot-next {
	right: 0;
	left: initial;
}

.sub-description {
	max-width: 68rem;
	margin: 0 auto;
	padding-bottom: 4rem;
	text-align: center;
	color: var(--laboratory-text);
}

.media-hotspot {
	position: absolute;
	background: none;
	border: 0px;
}

.media-hotspot.active circle:first-child {
	fill: #9069FF;
}

.media-hotspot.active line {
	stroke: #fff;
}

.media-hotspot-slider .swiper-slide img,
.media-slider .swiper-slide img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

@media (max-width: 1400px) {
	.media-box-header-content .description {
		margin-bottom: 4rem;
	}
	
	.media-link {
		position: initial;
		margin-bottom: 5rem;
  		margin-left: auto;
	}
}

@media (max-width: 1100px) {
	.media-tabs-header {
		padding-top: 50px;
		padding-bottom: 70px;
	}
	
	.media-tabs-box-header {
		padding: 0 2rem 4rem;
	}
	
	.media-tabs-box-header .title  {
		margin-bottom: 2rem;
		font-size: 40px;
		line-height: 48px;
	}
	
	.media-box-header-content .description {
		margin-bottom: 4rem;
	}
	
	.media-link {
		position: initial;
		margin: 0 auto;
	}
	
	.main-image {
		margin-bottom: 5rem;
	}
	
	.float-block {
		position: relative;
		right: unset;
		top: unset;
		max-width: 26rem;
		flex-direction: row;
		margin: 2rem auto 0;
		padding: 0;
	}
	
	.float-block-text {
		display: flex;
		align-items: center;
		text-align: left;
		padding: 2rem;
	}
	
	.float-block img {
		max-width: 18rem;
	}
	
	.media-columns {
		padding: 0 2rem;
		flex-wrap: wrap;
		gap: 4rem;
	}
	
	.media-columns div {
		flex: auto;
	}
	
	.media-title-slider {
		margin: 0 2rem 6rem;
	}
	
	.media-title-slider h3 {
		font-size: 40px;
		line-height: 48px;
	}
	
	.media-slider {
		margin: 0 0 10rem;
	}
	
	.media-slider .swiper-wrapper {
		padding-bottom: 10rem
	}
	
	.media-slider .swiper-slide > img,
	.media-hotspot-slider .swiper-slide > img {
		min-height: 44rem;
		object-fit: cover;
	}
	
	.media-slider .card {
		right: 0;
		left: 0;
		bottom: -6rem;
		margin: 0 auto;
	}
	
	.media-slider-navigation {
		top: auto;
		bottom: 9rem;
	}
	
	.media-hotspot-slider {
		margin: 0 0 10rem;
	}
	
	.media-hotspot-slider .swiper-wrapper {
		padding-bottom: 30rem;
	}
	
	.media-hotspot-slider .hotspot-card {
		flex-direction: column;
		width: 80%;
		max-width: 50rem;
		left: 0;
		right: 0;
		margin: 0 auto;
		top: 38rem;
		bottom: auto;
	}
	
	.media-hotspot-slider .hotspot-card.block-left {
		left: 0;
		bottom: auto;
		right: 0;
	}
	
	.hotspot-slider-navigation {
		top: 42rem;
	}
	
	.sub-description {
		margin: 0 48px;
		padding-bottom: 9rem;
	}
}

@media (max-width: 400px) {
	.media-slider-navigation,
	.hotspot-slider-navigation {
		left: 0px;
		right: 0px;
	}
}