/* LB Heroes */
.lbh {
	position: relative;
	width: 100%;
	overflow: hidden;
	touch-action: pan-y;
}

.lbh[hidden] {
	display: none;
}

/* Todas las diapositivas ocupan la misma celda: la altura la da la imagen,
   sin recortes ni saltos de maquetación. */
.lbh__track {
	display: grid;
}

.lbh__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease, visibility 0s linear .6s;
}

.lbh__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity .6s ease, visibility 0s;
}

.lbh__slide[hidden] {
	display: none;
}

.lbh__link,
.lbh picture {
	display: block;
}

.lbh__img {
	display: block;
	width: 100%;
	height: auto;
}

/* Colores de marca: azul #031B40, acento #0063FF.
   Flechas y puntos. Selectores con «.lbh» delante y todos los estados
   (hover, focus, active) definidos: el reset.css del tema Hello pinta de rosa
   (#c36) cualquier <button> en hover/focus y le añade un anillo blanco. */
.lbh .lbh__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -22px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(3, 27, 64, .55);
	color: #fff;
	box-shadow: none;
	cursor: pointer;
	opacity: 0;
	transition: opacity .2s ease, background-color .2s ease, transform .2s ease;
}

.lbh:hover .lbh__arrow,
.lbh .lbh__arrow:focus-visible {
	opacity: 1;
}

.lbh .lbh__arrow:focus {
	background: rgba(3, 27, 64, .55); /* Tras un clic con mouse no queda resaltada. */
	color: #fff;
	border: 0;
	box-shadow: none;
}

.lbh .lbh__arrow:hover,
.lbh .lbh__arrow:focus-visible,
.lbh .lbh__arrow:active {
	background: #031B40;
	color: #fff;
	border: 0;
	box-shadow: none;
	text-decoration: none;
}

.lbh .lbh__arrow:active {
	transform: scale(.94);
}

.lbh .lbh__arrow[hidden] {
	display: none;
}

.lbh .lbh__arrow--prev { left: 16px; }
.lbh .lbh__arrow--next { right: 16px; }

.lbh .lbh__arrow svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lbh .lbh__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 14px;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 4px;
}

.lbh .lbh__dots[hidden] {
	display: none;
}

/* Área táctil de 24px con punto visible de 10px. */
.lbh .lbh__dot,
.lbh .lbh__dot:hover,
.lbh .lbh__dot:focus,
.lbh .lbh__dot:active {
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}

.lbh .lbh__dot::before {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	margin: auto;
	border-radius: 50%;
	background: rgba(255, 255, 255, .55);
	box-shadow: 0 0 0 1px rgba(3, 27, 64, .35);
	transition: background-color .2s ease, transform .2s ease;
}

.lbh .lbh__dot:hover::before {
	background: rgba(255, 255, 255, .85);
}

.lbh .lbh__dot[aria-current="true"]::before {
	background: #fff;
	transform: scale(1.2);
}

/* Solo con teclado: anillo visible en el color de acento de la marca. */
.lbh .lbh__arrow:focus-visible,
.lbh .lbh__dot:focus-visible {
	outline: 2px solid #0063FF;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px #fff;
}

.lbh .lbh__arrow:focus:not(:focus-visible),
.lbh .lbh__dot:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

@media (hover: none) {
	.lbh .lbh__arrow {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lbh__slide,
	.lbh__slide.is-active {
		transition: none;
	}
}
