/**
 * "A statikus válaszol" videórács – frontend.
 *
 * A rács a Divi Code modulon belül él, ezért a szekció háttere és
 * betűtípusai öröklődnek; itt csak az elrendezés és a tipográfia van.
 */

.bb-videok {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 5.5%;
	align-items: start;
	width: 100%;
}

.bb-video {
	min-width: 0;
}

/* 16:9 arányú, lekerekített videókeret */
.bb-video__keret {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
}

.bb-video__keret iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.bb-video__cim {
	margin: 18px 0 0;
	font-family: Inter, sans-serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.4em;
	color: #ffffff;
}

.bb-video__leiras {
	margin: 8px 0 0;
	font-family: Inter, sans-serif;
	font-size: 15px;
	line-height: 1.7em;
	color: #d1d5db;
}

.bb-video-ures {
	margin: 0;
	padding: 22px 26px;
	border: 1px dashed rgba(255, 255, 255, 0.35);
	border-radius: 16px;
	font-family: Inter, sans-serif;
	font-size: 15px;
	color: #d1d5db;
	text-align: center;
}

/* Tablet: kettesével */
@media only screen and (max-width: 980px) {
	.bb-videok {
		grid-template-columns: repeat(2, 1fr);
		gap: 34px 4%;
	}

	.bb-video__cim {
		font-size: 18px;
	}
}

/* Mobil: egymás alatt */
@media only screen and (max-width: 767px) {
	.bb-videok {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.bb-video__keret {
		border-radius: 16px;
	}

	.bb-video__cim {
		margin-top: 14px;
		font-size: 17px;
	}
}

/* YouTube Shorts: álló, 9:16 keret – a 16:9-esben csak fekete sávok lennének. */
.bb-videok--allo {
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
	gap: 40px 4%;
}

.bb-video--allo {
	/* Auto margó helyett justify-self: rácselemen az auto margó zsugorítana. */
	justify-self: center;
	width: 100%;
	max-width: 320px;
	text-align: center;
}

.bb-video--allo .bb-video__keret {
	aspect-ratio: 9 / 16;
}

/* -------------------------------------------------------------------------
 * Közösségi ikonsor a videórács alatt
 * ---------------------------------------------------------------------- */

.bb-kozossegi {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin: 52px 0 0;
	text-align: center;
}

.bb-kozossegi__cim {
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #5ed85e;
}

.bb-kozossegi__lista {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb-kozossegi__elem {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb-kozossegi__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bb-kozossegi__link:hover,
.bb-kozossegi__link:focus-visible {
	background: #5ed85e;
	border-color: #5ed85e;
	color: #1f2a37;
	transform: translateY(-2px);
}

.bb-kozossegi__ikon {
	display: block;
	width: 22px;
	height: 22px;
}

@media only screen and (max-width: 767px) {
	.bb-kozossegi {
		margin-top: 40px;
	}

	.bb-kozossegi__link {
		width: 48px;
		height: 48px;
	}
}
