/*
 * PBS Shows 2026 (/pbs-shows-2026/).
 * Ported from the old theme landing-pages/pbs/pbs.css and the inline styles of
 * template-pbs-show-restricted-2026.php. Sizes are in em off a fixed px base
 * on .pbs-shows, so the mobile 12px root rescale does not shrink them twice.
 */

@font-face {
	font-family: "Cervo";
	src: url("../fonts/pbs/cervo-regular.otf") format("opentype");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Raleway";
	src: url("../fonts/pbs/raleway-400-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Raleway";
	src: url("../fonts/pbs/raleway-600-latin.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Raleway";
	src: url("../fonts/pbs/raleway-700-latin.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

.pbs-shows {
	box-sizing: border-box;
	width: 100%;
	padding: 200px 20px 120px; /* top clears the fixed site header */
	background: #135178;
	background: linear-gradient(180deg, #135178 0%, #00a6c8 100%);
	font-family: "Raleway", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #fff;
}

.pbs-shows *,
.pbs-shows *::before,
.pbs-shows *::after {
	box-sizing: border-box;
}

.pbs-shows__container {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
}

/* Header */

.pbs-header {
	text-align: center;
}

.pbs-header__subtitle,
.pbs-header__title {
	font-family: "Cervo", "Raleway", sans-serif;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.1;
}

.pbs-header__subtitle {
	margin: 0;
	font-size: 3em;
	color: #fff;
}

.pbs-header__title {
	margin: 0.1em 0 0;
	font-size: 8em;
	color: #f7cc55;
}

/* Access code form */

.pbs-access {
	max-width: 500px;
	margin: 50px auto;
	padding: 30px;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	color: #202234;
}

.pbs-access__title {
	margin: 0 0 20px;
	font-family: "Raleway", sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	color: #202234;
}

.pbs-access__form input[type="text"] {
	width: 80%;
	margin-bottom: 15px;
	padding: 10px;
	border: 1px solid #bbb;
	border-radius: 5px;
	font: inherit;
}

.pbs-access__form input[type="submit"] {
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	background-color: #005f99;
	font: inherit;
	color: #fff;
	cursor: pointer;
}

.pbs-access__form input[type="submit"]:hover,
.pbs-access__form input[type="submit"]:focus-visible {
	background-color: #004a78;
}

.pbs-access__error {
	margin: 2rem 0 15px;
	padding: 10px;
	border: 1px solid #f5c6cb;
	border-radius: 6px;
	background-color: #fdecea;
	font-weight: 700;
	color: #d32f2f;
}

/* Show list */

.pbs-show {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: flex-start;
	margin-top: 70px;
}

.pbs-show__cover {
	width: 20%;
	align-self: stretch;
}

.pbs-show__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	box-shadow: 5px 10px 23px -6px rgba(0, 0, 0, 0.63);
}

.pbs-show__video {
	width: 50%;
}

.pbs-show__desc {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-self: stretch;
	width: 22%;
}

.pbs-video {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}

.pbs-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-shadow: 5px 10px 23px -6px rgba(0, 0, 0, 0.63);
}

.pbs-show__title,
.pbs-show__title--mobile,
.pbs-show__date,
.pbs-show__description,
.pbs-show__description--mobile {
	margin: 0;
	font-family: "Raleway", sans-serif;
	letter-spacing: 0;
	line-height: 1.3;
	color: #fff;
}

.pbs-show__title,
.pbs-show__title--mobile {
	font-size: 1.8em;
	font-weight: 700;
}

.pbs-show__date {
	font-size: 1.6em;
	font-weight: 600;
}

.pbs-show__description,
.pbs-show__description--mobile {
	font-size: 1.5em;
	font-weight: 400;
	line-height: 1.5;
}

.pbs-show__description {
	margin-top: 30px;
}

.pbs-show__title--mobile,
.pbs-show__description--mobile {
	display: none;
}

.pbs-show__description--mobile {
	margin-top: 20px;
}

@media screen and (max-width: 1366px) {
	.pbs-show__description {
		font-size: 1.2em;
	}

	.pbs-show__title {
		font-size: 1.3em;
	}
}

@media screen and (max-width: 1024px) {
	.pbs-shows {
		padding: 160px 20px 80px;
	}

	.pbs-header__title {
		font-size: 5em;
	}

	.pbs-header__subtitle {
		font-size: 2em;
	}

	.pbs-show__video {
		width: 68%;
	}

	.pbs-show__cover {
		width: 30%;
	}

	.pbs-show__cover img {
		width: 91%;
	}

	.pbs-show__desc {
		width: 100%;
		padding-top: 30px;
	}
}

@media screen and (max-width: 768px) {
	.pbs-shows {
		font-size: 14px;
	}
}

@media screen and (max-width: 480px) {
	.pbs-shows {
		padding: 130px 20px 60px;
		font-size: 12px;
	}

	.pbs-show {
		margin-top: 20px;
	}

	.pbs-show__video {
		order: 1;
		width: 100%;
	}

	/* Cover and side column are hidden; the title and description move above and below the video. */
	.pbs-show__cover,
	.pbs-show__desc {
		display: none;
	}

	.pbs-show__title--mobile,
	.pbs-show__description--mobile {
		display: block;
	}

	.pbs-show__title--mobile {
		margin-bottom: 10px;
	}

	.pbs-access {
		padding: 24px 20px;
	}

	.pbs-access__form input[type="text"] {
		width: 100%;
	}
}
