.heurospot,
.heurospot * {
	box-sizing: border-box;
}

.heurospot__canvas {
	position: relative;
	display: inline-block;
	max-width: min(100%, var(--hs-main-max, 100%));
	line-height: 0;
}

.heurospot__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	transition: filter .45s ease, transform .45s ease;
}

.heurospot.hs-appearance-rounded .heurospot__canvas {
	border-radius: 18px;
	overflow: hidden;
}

.heurospot.hs-appearance-shadow .heurospot__canvas {
	border-radius: 7px;
	box-shadow: 0 20px 50px rgba(15, 23, 42, .28), 0 4px 14px rgba(15, 23, 42, .16);
}

.heurospot.hs-appearance-framed .heurospot__canvas {
	border-radius: 3px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, .22);
	outline: 9px solid rgba(255, 255, 255, .92);
	outline-offset: -9px;
}

.heurospot.hs-appearance-monochrome .heurospot__image {
	filter: grayscale(1) contrast(1.08);
}

.heurospot.hs-appearance-monochrome .heurospot__canvas:hover .heurospot__image {
	filter: grayscale(0) contrast(1);
}

.heurospot.hs-appearance-vivid .heurospot__image {
	filter: saturate(1.28) contrast(1.06);
}

.heurospot.hs-animation-fade .heurospot-popup[open] .heurospot-popup__box {
	animation: heurospot-fade-in .75s ease both;
}

.heurospot.hs-animation-zoom .heurospot-popup[open] .heurospot-popup__box {
	animation: heurospot-zoom-in .75s cubic-bezier(.2, .75, .25, 1) both;
}

.heurospot.hs-animation-rise .heurospot-popup[open] .heurospot-popup__box {
	animation: heurospot-rise-in .8s cubic-bezier(.2, .75, .25, 1) both;
}

@keyframes heurospot-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes heurospot-zoom-in {
	from { opacity: 0; transform: scale(.94); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes heurospot-rise-in {
	from { opacity: 0; transform: translateY(28px); }
	to { opacity: 1; transform: translateY(0); }
}

.heurospot__marker {
	position: absolute;
	z-index: 2;
	left: var(--hs-x);
	top: var(--hs-y);
	width: var(--hs-size);
	height: var(--hs-size);
	margin: 0;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, .95);
	background: var(--hs-color);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
	transform: translate(-50%, -50%);
	cursor: pointer;
	opacity: var(--hs-opacity);
	transition: background-color .18s ease, opacity .18s ease, transform .18s ease;
}

.heurospot__marker::after {
	position: absolute;
	inset: -7px;
	border: 2px solid var(--hs-color);
	border-radius: inherit;
	content: '';
	animation: heurospot-pulse 2s ease-out infinite;
}

.heurospot__marker:hover {
	background: var(--hs-hover-color, var(--hs-color));
	transform: translate(-50%, -50%) scale(1.12);
	opacity: var(--hs-hover-opacity, 1);
}

.heurospot__marker:hover::after {
	border-color: var(--hs-hover-color, var(--hs-color));
}

.heurospot__marker:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.heurospot__marker--circle {
	border-radius: 50%;
}

.heurospot__marker--square {
	border-radius: 3px;
}

.heurospot__marker--diamond {
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

@keyframes heurospot-pulse {
	0% { opacity: .8; transform: scale(.75); }
	70%, 100% { opacity: 0; transform: scale(1.35); }
}

.heurospot-popup {
	width: min(var(--hs-popup-max, 680px), calc(100vw - 32px));
	max-width: var(--hs-popup-max, 680px);
	max-height: min(86vh, 850px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
	overflow: visible;
}

.heurospot-popup::backdrop {
	background: rgba(15, 23, 42, .72);
	backdrop-filter: blur(2px);
}

.heurospot-popup.is-open {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: block;
}

.heurospot-popup__box {
	position: relative;
	max-height: min(86vh, 850px);
	border-radius: 8px;
	background: #fff;
	color: #1d2327;
	overflow: auto;
}

.heurospot-popup__close {
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 10px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0 0 3px;
	border: 0;
	border-radius: 50%;
	background: rgba(17, 24, 39, .84);
	color: #fff;
	font: 30px/1 Arial, sans-serif;
	cursor: pointer;
}

.heurospot-popup__close:hover,
.heurospot-popup__close:focus-visible {
	background: #000;
}

.heurospot-popup__article {
	padding: var(--hs-popup-padding, 32px);
}

.heurospot-popup__image {
	display: block;
	width: 100%;
	max-width: var(--hs-popup-image-max, 100%);
	height: auto;
	max-height: 380px;
	margin: 0 auto 26px;
	border-radius: 5px;
	object-fit: cover;
}

.heurospot-popup__title {
	margin: 0 48px 16px 0;
	color: inherit;
	font-size: clamp(1.45rem, 3vw, 2rem);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: .035em;
	text-transform: uppercase;
}

.heurospot-popup__content {
	font-size: 1rem;
	line-height: 1.65;
}

.heurospot-popup__content h1,
.heurospot-popup__content h2,
.heurospot-popup__content h3,
.heurospot-popup__content h4,
.heurospot-popup__content h5,
.heurospot-popup__content h6 {
	margin: 1.25em 0 .45em;
	color: inherit;
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.heurospot-popup__content > :first-child {
	margin-top: 0;
}

.heurospot-popup__content > :last-child {
	margin-bottom: 0;
}

.heurospot-popup__button {
	display: inline-block;
	margin-top: 22px;
	padding: 11px 20px;
	border-radius: 4px;
	background: #2271b1;
	color: #fff !important;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none !important;
}

.heurospot-popup__button:hover,
.heurospot-popup__button:focus-visible {
	background: #135e96;
}

@media (max-width: 520px) {
	.heurospot-popup__article {
		padding: min(var(--hs-popup-padding, 32px), 22px);
	}

	.heurospot-popup__image { margin-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.heurospot__marker,
	.heurospot__marker::after,
	.heurospot-popup__box {
		animation: none;
		transition: none;
	}
}
