.ny-banners {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .2rem .75rem; min-height: 2rem; color: #15478d; background: #ffda02;
  font-size: clamp(.9rem, 2vw, 1.15rem); line-height: 1.25; font-weight: 700; text-align: center;
}
.ny-banner-track { display: grid; min-width: 0; overflow: hidden; }
.ny-banner { grid-area: 1 / 1; align-self: center; overflow-wrap: anywhere; }
.ny-banner[inert] { visibility: hidden; }
.ny-banner p { margin: 0; }
.ny-banner a { color: inherit; text-decoration: underline; }
.ny-banners button { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1.1rem; min-width: 2rem; min-height: 2rem; }
.ny-banners .ny-pause-on-focus:not(:focus-visible) {
  position: absolute; width: 1px; height: 1px; min-width: 0; min-height: 0;
  padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.ny-gallery { width: 100%; min-width: 0; max-width: 100%; position: relative; }
.ny-stage { position: relative; }
.ny-gallery .ny-enlarge { display: block; cursor: zoom-in; touch-action: pan-y pinch-zoom; }
.ny-gallery .ny-enlarge img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: .5rem; }
.ny-gallery button { cursor: pointer; }
.ny-gallery [data-step], .ny-gallery [data-close] {
  position: absolute; z-index: 1; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: #fff; color: #15478d;
  box-shadow: 0 1px 6px #0003; font: 30px/1 sans-serif;
}
.ny-gallery button[data-step] {
  top: 50%; transform: translateY(-50%);
  background: #ffda02; color: #15478d; font-size: 0;
}
.ny-gallery button[data-step]::before {
  content: ""; display: block; width: 24px; height: 24px; margin: auto;
  background-color: currentColor;
  mask: url("./faq-chevron-open.svg") center / contain no-repeat;
}
.ny-gallery button[data-step="-1"]::before { transform: rotate(90deg); }
.ny-gallery button[data-step="1"]::before { transform: rotate(-90deg); }
.ny-gallery button[data-step]:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.ny-gallery [data-step="-1"] { left: .4rem; }
.ny-gallery [data-step="1"] { right: .4rem; }
.ny-gallery [data-close] { top: .5rem; right: .5rem; }
.ny-gallery .ny-thumbs { display: flex; gap: .45rem; overflow-x: auto; }
.ny-gallery .ny-thumbs button {
  flex: 0 0 min(96px, calc((100% - 1.35rem)/4)); padding: 0; margin-top: .5rem;
  border: 3px solid transparent; border-radius: .5rem; overflow: hidden; background: transparent;
}
.ny-gallery .ny-thumbs [aria-current="true"] { border-color: #05963c; }
.ny-gallery .ny-thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ny-gallery dialog { position: fixed; inset: 0; margin: auto; width: min(96vw, 1100px); max-width: 96vw; padding: 0; border: 0; color: white; background: #151515; }
.ny-gallery dialog::backdrop { background: #000d; }
.ny-gallery .ny-full { width: 100%; height: min(80dvh, 850px); display: block; object-fit: contain; }
.ny-count { display: block; padding: .4rem; text-align: center; }
.ny-banners [hidden], .ny-gallery [hidden] { display: none !important; }
@media (max-width: 767px) {
  .ny-gallery .ny-thumbs { justify-content: safe center; }
  .ny-gallery .ny-thumbs button { flex: 0 0 24px; height: 32px; border: 0; background: radial-gradient(circle, #aaa 4px, transparent 5px); }
  .ny-gallery .ny-thumbs [aria-current="true"] { background: radial-gradient(circle, #087d38 5px, transparent 6px); }
  .ny-gallery .ny-thumbs img { display: none; }
}
