/**
 * Serie wykładów [am_lectures].
 * Paleta strony: granat / bordo / mosiądz na złamanej bieli.
 */
.am-lectures {
	--am-lec-navy: #1F2A44;
	--am-lec-bordo: #7D2935;
	--am-lec-brass: #B08D57;
	--am-lec-ink: #2B2B2B;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 26px;
	font-family: var(--am-serif, "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif);
}

.am-lecture {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(31, 42, 68, .14);
	border-top: 3px solid var(--am-lec-brass);
}

/* Okładka albo granatowy zastępnik: proporcje 16:9 utrzymane od razu, więc
   wstawienie iframe po kliknięciu nie przesuwa treści pod spodem. */
.am-lecture__player {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 45%, rgba(176, 141, 87, .22), transparent 60%),
		var(--am-lec-navy);
}

.am-lecture__player > .am-lecture__cover {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

.am-lecture__play {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	padding: 0;
	background: linear-gradient(180deg, rgba(11, 18, 35, .24), rgba(11, 18, 35, .62));
	border: 0;
	color: #F1EDE2;
	font-family: inherit;
	font-size: 15px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	text-shadow: 0 1px 5px rgba(0, 0, 0, .75);
	cursor: pointer;
}

.am-lecture__play:hover .am-lecture__play-icon,
.am-lecture__play:focus-visible .am-lecture__play-icon {
	background: var(--am-lec-brass);
	border-color: var(--am-lec-brass);
}

.am-lecture__play:focus-visible {
	outline: 2px solid var(--am-lec-brass);
	outline-offset: -4px;
}

/* Trójkąt odtwarzania rysowany obramowaniem – bez pliku graficznego. */
.am-lecture__play-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border: 1px solid rgba(241, 237, 226, .6);
	border-radius: 50%;
	transition: background-color .18s ease, border-color .18s ease;
}

.am-lecture__play-icon::after {
	content: "";
	margin-left: 4px;
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent currentColor;
}

.am-lecture__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 24px 24px;
}

.am-lecture__title {
	margin: 0;
	color: var(--am-lec-navy);
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.am-lecture__desc {
	margin: 0;
	color: var(--am-lec-ink);
	font-size: 15.5px;
	line-height: 1.55;
}

.am-lecture__link {
	margin: 6px 0 0;
}

.am-lecture__link a {
	color: var(--am-lec-bordo);
	font-size: 15px;
	text-decoration: none;
	border-bottom: 1px solid rgba(125, 41, 53, .35);
}

.am-lecture__link a:hover,
.am-lecture__link a:focus-visible {
	border-bottom-color: var(--am-lec-bordo);
}

.am-lectures-empty {
	font-style: italic;
	opacity: .75;
}

@media (max-width: 600px) {
	.am-lectures {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.am-lecture__body {
		padding: 18px 18px 20px;
	}
}
