/* Dog Friendly Lymington promo page */

.lym-hero {
	position: relative;
	width: 100%;
	height: 250px;
	min-height: 200px;
	max-height: 300px;
	overflow: hidden;
	background: #1a1a1a;
	margin-top: 0;
}

@media (min-width: 992px) {
	.lym-hero {
		margin-top: -74px;
		height: 350px;
		max-height: 420px;
	}
}

.lym-hero__parallax {
	position: absolute;
	inset: -8% 0;
	background-image: url("/img/dogfriendly-lymington-hero.webp?6");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

.lym-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.35) 0%,
		rgba(0, 0, 0, 0.08) 45%,
		rgba(0, 0, 0, 0.15) 100%
	);
	pointer-events: none;
}

/* Video player with play overlay */
.lym-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #111;
	overflow: hidden;
	border-radius: 0.375rem;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.lym-video video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #111;
}

.lym-video__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	padding: 1.25rem;
	border: 0;
	background:
		linear-gradient(rgba(20, 40, 10, 0.45), rgba(20, 40, 10, 0.55)),
		url("/vid/dog-friendly-lymington-1min.webp") center / cover no-repeat;
	color: #fff;
	cursor: pointer;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	z-index: 2;
	text-align: center;
}

.lym-video__overlay:hover .lym-video__play-icon,
.lym-video__overlay:focus-visible .lym-video__play-icon {
	transform: scale(1.06);
	background: #2d770d;
}

.lym-video__overlay:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -6px;
}

.lym-video.is-playing .lym-video__overlay {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.lym-video__play-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	background: rgba(45, 119, 13, 0.95);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s ease, background 0.2s ease;
}

.lym-video__play-icon i {
	font-size: 1.6rem;
	margin-left: 0.2rem;
}

.lym-video__prompt {
	font-family: "Nunito Sans", sans-serif;
	font-weight: 700;
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	letter-spacing: -0.2px;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
	margin: 0;
}

.lym-video__prompt-sub {
	font-family: "Open Sans", sans-serif;
	font-size: 0.9rem;
	opacity: 0.9;
	margin: 0;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.lym-vote {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.9rem 2.2rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	border-radius: 0.5rem;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(45, 119, 13, 0.35);
}

.lym-vote:hover {
	box-shadow: 0 8px 22px rgba(45, 119, 13, 0.45);
}

.lym-aside-note {
	border-left: 4px solid #2d770d;
	background: #f4f8f1;
	padding: 1rem 1.15rem;
}
