/* ==========================================================================
   Hotspot Tabs TV — Frontend Styles
   ========================================================================== */

.htt-widget {
	--htt-accent: #4FA3D1;
	--htt-marker-size: 16px;
	--htt-marker-size-active: 28px;
	--htt-marker-ring: #FFFFFF;

	display: flex;
	align-items: stretch;
	gap: 60px;
	width: 100%;
}

.htt-widget * {
	box-sizing: border-box;
}

/* -------------------- Image column -------------------- */

.htt-image-col {
	flex: 0 0 56%;
	max-width: 56%;
}

.htt-image-frame {
	--htt-image-bg: #F5F1EC;
	--htt-image-border: #BFE0F2;

	position: relative;
	background-color: var(--htt-image-bg);
	border: 1px solid var(--htt-image-border);
	border-radius: 24px;
	overflow: hidden;
	line-height: 0;
}

.htt-image {
	display: block;
	width: 100%;
	height: auto;
}

.htt-markers {
	position: absolute;
	inset: 0;
}

.htt-marker {
	position: absolute;
	transform: translate(-50%, -50%);
	width: var(--htt-marker-size);
	height: var(--htt-marker-size);
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: width 0.25s ease, height 0.25s ease;
	z-index: 2;
}

.htt-marker.htt-active {
	width: var(--htt-marker-size-active);
	height: var(--htt-marker-size-active);
	z-index: 3;
}

.htt-marker-dot {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: var(--htt-marker-color, var(--htt-accent));
	box-shadow: 0 0 0 3px var(--htt-marker-ring);
	transition: background-color 0.25s ease;
}

.htt-marker-ring {
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 1px solid var(--htt-marker-color, var(--htt-accent));
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.htt-marker.htt-active .htt-marker-ring {
	opacity: 0.55;
}

.htt-marker-pulse {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background-color: var(--htt-marker-color, var(--htt-accent));
	opacity: 0;
	pointer-events: none;
}

.htt-marker.htt-active .htt-marker-pulse {
	opacity: 0.5;
	animation: htt-pulse 1.8s ease-out infinite;
	animation-play-state: running;
}

@keyframes htt-pulse {
	0% {
		transform: scale(1);
		opacity: 0.5;
	}
	100% {
		transform: scale(2.2);
		opacity: 0;
	}
}

/* -------------------- Callout box -------------------- */

.htt-callout {
	position: absolute;
	left: 0;
	top: 0;
	transform: translate(-6%, -6%);
	background-color: #FFFFFF;
	border-radius: 12px;
	padding: 16px 20px;
	max-width: 260px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	box-shadow: 0 12px 30px rgba(20, 40, 60, 0.12);
	z-index: 4;
	pointer-events: none;
	transition: left 0.3s ease, top 0.3s ease, opacity 0.2s ease;
}

.htt-callout-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--htt-accent);
}

.htt-callout-text {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 18px;
	line-height: 1.3;
	color: #1F2937;
}

/* -------------------- Content column -------------------- */

.htt-content-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.htt-divider-top {
	width: 100%;
	height: 1px;
	background-color: var(--htt-accent);
	opacity: 0.4;
	margin-bottom: 24px;
}

.htt-header {
	margin-bottom: 32px;
}

.htt-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--htt-accent);
	margin-bottom: 14px;
}

.htt-title {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 40px;
	line-height: 1.15;
	font-weight: 600;
	color: #182B3A;
	margin: 0 0 18px;
}

.htt-description {
	font-size: 16px;
	line-height: 1.65;
	color: #5B6472;
	margin: 0;
	max-width: 460px;
}

/* -------------------- Tabs list -------------------- */

.htt-tabs-list {
	--htt-connector: #DCE7EE;

	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.htt-tab-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px 0;
	border-top: 1px solid #E5E7EB;
	cursor: pointer;
	outline: none;
}

.htt-tab-item:last-child {
	border-bottom: 1px solid #E5E7EB;
}

.htt-tab-bullet {
	position: relative;
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #C9D4DC;
	transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.htt-tab-item.htt-active .htt-tab-bullet {
	background-color: var(--htt-accent);
	box-shadow: 0 0 0 5px rgba(79, 163, 209, 0.18);
	transform: scale(1.1);
}

.htt-tab-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9CA3AF;
	transition: color 0.2s ease;
}

.htt-tab-item.htt-active .htt-tab-label {
	color: #182B3A;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.htt-widget {
		gap: 36px;
	}
	.htt-title {
		font-size: 32px;
	}
}

@media (max-width: 767px) {
	.htt-widget {
		flex-direction: column;
	}
	.htt-image-col,
	.htt-content-col {
		flex: 1 1 auto;
		max-width: 100%;
	}
	.htt-callout {
		max-width: 200px;
		padding: 12px 14px;
	}
	.htt-callout-text {
		font-size: 15px;
	}
	.htt-title {
		font-size: 28px;
	}
	.htt-header {
		margin-bottom: 20px;
	}
}
