
.swg-pdf-button,
.swg-video-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

.swg-pdf-button:hover,
.swg-pdf-button:focus,
.swg-video-button:hover,
.swg-video-button:focus {
	text-decoration: none;
}

.swg-pdf-button--full-width,
.swg-video-button--full-width {
	display: inline-flex;
	width: 100% !important;
}

.swg-pdf-button__icon,
.swg-video-button__icon {
	display: inline-flex;
	line-height: 1;
}

.swg-pdf-button__icon svg,
.swg-video-button__icon svg {
	width: 1em;
	height: 1em;
}

.swg-video-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.swg-video-lightbox[hidden] {
	display: none;
}

.swg-video-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.swg-video-lightbox__dialog {
	position: relative;
	z-index: 2;
	max-width: min(960px, calc(100vw - 32px));
	margin: 40px auto;
	background: #111;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.swg-video-lightbox__content {
	padding: 0;
}

.swg-video-lightbox__ratio {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.swg-video-lightbox__ratio iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.swg-video-lightbox__video {
	display: block;
	width: 100%;
	height: auto;
	max-height: calc(100vh - 120px);
	background: #000;
}

.swg-video-lightbox__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	border: 0;
	border-radius: 999px;
	width: 36px;
	height: 36px;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

html.swg-video-lightbox-open,
html.swg-video-lightbox-open body {
	overflow: hidden;
}
