.kitsune-youtube-card {
	background: linear-gradient(145deg, #ffffff 0%, #f6f8fc 100%);
	border: 1px solid rgba(23, 41, 72, 0.12);
	border-radius: 18px;
	box-shadow: 0 18px 48px rgba(20, 35, 64, 0.1);
	margin: 1.5rem 0 2rem;
	overflow: hidden;
}

.kitsune-youtube-player {
	aspect-ratio: 16 / 9;
	background: #080b12;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.kitsune-youtube-player iframe {
	border: 0;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.kitsune-youtube-card__body {
	color: inherit;
	padding: clamp(1.15rem, 3vw, 2rem);
}

.kitsune-youtube-card__body > :first-child {
	margin-top: 0;
}

.kitsune-youtube-card__body > :last-child {
	margin-bottom: 0;
}

.kitsune-youtube-eyebrow {
	color: #cc3344;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.kitsune-youtube-description {
	line-height: 1.75;
	overflow-wrap: anywhere;
}

.kitsune-youtube-description a,
.kitsune-youtube-card--legacy a {
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

.kitsune-youtube-actions {
	display: flex;
	margin-top: 1.5rem;
}

.kitsune-youtube-button {
	align-items: center;
	background: #ff3b4f;
	border-radius: 999px;
	box-shadow: 0 8px 22px rgba(255, 59, 79, 0.24);
	color: #fff !important;
	display: inline-flex;
	font-weight: 800;
	gap: 0.45rem;
	padding: 0.75rem 1.15rem;
	text-decoration: none !important;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.kitsune-youtube-button::before {
	content: "▶";
	font-size: 0.8em;
}

.kitsune-youtube-button:hover,
.kitsune-youtube-button:focus-visible {
	background: #d9273b;
	box-shadow: 0 11px 27px rgba(217, 39, 59, 0.3);
	color: #fff !important;
	transform: translateY(-1px);
}

.kitsune-youtube-card--legacy .kitsune-youtube-player {
	border-radius: 12px;
	margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
	.kitsune-youtube-card {
		border-radius: 13px;
	}

	.kitsune-youtube-card__body {
		padding: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kitsune-youtube-button {
		transition: none;
	}
}
