.blog-page {
  background: var(--ivory);
}

.blog-page .site-header {
  background: linear-gradient(180deg, rgba(126, 118, 96, 0.98), rgba(100, 94, 77, 0.98));
  border-bottom-color: rgba(255, 253, 247, 0.2);
}

.blog-page .nav-cta {
  color: var(--ink);
  background: var(--ivory);
  border-color: rgba(255, 253, 247, 0.58);
}

.blog-page .lang-en {
  display: none;
}

html[data-lang="en"] .blog-page .lang-zh {
  display: none;
}

html[data-lang="en"] .blog-page .lang-en {
  display: inline;
}

html[data-lang="en"] .blog-page p.lang-en {
  display: block;
}

.news-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(260px, 27vw, 430px);
  margin-top: 0;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 18, 28, 0.72), rgba(12, 18, 28, 0.28) 52%, rgba(12, 18, 28, 0.08)),
    url("../assets/blog-hero-signing.webp") center / cover no-repeat;
  text-align: center;
}

.news-hero-mark {
  display: none;
}

.news-hero-copy {
  position: relative;
  z-index: 1;
}

.news-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 800;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.news-hero p {
  margin: 14px 0 0;
  color: rgba(255, 253, 247, 0.82);
  font-size: 13px;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  width: min(980px, calc(100% - 36px));
  margin: 58px auto 54px;
}

.news-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 42px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 15px;
  transition:
    color var(--ease),
    background var(--ease),
    border-color var(--ease);
}

.news-tabs a:hover {
  color: var(--white);
  background: var(--olive);
  border-color: var(--olive);
}

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

.news-list > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.news-row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.news-thumb {
  display: block;
  overflow: hidden;
  background: var(--paper);
}

.news-thumb img {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  object-fit: cover;
  transition: transform var(--ease);
}

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

.news-copy h3 {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.35;
}

.news-copy h3 a:hover {
  color: var(--olive-dark);
}

.news-copy time {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 15px;
}

.news-copy p {
  max-width: 850px;
  margin: 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.75;
}

.news-featured {
  width: min(1120px, calc(100% - 40px));
  margin: 90px auto 110px;
}

.section-mini-title {
  margin-bottom: 78px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.news-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.news-section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
}

.news-section-head a {
  color: var(--muted);
  font-size: 13px;
}

.news-section-head a:hover {
  color: var(--olive-dark);
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.news-card-grid article {
  min-width: 0;
}

.news-card-grid img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  background: var(--paper);
}

.news-card-grid h3 {
  margin: 16px 0 8px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.news-card-grid h3 a:hover {
  color: var(--olive-dark);
}

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

.news-card-grid p {
  margin: 0;
  color: var(--body);
  font-size: 13px;
  line-height: 1.7;
}

.blog-page .site-footer {
  background: var(--paper);
}

@media (max-width: 980px) {
  .news-row {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .news-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .news-hero {
    min-height: 190px;
  }

  .news-tabs {
    gap: 12px;
    margin: 36px auto 26px;
  }

  .news-tabs a {
    min-width: calc(50% - 8px);
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  .news-copy h3 {
    font-size: 21px;
  }

  .news-featured {
    margin-top: 58px;
  }

  .section-mini-title {
    margin-bottom: 42px;
  }

  .news-section-head {
    align-items: flex-start;
    gap: 14px;
  }

  .news-card-grid {
    grid-template-columns: 1fr;
  }
}
