/* THIAGO HAYASHI | v0.1.0 | 18/11/2026 */
@media (min-width: 761px) {
  #noticias .wrap {
    position: relative;
  }
  #noticias .news-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
    cursor: grab;
  }
  #noticias .news-slider::-webkit-scrollbar {
    display: none;
  }
  #noticias .news-slider.arrastando {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
    user-select: none;
  }
  #noticias .news-slider > .news-card {
    flex: 0 0 calc((100% - 72px) / 3.25);
    scroll-snap-align: start;
  }
  #noticias .news-slider img {
    pointer-events: none;
  }
  .news-slider__nav {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin: -8px 0 14px;
  }
  .news-slider__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--ink, #13204a);
    background: #fff;
    color: var(--ink, #13204a);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition:
      background .15s,
      color .15s,
      opacity .15s;
  }
  .news-slider__btn:hover:not(:disabled) {
    background: var(--ink, #13204a);
    color: #fff;
  }
  .news-slider__btn:disabled {
    opacity: .3;
    cursor: default;
  }
  .news-slider__btn:focus-visible {
    outline: 3px solid var(--red, #e4343f);
    outline-offset: 2px;
  }
}
@media (min-width: 761px) and (prefers-reduced-motion: reduce) {
  #noticias .news-slider {
    scroll-behavior: auto;
  }
}
@media (max-width: 760px) {
  .news-slider__nav {
    display: none;
  }
}
