/* ==========================================================================
   Block: SL Quote Video
   ========================================================================== */

.sl-quote-video {
	background-color: var(--sl-color-green);
}

.sl-quote-video__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: var(--sl-content-width);
	margin: 0 auto;
	padding: 120px var(--sl-content-padding);
}

/* --------------------------------------------------------------------------
   Video Player
   -------------------------------------------------------------------------- */

.sl-quote-video__player {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 */
	border-radius: 4px;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.3);
	cursor: pointer;
}

.sl-quote-video__thumbnail {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sl-quote-video__play {
	position: absolute;
	bottom: 24px;
	left: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: none;
	background-color: var(--sl-color-yellow);
	color: var(--sl-color-green);
	cursor: pointer;
	transition: opacity 0.2s ease;
	z-index: 2;
}

.sl-quote-video__play:hover,
.sl-quote-video__play:focus {
	opacity: 0.85;
}

.sl-quote-video__play:focus-visible {
	outline: 2px solid var(--sl-color-yellow);
	outline-offset: 3px;
}

.sl-quote-video__play svg {
	width: 24px;
	height: 24px;
}

/* Playing state */
.sl-quote-video__player.is-playing .sl-quote-video__play {
	display: none;
}

.sl-quote-video__player.is-playing .sl-quote-video__thumbnail {
	display: none;
}

.sl-quote-video__player iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* --------------------------------------------------------------------------
   Divider (Chevron + Line)
   -------------------------------------------------------------------------- */

.sl-quote-video__divider {
	display: flex;
	align-items: flex-start;
	gap: 0;
}

.sl-quote-video__divider-icon {
	color: var(--sl-color-white);
	flex-shrink: 0;
	opacity: 0.4;
}

.sl-quote-video__divider-line {
	display: block;
	flex: 1;
	height: 1px;
	background-color: var(--sl-color-white);
	opacity: 0.4;
}

.sl-quote-video__divider-line:first-child {
	max-width: 40px;
}

/* --------------------------------------------------------------------------
   Author
   -------------------------------------------------------------------------- */

.sl-quote-video__author {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sl-quote-video__name {
	font-family: var(--sl-font-secondary);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.4;
	color: var(--sl-color-yellow);
}

.sl-quote-video__position {
	font-family: var(--sl-font-secondary);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.4;
	color: var(--sl-color-white);
}

/* --------------------------------------------------------------------------
   Mobile Styles
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
	.sl-quote-video__inner {
		gap: 24px;
		padding: 80px var(--sl-content-padding-mobile);
	}

	.sl-quote-video__play {
		bottom: 16px;
		left: 16px;
		width: 44px;
		height: 44px;
	}
}
