/* Component: nl-list — rows come from news.css, pager from cc-list.css */

.nl-list {
  background: #fff;
}

.nl-list__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 60px clamp(20px, 2.78vw, 40px);
}

.nl-list__rows {
  max-width: 1200px;
}

@media (max-width: 640px) {
  .nl-list__inner {
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 40px;
  }
}

/* Keep the whole pager on one line on narrow phones */
@media (max-width: 480px) {
  .nl-list .cc-pager {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .nl-list .cc-pager__arrow,
  .nl-list .cc-pager__page {
    flex: none;
    width: 36px;
    min-width: 36px;
    height: 30px;
    padding: 0;
  }

  .nl-list .cc-pager__arrow img {
    width: 100%;
    height: 100%;
  }
}
