.juxt-videos-controls {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	margin-bottom: 1.5rem;
}

.juxt-videos-controls__search {
	flex: 0 1 18rem;
}

.juxt-videos-controls__filters {
	display: flex;
	flex: 1 1 24rem;
	flex-wrap: wrap;
	gap: 0.875rem;
}

.juxt-videos-controls__filters label {
	flex: 1 1 12rem;
}

.juxt-videos-controls input,
.juxt-videos-controls select {
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 3px;
	box-sizing: border-box;
	color: #111827;
	font-size: 16px;
	height: 46px;
	line-height: 1.2;
	padding: 0 0.875rem;
	width: 100%;
}

.juxt-videos-controls input:focus,
.juxt-videos-controls select:focus,
.juxt-videos-controls__reset:focus {
	outline: 3px solid rgba(255, 255, 255, 0.35);
	outline-offset: 2px;
}

.juxt-videos-controls__reset {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 3px;
	color: #ffffff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	height: 46px;
	padding: 0 1.1rem;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.juxt-videos-controls__reset:hover {
	background: #ffffff;
	border-color: #ffffff;
	color: #0e4d9a;
}

.juxt-videos-empty {
	margin-bottom: 0;
	margin-top: 1.5rem;
}

.juxt-videos-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.juxt-videos-grid--cols-2,
.juxt-videos-grid--cols-3,
.juxt-videos-grid--cols-4,
.juxt-videos-grid--cols-5,
.juxt-videos-grid--cols-6 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.juxt-video-card {
	margin: 0;
}

.juxt-video-card[hidden] {
	display: none !important;
}

.juxt-video-card--interactive {
	cursor: pointer;
}

.juxt-video-card--interactive:focus-visible {
	outline: 3px solid #2563eb;
	outline-offset: 4px;
}

.juxt-video-card__thumb {
	aspect-ratio: 16 / 9;
	background: #1f2933;
	display: block;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.juxt-video-card__thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.juxt-video-card__play {
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	height: 3rem;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 3rem;
}

.juxt-video-card__play::before {
	border-bottom: 0.55rem solid transparent;
	border-left: 0.85rem solid #111827;
	border-top: 0.55rem solid transparent;
	content: "";
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-38%, -50%);
}

.juxt-video-card__body {
	display: grid;
	gap: 0.35rem;
	padding-top: 0.75rem;
}

.juxt-video-card__title {
	font-family: Gotham, sans-serif;
	font-size: 24px;
	font-weight: 800;
	margin: 0;
}

.juxt-video-card__date {
	font-size: 24px;
	margin: 0;
}

.et_pb_section .juxt-videos .juxt-video-card__excerpt,
.juxt-videos .juxt-video-card__excerpt {
	font-size: 18px !important;
	margin: 0;
}

.juxt-video-embed {
	aspect-ratio: 16 / 9;
	margin-bottom: 1.5rem;
	width: 100%;
}

.juxt-video-embed iframe {
	display: block;
	height: 100%;
	width: 100%;
}

.juxt-vimeo-modal {
	align-items: center;
	background: rgba(15, 23, 42, 0.82);
	display: none;
	inset: 0;
	justify-content: center;
	padding: 1rem;
	position: fixed;
	z-index: 100000;
}

.juxt-vimeo-modal.is-open {
	display: flex;
}

.juxt-vimeo-modal__dialog {
	background: #0f172a;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
	max-height: calc(100vh - 2rem);
	max-width: 960px;
	position: relative;
	width: min(100%, 960px);
}

.juxt-vimeo-modal__close {
	align-items: center;
	background: #ffffff;
	border: 0;
	border-radius: 999px;
	color: #111827;
	cursor: pointer;
	display: flex;
	font-size: 1.5rem;
	font-weight: 700;
	height: 2.5rem;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: -0.75rem;
	top: -0.75rem;
	width: 2.5rem;
	z-index: 2;
}

.juxt-vimeo-modal__close:focus-visible {
	outline: 3px solid #93c5fd;
	outline-offset: 3px;
}

.juxt-vimeo-modal__player {
	aspect-ratio: 16 / 9;
	background: #000000;
	width: 100%;
}

.juxt-vimeo-modal__player iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

body.juxt-vimeo-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.juxt-videos-controls,
	.juxt-videos-controls__filters {
		display: grid;
		grid-template-columns: 1fr;
	}

	.juxt-videos-controls__reset {
		width: 100%;
	}

	.juxt-vimeo-modal {
		padding: 0.75rem;
	}

	.juxt-vimeo-modal__close {
		right: 0.5rem;
		top: 0.5rem;
	}
}

@media (min-width: 640px) {
	.juxt-videos-grid--cols-2,
	.juxt-videos-grid--cols-3,
	.juxt-videos-grid--cols-4,
	.juxt-videos-grid--cols-5,
	.juxt-videos-grid--cols-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.juxt-videos-grid--cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.juxt-videos-grid--cols-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.juxt-videos-grid--cols-5 {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.juxt-videos-grid--cols-6 {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}
