.news-page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: -28px auto 44px;
}

.news-list-card {
  border-top: 5px solid var(--green);
}

.news-list-card .card-heading {
  padding-bottom: 6px;
}

.news-list-card .card-heading h2 {
  font-size: 1.45rem;
}

.news-list-lead {
  margin: 8px 0 0;
  color: var(--muted);
}

.news-range {
  margin: 10px 22px 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

.news-list-card dl {
  padding-top: 12px;
}

.news-list-card dt {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  overflow-wrap: anywhere;
}

.news-date {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.news-list-card dd {
  overflow-wrap: anywhere;
}

.news-list-card dd > :first-child {
  margin-top: 0;
}

.news-list-card dd > :last-child {
  margin-bottom: 0;
}

.news-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 22px 26px;
}

.news-pager a,
.news-pager .is-current,
.news-pager .is-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font-weight: 800;
}

.news-pager a:hover,
.news-pager a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  text-decoration: none;
}

.news-pager .is-current {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.news-pager .is-disabled {
  color: #9aa4b6;
  background: #f7f9fc;
}

.news-pager .ellipsis {
  min-width: auto;
  color: var(--muted);
}

.news-back-home {
  margin: 0 0 14px;
}

.news-back-home a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  background: #ffffff;
  color: #123053;
  font-weight: 800;
}

.news-back-home a:hover,
.news-back-home a:focus-visible {
  color: #123053;
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 58px;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.28);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 760px) {
  .news-page {
    width: min(100% - 22px, 1180px);
    margin-top: -18px;
  }

  .news-range {
    margin-right: 18px;
    margin-left: 18px;
    text-align: left;
  }

  .news-pager {
    gap: 6px;
    padding-right: 18px;
    padding-bottom: 20px;
    padding-left: 18px;
  }

  .news-pager a,
  .news-pager .is-current,
  .news-pager .is-disabled {
    min-width: 40px;
    min-height: 40px;
    padding: 0 10px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    min-width: 54px;
    min-height: 46px;
    padding: 0 11px;
  }
}
