/**
 * Videos page — responsive YouTube grid.
 */

.videos-page__body {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.videos-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 3vw, 2.25rem);
	list-style: none;
	margin: 0 0 clamp(2.5rem, 5vw, 4rem);
	padding: 0;
}

@media (min-width: 720px) {
	.videos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.videos-grid__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--color-charcoal, #1c2420);
	border-radius: 2px;
}

.videos-grid__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.videos-grid__title {
	margin: 0.75rem 0 0;
	font-family: var(--font-display, Georgia, serif);
	font-size: 1.05rem;
	line-height: 1.35;
}

.videos-grid__title a {
	color: inherit;
	text-decoration: none;
}

.videos-grid__title a:hover,
.videos-grid__title a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
