.news-page,
.article-page {
  background: #f7fbfa;
}

.news-hero,
.article-page-header {
  position: relative;
  overflow: hidden;
  padding: 66px 0 58px;
  background:
    linear-gradient(90deg, rgba(223, 243, 239, .9), rgba(247, 251, 250, .98)),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  border-bottom: 1px solid var(--line);
}

.news-hero::after,
.article-page-header::after {
  content: "";
  position: absolute;
  right: 7%;
  top: -90px;
  width: 260px;
  height: 260px;
  border: 48px solid rgba(8, 127, 120, .08);
  border-radius: 50%;
}

.news-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 13px;
}

.news-breadcrumb a:hover {
  color: var(--teal);
}

.news-hero-kicker {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
}

.news-hero h1,
.article-page-header h1 {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.15;
}

.news-hero p {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.news-content {
  padding: 58px 0 84px;
}

.news-page .news-layout,
.article-page .article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 38px;
  align-items: start;
}

.news-results-bar {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 0 4px 15px;
  border-bottom: 2px solid var(--ink);
}

.news-results-bar strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 24px;
}

.news-results-bar span {
  color: var(--muted);
  font-size: 13px;
}

.news-list {
  display: grid;
  gap: 13px;
}

.news-row {
  display: grid;
  grid-template-columns: 182px minmax(0, 1fr) 54px;
  gap: 22px;
  align-items: center;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px 12px 12px 4px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.news-row:hover {
  transform: translateY(-2px);
  border-color: #9bcac3;
  box-shadow: 0 16px 38px rgba(15, 69, 68, .08);
}

.news-row-image {
  display: block;
  overflow: hidden;
  background: var(--mint);
  border-radius: 7px;
}

.news-row-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .35s ease;
}

.news-row:hover .news-row-image img {
  transform: scale(1.035);
}

.news-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.news-row-meta span {
  color: var(--teal);
  font-weight: 750;
}

.news-row-title {
  margin-bottom: 8px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  line-height: 1.42;
}

.news-row-title a:hover {
  color: var(--teal);
}

.news-row-copy p {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-row-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--teal-deep);
  background: var(--mint);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.news-row:hover .news-row-arrow {
  color: white;
  background: var(--teal);
  transform: translateX(3px);
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 30px;
}

.news-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--teal-deep);
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 750;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}

.news-sidebar,
.article-sidebar {
  position: sticky;
  top: 96px;
}

.sidebar-panel {
  margin-bottom: 18px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.sidebar-panel h3 {
  margin-bottom: 19px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--amber);
  font-size: 17px;
}

.sidebar-post-list {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-post-list li {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 10px;
  align-items: start;
}

.sidebar-post-list span {
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 750;
}

.sidebar-post-list a {
  color: #39545a;
  font-size: 14px;
  line-height: 1.6;
}

.sidebar-post-list a:hover {
  color: var(--teal);
}

.sidebar-category-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-category-list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

.sidebar-category-list li:last-child {
  border-bottom: 0;
}

.sidebar-category-list a {
  color: var(--muted);
  font-size: 14px;
}

.sidebar-note {
  color: white;
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}

.sidebar-note strong {
  display: block;
  margin-bottom: 8px;
}

.sidebar-note p {
  margin-bottom: 0;
  color: #c7ddda;
  font-size: 13px;
}

.news-empty {
  padding: 50px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}

.article-page-header {
  padding-top: 54px;
}

.article-page-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 15px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
}

.article-page-lead {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.article-layout {
  padding-top: 48px;
  padding-bottom: 84px;
}

.article-main {
  min-width: 0;
}

.article-featured {
  margin: 0 0 34px;
  overflow: hidden;
  background: var(--mint);
  border-radius: 16px 16px 16px 5px;
}

.article-featured img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.article-content {
  padding: 42px 48px;
  color: #2f474c;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 17px;
  line-height: 1.92;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content > *:last-child {
  margin-bottom: 0;
}

.article-content h2 {
  margin: 42px 0 15px;
  padding-left: 16px;
  border-left: 5px solid var(--teal);
  font-size: 28px;
}

.article-content h3 {
  margin: 32px 0 11px;
  font-size: 21px;
}

.article-content p,
.article-content li {
  color: #405b60;
}

.article-content ul,
.article-content ol {
  padding-left: 23px;
}

.article-content img {
  margin: 26px auto;
  border-radius: 9px;
}

.article-content blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  color: var(--teal-deep);
  background: var(--mint);
  border-left: 4px solid var(--teal);
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  margin-top: 28px;
}

.post-nav-item,
.post-nav-index {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 17px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.post-nav-item span {
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.post-nav-item a {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-nav-next {
  text-align: right;
}

.post-nav-index {
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--teal);
  border-color: var(--teal);
  font-size: 13px;
  font-weight: 750;
}

.related-articles {
  margin-top: 42px;
}

.related-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.related-heading h2 {
  margin: 0;
  font-size: 28px;
}

.related-heading a {
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-card {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.related-card time {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
}

.related-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.related-card h3 a:hover {
  color: var(--teal);
}

.article-toc-note p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .news-page .news-layout,
  .article-page .article-layout {
    grid-template-columns: 1fr;
  }

  .news-sidebar,
  .article-sidebar {
    position: static;
  }

  .sidebar-panel {
    margin-bottom: 14px;
  }
}

@media (max-width: 700px) {
  .news-hero,
  .article-page-header {
    padding: 45px 0 40px;
  }

  .news-content {
    padding: 38px 0 58px;
  }

  .news-results-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .news-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .news-row-title {
    font-size: 17px;
  }

  .news-row-copy p {
    display: none;
  }

  .news-row-arrow {
    display: none;
  }

  .article-layout {
    padding-top: 30px;
  }

  .article-content {
    padding: 28px 22px;
    font-size: 16px;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .post-nav-next {
    text-align: left;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}
