/* Video Player section: the provider's own player in a box that takes the shape of the video. The shape (horizontal or
   vertical) and the aspect ratio come from the template. The section's vertical space comes from the shared Padding
   input (Default 12px, as in the banner). Three ids so these rules win over site rules with id-level specificity. */

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 25px;
}

/* Scoped to this section's root: the bare .programs-pad-zero-* rules of 20-banner.css and
   30-image-carousel.css have the same weight as the rule above and come before this file, so without these the
   default padding above would win. */
body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video.programs-pad-zero-top {
	padding-top: 0;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video.programs-pad-zero-bottom {
	padding-bottom: 0;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video.programs-pad-zero-top-bottom {
	padding-top: 0;
	padding-bottom: 0;
}

/* Large is the 74px band of the Image + text rows; Large bottom keeps the 12px top so the video stays close to the
   text row above it. */
body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video.programs-pad-large {
	padding-top: 74px;
	padding-bottom: 74px;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video.programs-pad-large-bottom {
	padding-bottom: 74px;
}

@media (max-width: 767px) {
	body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video.programs-pad-large {
		padding-top: 52px;
		padding-bottom: 47px;
	}

	body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video.programs-pad-large-bottom {
		padding-bottom: 47px;
	}
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video__box {
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	width: 100%;
	background: #111111;
	border-radius: 2.5px;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video--horizontal .programs-video__box {
	max-width: 720px;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video--vertical .programs-video__box {
	max-width: 360px;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video__frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Thumbnail mode: the picture and a play icon stand in for the player until it is pressed. The iframe has no address
   until then (the script sets it), so it stays out of the way. */
body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video__box[data-mode="thumb"] .programs-video__frame {
	display: none;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video__box[data-mode="thumb"].is-playing .programs-video__frame {
	display: block;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video__trigger {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	border-radius: inherit;
	line-height: 0;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video__box.is-playing .programs-video__trigger {
	visibility: hidden;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video__thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video__box:not(.is-playing) .programs-video__trigger::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 88px;
	height: 88px;
	margin: -44px 0 0 -44px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Ccircle cx='44' cy='44' r='40' fill='rgba(17,17,17,0.35)' stroke='white' stroke-width='3'/%3E%3Cpath d='M36 28L62 44L36 60Z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-video__box:has(.programs-video__trigger:focus-visible) {
	outline: 3px solid #5E30FF;
	outline-offset: 2px;
}
