/* OG Impact – before/after slider, panorama carousel and iframe embeds. */
.og-media__src { display: none !important; }

/* Before / after (16:9) */
.og-compare__frame {
	--pos: 50%;
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 0;
	background: #1f2b2e;
	cursor: ew-resize;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}
.og-compare__img {
	position: absolute; inset: 0;
	width: 100% !important; height: 100% !important; max-width: none !important;
	object-fit: cover; display: block; pointer-events: none;
}
.og-compare__before {
	position: absolute; inset: 0;
	clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.og-compare__line {
	position: absolute; top: 0; bottom: 0; left: var(--pos);
	width: 3px; margin-left: -1.5px; background: #fff;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.35); pointer-events: none;
}
.og-compare__handle {
	position: absolute; top: 50%; left: 50%;
	width: 44px; height: 44px; margin: -22px 0 0 -22px;
	border-radius: 50%; background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.og-compare__handle::before,
.og-compare__handle::after {
	content: ""; position: absolute; top: 50%; margin-top: -6px;
	border: 6px solid transparent;
}
.og-compare__handle::before { left: 7px; border-right: 8px solid var(--og-kelp, #324b4e); border-left-width: 0; }
.og-compare__handle::after { right: 7px; border-left: 8px solid var(--og-kelp, #324b4e); border-right-width: 0; }
.og-compare__range {
	position: absolute; left: 0; bottom: 0; width: 100%; height: 100%;
	margin: 0; opacity: 0; pointer-events: none;
}
.og-compare__frame:has(.og-compare__range:focus-visible) .og-compare__handle {
	outline: 3px solid var(--og-teal, #00c3d3); outline-offset: 2px;
}

/* Panorama: 2 tiles per view on desktop and tablet, 1 on phones */
.og-pano__viewport { position: relative; border-radius: 24px; overflow: hidden; background: #0e2024; }
.og-pano__track {
	display: flex; overflow-x: auto; overflow-y: hidden;
	scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; overscroll-behavior-x: contain;
	cursor: grab; outline: none;
}
.og-pano__track::-webkit-scrollbar { display: none; }
.og-pano__track.is-grabbing { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.og-pano__track:focus-visible { box-shadow: inset 0 0 0 3px var(--og-teal, #00c3d3); }
.og-pano__tile { flex: 0 0 50%; scroll-snap-align: start; }
.og-pano__tile:nth-child(2n) { scroll-snap-align: none; }
.og-pano__img {
	display: block; width: 100% !important; height: auto !important; max-width: none !important;
	pointer-events: none; user-select: none; -webkit-user-drag: none;
}
@media (max-width: 767px) {
	.og-pano__viewport { border-radius: 16px; }
	.og-pano__tile { flex-basis: 100%; }
	.og-pano__tile:nth-child(2n) { scroll-snap-align: start; }
}
.og-pano .og-pano__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 44px; height: 80px; padding: 0; border: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgba(31, 43, 46, 0.85) !important; color: #fff !important;
	font: 300 40px/1 Roboto, sans-serif; cursor: pointer; box-shadow: none;
}
.og-pano .og-pano__nav span { display: block; margin-top: -6px; }
.og-pano .og-pano__nav:hover,
.og-pano .og-pano__nav:focus-visible { background: var(--og-kelp, #324b4e) !important; color: var(--og-teal-light, #7ae0e8) !important; }
.og-pano .og-pano__nav[hidden] { display: none; }
.og-pano .og-pano__nav--prev { left: 0; border-radius: 0 12px 12px 0; }
.og-pano .og-pano__nav--next { right: 0; border-radius: 12px 0 0 12px; }
.og-pano__dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.og-pano--single .og-pano__dots { display: none; }
.og-pano .og-pano__dot {
	width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
	background: var(--og-line, #e6d8c5) !important; cursor: pointer; box-shadow: none;
}
.og-pano .og-pano__dot.is-active { background: var(--og-teal, #00c3d3) !important; }

/* Iframe embed */
.og-embed__frame {
	display: block; width: 100%; height: var(--og-embed-h, 628px);
	border: 0; border-radius: 24px; background: #e9eef0;
}
@media (max-width: 767px) {
	.og-embed__frame { height: var(--og-embed-h-mobile, 460px); border-radius: 16px; }
}
