/* Flexa frontend: lightbox triggers + embed wrapper */

.flexa-embed { line-height: 0; }
.flexa-align-left  { margin-right: auto !important; }
.flexa-align-right { margin-left: auto !important; }

.flexa-lb-trigger {
	display: inline-block;
	cursor: pointer;
	border: 0;
	background: none;
	padding: 0;
}
img.flexa-lb-trigger {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	transition: transform .15s ease, box-shadow .15s ease;
}
img.flexa-lb-trigger:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
button.flexa-lb-trigger {
	font: inherit;
	padding: 10px 20px;
	border-radius: 6px;
	background: #2f6bff;
	color: #fff;
}
button.flexa-lb-trigger:hover { background: #1d54e0; }

.flexa-lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(10, 12, 16, .92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(10px, 3vw, 40px);
}
.flexa-lightbox-frame {
	width: 100%;
	height: 100%;
	max-width: 1400px;
	border: 0;
	border-radius: 8px;
	background: #222a36;
}
.flexa-lightbox-close {
	position: absolute;
	top: 16px;
	right: 20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.flexa-lightbox-close:hover { background: rgba(255, 255, 255, .22); }

.flexa-download-row {
	line-height: normal;
	margin-top: 10px;
	text-align: center;
}
.flexa-download-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 6px;
	background: #f0f1f4;
	color: #2f3542;
	text-decoration: none;
	font: 14px/1.2 inherit;
	transition: background .15s ease;
}
.flexa-download-link svg { fill: currentColor; flex: none; }
.flexa-download-link:hover { background: #e2e4ea; color: #2f3542; }
