/* Singer Videos content only; the outer singer tabs stay in Elementor. */
.wi-singer-videos,
.wi-singer-videos *,
.wi-singer-video-lightbox,
.wi-singer-video-lightbox * { box-sizing: border-box; }
.wi-singer-videos {
	--wi-video-text: var(--e-global-color-text, #303739);
	--wi-video-card: var(--e-global-color-secondary, #fff);
	--wi-video-play: var(--e-global-color-primary, #d74141);
	width: 100%;
	min-width: 0;
	padding: 10px;
	color: var(--wi-video-text);
}
.wi-singer-videos .wi-singer-videos__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}
.wi-singer-videos .wi-singer-videos__item { min-width: 0; margin: 0; padding: 0; }
.wi-singer-videos .wi-singer-videos__row {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 63px;
	margin: 0;
	padding: 15px 30px;
	border: 0;
	border-bottom: 1px solid #6478811a;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	color: var(--wi-video-text);
	text-align: start;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
}
.wi-singer-videos__item:nth-child(odd) .wi-singer-videos__row { background: var(--wi-video-card); }
.wi-singer-videos .wi-singer-videos__row:hover { color: var(--wi-video-text); text-decoration: none; }
.wi-singer-videos__row:focus-visible { outline: 2px solid var(--wi-video-play); outline-offset: -2px; }
.wi-singer-videos__lead { display: flex; align-items: center; flex: 0 0 90%; min-width: 0; }
.wi-singer-videos__play { display: flex; align-items: flex-start; justify-content: center; flex: 0 0 9.787%; min-height: 32px; }
.wi-singer-videos .wi-singer-videos__play svg { display: block; flex: 0 0 25px; width: 25px; height: 25px; fill: var(--wi-video-play); }
.wi-singer-videos__title { flex: 1 1 auto; min-width: 0; font: 400 13px/1 "bpg-square-mtavruli", sans-serif; overflow-wrap: anywhere; }
.wi-singer-videos__duration { flex: 0 0 10%; min-width: 0; font: 400 11px/1 "bpg_rioni_vera", sans-serif; overflow-wrap: anywhere; }
.wi-singer-video-lightbox[hidden],
.wi-singer-video-lightbox [hidden],
.wi-singer-video-lightbox:not([open]) { display: none !important; }
dialog.wi-singer-video-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 40px 0;
	border: 0;
	border-radius: 0;
	background: rgba(0, 0, 0, 0.92);
	color: #fff;
	font: 400 16px/1.5 "bpg_rioni_vera", sans-serif;
	overflow: auto;
	overscroll-behavior: contain;
}
.wi-singer-video-lightbox::backdrop { background: transparent; }
.wi-singer-video-lightbox .wi-singer-video-lightbox__close {
	position: absolute;
	z-index: 2;
	top: 15px;
	right: 20px;
	top: max(15px, env(safe-area-inset-top));
	right: max(20px, env(safe-area-inset-right));
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	margin: 0;
	padding: 8px;
	border: 0;
	border-radius: 4px;
	box-shadow: none;
	background: rgba(0, 0, 0, 0.32);
	color: #fff;
	opacity: 0.7;
	cursor: pointer;
}
.wi-singer-video-lightbox__close svg { display: block; width: 18px; height: 18px; }
.wi-singer-video-lightbox .wi-singer-video-lightbox__close:hover,
.wi-singer-video-lightbox .wi-singer-video-lightbox__close:focus-visible { opacity: 1; background: rgba(0, 0, 0, 0.7); }
.wi-singer-video-lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wi-singer-video-lightbox__frame {
	position: relative;
	width: 100%;
	max-width: 900px;
	/* Keep 16:9 within short landscape viewports as well as portrait phones. */
	width: min(900px, 100%, calc(177.7778vh - 142.2222px));
	flex: 0 1 auto;
	margin: auto;
	background: #000;
	box-shadow: 1px 2px 9px rgba(0, 0, 0, 0.65);
}
.wi-singer-video-lightbox__frame::before { content: ""; display: block; padding-top: 56.25%; }
.wi-singer-video-lightbox__frame--embed { min-height: 200px; }
.wi-singer-video-lightbox .wi-singer-video-lightbox__frame > video,
.wi-singer-video-lightbox .wi-singer-video-lightbox__frame > iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: contain;
	background: #000;
}
.wi-singer-video-lightbox__error { width: min(90%, 650px); margin: auto; padding: 20px; text-align: center; }
.wi-singer-video-lightbox__error p { margin: 0 0 12px; }
.wi-singer-video-lightbox__error a { color: #fff; text-decoration: underline; }
@media (min-width: 768px) and (max-width: 1024px) {
	.wi-singer-videos .wi-singer-videos__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wi-singer-videos__play { flex-basis: 25px; }
}
@media (max-width: 767px) {
	.wi-singer-videos .wi-singer-videos__row { min-height: 47px; padding: 7px; }
	.wi-singer-videos__lead { flex-basis: 80%; }
	.wi-singer-videos__play { flex-basis: 20%; }
	.wi-singer-videos__title { padding-left: 5px; }
	.wi-singer-videos__duration { flex-basis: 20%; text-align: end; }
	dialog.wi-singer-video-lightbox { background: #000; }
	.wi-singer-video-lightbox .wi-singer-video-lightbox__close { width: 44px; height: 44px; top: 5px; right: 5px; opacity: 1; }
}
@media (max-height: 300px) {
	.wi-singer-video-lightbox__frame--embed { min-height: 0; }
}
