/* F2 VC Slider */
.f2s {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #0b1a2a;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
}
.f2s__stage {
	position: relative;
	width: 100%;
	aspect-ratio: var(--f2s-ar, 1920 / 780);
	min-height: var(--f2s-min-h, 300px);
	overflow: hidden;
}
@media (max-width: 767px) {
	.f2s__stage { aspect-ratio: var(--f2s-ar-m, 4 / 3); min-height: var(--f2s-min-h-m, 220px); }
}

.f2s__slide {
	position: absolute;
	inset: 0;
	visibility: hidden;
	z-index: 1;
	overflow: hidden;
}
.f2s__slide.is-active { visibility: visible; z-index: 2; }
.f2s__slide.is-leaving { visibility: visible; z-index: 1; }
.f2s__slide.is-entering { visibility: visible; z-index: 3; }

.f2s__bg,
.f2s__slot-inner {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: var(--f2s-pos, center center);
	will-change: transform, opacity;
}

/* Ken Burns (driven by JS) – zoom toward the slide's focal point */
.f2s__bg { transform-origin: var(--f2s-pos, center center); backface-visibility: hidden; }

/* Slots (generated by JS) */
.f2s__slots { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.f2s__slot { position: absolute; overflow: hidden; }

/* Overlay shade for sliding overlay */
.f2s__shade {
	position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 5;
}

/* Cover link */
.f2s__cover-link { position: absolute; inset: 0; z-index: 6; }

/* Caption */
.f2s__caption {
	position: absolute;
	left: 8%;
	right: 8%;
	bottom: 18%;
	z-index: 7;
	color: #fff;
	max-width: 720px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.f2s__title { margin: 0 0 .4em; font-size: clamp(24px, 3.4vw, 48px); line-height: 1.2; color: inherit; }
.f2s__subtitle { margin: 0 0 1.2em; font-size: clamp(14px, 1.3vw, 18px); line-height: 1.7; }
.f2s__btn {
	display: inline-block; padding: .75em 1.8em; border: 1px solid #fff; color: #fff;
	text-decoration: none; text-shadow: none; transition: background .3s, color .3s;
}
.f2s__btn:hover { background: #fff; color: #0b1a2a; }
.f2s__caption > * { opacity: 0; transform: translateY(30px); }
.f2s__slide.is-active.is-shown .f2s__caption > * {
	opacity: 1; transform: none;
	transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.f2s__slide.is-active.is-shown .f2s__caption > :nth-child(2) { transition-delay: .15s; }
.f2s__slide.is-active.is-shown .f2s__caption > :nth-child(3) { transition-delay: .3s; }

/* Arrows – square style (persephone-like) */
.f2s__arrow {
	position: absolute; top: 50%; z-index: 10;
	width: 40px; height: 40px; margin-top: -20px; padding: 0;
	background: rgba(247, 247, 247, .5); border: 1px solid #e5e5e5;
	cursor: pointer; transition: background .3s;
	display: flex; align-items: center; justify-content: center;
}
.f2s__arrow:hover { background: rgba(0, 0, 0, .55); }
.f2s__arrow--prev { left: 20px; }
.f2s__arrow--next { right: 20px; }
.f2s__arrow span {
	width: 10px; height: 10px; border-top: 2px solid #000; border-left: 2px solid #000;
	transition: border-color .3s;
}
.f2s__arrow:hover span { border-color: #fff; }
.f2s__arrow--prev span { transform: translateX(2px) rotate(-45deg); }
.f2s__arrow--next span { transform: translateX(-2px) rotate(135deg); }
.f2s:not(:hover) .f2s__arrow { opacity: .85; }

/* Bullets – round style (hesperiden-like) */
.f2s__bullets {
	position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
	z-index: 10; display: flex; gap: 10px;
}
.f2s__bullet {
	width: 12px; height: 12px; padding: 0; border-radius: 50%;
	border: 3px solid #e5e5e5; background: linear-gradient(#999, #e1e1e1);
	cursor: pointer; transition: background .3s, border-color .3s;
}
.f2s__bullet:hover,
.f2s__bullet.is-active { background: var(--f2s-accent, #fff); border-color: var(--f2s-accent, #fff); }

/* Timer bar */
.f2s__timer {
	position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 10;
	background: rgba(0, 0, 0, .15);
}
.f2s__timer span {
	display: block; height: 100%; width: 100%;
	background: var(--f2s-accent, #fff); opacity: .6;
	transform: scaleX(0); transform-origin: left center;
}

.f2s__arrow:focus-visible,
.f2s__bullet:focus-visible { outline: 2px solid var(--f2s-accent, #fff); outline-offset: 2px; }

@media (max-width: 767px) {
	.f2s__arrow { width: 32px; height: 32px; margin-top: -16px; }
	.f2s__arrow--prev { left: 10px; }
	.f2s__arrow--next { right: 10px; }
	.f2s--hide-arrows-m .f2s__arrow { display: none; }
	.f2s__bullets { bottom: 12px; gap: 8px; }
	.f2s__bullet { width: 10px; height: 10px; border-width: 2px; }
	.f2s__timer { height: 3px; }
	.f2s__caption { left: 6%; right: 6%; bottom: 40px; }
	.f2s__title { font-size: 22px; }
	.f2s__subtitle { font-size: 14px; line-height: 1.5; margin-bottom: .8em; }
	.f2s__btn { padding: .55em 1.3em; font-size: 14px; }
	/* bigger tap targets without changing visual size */
	.f2s__bullet { position: relative; }
	.f2s__bullet::after { content: ""; position: absolute; inset: -10px; }
}

