/* ============================================================
   DLC Department Testimonials - v1.1.4
   Matches existing .testimonial styling:
   - Bootstrap container width, 310px desktop height, background image
   - padding-top: 105px pushes text into vertical center of image
   - Responsive breakpoints match corsetmaking.css
   ============================================================ */

/* ── Section Wrapper ──────────────────────────────────────── */
.dlc-dept-test {
	position: relative;
	margin-bottom: 1.5em;
	background-color: #ffffff;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 310px;
	padding-top: 105px;
	box-sizing: border-box;
	overflow: hidden;
}

/* ── Track ────────────────────────────────────────────────── */
.dlc-dept-test__track {
	position: relative;
	width: 100%;
	height: 100%;
}

/* ── Individual Testimonial Items ─────────────────────────── */
.dlc-dept-test__item {
	position: absolute;
	inset: 0;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0.6s ease;
	pointer-events: none;
	padding: 0 2em;
	box-sizing: border-box;
	text-align: left;
}

.dlc-dept-test__item--active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.dlc-dept-test__item--hidden {
	display: none !important;
}

/* ── Quote Text ───────────────────────────────────────────── */
.dlc-dept-test__quote {
	font-family: Georgia, "EB Garamond", serif;
	font-style: italic;
	font-size: 1.8em;
	color: #333333;
	margin: 0 0 0.75em 0;
	padding: 0;
	border: none;
	line-height: 1.5;
	width: 100%;
	max-width: none;
	display: block;
	text-align: left !important;
}

.dlc-dept-test__quote::before { content: '"'; }
.dlc-dept-test__quote::after  { content: '"'; }

/* ── Attribution ──────────────────────────────────────────── */
.dlc-dept-test__attribution {
	font-family: Georgia, "EB Garamond", serif;
	font-style: italic;
	font-size: 1.4em;
	color: #333333;
	margin: 0;
	text-align: left !important;
}

/* ── Controls ─────────────────────────────────────────────── */
.dlc-dept-test__controls {
	position: absolute;
	bottom: 0.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.dlc-dept-test__arrow {
	background: none;
	color: #333333;
	border: none;
	cursor: pointer;
	font-size: 18px;
	font-weight: 900;
	line-height: 1;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
	user-select: none;
	flex-shrink: 0;
	text-shadow: 0 0 2px rgba(255,255,255,0.8);
}

.dlc-dept-test__arrow:hover,
.dlc-dept-test__arrow:focus-visible {
	color: #d7b364;
	outline: none;
}

.dlc-dept-test__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.dlc-dept-test__dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #333333;
	border: none;
	cursor: pointer;
	padding: 2px;
	opacity: 0.4;
	transition: background 0.2s ease, opacity 0.2s ease;
	box-sizing: content-box;
	flex-shrink: 0;
}

.dlc-dept-test__dot--active {
	background: #333333;
	opacity: 1;
}

.dlc-dept-test__dot:hover { opacity: 0.8; }

/* ── 480px to 767px ───────────────────────────────────────── */
@media (min-width: 480px) and (max-width: 767px) {
	.dlc-dept-test {
		padding-top: 12%;
		height: auto;
		min-height: 200px;
		padding-bottom: 3rem;
	}

	.dlc-dept-test__track {
		height: auto;
		min-height: 150px;
	}

	.dlc-dept-test__item {
		position: relative;
		inset: auto;
		opacity: 0;
		visibility: hidden;
		display: none;
		padding: 0 1.25em;
	}

	.dlc-dept-test__item--active {
		display: block;
		opacity: 1;
		visibility: visible;
	}

	.dlc-dept-test__quote { font-size: 1.2em; }
	.dlc-dept-test__attribution { font-size: 1em; margin-top: 0.75em; }
}

/* ── Below 479px ──────────────────────────────────────────── */
@media (max-width: 479px) {
	.dlc-dept-test {
		padding-top: 10%;
		height: auto;
		min-height: 200px;
		padding-bottom: 3rem;
	}

	.dlc-dept-test__track {
		height: auto;
		min-height: 150px;
	}

	.dlc-dept-test__item {
		position: relative;
		inset: auto;
		opacity: 0;
		visibility: hidden;
		display: none;
		padding: 0 1.25em;
	}

	.dlc-dept-test__item--active {
		display: block;
		opacity: 1;
		visibility: visible;
	}

	.dlc-dept-test__quote { font-size: 1em; }
	.dlc-dept-test__attribution { font-size: 0.9em; margin-top: 0.75em; }
}
