/* =========================================================
   Testimonial Carousel – Public Styles  v2
   ========================================================= */

.tc-wrapper *,
.tc-wrapper *::before,
.tc-wrapper *::after { box-sizing: border-box; }

/* ── Outer wrapper ── */
.tc-wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 0 44px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	position: relative;
}

/* ── Stage: the visible "window".
   overflow:hidden here so peek cards are clipped at the edges  ── */
.tc-stage {
	position: relative;
	width: 100%;
	overflow: hidden;          /* clips peek cards at left/right edge */
	padding: 16px 0 20px;
}

/* ── Inner centering belt ── */
.tc-belt {
	position: relative;
	/* The active card width. Peek cards sit outside this on both sides */
	width: 80%;
	margin: 0 auto;
	min-height: 300px;
}

/* ── Every slide is absolutely positioned on the belt ── */
.tc-slide {
	position: absolute;
	top: 0;
	width: 100%;
	transition:
		transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		opacity   0.45s ease,
		filter    0.45s ease;
	opacity: 0;
	pointer-events: none;
	/* start off-screen right by default */
	transform: translateX(110%) scale(0.88);
}

/* Active slide */
.tc-slide.tc-active {
	position: relative;   /* active slide drives the belt height */
	transform: translateX(0) scale(1);
	opacity: 1;
	pointer-events: auto;
	z-index: 2;
}

/* Peek – previous (left side) */
.tc-slide.tc-peek-prev {
	transform:translateX(-17%) scale(0.88);
	opacity: .4;
	pointer-events: auto;
	cursor: pointer;
	z-index: 1;
}
.tc-slide.tc-peek-next  .tc-card {
    display: flex;
    flex-direction: row-reverse;
}
/* Peek – next (right side) */
.tc-slide.tc-peek-next {
	transform: translateX(17%) scale(0.88);
	opacity: .4;
	pointer-events: auto;
	cursor: pointer;
	z-index: 1;
}

/* Card inside a peek slide: greyscale + dim */
.tc-slide.tc-peek-prev .tc-card,
.tc-slide.tc-peek-next .tc-card {
	/*filter: grayscale(100%) brightness(0.82);*/
	transition: filter 0.45s ease;
}

/* ── Card ── */
.tc-card {
	display: flex;
	align-items: stretch;
	background: #F6F6F6;
	border-radius: 20px;
	overflow: hidden;
	min-height: 345px;
	box-shadow: 0px 4px 12px 0px #00000021;
	transition: filter 0.45s ease;

}

/* ── Image panel ── */
.tc-image-wrap {
	flex: 0 0 260px;
	width: 260px;
	overflow: hidden;
	padding: 15px;
	position: relative;
}

.tc-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	border-radius: 15px;
}

.tc-image-placeholder {
	background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tc-initials {
	font-size: 52px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -2px;
	user-select: none;
}

/* ── Content panel ── */
.tc-content {
	flex: 1;
	padding: 30px 36px;
	display: flex;
	flex-direction: column;
}

.tc-location {
	padding: 2px 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #797979;
    margin-bottom: 16px;
    background: #ffffff;
    max-width: 202px;
    justify-content: center;
    border-radius: 50px;
    font-family: "Sofia pro" !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 29px !important;
}
.tc-location svg { flex-shrink: 0; color: #000000; }

.tc-quote {
	margin: 0 0 14px;
	padding: 0;
	border: none;
	flex: 1;
}
.tc-quote p {
	 font-family: "Sofia pro" !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 34px !important;
    color: #212121 !important;
	margin: 0;
}

.tc-stars {
	display: flex;
	gap: 2px;
	margin-bottom: 20px;
}
.tc-star        { width: 20px; height: 20px; color: #d1d5db; }
.tc-star--filled{ color: #f59e0b; }

.tc-name {
	font-family: "Sofia pro" !important;
    font-size: 30px !important;
    font-weight: 500 !important;
    line-height: 42px !important;
    color: #212121 !important;
	margin: 0;
}

/* ── Navigation ── */
.tc-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 30px;
}
.tc-btn svg {
    pointer-events: none;
    width: 35px;
    height: 35px;
}
.tc-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	    background: transparent !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000000 !important;
	transition: background 0.2s;
	padding: 0;
	flex-shrink: 0;
}
.tc-btn:hover { background: #162d4a; }
.tc-btn:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }
.tc-btn svg { pointer-events: none; }

.tc-dots {
	display: flex;
	gap: 7px;
	align-items: center;
}

.tc-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: #D9D9D9 !important;
	cursor: pointer;
	padding: 0;
	transition: background 0.25s, transform 0.25s;
}
.tc-dot--active          { background: #2E84C6 !important; transform: scale(1); }
.tc-dot:hover:not(.tc-dot--active) { background: #94a3b8; }
.tc-dot:focus-visible    { outline: 2px solid #3b82f6; outline-offset: 2px; }

.tc-empty {
	text-align: center;
	color: #94a3b8;
	padding: 32px;
}

/* ── Animate-in/out helpers ── */
.tc-slide.tc-leaving-left  { transform: translateX(-108%) scale(0.88); opacity: 1; }
.tc-slide.tc-leaving-right { transform: translateX(108%)  scale(0.88); opacity: 1; }

/* ── Responsive ── */
@media (max-width: 1024px) {
	.tc-belt { width: 74%; }
}
@media (max-width: 820px) {
	.tc-belt { width: 82%; }
	.tc-image-wrap { flex: 0 0 210px; width: 210px; }
}
@media (max-width: 640px) {
	.tc-name { 
    font-size: 20px !important; 
}
.tc-location { 
    font-size: 16px !important; 
}
.tc-quote p {
  
    font-size: 18px !important; 
        line-height: 26px !important;
}
	.tc-belt { width: 90%; }
	.tc-card { flex-direction: column; min-height: unset; }
	.tc-image-wrap { flex: 0 0 180px; width: 100%; height: 180px; }
	.tc-content { padding: 20px 18px; }
	/* hide peek on tiny screens – not enough room */
	.tc-slide.tc-peek-prev,
	.tc-slide.tc-peek-next { opacity: 0; pointer-events: none; }
}
