/* === CONTAINER === */
.testimonial-slider-content.swiper {
	overflow: visible;
}

.swiper-component.contact {
	max-width: 36.25rem;
	position: relative;
}

/* === WRAPPER === */
.testimonial-slider-content .swiper-wrapper {
	display: flex;
	width: 100%;
	align-items: center;
}

/* === SLIDES === */
.testimonial-slider-content .swiper-slide.prospect {
    position: relative;
    z-index: 1;
    opacity: 0;
    cursor: default;
    flex: none;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    transform: scale(0.8);
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.25);
    border-radius: 1.5rem;
    overflow: visible;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* === CARD === */
.testimonial-card-wrapper {
	position: relative;
	display: flex;
	height: 100%;
	flex: none;
}

.testimonial-card-wrapper._100 {
	flex: auto;
	width: 100%;
	max-width: 360px;
	height: auto;
}

.testimonial-card-wrapper.is-template {
	margin-right: .75rem;
}

.testimonial-card-wrapper.height-100 {
	height: 100%;
	max-height: 100%;
}

.testimonial-card {
	position: relative;
	z-index: 2;
	display: flex;
	flex-flow: column;
	justify-content: flex-start;
	align-items: stretch;
	gap: 2rem;
	padding: 2rem 2rem;
	text-align: left;
	background-color: #ffffff;
	border-radius: 1.5rem;
	box-shadow: none;
}

.testimonial-card.no-link {
	justify-content: space-between;
	height: 500px;
	max-height: 500px;
}

.testimonial-card.no-link:hover {
	color: #000000;
}

/* === HEAD / MEDIA (Logo + Country) === */
.testimonial-card-head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.testimonail-card-logo {
	height: 2.7rem;
	margin-right: auto;
}

.testimonail-card-country {
	display: flex;
}
.testimonail-card-country img {
	width: 33px;
    height: 33px;
    border-radius: 100%;
    object-fit: cover;
}

/* === CONTENT AREA === */
.testimonial-card-content {
	display: flex;
	flex: 1;
	flex-flow: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2.5rem;
}

.testimonial-copy-wrapper {
	display: flex;
	flex-flow: column;
	gap: .75rem;
	font-size: 18px;
	line-height: 26px;
}

.testimonial-writer-wrapper {
	display: flex;
	gap: 1.5rem;
	height: auto;
	flex-wrap: nowrap;
}

.testimonial-write-image-wrapper {
	flex: none;
	max-width: 6.25rem;
	flex-wrap: nowrap;
	display: flex;
}

.testimonial-write-image-wrapper img {
	border-radius: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
    align-self: center;
}

.testimonial-write-details {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: flex-start;
}

/* === TYPOGRAPHY === */
.testimonial-write-details .testimonial-name h1, 
.testimonial-write-details .testimonial-name h2, 
.testimonial-write-details .testimonial-name h3, 
.testimonial-write-details .testimonial-name h4, 
.testimonial-write-details .testimonial-name h5, 
.testimonial-write-details .testimonial-name h6 {
    margin-block-end: 0;
    margin-block-start: 0;
}

.testimonial-copy-wrapper h4 {
	font-size: 24px;
	line-height: 30px;
	margin: 0;
}

h5.testimonial-name {
	font-size: 18px;
	line-height: 26px;
	margin-bottom: 0;
}

.testimonial-title {
	font-size: 18px;
	color: #76767F;
}

/* === NAVIGATION === */
.testimonial-slider-content .swiper-button-prev,
.testimonial-slider-content .swiper-button-next {
	position: relative;
}

.testimonial-slider-content .swiper-button-prev {
	left: 0;
}

.testimonial-slider-content .swiper-button-prev:hover,
.testimonial-slider-content .swiper-button-next:hover {
	color: #ffffff;
	background-color: #000000;
	transition: background-color .3s ease, color .3s ease;
}

.testimonial-slider-content .swiper-button-next {
	right: 0;
}


/* Icon/SVG inside arrows */
.testimonial-slider-content .hb-nav-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	font-size: var(--swiper-navigation-size, 24px);
}

.testimonial-slider-content .hb-nav-icon svg {
	width: 1em;
	height: 1em;
}

.testimonial-slider-content .hb-nav-icon img {
	width: 100%;
	height: auto;
}

.testimonial-slider-content .hb-nav-icon svg,
.testimonial-slider-content .hb-nav-icon img {
	display: block;
}

.testimonial-slider-nav {
    margin: 30px 0 0 0;
    display: flex;
    text-align: center;
    justify-content: center;
    gap: 15px;
}

/* === STATES === */
.testimonial-slider-content .swiper-slide.prospect.swiper-slide-active {
	z-index: 3;
	opacity: 1;
	transform: scale(1);
}

.testimonial-slider-content .swiper-slide.prospect.swiper-slide-next {
	z-index: 2;
	opacity: 1;
}

.testimonial-slide.swiper-slide.swiper-slide-active {
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.15);
}

.testimonial-bg-shadow {
    box-shadow: 0 40px 80px 0 rgba(0,0,0,0.25);
    border-radius: 3rem;
    position: absolute;
    inset: 0%;
}

@media (max-width: 767px){
	.testimonial-card {
		border: 2px solid #F5F5F7;
	}
		
	.testimonial-bg-shadow {
		box-shadow: 0 0px 0px 0 rgba(0,0,0,0);
		border-radius: 3rem;
		position: absolute;
		inset: 0%;
	}
	.testimonial-slider-content .swiper-slide.prospect {
		box-shadow: 0 0 0px rgba(0, 0, 0, 0);
	}
}

.testimonial-slider-nav > div::after {display: none;}
.swiper-slide.swiper-slide-next, .swiper-slide.swiper-slide-prev, .swiper-slide.swiper-slide-active {
    opacity: 1 !important;
}

.swiper-slide {
    opacity: 0 !important;
}
