/**
 * Novo Testimonials — luxury black & gold redesign.
 *
 * PURE STYLING for the `[testimonials]` shortcode (Owl carousel). Scoped to
 * `.testimonials` so nothing else is affected. Does NOT touch the parent theme
 * or the PT / Novo shortcodes plugin. Loaded after the plugin CSS.
 */

.testimonials {
	--tst-gold-1: #f9edc0;
	--tst-gold-2: #e9cd7d;
	--tst-gold-3: #caa14a;
	--tst-gold-line: rgba(212, 175, 55, 0.28);
	--tst-text: #e7e1d4;
}

/* -------------------------------------------------------------------------
 * Card
 * ---------------------------------------------------------------------- */
.testimonials .item {
	position: relative;
	background: linear-gradient(155deg, #17150f 0%, #0d0c0a 60%, #100e0b 100%) !important;
	padding: 66px 55px 70px 45px !important;
	border-radius: 20px;
	border: 1px solid var(--tst-gold-line);
	box-shadow:
		0 34px 80px rgba(0, 0, 0, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	overflow: hidden;
}

/* Faint gold glow accent in a corner for depth. */
.testimonials .item::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -10%;
	width: 55%;
	height: 120%;
	background: radial-gradient(
		closest-side,
		rgba(212, 175, 55, 0.10),
		rgba(212, 175, 55, 0) 70%
	);
	pointer-events: none;
	z-index: 0;
}

/* -------------------------------------------------------------------------
 * Photo (left half)
 * ---------------------------------------------------------------------- */
.testimonials .item .image div {
	border-radius: 16px;
	background-size: cover;
	box-shadow:
		0 24px 60px rgba(0, 0, 0, 0.55),
		inset 0 0 0 1px rgba(212, 175, 55, 0.28);
}

/* Subtle dark-to-transparent scrim + gold frame feel on the photo. */
.testimonials .item .image div::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 16px;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 55%,
		rgba(0, 0, 0, 0.35) 100%
	);
	pointer-events: none;
}

/* -------------------------------------------------------------------------
 * Quote block (right half)
 * ---------------------------------------------------------------------- */
.testimonials .item .quote {
	position: relative;
	z-index: 1;
	color: var(--tst-text);
	font-weight: 300;
	font-style: normal;
	font-size: 1.06em;
	line-height: 1.85;
	letter-spacing: 0.01em;
	padding: 92px 0 0 34px;
}

/* Big decorative gold quotation mark. */
.testimonials .item .quote .q {
	top: -34px;
	left: 24px;
	font-size: 170px;
	line-height: 1;
	color: var(--tst-gold-3); /* fallback if background-clip:text is unsupported */
	background: linear-gradient(135deg, var(--tst-gold-1), var(--tst-gold-3));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	opacity: 0.9;
}

/* Gold divider between the quote and the name. */
.testimonials .item .quote::after {
	content: "";
	display: block;
	width: 54px;
	height: 2px;
	margin: 26px 0 0;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--tst-gold-1), var(--tst-gold-3));
	box-shadow: none;
}

/* Name */
.testimonials .item h4 {
	color: #f4ecd8;
	font-size: 1.15em;
	font-weight: 600;
	letter-spacing: 0.06em;
	margin: 22px 0 6px;
	padding-left: 34px;
}

/* Role / post */
.testimonials .item .post {
	color: var(--tst-gold-3);
	font-style: normal;
	font-size: 0.72em;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	padding-left: 34px;
}

/* -------------------------------------------------------------------------
 * Navigation arrows
 * ---------------------------------------------------------------------- */
.testimonials .owl-nav {
	bottom: 30px;
	right: 40px;
}

.testimonials .owl-prev,
.testimonials .owl-next {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0 5px;
	border: 1px solid rgba(212, 175, 55, 0.45);
	border-radius: 50%;
	color: var(--tst-gold-3);
	background: rgba(255, 255, 255, 0.02);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition:
		color 0.3s ease,
		background 0.3s ease,
		border-color 0.3s ease,
		transform 0.3s ease;
}

.testimonials .owl-prev:hover,
.testimonials .owl-next:hover {
	color: #1c1608;
	border-color: transparent;
	background: linear-gradient(135deg, var(--tst-gold-1), var(--tst-gold-3));
	transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
 * Dots
 * ---------------------------------------------------------------------- */
.testimonials .owl-dots {
	bottom: 34px;
	left: 45px;
}

.testimonials .owl-dots .owl-dot {
	width: 8px;
	height: 8px;
	margin-right: 8px;
	background: rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	transition: all 0.3s ease;
}

.testimonials .owl-dots .owl-dot.active {
	width: 24px;
	background: linear-gradient(90deg, var(--tst-gold-1), var(--tst-gold-3));
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */
@media screen and (max-width: 992px) {
	.testimonials .item {
		padding: 44px 30px 66px !important;
	}

	.testimonials .item .quote {
		padding: 70px 0 0 6px;
		font-size: 1em;
	}

	.testimonials .item .quote .q {
		left: 0;
		font-size: 130px;
	}

	.testimonials .item h4,
	.testimonials .item .post {
		padding-left: 6px;
	}

	.testimonials .item .quote::after {
		margin-left: 6px;
	}
}

@media screen and (max-width: 600px) {
	.testimonials .item {
		padding: 36px 22px 62px !important;
	}

	.testimonials .owl-nav {
		right: 20px;
		bottom: 22px;
	}

	.testimonials .owl-dots {
		left: 24px;
		bottom: 26px;
	}

	.testimonials .owl-prev,
	.testimonials .owl-next {
		width: 40px;
		height: 40px;
	}
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
	.testimonials .owl-prev,
	.testimonials .owl-next,
	.testimonials .owl-dots .owl-dot {
		transition: none;
	}
}
