/* Block: 50/50 Media Shape (acf/fifty-fifty-media)
 * Standalone stylesheet (not part of the SCSS build). Loaded only when the block is on the page.
 * Shape artwork reuses the Tabbed Component backgrounds: assets/images/tab-bg.png / tab-bg-light.png (583x477).
 */
.fifty-fifty-media .fm-shape {
	position: relative;
	width: 100%;
	max-width: 34.5rem;
	aspect-ratio: 583 / 477;
}
.fifty-fifty-media .ff-row.left .fm-shape { margin-right: auto; }
.fifty-fifty-media .ff-row.right .fm-shape { margin-left: auto; }

.fifty-fifty-media .fm-shape::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../assets/images/tab-bg.png") center / contain no-repeat;
	pointer-events: none;
	z-index: 0;
}
.fifty-fifty-media.bg-white .fm-shape::before {
	background-image: url("../assets/images/tab-bg-light.png");
}

.fifty-fifty-media .fm-media {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 91.9%;
	height: 79.2%;
	transform: translate(-50%, -45%);
	border-radius: 1.25rem;
	overflow: hidden;
	z-index: 1;
	background: #0a0b25;
}
.fifty-fifty-media .fm-media .fm-img,
.fifty-fifty-media .fm-media .fm-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
}
.fifty-fifty-media .fm-media.has-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 11, 37, 0.5);
	z-index: 1;
	pointer-events: none;
}

.fifty-fifty-media .fm-logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 55%;
	max-height: 70%;
	z-index: 2;
	line-height: 0;
	pointer-events: none;
}
.fifty-fifty-media .fm-logo img {
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

@media (max-width: 767px) {
	.fifty-fifty-media .fm-shape { margin: 0 auto !important; }
	.fifty-fifty-media .fm-logo { width: 55%; }
}

