/* Insights search and list page states. */

.news-list-heading {
  margin-bottom: 18px;
}

.news-list-heading h1 {
  margin: 0;
  color: #2f3438;
  font-size: 30px;
  line-height: 1.3;
}

.news-pagination.is-hidden {
  display: none;
}

.article-column-tabs,
.article-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-column-tabs {
  padding-bottom: 18px;
  border-bottom: 1px solid #ececec;
}

.article-category-tabs {
  margin-top: 14px;
  padding-bottom: 24px;
}

.article-category-tabs[hidden] {
  display: none;
}

.article-column-tabs button,
.article-category-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #e5e7e9;
  border-radius: 6px;
  background: #ffffff;
  color: #59636c;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.article-column-tabs button:hover,
.article-column-tabs button.is-active,
.article-category-tabs button:hover,
.article-category-tabs button.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: #ffffff;
}

.news-content-board > .news-board-layout {
  margin-top: 28px;
}

.article-list-empty {
  padding: 64px 24px;
  color: #7d858d;
  text-align: center;
}

.news-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e8e8e8;
  background: #ffffff;
  color: #7d828a;
  font: inherit;
  cursor: pointer;
}

.news-pagination button:hover:not(:disabled),
.news-pagination button.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: #ffffff;
}

.news-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 760px) {
  .news-list-heading h1 {
    font-size: 24px;
  }

  .article-column-tabs,
  .article-category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 14px;
  }

  .article-column-tabs button,
  .article-category-tabs button {
    flex: 0 0 auto;
  }
}
