/* Izjave klijenata. Sekcija je tamna (.tg-dark), pa boje dolaze odatle. */

.tg-testi {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 40px clamp(40px, 6vw, 96px);
}

.tg-testi__left {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
}

.tg-testi__nav {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tg-testi .tg-testi__arrow {
	width: 52px;
	height: 52px;
	padding: 0;
	border: 2px solid var(--tg-bg);
	background: transparent;
	color: var(--tg-bg);
	font: 800 20px var(--tg-font);
	cursor: pointer;
}

.tg-testi .tg-testi__arrow:hover {
	background: var(--tg-orange);
	border-color: var(--tg-orange);
	color: var(--tg-ink);
}

.tg-testi__count {
	margin-left: 10px;
	font-weight: 700;
}

.tg-testi__track {
	display: block;
	flex: 1;
	min-width: 60px;
	max-width: 160px;
	height: 3px;
	margin-left: 12px;
	background: var(--tg-line);
}

.tg-testi__bar {
	display: block;
	width: 0;
	height: 100%;
	background: var(--tg-orange);
}

.tg-testi__right {
	min-width: 0;
}

.tg-testi__item {
	margin: 0;
}

.tg-testi__item[hidden] {
	display: none;
}

.tg-testi__item blockquote {
	margin: 0;
	font-size: clamp(24px, 2.8vw, 40px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	text-wrap: pretty;
}

.tg-testi__item figcaption {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid var(--tg-line);
	font-size: 15px;
}

.tg-testi__item figcaption span {
	color: var(--tg-mute);
}

@media (max-width: 959px) {
	.tg-testi {
		grid-template-columns: 1fr;
	}
}
