/* ===== Music cards ===== */

.music-card--with-art {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 1rem;
	align-items: center;
}

.music-art-link {
	display: block;
	width: 120px;
	height: 120px;
	border-radius: 12px;
	overflow: hidden;
	transition:
		transform 0.15s ease,
		opacity 0.15s ease;
}

.music-art-link:hover {
	transform: scale(1.02);
	opacity: 0.9;
}

.music-art {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.music-content {
	min-width: 0;
}

@media (max-width: 640px) {
	.music-card--with-art {
		grid-template-columns: 1fr;
	}

	.music-art-link {
		width: 100%;
		height: auto;
		max-height: 220px;
	}

	.music-art {
		width: 100%;
		height: auto;
		max-height: 220px;
	}
}

/* ===== Story artwork ===== */

.artR,
.artL,
.artC,
.artThumb {
	display: block;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
	transition:
		transform 0.18s ease,
		filter 0.18s ease,
		opacity 0.18s ease;
}

.artR {
	float: right;
	max-width: 45%;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.artL {
	float: left;
	max-width: 45%;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.artC {
	max-width: 100%;
	margin: 1.5rem auto;
}

.artR:hover,
.artL:hover,
.artC:hover,
.artThumb:hover {
	transform: scale(1.025);
	filter: blur(0.7px);
	opacity: 0.92;
}

@media (max-width: 760px) {
	.artR,
	.artL,
	.artC {
		float: none;
		width: 100%;
		margin: 1rem auto;
	}

	.artR,
	.artL {
		max-width: 460px;
	}

	.artC {
		max-width: 720px;
	}
}

/* ===== Story artwork sets / galleries ===== */

.artSet {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-start;
	margin: 1.5rem 0 2rem;
}

.artThumb {
	max-width: 100%;
}

@media (max-width: 760px) {
	.artSet {
		justify-content: center;
	}
}

/* ===== Section breaks ===== */

.md-typeset hr.section-break {
	clear: both;
	border: none !important;
	border-top: none !important;
	border-bottom: none !important;
	background: none;
	margin: 3rem 0 2rem;
	height: 1.5rem;
	position: relative;
}

.md-typeset hr.section-break::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(123, 30, 58, 0.55),
		transparent
	);
}

.md-typeset hr.section-break::after {
	content: "❦";
	position: relative;
	display: block;
	width: 3rem;
	margin: 0 auto;
	text-align: center;
	background: var(--md-default-bg-color);
	color: #7b1e3a;
	font-size: 1.1rem;
	line-height: 1.5rem;
}

.md-typeset hr.section-break.soft::after {
	content: "✦";
	color: rgba(123, 30, 58, 0.65);
}

.md-typeset hr.section-break.strong::before {
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		transparent,
		#7b1e3a,
		#c991a2,
		#7b1e3a,
		transparent
	);
}

.md-typeset hr.section-break.strong::after {
	content: "❦";
	font-size: 1.25rem;
}
/* ===== Video player ===== */

.video-card {
	clear: both;
	margin: 2rem 0 2.5rem;
	padding: 1rem;
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(123, 30, 58, 0.08), rgba(201, 145, 162, 0.06)),
		var(--md-default-bg-color);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.video-frame {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
	background: #111;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.video-frame video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 78vh;
	border-radius: 16px;
	background: #111;
}

.video-caption {
	margin: 0.85rem 0 0;
	color: var(--md-default-fg-color--light);
	font-size: 0.92rem;
	line-height: 1.45;
	text-align: center;
}

.video-caption strong {
	color: var(--md-default-fg-color);
	font-weight: 600;
}

/* Optional: smaller centred video */

.video-card.video-card--normal {
	max-width: 768px;
	margin-left: auto;
	margin-right: auto;
}

.video-card.video-card--narrow {
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
}

.video-card.video-card--small {
	max-width: 360px;
	margin-left: auto;
	margin-right: auto;
}

/* Optional: very wide cinematic presentation */

.video-card.video-card--wide {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: max(1rem, calc((100vw - 1100px) / 2));
	padding-right: max(1rem, calc((100vw - 1100px) / 2));
	border-radius: 0;
}

.video-card.video-card--wide .video-frame {
	max-width: 1100px;
	margin: 0 auto;
}

.video-card.video-card--wide .video-caption {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

/* Mobile adjustments */

@media (max-width: 760px) {
	.video-card {
		margin: 1.5rem 0 2rem;
		padding: 0.75rem;
		border-radius: 16px;
	}

	.video-frame,
	.video-frame video {
		border-radius: 12px;
	}

	.video-caption {
		font-size: 0.88rem;
	}
}
