/*!********************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/blocks/video/style.css ***!
  \********************************************************************************************************************************************************************************/
/* ==============================================
   Sport1 OZ Video Block
   Figma: thumbnail + blue play btn bottom-left,
   duration badge bottom-right, caption below.
   ============================================== */

.wp-block-sport1-blocks-video {
	margin: 0 0 1.5em;
	max-width: 100%;
}

/* ── Thumbnail wrapper ─────────────────────────────────────────────────────── */
.sport1-video-thumbnail-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 12px;
	background: #111;
	cursor: pointer;
	display: block;
}

.sport1-video-thumbnail-img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	display: block;
}

.sport1-video-thumbnail-placeholder {
	width: 100%;
	height: 100%;
	background: #222;
}

/* ── Play button — bottom-left 24px ───────────────────────────────────────── */
/* 72×72 blue outer block, 48×48 gray icon square inset 12px inside */
.sport1-video-play-btn {
	position: absolute;
	bottom: 24px;
	left: 24px;
	width: 72px;
	height: 72px;
	background: #106BFE;
	pointer-events: none; /* container handles click */
	flex-shrink: 0;
}

/* Arrow centered on the blue block */
.sport1-video-play-btn {
	display: flex;
	align-items: center;
	justify-content: center;
}

.sport1-video-play-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.sport1-video-play-icon svg {
	width: 22px;
	height: 28px;
	fill: #fff;
	color: #fff;
	margin-left: 3px; /* optical centering for play triangle */
}

/* Fontello icons (used for autoplay variant on non-video posts).
   Match the home-page top teaser autoplay icon size (36px). Without this,
   the <span> inherits body font-size and renders tiny inside the 72×72 btn. */
.sport1-video-play-icon--fontello .icon-autoplay,
.sport1-video-play-icon--fontello .icon-play_arrow {
	width: 36px;
	height: 36px;
	font-size: 36px;
	line-height: 1;
	color: #fff;
}

.sport1-video-live-badge {
	position: absolute;
	top: 24px;
	left: 16px;
	width: -moz-max-content;
	width: max-content;
	background: #E30613;
	border-radius: 0;
	padding: 2px 6px;
	height: 22px;
	display: flex;
	align-items: center;
	font-family: 'Barlow SC Black Italic', sans-serif;
	font-weight: 900;
	font-size: 14px;
	font-style: italic;
	text-transform: uppercase;
	line-height: 18px;
	color: #fff;
	letter-spacing: 0.5px;
	pointer-events: none;
	box-sizing: border-box;
}

/* ── Duration badge — bottom-right, baseline-aligned with play button ──────── */
.sport1-video-duration-badge {
	position: absolute;
	bottom: 24px;
	right: 16px;
	background: #fff;
	border-radius: 0;
	padding: 2px 6px 2px 4px; /* state-layer: 2px 0 2px 2px + frame5: 0 6px 0 4px */
	height: 22px;
	display: flex;
	align-items: center;
	font-family: 'Barlow SC Black Italic', sans-serif;
	font-weight: 900;
	font-size: 14px;
	font-style: italic;
	text-transform: uppercase;
	line-height: 18px;
	color: #000;
	pointer-events: none;
	box-sizing: border-box;
}

/* ── Caption area ──────────────────────────────────────────────────────────── */
.sport1-video-caption-area {
	padding-top: 2px;
}

.sport1-video-copyright-row {
	font-family: 'Barlow Regular', sans-serif;
	font-weight: 400;
	font-size: 10px;
	line-height: 1.4;
	color: #000;
	padding: 4px 0;
}

.sport1-video-caption-text {
	font-family: 'Barlow Regular', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.375;
	color: #000;
	margin: 0;
}

/* ── Video.js player wrapper (revealed on click) ───────────────────────────── */
.wp-block-sport1-blocks-video .video-player-wrapper {
	position: relative;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	isolation: isolate;
}

.sport1-video-player {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 9;
}

/* ── Playlist panel ────────────────────────────────────────────────────────── */
.wp-block-sport1-blocks-video .vjs-playlist {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 30%;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	overflow-y: auto;
	padding: 10px;
	z-index: 999;
}

.video-player-playlist-hidden {
	display: none;
}

.vjs-playlist-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 10px;
	background: rgba(43, 51, 63, 0.85);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.vjs-playlist-header__close {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.12);
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
}

/* ── Share popup ───────────────────────────────────────────────────────────── */
.videojs-share-popup {
	position: absolute;
	z-index: 999;
	min-width: 200px;
	padding: 5px;
	background: rgba(20, 22, 26, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	opacity: 0;
	transform: translateY(8px) scale(0.98);
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.videojs-share-popup.visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.videojs-share-popup .share-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.videojs-share-popup .share-btn {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 8px;
	border-radius: 10px;
	border: 0;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	cursor: pointer;
	font: 500 14px/1.1 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.videojs-share-popup .share-btn:hover,
.videojs-share-popup .share-btn:focus {
	background: rgba(255, 255, 255, 0.12);
	outline: none;
}

.wp-block-sport1-blocks-video--live .video-js .vjs-live-label {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 10;
	background: #E30613;
	color: #fff;
	font-family: 'Barlow SC Black Italic', sans-serif;
	font-weight: 900;
	font-size: 13px;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 3px 8px;
	line-height: 1.4;
	pointer-events: none;
}

.wp-block-sport1-blocks-video--live .video-js .vjs-progress-control {
	display: none !important;
}

/* ── Video.js control bar ──────────────────────────────────────────────────── */
.wp-block-sport1-blocks-video .video-js .vjs-control-bar {
	height: 60px !important;
	padding-top: 16px !important;
	background-color: rgba(43, 51, 63, 0.7) !important;
}
.wp-block-sport1-blocks-video--live .video-js .vjs-control-bar {
	height: 44px !important;
	padding-top: 0px !important;
}

.wp-block-sport1-blocks-video .video-js
	.vjs-control:not(.vjs-progress-control):not(.vjs-volume-control):not(.vjs-time-control) {
	width: 44px !important;
	height: 44px !important;
}

.wp-block-sport1-blocks-video .video-js .vjs-control-bar .vjs-control.vjs-button .vjs-svg-icon {
	width: 25px;
	height: 25px;
}

.wp-block-sport1-blocks-video .video-js .vjs-control-bar .vjs-time-control {
	justify-content: center !important;
	align-items: center !important;
	padding: 0 !important;
	height: 44px !important;
	font-size: 12px !important;
	min-width: 10px;
}

.wp-block-sport1-blocks-video .video-js .vjs-progress-control {
	position: absolute !important;
	height: 16px !important;
	top: 0 !important;
	width: 100% !important;
	display: flex !important;
}

.wp-block-sport1-blocks-video .video-js .vjs-menu-button {
	padding: 0 !important;
}

.vjs-custom-spacer {
	flex: 1 1 auto !important;
}

.vjs-volume-vertical {
	z-index: 99 !important;
}

@media (max-width: 768px) {
	.wp-block-sport1-blocks-video .video-js .vjs-share-control {
		display: none !important;
	}
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	.sport1-video-play-btn {
		width: 52px;
		height: 52px;
		bottom: 16px;
		left: 16px;
	}

	.sport1-video-play-icon svg {
		width: 15px;
		height: 19px;
	}

	.sport1-video-duration-badge,
	.sport1-video-live-badge {
		bottom: 16px;
		right: 12px;
		font-size: 12px;
	}
}

/* ── Alignment variants ────────────────────────────────────────────────────── */
.wp-block-sport1-blocks-video.alignleft {
	float: left;
	margin-right: 2em;
	max-width: 50%;
}

.wp-block-sport1-blocks-video.alignright {
	float: right;
	margin-left: 2em;
	max-width: 50%;
}

.wp-block-sport1-blocks-video.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.wp-block-sport1-blocks-video.alignwide {
	max-width: var(--wp--style--global--wide-size, 1280px);
}

.wp-block-sport1-blocks-video.alignfull {
	max-width: none;
	width: 100%;
}

.vjs-ad-loading-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  color: #fff;
  font-size: 14px;
}

.vjs-ad-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255,255,255,0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: vjs-spin 1s linear infinite;
  margin-bottom: 10px;
}

.vjs-modal-dialog-content {
	display: grid;
	place-content: center;
}

@keyframes vjs-spin {
  100% { transform: rotate(360deg); }
}

.video-js .s1-revolver-teaser,
.video-js .s1-revolver-endscreen {
	color: #fff;
	font-family: 'Barlow Regular', sans-serif;
	font-size: 14px;
	line-height: 1.3;
	text-align: left;
}

.video-js .s1-revolver-teaser button,
.video-js .s1-revolver-endscreen button {
	-webkit-appearance: none;
	-moz-appearance: none;
	     appearance: none;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #fff;
	font: inherit;
	line-height: inherit;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

.video-js .s1-revolver-teaser img,
.video-js .s1-revolver-endscreen img {
	display: block;
	max-width: none;
	margin: 0;
	-o-object-fit: cover;
	   object-fit: cover;
}

/* Corner teaser */

.video-js .s1-revolver-teaser {
	position: absolute;
	right: 12px;
	bottom: calc(3em + 10px); /* above the control bar */
	z-index: 998;
	display: none;
	width: min(420px, 62%);
	height: 76px;
	overflow: hidden;
	background: rgba(40, 40, 40, 0.94);
	cursor: pointer;
	transition: bottom 0.2s ease;
}

.video-js.vjs-user-inactive.vjs-playing .s1-revolver-teaser {
	bottom: 12px;
}

.video-js .s1-revolver-teaser.is-visible {
	display: flex;
}

.video-js.vjs-ad-playing .s1-revolver-teaser {
	display: none;
}

.video-js .s1-revolver-teaser__img {
	flex: 0 0 auto;
	width: 135px;
	height: 100%;
}

.video-js .s1-revolver-teaser__body {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 34px 8px 14px;
}

.video-js .s1-revolver-teaser__label {
	font-family: 'Barlow Bold', sans-serif;
	font-size: 15px;
	line-height: 20px;
}

.video-js .s1-revolver-teaser__title {
	overflow: hidden;
	font-size: 15px;
	line-height: 20px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.video-js .s1-revolver-teaser__duration {
	position: absolute;
	right: 12px;
	bottom: 6px;
	font-size: 13px;
	line-height: 16px;
}

.video-js .s1-revolver-teaser .s1-revolver-teaser__close {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 20px;
	height: 20px;
	font-size: 22px;
	line-height: 20px;
	text-align: center;
}

/* Compact teaser on phones — same 767px breakpoint as the ad/device logic. */
@media (max-width: 767px) {
	.video-js .s1-revolver-teaser {
		right: 8px;
		bottom: calc(3em + 6px);
		width: min(340px, calc(100% - 16px));
		height: 56px;
	}

	.video-js.vjs-user-inactive.vjs-playing .s1-revolver-teaser {
		bottom: 8px;
	}

	.video-js .s1-revolver-teaser__img {
		width: 96px;
	}

	.video-js .s1-revolver-teaser__body {
		padding: 7px 28px 6px 10px;
	}

	.video-js .s1-revolver-teaser__label,
	.video-js .s1-revolver-teaser__title {
		font-size: 13px;
		line-height: 17px;
	}

	.video-js .s1-revolver-teaser__duration {
		display: none;
	}
}

/* End screen */

.video-js .s1-revolver-endscreen {
	position: absolute;
	inset: 0;
	z-index: 1000;
	display: none;
	flex-direction: column;
	padding: 2.5% 2% 3%;
	background: #000;
	container-type: inline-size;
}

.video-js .s1-revolver-endscreen.is-visible {
	display: flex;
}

/* Keep the stock controls/big play button from poking through. */
.video-js.s1-revolver-active .vjs-big-play-button,
.video-js.s1-revolver-active .vjs-control-bar,
.video-js.s1-revolver-active .vjs-title-bar,
.video-js.s1-revolver-active .vjs-poster {
	display: none !important;
}

.video-js .s1-revolver-endscreen__header {
	position: relative;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 2.5% 3.5%;
}

.video-js .s1-revolver-endscreen__heading {
	color: #bdbdbd;
	font-size: clamp(14px, 2cqi, 22px);
}

.video-js .s1-revolver-endscreen .s1-revolver-endscreen__close {
	width: 36px;
	height: 36px;
	font-size: 36px;
	font-weight: 300;
	line-height: 36px;
	text-align: center;
}

.video-js .s1-revolver-endscreen__body {
	display: grid;
	flex: 1 1 auto;
	grid-template-columns: 32px minmax(0, 1fr) minmax(0, 2fr) 32px;
	gap: 0 2%;
	min-height: 0;
}

.video-js .s1-revolver-endscreen .s1-revolver-endscreen__nav {
	align-self: center;
	width: 32px;
	height: 48px;
}

.video-js .s1-revolver-endscreen__nav::before {
	content: '';
	display: block;
	width: 14px;
	height: 14px;
	margin: auto;
	border-top: 3px solid #fff;
	border-left: 3px solid #fff;
	transform: translateX(3px) rotate(-45deg);
}

.video-js .s1-revolver-endscreen__nav--next::before {
	transform: translateX(-3px) rotate(135deg);
}

.video-js .s1-revolver-endscreen .s1-revolver-endscreen__nav:disabled {
	visibility: hidden;
}

/* Next video (big card) */

.video-js .s1-revolver-endscreen .s1-revolver-next {
	position: relative;
	height: 100%;
	overflow: hidden;
	background: #000;
}

.video-js .s1-revolver-next__img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 58%;
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.video-js .s1-revolver-next__duration,
.video-js .s1-revolver-card__duration {
	position: absolute;
	top: 5%;
	right: 5%;
	font-family: 'Barlow Bold', sans-serif;
	font-size: clamp(11px, 1.3cqi, 15px);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.video-js .s1-revolver-next__text {
	position: absolute;
	top: 44%;
	right: 7%;
	left: 7%;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.video-js .s1-revolver-next__label {
	font-family: 'Barlow Bold', sans-serif;
	font-size: clamp(12px, 1.5cqi, 16px);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.video-js .s1-revolver-next__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: clamp(14px, 2cqi, 22px);
	line-height: 1.3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.video-js .s1-revolver-next__outline {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.video-js .s1-revolver-next__outline path {
	fill: none;
	stroke: #fff;
	stroke-width: 3px;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
	.video-js .s1-revolver-next__outline path {
		stroke-dashoffset: 0 !important;
		transition: none;
	}
}


.video-js .s1-revolver-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: 4.5% 3.5%;
	min-width: 0;
	min-height: 0;
}

.video-js .s1-revolver-endscreen .s1-revolver-card {
	position: relative;
	min-height: 0;
	overflow: hidden;
	outline: 1px solid rgba(255, 255, 255, 0.25);
	outline-offset: -1px;
	background: #1a1a1a;
}

.video-js .s1-revolver-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.video-js .s1-revolver-card__title {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	padding: 20% 5% 5%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
	font-family: 'Barlow Bold', sans-serif;
	font-size: clamp(11px, 1.35cqi, 15px);
	line-height: 1.25;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.video-js .s1-revolver-endscreen .s1-revolver-card:hover,
.video-js .s1-revolver-endscreen .s1-revolver-card:focus-visible {
	outline-color: #fff;
}

.video-js .s1-revolver-card.is-watched .s1-revolver-card__img {
	opacity: 0.6;
}

@container (max-width: 599px) {
	.video-js .s1-revolver-endscreen__body {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
	}

	.video-js .s1-revolver-grid,
	.video-js .s1-revolver-endscreen .s1-revolver-endscreen__nav {
		display: none;
	}

	.video-js .s1-revolver-endscreen .s1-revolver-next {
		width: min(100%, 320px);
	}
}

