/* Galería en mosaico con visor, vídeos de YouTube livianos y recuadro de ayuda. */
.masonry {
	columns: 2 220px;
	column-gap: 14px;
}
.masonry__item {
	display: block;
	overflow: hidden;
	margin: 0 0 14px;
	border-radius: 16px;
	break-inside: avoid;
}
.masonry__item img {
	width: 100%;
	transition: transform 0.6s;
}
.masonry__item:hover img {
	transform: scale(1.05);
}
.lightbox {
	max-width: min(92vw, 1200px);
	padding: 0;
	border: 0;
	background: transparent;
}
.lightbox::backdrop {
	background: rgb(4 18 32 / 88%);
}
.lightbox__img {
	max-height: 84vh;
	margin: auto;
	border-radius: 12px;
}
.lightbox__btn {
	position: fixed;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 14%);
	color: var(--on-deep);
	font-size: 28px;
	line-height: 1;
}
.lightbox__btn--prev {
	left: 16px;
	top: 50%;
}
.lightbox__btn--next {
	right: 16px;
	top: 50%;
}
.lightbox__btn--close {
	right: 16px;
	top: 16px;
}
.vfeat {
	display: grid;
	gap: 28px;
	align-items: center;
}
.vfeat h2 {
	margin-bottom: 14px;
}
.vfeat .btn {
	margin-top: 22px;
}
.video {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 16/9;
	border-radius: 22px;
	background: var(--bg-deep);
}
.video img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.9;
	transition:
		transform 0.6s,
		opacity var(--motion);
}
.video:hover img {
	opacity: 1;
	transform: scale(1.04);
}
.video__play {
	position: absolute;
	inset: 0;
	margin: auto;
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: rgb(255 255 255 / 92%);
	color: var(--accent-deep);
	box-shadow: 0 0 0 12px rgb(255 255 255 / 18%);
	transition: transform var(--motion);
}
.video:hover .video__play {
	transform: scale(1.08);
}
.video__play .icon {
	width: 30px;
	height: 30px;
	margin-left: 4px;
}
.video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.vgrid {
	display: grid;
	gap: 22px;
}
.vcard__title {
	margin-top: 12px;
	font-size: 17px;
}
.helpbox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 44px;
	padding: 26px 28px;
	border-radius: 22px;
	background: var(--bg-sunk);
}
.helpbox p {
	margin-top: 4px;
}
@media (min-width: 640px) {
	.vgrid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 960px) {
	.masonry {
		columns: 4;
	}
	.vfeat {
		grid-template-columns: 1.4fr 0.6fr;
		gap: 48px;
	}
	.vgrid {
		grid-template-columns: repeat(3, 1fr);
	}
}
