@charset "utf-8";

.news-section {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 88px 20px;
  background: #f7f8f9;
}

.news-section .news {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.news-section .news-title {
  margin: 0;
  color: #1e1e1e;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.news-section .news-desc {
  max-width: 760px;
  margin: 18px auto 42px;
  color: #616161;
  font-size: 16px;
  line-height: 1.85;
  text-align: center;
}

.news-section .news-list {
  overflow: hidden;
  margin: 0;
  padding: 0 34px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
  font-size: 0;
  list-style: none;
}

.news-section .news-item {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  border-bottom: 1px solid #eceeef;
  font-size: 16px;
}

.news-section .news-item:last-child {
  border-bottom: 0;
}

.news-section .news-link {
  flex: 1;
  min-width: 0;
  color: #1e1e1e;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
  transition: color .2s ease;
}

.news-section .news-link:hover,
.news-section .news-link:focus-visible {
  color: #06c755;
}

.news-section .news-time {
  flex: 0 0 auto;
  color: #777;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.news-section .news-more {
  margin-top: 34px;
  text-align: center;
}

.news-section .news-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  box-sizing: border-box;
  color: #1e1e1e;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.news-section .news-more a:hover,
.news-section .news-more a:focus-visible {
  border-color: #06c755;
  background: #06c755;
  color: #fff;
}

@media only screen and (max-width: 878px) {
  .news-section {
    padding: 64px 20px;
  }

  .news-section .news-title {
    font-size: 28px;
  }

  .news-section .news-desc {
    margin: 14px auto 30px;
    font-size: 14px;
    line-height: 1.75;
  }

  .news-section .news-list {
    padding: 0 20px;
    border-radius: 14px;
  }

  .news-section .news-item {
    display: block;
    min-height: 0;
    padding: 20px 0;
  }

  .news-section .news-link {
    display: block;
    font-size: 15px;
  }

  .news-section .news-time {
    display: block;
    margin-top: 8px;
    font-size: 12px;
  }

  .news-section .news-more {
    margin-top: 26px;
  }
}
