.bc-carousel {
	position: relative;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto 1.5em;
	border-radius: 14px;
	overflow: hidden;
	background: #eef0f3;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}
.bc-viewport {
	overflow: hidden;
	touch-action: pan-y;
}
.bc-track {
	display: flex;
	transition: transform .6s cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}
.bc-slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	aspect-ratio: 1280 / 350;
	overflow: hidden;
}
/* La imagen siempre cubre todo el espacio del banner, sea cual sea su tamaño.
   Se fuerza con !important para que el tema no lo pise (p. ej. img { height: auto }). */
.bc-slide a {
	position: absolute !important;
	inset: 0;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}
.bc-slide img {
	position: absolute !important;
	inset: 0;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center center;
	user-select: none;
	-webkit-user-drag: none;
}

/* Flechas */
.bc-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity .25s, background .25s;
}
.bc-prev { left: 12px; }
.bc-next { right: 12px; }
.bc-carousel:hover .bc-nav,
.bc-nav:focus-visible { opacity: 1; }
.bc-nav:hover { background: rgba(0, 0, 0, .7); }
.bc-nav:focus-visible,
.bc-dot:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Puntos */
.bc-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.bc-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .6);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
	cursor: pointer;
	transition: width .3s, background .3s;
}
.bc-dot[aria-selected="true"] {
	width: 26px;
	background: #fff;
}

/* En pantallas táctiles las flechas no hacen falta (se desliza con el dedo) */
@media (hover: none) {
	.bc-nav { display: none; }
}
@media (max-width: 600px) {
	.bc-carousel { border-radius: 8px; }
	.bc-dots { bottom: 6px; gap: 6px; }
	.bc-dot { width: 8px; height: 8px; }
	.bc-dot[aria-selected="true"] { width: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.bc-track, .bc-dot, .bc-nav { transition: none; }
}
