/* Quote / testimonial band — dark photo with white text on the left. */

.quote {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: var(--white);
	margin-inline: 8px;
	border-radius: 12px;
	padding-block: 80px 32px;
}
.quote__bg { position: absolute; inset: 0; z-index: 0; }
.quote__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Preserve the interviewee's full face when the wide source is cropped. */
	object-position: center top;
}
/* dark overlay, heavier on the left where the text sits */
.quote__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(20, 16, 8, 0.92) 28%, rgba(20, 16, 8, 0.55) 55%, rgba(20, 16, 8, 0.1) 80%);
}

.quote__inner { position: relative; z-index: 1; }
.quote__row {
	display: grid;
	grid-template-columns: 32px minmax(0, 524px) minmax(0, 1fr) 32px;
	align-items: center;
	column-gap: 83px;
}

/* slider arrows */
.quote__nav {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid var(--neutral-50);
	color: var(--white);
	cursor: pointer;
	transition: background-color var(--dur) var(--ease);
}
.quote__nav:hover { background: rgba(255, 255, 255, 0.32); }
.quote__nav:focus-visible {
	outline: 3px solid var(--bida-green);
	outline-offset: 3px;
	background: rgba(255, 255, 255, 0.32);
}
.quote__nav-icon { width: 16px; height: 16px; }
.quote__nav--prev { margin: 0; }
.quote__nav--next { grid-column: 4; }
.quote__nav--prev .quote__nav-icon { transform: rotate(180deg); }

/* content column */
.quote__content { width: 524px; max-width: 100%; }

/* slides stack in one grid cell (fade); the cell auto-sizes to the tallest. */
.quote__slides { display: grid; }
.quote__slide {
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--dur) var(--ease);
}
.quote__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.quote__eyebrow {
	font-size: var(--fs-eyebrow);
	line-height: var(--lh-eyebrow);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	opacity: 0.6;
	margin-bottom: var(--space-6);
}
.quote__text {
	font-size: var(--fs-h1);          /* 42 / 50 */
	line-height: var(--lh-h1);
	letter-spacing: -0.84px;
	font-weight: var(--fw-regular);
	margin-bottom: var(--space-10);   /* 40px */
}
.quote__author {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	margin-bottom: var(--space-10);
}
.quote__avatar { width: 49px; height: 49px; border-radius: 50%; object-fit: cover; }
.quote__author-text { display: flex; flex-direction: column; }
.quote__name { font-weight: var(--fw-bold); font-size: 12px; line-height: 21px; }
.quote__role { font-size: var(--fs-body); line-height: var(--lh-body); }
.quote__author--description .quote__role { margin-top: var(--space-3); }
.quote__actions { display: flex; flex-wrap: wrap; gap: var(--space-6); }

/* pagination bars */
.quote__dots { display: flex; justify-content: center; gap: 6px; margin-top: 66px; }
.quote__dot {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	width: 61px;
	height: 3px;
	border-radius: 75px;
	background: rgba(255, 255, 255, 0.4);
	-webkit-backdrop-filter: blur(4.5px);
	backdrop-filter: blur(4.5px);
	transition: background-color var(--dur) var(--ease);
}
.quote__dot.is-active { background: var(--white); }
.quote__dot:focus-visible {
	outline: 2px solid var(--white);
	outline-offset: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.quote { padding-block: 56px 28px; }
	.quote__row { display: block; }
	.quote__nav--next { display: none; }
	.quote__nav--prev { display: none; }
	.quote__content { width: 100%; }
	.quote__bg img { object-position: 72% top; }
	.quote__text { font-size: 30px; line-height: 38px; }
	.quote__dots { flex-wrap: wrap; }
	.quote__dot { flex: 1 1 40px; }
}
