/* Videótár lejátszó (Fiókom → Videóim). Világos, az oldal színeivel. */

.spirit-theater {
	--th-accent: rgb(173, 31, 95);
	--th-warm: #f7f3ef;
	--th-line: #ece5df;
	--th-text: #3b2f28;
	--th-muted: #7a6a60;
	margin: 0 0 48px;
	color: var(--th-text);
}

.spirit-theater__intro {
	margin: 0 0 24px;
	padding: 22px 26px;
	border: 1px solid var(--th-line);
	border-radius: 16px;
	background: var(--th-warm);
}

.spirit-theater__intro-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-bottom: 10px;
}

.spirit-theater__badge,
.spirit-theater__day {
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--th-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.spirit-theater__tagline {
	color: var(--th-muted);
	font-size: 15px;
}

.spirit-theater__access {
	margin-left: auto;
	color: var(--th-muted);
	font-size: 14px;
}

.spirit-theater__title {
	margin: 0 0 8px !important;
	font-size: 30px !important;
	line-height: 1.2 !important;
}

.spirit-theater__lead {
	margin: 0 !important;
	line-height: 1.7;
}

.spirit-theater__more {
	margin-top: 12px;
}

.spirit-theater__more summary {
	display: inline-block;
	padding: 5px 14px;
	border: 1px solid var(--th-accent);
	border-radius: 999px;
	color: var(--th-accent);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.spirit-theater__more summary::-webkit-details-marker {
	display: none;
}

.spirit-theater__more summary::after {
	content: " ▾";
}

.spirit-theater__more[open] summary::after {
	content: " ▴";
}

.spirit-theater__more[open] summary {
	margin-bottom: 12px;
}

.spirit-theater__more p {
	line-height: 1.7;
}

.spirit-theater__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 24px;
	align-items: start;
}

.spirit-theater__player {
	position: relative;
	overflow: hidden;
	padding-top: 56.25%;
	border-radius: 16px;
	background: #1f1915;
	box-shadow: 0 10px 30px rgba(59, 47, 40, 0.18);
	scroll-margin-top: 110px;
}

.spirit-theater__player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.spirit-theater__info {
	margin-top: 20px;
	padding: 20px 24px;
	border: 1px solid var(--th-line);
	border-radius: 16px;
	background: #fff;
}

.spirit-theater__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	color: var(--th-muted);
	font-size: 14px;
}

.spirit-theater__duration {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--th-warm);
	font-weight: 600;
}

.spirit-theater__now {
	margin: 12px 0 8px !important;
	font-size: 26px !important;
}

.spirit-theater__desc p {
	margin: 0 0 10px;
	line-height: 1.7;
}

/* Nap-lista. */
.spirit-theater__list {
	max-height: min(78vh, 760px);
	overflow-y: auto;
	padding: 4px 8px 4px 2px;
	overscroll-behavior: contain;
}

.spirit-theater__list-week {
	margin: 18px 0 10px !important;
	color: var(--th-accent) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.spirit-theater__list-week:first-child {
	margin-top: 0 !important;
}

.spirit-theater__item {
	position: relative;
	display: block;
	width: 100%;
	margin: 0 0 12px;
	padding: 8px;
	border: 1px solid var(--th-line);
	border-radius: 12px;
	background: #fff;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.spirit-theater__item:hover,
.spirit-theater__item:focus-visible {
	border-color: #d9c9bd;
	box-shadow: 0 4px 14px rgba(59, 47, 40, 0.1);
}

.spirit-theater__item.is-active {
	border: 2px solid var(--th-accent);
	padding: 7px;
	box-shadow: 0 6px 18px rgba(173, 31, 95, 0.15);
}

.spirit-theater__thumb {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	background: var(--th-warm);
}

.spirit-theater__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.spirit-theater__thumb-badge {
	position: absolute;
	left: 8px;
	bottom: 8px;
	padding: 2px 8px;
	border-radius: 6px;
	background: rgba(31, 25, 21, 0.75);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.spirit-theater__item-title {
	display: block;
	padding: 8px 26px 2px 4px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.spirit-theater__seen {
	position: absolute;
	right: 12px;
	bottom: 10px;
	display: none;
	color: #2f6b3a;
	font-weight: 700;
}

.spirit-theater__item.is-seen .spirit-theater__seen {
	display: block;
}

@media (max-width: 899px) {
	.spirit-theater__grid {
		grid-template-columns: 1fr;
	}

	.spirit-theater__list {
		max-height: none;
		overflow: visible;
		padding: 0;
	}

	.spirit-theater__item {
		display: grid;
		grid-template-columns: 140px 1fr;
		gap: 12px;
		align-items: center;
	}

	.spirit-theater__item-title {
		padding: 0 22px 0 0;
	}

	.spirit-theater__access {
		margin-left: 0;
	}

	.spirit-theater__intro {
		padding: 18px;
	}

	.spirit-theater__title {
		font-size: 24px !important;
	}
}

.spirit-account-videos__empty {
	padding: 28px;
	border-radius: 16px;
	background: #f7f3ef;
	text-align: center;
}

/* Részekre bontott kurzus: a rész fejlécében a hozzáférés vége, a meg nem vett részek zárolva, vásárlás linkkel. */
.spirit-theater__list-week small {
	display: block;
	margin-top: 2px;
	color: #8a7a70;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.spirit-theater__locked {
	margin: 10px 0 0;
	padding: 10px 12px 12px;
	border: 1px dashed rgba(173, 31, 95, 0.35);
	border-radius: 12px;
	background: rgba(251, 231, 240, 0.45);
}

.spirit-theater__locked .spirit-theater__list-week {
	margin-top: 0;
}

.spirit-theater__locked p {
	margin: 0 0 8px;
	color: #6b5a50;
	font-size: 13px;
}

.spirit-theater__locked-buy {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgb(173, 31, 95);
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.spirit-theater__locked-buy:hover,
.spirit-theater__locked-buy:focus-visible {
	background: rgb(122, 24, 68);
}
