/* =========================================================
   Scout – Image Hotspot Map Widget
   ========================================================= */

/* ── Wrapper ─────────────────────────────────────────────── */

.scout-hm-wrap {
	position: relative;
	display: block;
	line-height: 0; /* removes inline image gap */
}

.scout-hm-wrap .scout-hm-image {
	width: 100%;
	height: auto;
	display: block;
}

/* ── Point ───────────────────────────────────────────────── */

.scout-hm-point {
	position: absolute;
	transform: translate(-50%, -50%);
	z-index: 1;
}

.scout-hm-point.is-open {
	z-index: 10;
}

.scout-hm-point--static {
	z-index: 0;
}

/* ── Trigger (dot + label) ───────────────────────────────── */

.scout-hm-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.scout-hm-point--static .scout-hm-trigger {
	cursor: default;
}

.scout-hm-point--static .scout-hm-trigger:hover .scout-hm-dot::before,
.scout-hm-point--static .scout-hm-trigger:hover .scout-hm-dot::after {
	animation: none;
}

.scout-hm-point--static .scout-hm-dot {
	transform: scale(0.75);
}

/* ── Dot ─────────────────────────────────────────────────── */

.scout-hm-dot {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #1a1a1a;
	position: relative;
}

.scout-hm-dot::before,
.scout-hm-dot::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background-color: inherit;
	opacity: 0;
	pointer-events: none;
}

.scout-hm-trigger:hover .scout-hm-dot::before {
	animation: scout-hm-pulse 1.4s ease-out infinite;
}

.scout-hm-trigger:hover .scout-hm-dot::after {
	animation: scout-hm-pulse 1.4s ease-out 0.7s infinite;
}

@keyframes scout-hm-pulse {
	0%   { transform: scale(1);   opacity: 0.55; }
	100% { transform: scale(3.5); opacity: 0; }
}

/* ── Label ───────────────────────────────────────────────── */

.scout-hm-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1a1a1a;
	white-space: nowrap;
	line-height: 1;
	display:none;
}

/* ── Popup ───────────────────────────────────────────────── */

.scout-hm-popup {
	position: absolute;
	top: 0;
	left: 100%;
	margin-left: 16px;
	min-width: 240px;
	background-color: #ffffff;
	z-index: 100;
	box-sizing: border-box;
	border: 1px solid #576873;


	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, visibility 0.18s ease;
}

.scout-hm-point.is-open .scout-hm-popup {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Flip left when near the right edge */
.scout-hm-point.flip-x .scout-hm-popup {
	left: auto;
	right: 100%;
	margin-left: 0;
	margin-right: 16px;
}
.scout-hm-popup .scout-hm-popup-body{
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0 10px 10px;
}
.scout-hm-popup-body .hotspot-popup-heading{
	font-family: 'DM Sans';
	font-size: 20px;
	line-height: 93%;
}

.scout-hm-popup-body .hotspot-popup-text{
	font-family: "DM Sans";
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 136%;
	color: #576873;
}

/* ── Popup close button ──────────────────────────────────── */

button.scout-hm-popup-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	color: #888;
	padding: 2px 4px;
	border-radius:0;
}

.scout-hm-popup-close:hover {
	background-color: #1F3646;
	color:#F8F8F4;
}

/* ── Popup title ─────────────────────────────────────────── */

.scout-hm-popup-title {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1a1a1a;
	margin: 0 0 12px;
	line-height: 1.2;
	padding: 10px 20px 10px 10px;
}

/* ── Popup body ──────────────────────────────────────────── */

.scout-hm-popup-body {
	font-size: 13px;
	color: #444;
	line-height: 1.5;
}

.scout-hm-popup-body p {
	margin: 0 0 10px;
}

.scout-hm-popup-body p:last-child {
	margin-bottom: 0;
}

.scout-hm-popup-body strong {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #1a1a1a;
	margin-bottom: 2px;
}

.scout-hm-popup-body a.download-button{
	font-family: "JetBrains Mono";
	font-size: 15px;
	font-style: normal;
	font-weight: 500;
	line-height: 22.5px;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-top: 10px;
	display: none;
	align-items: center;
	padding-top: 10px;
	padding-bottom: 10px;
	justify-content: center;
	color: #001729;
}
.scout-hm-popup-body .download-button:hover {
	background-color: #1F3646;
	color: #F8F8F4;
}
.scout-hm-popup-body .download-button::after {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M496 576C504.8 576 512 568.8 512 560C512 551.2 504.8 544 496 544L144 544C135.2 544 128 551.2 128 560C128 568.8 135.2 576 144 576L496 576zM308.7 443.3C314.9 449.5 325.1 449.5 331.3 443.3L475.3 299.3C481.5 293.1 481.5 282.9 475.3 276.7C469.1 270.5 458.9 270.5 452.7 276.7L336 393.4L336 80C336 71.2 328.8 64 320 64C311.2 64 304 71.2 304 80L304 393.4L187.3 276.7C181.1 270.5 170.9 270.5 164.7 276.7C158.5 282.9 158.5 293.1 164.7 299.3L308.7 443.3z'/%3E%3C/svg%3E");
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-left: 8px;
	vertical-align: middle;
}
.scout-hm-popup-body .download-button:hover::after {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='%23F8F8F4' d='M496 576C504.8 576 512 568.8 512 560C512 551.2 504.8 544 496 544L144 544C135.2 544 128 551.2 128 560C128 568.8 135.2 576 144 576L496 576zM308.7 443.3C314.9 449.5 325.1 449.5 331.3 443.3L475.3 299.3C481.5 293.1 481.5 282.9 475.3 276.7C469.1 270.5 458.9 270.5 452.7 276.7L336 393.4L336 80C336 71.2 328.8 64 320 64C311.2 64 304 71.2 304 80L304 393.4L187.3 276.7C181.1 270.5 170.9 270.5 164.7 276.7C158.5 282.9 158.5 293.1 164.7 299.3L308.7 443.3z'/%3E%3C/svg%3E");
}

/* =========================================================
   Mobile card list (hidden on desktop, shown ≤ 767px)
   ========================================================= */

.scout-hm-mobile {
	display: none;
}

@media (max-width: 767px) {

	.scout-hm-wrap {
		display: none;
	}

	.scout-hm-mobile {
		display: block;
		padding: 0 20px;
	}

	/* ── Group ───────────────────────────────────────────── */

	.scout-hm-group-title {
		font-family: "DM Sans", sans-serif;
		font-size: 32px!important;
		font-style: normal;
		font-weight: 400;
		line-height: 40.9px;
		margin: 0;
		padding: 16px 0 12px;
	}

	/* ── Card ────────────────────────────────────────────── */

	.scout-hm-card {
		border: 1px solid #576873;
		margin-bottom: 8px;
		background-color: #fffdf8;
	}

	.scout-hm-card:last-child {
		margin-bottom: 16px;
	}

	.scout-hm-card-header {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 12px 10px;
	}

	.scout-hm-card-dot {
		flex-shrink: 0;
		width: 10px;
		height: 10px;
		border-radius: 50%;
	}

	.scout-hm-card-title {
		font-family: "JetBrains Mono", monospace;
		font-size: 17px;
		font-style: normal;
		font-weight: 400;
		line-height: 22.5px;
		letter-spacing: 3.75px;
		text-transform: uppercase;
	}

	.scout-hm-card .scout-hm-popup-body {
		display: flex;
		flex-direction: column;
		gap: 15px;
		padding: 12px 10px;
	}

	.scout-hm-card .scout-hm-popup-body a.download-button {
		justify-content: flex-start;
		padding-bottom:0px;
	}
	.scout-hm-popup-body .download-button:hover{
		background-color: #fffdf8;
		color:#1F3646;
	}
	.scout-hm-popup-body .hotspot-popup-heading{
		padding-left:0px;
		padding-right: 0px;
	}
	.scout-hm-popup-body .hotspot-popup-text{
		padding-left:0px;
		padding-right: 0px;
	}

	.scout-hm-pair{
		display:flex;
		flex-direction: column;
	}

	}