.account-banners {
  min-width: 0;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid var(--line, #e4edf0);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow, 0 12px 30px rgba(23, 33, 43, .06));
}
.account-banners__viewport { display: grid; isolation: isolate; touch-action: pan-y; }
.account-banners__slide {
  position: relative;
  display: grid;
  grid-area: 1 / 1;
  align-content: center;
  min-width: 0;
  min-height: 160px;
  padding: 28px 32px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(115deg, #edf8fb, #fff3e8);
  transition: opacity 600ms ease-in-out;
}
.account-banners__slide--active { z-index: 1; opacity: 1; pointer-events: auto; }
.account-banners__slide--image { aspect-ratio: 5 / 1; align-content: stretch; padding: 0; background: #f3f7f9; }
.account-banners__picture { position: absolute; inset: 0; }
.account-banners__picture[hidden] { display: none; }
.account-banners__picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.account-banners__copy { position: relative; min-width: 0; color: var(--ink, #17212b); overflow-wrap: anywhere; }
.account-banners__slide--image .account-banners__copy {
  align-self: end;
  padding: 24px 32px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
  color: #fff;
}
.account-banners__copy h2 { margin: 0; color: inherit; font-size: clamp(20px, 2.5vw, 28px); line-height: 1.2; }
.account-banners__copy p { margin: 8px 0 0; color: inherit; font-size: 14px; line-height: 1.5; }
.account-banners__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.account-banners__link:focus-visible { outline: 3px solid var(--blue, #087faa); outline-offset: -4px; }
.account-banners__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 6px 12px; }
.account-banners .account-banners__button, .account-banners .account-banners__dot {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: var(--ink, #17212b);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.account-banners__dots { display: flex; flex-wrap: wrap; justify-content: center; }
.account-banners .account-banners__dot { position: relative; min-width: 28px; padding: 0; }
.account-banners__dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #c8d2d8; transition: background 200ms; }
.account-banners__dot[aria-pressed="true"]::after { background: var(--orange, #ff930f); }
.account-banners__button:hover { background: #edf8fb; }
.account-banners__button:focus-visible, .account-banners__dot:focus-visible { outline: 2px solid var(--blue, #087faa); outline-offset: -2px; }
@media (max-width: 720px) {
  .account-banners { border-radius: 16px; }
  .account-banners__slide { min-height: 144px; padding: 22px 20px; }
  .account-banners__slide--image { min-height: 144px; aspect-ratio: 2 / 1; padding: 0; }
  .account-banners__slide--image .account-banners__copy { padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .account-banners__slide, .account-banners__dot::after { transition: none; }
}
