/* ==========================================================================
   ABSD FN Trustpilot Slider
   ========================================================================== */

.absd-fn-tp-wrapper {
	--absd-fn-tp-black: #2B2B2B;
	--absd-fn-tp-gray-1: #808080;
	--absd-fn-tp-border: #D2D5D7;
	--absd-fn-tp-card-bg: #FFFFFF;
	--absd-fn-tp-gap: 24px;
	--absd-fn-tp-cards-visible: 3;
	box-sizing: border-box;
	font-family: 'Manrope', sans-serif;
}


.absd-fn-tp-wrapper *,
.absd-fn-tp-wrapper *::before,
.absd-fn-tp-wrapper *::after {
	box-sizing: border-box;
}

/* Slider viewport ---------------------------------------------------- */

.absd-fn-tp-slider {
	width: 100%;
	overflow:hidden;
}
.absd-fd-testimonial-sider {
/* 		overflow:hidden; */
	}
.absd-fn-tp-track {
	display: flex;
	gap: 35px;
	transition: transform 0.35s ease;
	will-change: transform;
}

/* Card ----------------------------------------------------------------- */

.absd-fn-tp-card {
    padding: 8px;
    flex: 0 0 calc((100% - (var(--absd-fn-tp-cards-visible) - 1) * var(--absd-fn-tp-gap)) / var(--absd-fn-tp-cards-visible));
    border-radius: 12px;
    display: flex;
    min-height: 280px;
    border-radius: 16px;
    border: 1px solid var(--Stroke-1, #E6E9EB);
    background: var(--Blue-Base, #F4F6F7);
}
.absd-fn-tp-card .absd-fn-tp-card-inner {
    height: 100%;
    background: var(--absd-fn-tp-card-bg);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.absd-fn-tp-card__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.absd-fn-tp-stars {
	height: 25px;
	width: auto;
	display: block;
}

.absd-fn-tp-brand {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.absd-fn-tp-brand__icon {
    width: 98px;
    height: 25px;
	display: block;
}

/* Title ------------------------------------------------------------------ */

.absd-fn-tp-title {
	color: var(--absd-fn-tp-black);
	font-family: 'Manrope', sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	margin: 0 0 12px 0;
}

/* Description -------------------------------------------------------- */

.absd-fn-tp-description {
	color: var(--absd-fn-tp-black);
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px; /* 171.429% */
	flex-grow: 1;
	margin-bottom: 24px;
}

.absd-fn-tp-description p {
	margin: 0 0 12px 0;
}

.absd-fn-tp-description p:last-child {
	margin-bottom: 0;
}

/* Footer: avatar + name/date + quote icon ----------------------------- */

.absd-fn-tp-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.absd-fn-tp-reviewer {
	display: flex;
	align-items: center;
	gap: 15px;
}

.absd-fn-tp-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    background: #DDF4F2 !important;
    color: #1BB3A9;
}

.absd-fn-tp-avatar--photo {
	background: transparent;
}

.absd-fn-tp-avatar--photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.absd-fn-tp-reviewer__meta {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.absd-fn-tp-reviewer__name {
	color: var(--absd-fn-tp-black);
	font-family: 'Manrope', sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 22px; /* 137.5% */
}

.absd-fn-tp-reviewer__date {
	color: var(--absd-fn-tp-gray-1);
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 22px; /* 157.143% */
}

.absd-fn-tp-quote {
	width: 30px;
	height: auto;
	flex-shrink: 0;
}

/* Controls (prev/next arrows) ------------------------------------------ */

.absd-fn-tp-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	margin-top: 25px !important;
}

.absd-fn-tp-arrow {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--absd-fn-tp-border);
	background: #F4F6F7;
	color: var(--absd-fn-tp-black);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
	padding: 0;
	outline: none !important;
}

.absd-fn-tp-arrow:hover {
	background-color: #F5F5F5;
	border-color: #D0D0D0;
}

.absd-fn-tp-arrow:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

/* CTA link --------------------------------------------------------------- */

.absd-fn-tp-cta {
	text-align: center;
	margin: 20px 0 0 0 !important;
	font-family: 'Manrope', sans-serif;
}

.absd-fn-tp-cta a {
	color: var(--absd-fn-tp-black);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	outline:none !important;
}

.absd-fn-tp-cta a:hover {
	color: #00B67A;
}
	.absd-fd-testimonial-sider .absd-fn-tp-wrapper {
		max-width: 100% !important;
		margin-right:0 !important;
	}

/* ==========================================================================
   Responsive breakpoints
   - Desktop (>1024px): 3 cards visible
   - Tablet (601px - 1024px): 2 cards visible
   - Mobile (<=600px): 1 card visible
   ========================================================================== */

@media (max-width:1600px) and (min-width:1200px) {
	.absd-fn-tp-wrapper {
		--absd-fn-tp-cards-visible: 2.8;
	}
}

@media (max-width:1200px) and (min-width:1024px) {
	.absd-fn-tp-wrapper {
		--absd-fn-tp-cards-visible: 2.4;
	}
	.absd-fn-tp-track {
		gap: 25px;
	}
}

@media (max-width: 1024px)  and (min-width:768px){
	.absd-fn-tp-wrapper {
		--absd-fn-tp-cards-visible: 1.8;
		--absd-fn-tp-gap: 20px;
	}
	.absd-fn-tp-track {
		gap: 20px;
	}
}
@media (max-width: 768px)  and (min-width:575px){
	.absd-fn-tp-wrapper {
		--absd-fn-tp-cards-visible: 1.4;
		--absd-fn-tp-gap: 20px;
	}
	.absd-fn-tp-track {
		gap: 20px;
	}
}

@media (max-width: 576px) {
	.absd-fn-tp-wrapper {
		--absd-fn-tp-cards-visible: 1;
		--absd-fn-tp-gap: 16px;
	}

	.absd-fn-tp-card .absd-fn-tp-card-inner {
		padding: 18px;
	}

	.absd-fn-tp-title {
		font-size: 17px;
	}
	.absd-fn-tp-track {
		gap: 15px;
	}
	.absd-fn-tp-slider{
    transition: height .3s ease;
}
	.absd-fn-tp-card ,
	.absd-fn-tp-card .absd-fn-tp-card-inner{
		    height: fit-content;
	}
	.absd-fn-tp-avatar {
    width: 40px;
    height: 40px;
    font-size: 12px;
}
	.absd-fn-tp-reviewer__date {
	font-size: 12px;	
	}
	.absd-fn-tp-reviewer__name {
		font-size:14px;
	}
	.absd-fn-tp-card__header {
    margin-bottom: 10px;
}
	.absd-fn-tp-controls {
		margin-top:15px !important;
	}
}

@media (min-width:1600px) {
	.absd-fd-testimonial-sider .absd-fn-tp-wrapper {
    max-width: 100% !important;
	margin-right:0 !important;
    margin-left: calc((100% - 1520px) / 2) !important;
    padding: 0;
}
}
