/* ==========================================================================
   GREEN ATOM Vídeos - widget de Elementor
   Rejilla adaptable de vídeos con marcos redondeados.
   ========================================================================== */

.ga-videos {
	width: 100%;
}

/* Cabecera */

.ga-videos-header {
	max-width: 900px;
	margin: 0 auto 46px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.ga-videos-title {
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: clamp(2.1rem, 4.2vw, 3.1rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.08;
	color: var(--color-principal);
	margin: 0;
}

.ga-videos-title::after {
	content: "";
	display: block;
	width: 78px;
	height: 8px;
	margin: 20px auto 0;
	border-radius: var(--radio-boton);
	background-color: var(--color-principal);
}

/* Rejilla */

.ga-videos-grid {
	display: grid;
	gap: 26px;
}

.ga-video-item {
	margin: 0;
	display: flex;
	flex-direction: column;
}

.ga-video-frame {
	position: relative;
	width: 100%;
	border: 0;
	border-radius: var(--radio-card);
	overflow: hidden;
	background-color: var(--color-principal);
	box-shadow: 0 16px 38px var(--ga-sombra-media);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ga-video-item:hover .ga-video-frame {
	box-shadow: 0 24px 50px var(--ga-sombra-color);
	transform: translateY(-4px);
}

.ga-video-frame video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	background-color: var(--color-principal);
}

.ga-video-caption {
	margin: 14px 0 0;
	font-family: "Bricolage Grotesque", sans-serif;
	font-weight: 600;
	font-size: 17px;
	color: var(--color-principal);
}

/* Adaptable */

@media (max-width: 767px) {
	.ga-videos-header {
		margin-bottom: 30px;
	}

	.ga-videos-grid {
		grid-template-columns: 1fr !important;
		gap: 22px;
	}

	.ga-video-frame {
		border-radius: var(--radio-card);
	}
}
