.home-banners {
  --control-inset: clamp(0px, 0.8vw, 12px);
  position: relative;
}

.home-banners .banner:not([hidden]) {
  display: block;
}

.home-banners .banner img {
  position: absolute;
  bottom: 0;
  /* Both artworks place the title-to-CTA midpoint just below the image center. */
  height: 102%;
  object-position: left center;
}

.home-banners .banner--dependencia img {
  height: 102.4%;
  object-position: 90% center;
}

.home-banners .banner:focus-visible {
  outline: 2px solid white;
  outline-offset: -4px;
  z-index: 1;
}

.home-banners__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
}

.home-banners__previous {
  inset-inline-start: var(--control-inset);
}

.home-banners__next {
  inset-inline-end: var(--control-inset);
}

.home-banners__control:not([hidden]) {
  display: grid;
  place-items: center;
}

.home-banners__control svg {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  padding: clamp(4px, 0.6vw, 8px);
  border-radius: 50%;
  background: rgb(0 0 0 / 42%);
}

.home-banners__control:is(:hover, :focus-visible) svg {
  background: rgb(0 0 0 / 65%);
}

.home-banners__control:focus-visible {
  outline: 2px solid white;
  outline-offset: -3px;
}
