/**
 * Global Science — News list component
 */

.gs-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gs-news__item {
  border-bottom: 1px solid var(--gs-color-content);
}

.gs-news__link {
  align-items: center;
  color: var(--gs-color-text);
  column-gap: 2rem;
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  padding: 1.25rem 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.gs-news__link:hover,
.gs-news__link:focus-visible {
  opacity: 0.72;
}

.gs-news__date {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.gs-news__title {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.gs-news__arrow {
  font-size: 1rem;
  line-height: 1;
}

.gs-news__action {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

@media (max-width: 1280px) {
  .gs-news__link {
    column-gap: 1rem;
    grid-template-columns: 6.5rem 1fr auto;
    padding-block: 1rem;
  }

  .gs-news__date {
    font-size: 1rem;
  }

  .gs-news__title {
    font-size: 1rem;
  }

  .gs-news__action {
    margin-top: 2rem;
  }
}
