.gva-archive [hidden],
.gva-search-component [hidden],
.gva-search-results[hidden] {
	display: none !important;
}

.gva-search-results:not([hidden]) {
	margin-top: 1em;
}

.gva-search {
	align-items: center;
	display: flex;
	gap: 0.3em;
}

.gva-search-toggle,
.gva-search-clear {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	height: 42px;
	justify-content: center;
	padding: 0;
	width: 42px;
}

.gva-search-toggle:hover,
.gva-search-toggle:focus-visible,
.gva-search-clear:hover,
.gva-search-clear:focus-visible {
	outline: none;
}

.gva-search-icon,
.gva-back-icon {
	display: block;
	height: 18px;
	position: relative;
	width: 18px;
}

.gva-search-icon {
	background: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' fill-rule='evenodd' d='M 324.00,381.00 C 319.14,385.96 309.30,390.98 303.00,394.30 280.67,406.04 256.07,413.48 231.00,416.16 231.00,416.16 217.00,417.09 217.00,417.09 217.00,417.09 207.00,418.00 207.00,418.00 207.00,418.00 195.00,416.96 195.00,416.96 195.00,416.96 186.00,416.96 186.00,416.96 171.79,415.48 155.59,412.02 142.00,407.66 80.71,387.99 30.70,337.88 10.33,277.00 5.56,262.73 0.18,239.94 0.00,225.00 0.00,225.00 0.00,198.00 0.00,198.00 0.05,164.37 16.01,121.58 34.75,94.00 59.31,57.83 95.75,29.37 137.00,14.69 207.22,-10.29 289.48,5.09 345.00,55.17 380.03,86.76 404.05,129.32 411.56,176.00 414.18,192.25 414.03,203.81 414.00,220.00 413.97,241.89 406.37,271.90 397.72,292.00 394.78,298.83 391.73,305.56 387.99,312.00 386.49,314.57 383.81,317.90 385.01,321.00 385.89,323.25 391.08,328.08 393.00,330.00 393.00,330.00 412.00,349.00 412.00,349.00 412.00,349.00 481.00,418.00 481.00,418.00 489.08,426.08 504.80,440.06 509.05,450.00 512.12,457.19 512.09,462.42 512.00,470.00 511.73,492.92 491.34,509.84 469.00,508.96 446.87,508.09 432.43,489.43 418.00,475.00 418.00,475.00 324.00,381.00 324.00,381.00 Z M 198.00,71.28 C 184.89,73.17 177.15,73.53 164.00,77.75 135.10,87.01 108.43,106.79 91.52,132.00 54.67,186.93 61.04,261.87 108.09,308.91 126.58,327.41 149.73,339.73 175.00,345.87 190.23,349.57 207.48,350.58 223.00,348.72 243.43,346.27 262.43,339.69 280.00,329.00 292.17,321.59 304.44,310.82 313.70,300.00 358.44,247.72 356.14,169.11 311.15,118.00 302.96,108.69 293.60,100.15 283.00,93.61 270.83,86.10 257.91,79.67 244.00,76.13 229.39,72.41 213.09,69.88 198.00,71.28 Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' fill-rule='evenodd' d='M 324.00,381.00 C 319.14,385.96 309.30,390.98 303.00,394.30 280.67,406.04 256.07,413.48 231.00,416.16 231.00,416.16 217.00,417.09 217.00,417.09 217.00,417.09 207.00,418.00 207.00,418.00 207.00,418.00 195.00,416.96 195.00,416.96 195.00,416.96 186.00,416.96 186.00,416.96 171.79,415.48 155.59,412.02 142.00,407.66 80.71,387.99 30.70,337.88 10.33,277.00 5.56,262.73 0.18,239.94 0.00,225.00 0.00,225.00 0.00,198.00 0.00,198.00 0.05,164.37 16.01,121.58 34.75,94.00 59.31,57.83 95.75,29.37 137.00,14.69 207.22,-10.29 289.48,5.09 345.00,55.17 380.03,86.76 404.05,129.32 411.56,176.00 414.18,192.25 414.03,203.81 414.00,220.00 413.97,241.89 406.37,271.90 397.72,292.00 394.78,298.83 391.73,305.56 387.99,312.00 386.49,314.57 383.81,317.90 385.01,321.00 385.89,323.25 391.08,328.08 393.00,330.00 393.00,330.00 412.00,349.00 412.00,349.00 412.00,349.00 481.00,418.00 481.00,418.00 489.08,426.08 504.80,440.06 509.05,450.00 512.12,457.19 512.09,462.42 512.00,470.00 511.73,492.92 491.34,509.84 469.00,508.96 446.87,508.09 432.43,489.43 418.00,475.00 418.00,475.00 324.00,381.00 324.00,381.00 Z M 198.00,71.28 C 184.89,73.17 177.15,73.53 164.00,77.75 135.10,87.01 108.43,106.79 91.52,132.00 54.67,186.93 61.04,261.87 108.09,308.91 126.58,327.41 149.73,339.73 175.00,345.87 190.23,349.57 207.48,350.58 223.00,348.72 243.43,346.27 262.43,339.69 280.00,329.00 292.17,321.59 304.44,310.82 313.70,300.00 358.44,247.72 356.14,169.11 311.15,118.00 302.96,108.69 293.60,100.15 283.00,93.61 270.83,86.10 257.91,79.67 244.00,76.13 229.39,72.41 213.09,69.88 198.00,71.28 Z'/%3E%3C/svg%3E");
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.gva-back-icon {
	background: currentColor;
	display: none;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 11v2H7.83l5.59 5.59L12 20 4 12l8-8 1.42 1.41L7.83 11H20z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 11v2H7.83l5.59 5.59L12 20 4 12l8-8 1.42 1.41L7.83 11H20z'/%3E%3C/svg%3E");
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.gva-archive.is-searching .gva-search-icon,
.gva-search-component.is-searching .gva-search-icon {
	display: none;
}

.gva-archive.is-searching .gva-back-icon,
.gva-search-component.is-searching .gva-back-icon {
	display: block;
}

.gva-search-field-wrap {
	flex: 1 1 280px;
	max-width: 520px;
	position: relative;
}

.gva-search-input {
	background: transparent;
	border-style: solid;
	border-radius: 999px;
	min-height: 42px;
	padding: 8px 44px 8px 16px;
	width: 100%;
	color: currentColor;
}

.gva-search-input:focus {
	outline: none;
}

.gva-search-input::-webkit-search-cancel-button,
.gva-search-input::-webkit-search-decoration {
	appearance: none;
}

.gva-search-clear {
	border: 0;
	height: 30px;
	position: absolute;
	right: 6px;
	top: 6px;
	width: 30px;
}

.gva-search-clear span,
.gva-modal-close span {
	background: currentColor;
	display: block;
	height: 18px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.71 5.71 18.29 4.29 12 10.59 5.71 4.29 4.29 5.71 10.59 12 4.29 18.29 5.71 19.71 12 13.41 18.29 19.71 19.71 18.29 13.41 12z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.71 5.71 18.29 4.29 12 10.59 5.71 4.29 4.29 5.71 10.59 12 4.29 18.29 5.71 19.71 12 13.41 18.29 19.71 19.71 18.29 13.41 12z'/%3E%3C/svg%3E");
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	width: 18px;
}

.gva-archive.is-searching>.gva-grid,
.gva-archive.is-searching>.gva-carousel,
.gva-archive.is-searching>.gva-pagination,
.gva-archive.is-searching>.gva-empty:not(.gva-search-empty) {
	display: none;
}

.gva-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.gva-carousel {
	align-items: stretch;
	container-type: inline-size;
	display: grid;
	gap: 10px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	margin-inline: auto;
	max-width: 100%;
}

.gva-carousel.gva-carousel-single,
.gva-carousel.gva-carousel-all-visible {
	gap: 0;
	grid-template-columns: minmax(0, 1fr);
}

.gva-carousel.gva-carousel-single .gva-carousel-rail,
.gva-carousel.gva-carousel-all-visible .gva-carousel-rail {
	width: 100%;
}

.gva-carousel-rail {
	--gva-carousel-gap: 18px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: nowrap;
	gap: var(--gva-carousel-gap);
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 2px 2px 12px;
	scroll-behavior: smooth;
	scroll-padding-inline: 2px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.gva-carousel-rail::-webkit-scrollbar {
	display: none;
}

.gva-carousel .gva-video-card {
	box-sizing: border-box;
	flex: 0 0 calc((100% - (var(--gva-carousel-gap) * 3)) / 4);
	flex-shrink: 0;
	min-width: 0;
}

.gva-carousel.gva-carousel-single .gva-video-card {
	flex: 1 0 100%;
	max-width: 100%;
	width: 100%;
}

.gva-carousel-button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	color: #000;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	justify-content: center;
	place-self: center;
	padding: 0;
	transition: opacity 160ms ease, transform 160ms ease;
}

.gva-carousel.gva-carousel-all-visible .gva-carousel-button {
	display: none;
}

.gva-carousel-button span {
	background: currentColor;
	display: block;
	height: 40px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8.59 16.59 10 18l6-6-6-6-1.41 1.41L13.17 12z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8.59 16.59 10 18l6-6-6-6-1.41 1.41L13.17 12z'/%3E%3C/svg%3E");
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	width: 40px;
}

.gva-carousel-prev span {
	transform: rotate(180deg);
}

.gva-carousel-button:hover,
.gva-carousel-button:focus-visible {
	outline: none;
	transform: scale(1.04);
}

.gva-carousel-button:disabled {
	cursor: default;
	opacity: 0.28;
	transform: none;
}

.gva-video-card {
	appearance: none;
	background: #fff;
	border-radius: 8px;
	color: #000;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font-size: 0.9em;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	text-align: left;
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gva-video-card:hover,
.gva-video-card:focus-visible {
	outline: none;
	transform: translateY(-1px);
}

.gva-thumb-wrap {
	aspect-ratio: 16 / 9;
	display: block;
	position: relative;
	width: 100%;
}

.gva-thumb-wrap img,
.gva-thumb-placeholder {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.gva-video-title {
	display: block;
	padding: 14px 14px 0;
	font-size: 1.1em;
}

.gva-video-description {
	display: block;
	padding: 0 14px 14px;
}

.gva-video-description p {
	margin: 0 0 0.65em;
}

.gva-video-description p:last-child {
	margin-bottom: 0;
}

.gva-empty {
	border: 1px solid currentColor;
	border-radius: 8px;
	margin: 0;
	padding: 16px;
}

.gva-pagination {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.gva-video-prev-page,
.gva-video-next-page {
	appearance: none;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 0.5em;
	color: inherit;
	cursor: pointer;
	line-height: 1;
	padding: 10px 12px;
	text-align: center;
	text-decoration: none;
}

.gva-video-prev-page:disabled,
.gva-video-next-page:disabled {
	cursor: default;
	opacity: 0.45;
}

.gva-video-page-select-label,
.gva-video-page-total {
	line-height: 1;
}

.gva-video-page-select {
	border-radius: 6px;
	line-height: 1.2;
	min-height: 38px;
	min-width: max-content;
	padding: 8px 10px 8px 10px;
}

.gva-modal {
	align-items: center;
	display: none;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 99999;
	font-size: 1em;
}

.gva-modal.is-open {
	display: flex;
}

.gva-modal-backdrop {
	background: rgba(15, 23, 42, 0.78);
	inset: 0;
	position: absolute;
}

.gva-modal-dialog {
	background: #fff;
	border-radius: 8px;
	color: #000;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 40px);
	max-width: 960px;
	overflow: auto;
	position: relative;
	width: min(960px, 100%);
	z-index: 1;
}

.gva-modal-header {
	align-items: center;
	background: #fff;
	display: flex;
	flex: 0 0 auto;
	gap: 14px;
	justify-content: space-between;
	padding: 20px 22px 14px;
	position: sticky;
	top: 0;
	z-index: 2;
}

.gva-modal-dialog > p {
	display: none;
}

.gva-modal-header > p,
.gva-modal-body > p,
.gva-modal-footer > p {
	display: contents;
	margin: 0;
}

.gva-modal-title {
	margin: 0;
	min-width: 0;
	overflow-wrap: anywhere;
	color: #000;
	font-size: 1.1em;
}

.gva-modal-close {
	align-items: center;
	background: #fff;
	border: 1px solid #000;
	border-radius: 999px;
	color: #000;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	height: 36px;
	justify-content: center;
	line-height: 1;
	width: 40px;
}

.gva-modal-close:hover,
.gva-modal-close:focus-visible {
	background: #f3f4f6;
	outline: none;
}

.gva-modal-body {
	flex: 0 0 auto;
	min-height: 0;
	overflow: visible;
}

.gva-player {
	aspect-ratio: 16 / 9;
	background: #000;
	height: auto;
	width: 100%;
}

.gva-player iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

.gva-modal-footer {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	gap: 12px;
	max-height: 24vh;
	overflow: auto;
	padding: 16px 22px 22px;
	font-size: 0.9em;
}

.gva-modal-description {
	min-width: 0;
}

.gva-modal-description p {
	margin: 0 0 0.8em;
}

.gva-modal-description p:last-child {
	margin-bottom: 0;
}

.gva-download-trigger-wrap {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gva-download-heading {
	color: #000;
	font-size: 1em;
	line-height: 1.2;
	margin: 0;
}

.gva-download-trigger {
	align-items: center;
	appearance: none;
	background: #111827;
	border: 1px solid #111827;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	gap: 10px;
	justify-content: space-between;
	line-height: 1.2;
	max-width: 220px;
	min-height: 40px;
	padding: 10px 12px;
	text-align: left;
	width: 100%;
}

.gva-download-trigger:hover,
.gva-download-trigger:focus-visible {
	background: #374151;
	border-color: #374151;
	outline: none;
}

.gva-download-trigger:disabled {
	cursor: default;
	opacity: 0.5;
}

.gva-download-trigger-icon,
.gva-download-action span {
	background: currentColor;
	display: block;
	height: 18px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 20h14v-2H5v2zm7-18v10.17l3.59-3.58L17 10l-6 6-6-6 1.41-1.41L10 12.17V2h2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 20h14v-2H5v2zm7-18v10.17l3.59-3.58L17 10l-6 6-6-6 1.41-1.41L10 12.17V2h2z'/%3E%3C/svg%3E");
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	width: 18px;
}

.gva-download-modal {
	z-index: 100000;
}

.gva-download-dialog {
	max-width: 560px;
	width: min(560px, 100%);
}

.gva-download-modal-body {
	box-sizing: border-box;
	max-height: min(62vh, 520px);
	overflow: auto;
	padding: 8px 22px 22px;
}

.gva-download-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gva-download-option {
	align-items: center;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(56px, auto) minmax(0, 1fr) 36px;
	min-width: 0;
	padding: 8px 10px;
}

.gva-download-quality {
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.gva-download-meta {
	color: #4b5563;
	line-height: 1.2;
	min-width: 0;
	overflow-wrap: anywhere;
}

.gva-download-action {
	align-items: center;
	background: #111827;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	justify-self: end;
	text-decoration: none;
	width: 32px;
}

.gva-download-action:hover,
.gva-download-action:focus-visible {
	background: #374151;
	outline: none;
}

body.gva-modal-open {
	overflow: hidden;
}

@media (max-width: 520px) {
	.gva-grid {
		grid-template-columns: 1fr;
	}

	.gva-carousel {
		gap: 6px;
		grid-template-columns: 34px minmax(0, 1fr) 34px;
	}

	.gva-carousel-button {
		height: 34px;
		width: 34px;
	}

	.gva-modal {
		padding: 12px;
	}

	.gva-modal-dialog {
		max-height: calc(100vh - 24px);
	}

	.gva-modal-close {
		height: 32px;
		width: 34px;
	}

	.gva-modal-header {
		padding: 12px 12px 10px;
	}

	.gva-modal-footer {
		gap: 12px;
		padding: 12px;
	}

	.gva-download-option {
		align-items: start;
		grid-template-columns: minmax(48px, auto) minmax(0, 1fr) 32px;
		padding: 8px;
	}

	.gva-download-action {
		height: 30px;
		width: 30px;
	}

	.gva-search {
		align-items: stretch;
	}

	.gva-search-field-wrap {
		max-width: none;
	}

	.gva-pagination {
		align-items: stretch;
		gap: 8px;
	}

	.gva-video-page-select-label,
	.gva-video-page-total {
		align-self: center;
		display: none;
	}
}

@media (max-width: 360px) {
	.gva-carousel {
		gap: 4px;
		grid-template-columns: 30px minmax(0, 1fr) 30px;
	}

	.gva-carousel-button {
		height: 30px;
		width: 30px;
	}
}

@container (max-width: 1080px) {
	.gva-carousel .gva-video-card {
		flex-basis: calc((100% - (var(--gva-carousel-gap) * 2)) / 3);
	}
}

@container (max-width: 800px) {
	.gva-carousel .gva-video-card {
		flex-basis: calc((100% - var(--gva-carousel-gap)) / 2);
	}
}

@container (max-width: 585px) {
	.gva-carousel .gva-video-card {
		flex-basis: 100%;
	}
}

@supports not (container-type: inline-size) {
	@media (max-width: 1080px) {
		.gva-carousel .gva-video-card {
			flex-basis: calc((100% - (var(--gva-carousel-gap) * 2)) / 3);
		}
	}

	@media (max-width: 800px) {
		.gva-carousel .gva-video-card {
			flex-basis: calc((100% - var(--gva-carousel-gap)) / 2);
		}
	}

	@media (max-width: 585px) {
		.gva-carousel .gva-video-card {
			flex-basis: 100%;
		}
	}
}

@media (max-height: 900px) {
	.gva-modal-dialog {
		max-width: 820px;
	}
}

@media (max-height: 760px) {
	.gva-modal-dialog {
		max-width: 760px;
	}
}

@media (max-height: 640px) {
	.gva-modal-dialog {
		max-width: 620px;
	}

	.gva-modal-footer {
		max-height: 18vh;
	}
}

@media (max-height: 520px) {
	.gva-modal-dialog {
		max-width: 480px;
	}
}
