/* ============================================================
   SamSam Location — frontend styles
   ============================================================ */

.elementor-widget-samsam_location .elementor-widget-container {
	overflow: visible;
}

/* The "bleed" band: stretches edge-to-edge in Full Bleed mode and
   always centers the map pair inside it, same approach as the Iframe
   Overlay Slider plugin so the pair never ends up pinned to a corner. */
.sslw-bleed {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #0b0b0c;
}

.sslw-bleed.sslw-full-bleed {
	width: 100vw !important;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

/* The pair: both maps side by side, visible at the same time, on the
   SAME line — there is no slider/scrub here, both frames simply sit
   next to each other with a gap. flex-wrap is intentionally left off
   here (no default wrap rule) so the two columns never drop onto
   separate lines just because the container got a bit narrow; they
   only ever go vertical inside the explicit max-width media query
   below, and only when "Stack On Mobile" is enabled. */
.sslw-pair {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	gap: 20px;
	box-sizing: border-box;
}

.sslw-column {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.sslw-frame {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	width: 100%;
	height: 420px;
	background-color: #0b0b0c;
}

.sslw-frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* The banner: a stylized ribbon/flag that floats over the top-left
   corner of its map. font-size is the single control (see the widget's
   Banner Size setting) — padding, tail size, and shadow are all set in
   em units below so the whole ribbon scales together as one piece
   instead of needing separate width/height controls. */
.sslw-banner {
	position: absolute;
	top: 16px;
	left: 0;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	max-width: calc(100% - 24px);
	padding: 0.55em 1.2em 0.55em 1em;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #ffffff;
	background-color: #0b6e4f;
	border-radius: 0 0.4em 0.4em 0;
	box-shadow: 0 0.4em 0.9em rgba(0, 0, 0, 0.28);
	pointer-events: none;
}

/* A small folded "ribbon tail" beneath the banner's left edge for a bit
   of dimensional flair — a shade darker than the banner so it reads as
   a fold rather than a flat rectangle. */
.sslw-banner::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -0.5em;
	width: 0;
	height: 0;
	border-left: 0.5em solid transparent;
	border-top: 0.5em solid rgba(0, 0, 0, 0.35);
}

.sslw-empty-notice {
	padding: 60px 20px;
	text-align: center;
	background: #f5f5f5;
	color: #666666;
	border: 1px dashed #cccccc;
	font-size: 14px;
}

@media (max-width: 767px) {
	.sslw-pair.sslw-stack-mobile {
		flex-direction: column;
		flex-wrap: wrap;
	}

	.sslw-pair.sslw-stack-mobile .sslw-column {
		flex: 1 1 auto;
		width: 100%;
	}
}
