/* Jen's Sky Hero — live rotating weather/space band */
.jsh {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 18px;
	overflow: hidden;
	background: #0a0612;
	box-shadow: 0 18px 46px rgba(24, 10, 30, 0.4);
}
.jsh-slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.9s ease;
}
.jsh-slide.is-active { opacity: 1; }
.jsh-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* dark gradient so the caption is always readable */
.jsh-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px 22px;
	background: linear-gradient(180deg, rgba(10, 6, 18, 0.35) 0%, rgba(10, 6, 18, 0) 30%, rgba(10, 6, 18, 0) 55%, rgba(10, 6, 18, 0.82) 100%);
	pointer-events: none;
}
.jsh-overlay .jsh-cta { pointer-events: auto; }

.jsh-live {
	position: absolute;
	top: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 1px;
	color: #fff;
	background: rgba(196, 48, 43, 0.92);
	padding: 5px 11px;
	border-radius: 999px;
}
.jsh-live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	animation: jsh-pulse 1.4s ease-in-out infinite;
}
@keyframes jsh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.jsh-caption { color: #fff; line-height: 1.25; }
.jsh-cap-label {
	display: block;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.4rem;
	font-weight: 700;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.jsh-cap-sub {
	display: block;
	font-size: 0.85rem;
	color: rgba(250, 249, 246, 0.85);
	margin-top: 2px;
}
.jsh-cta {
	align-self: flex-start;
	margin-top: 12px;
	font-size: 0.85rem;
	font-weight: 700;
	color: #fff;
	background: rgba(120, 72, 132, 0.85);
	backdrop-filter: blur(3px);
	padding: 9px 18px;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}
.jsh-cta:hover { background: #784884; transform: translateY(-2px); color: #fff; }

.jsh-dots {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	gap: 7px;
}
.jsh-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.jsh-dot:hover { background: rgba(255, 255, 255, 0.7); }
.jsh-dot.is-active { background: #fff; transform: scale(1.25); }

@media (prefers-reduced-motion: reduce) {
	.jsh-slide { transition: none; }
	.jsh-live-dot { animation: none; }
}
@media (max-width: 700px) {
	.jsh { aspect-ratio: 4 / 3; }
	.jsh-cap-label { font-size: 1.15rem; }
}
