/* ============================================================
   东方好妈妈 · 新闻动态页面
   ============================================================ */

.news-hero {
  position: relative;
  padding: 150px 0 64px;
  overflow: hidden;
  color: var(--cream-50);
  background:
    radial-gradient(760px 420px at 82% -10%, rgba(198, 161, 91, .22), transparent 62%),
    linear-gradient(150deg, var(--wine-950), var(--wine-800) 55%, var(--wine-700));
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(232, 211, 163, .13) 1px, transparent 1.4px);
  background-size: 34px 34px;
  opacity: .32;
  mask-image: radial-gradient(ellipse at 55% 30%, #000 24%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 55% 30%, #000 24%, transparent 80%);
  pointer-events: none;
}

.news-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.news-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: .1em;
}

.news-hero p {
  max-width: 620px;
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 2;
  color: rgba(250, 247, 241, .8);
}

.news-hero-stat {
  padding: 18px 26px;
  border-radius: 14px;
  text-align: center;
  background: rgba(250, 247, 241, .07);
  border: 1px solid rgba(232, 211, 163, .28);
}

.news-hero-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-300);
}

.news-hero-stat span {
  font-size: 12.5px;
  letter-spacing: .2em;
  color: rgba(250, 247, 241, .62);
}

/* ---------- 工具条 ---------- */
.news-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.news-filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--cream-200);
  background: var(--white);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink-700);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.news-filter-btn:hover {
  color: var(--wine-800);
  border-color: var(--gold-500);
}

.news-filter-btn.is-active {
  color: var(--wine-900);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-color: transparent;
}

/* ---------- 列表 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--cream-200);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.news-card[hidden] {
  display: none;
}

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.news-card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(320px 200px at 80% 0%, rgba(198, 161, 91, .3), transparent 62%),
    linear-gradient(150deg, var(--wine-800), var(--wine-950));
}

.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, .61, .36, 1);
}

.news-card:hover .news-card-cover img {
  transform: scale(1.05);
}

.news-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: .3em;
  text-indent: .3em;
  color: var(--gold-300);
  opacity: .8;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 12.5px;
  letter-spacing: .1em;
}

.news-card-meta span {
  padding: 3px 12px;
  border-radius: 999px;
  color: var(--wine-800);
  background: var(--cream-100);
  border: 1px solid rgba(198, 161, 91, .4);
}

.news-card-meta time {
  color: var(--ink-400);
}

.news-card-body h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--wine-800);
}

.news-card-body > p {
  flex: 1;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-600);
}

.news-card-more {
  font-size: 13.5px;
  letter-spacing: .08em;
  color: var(--gold-600);
}

.news-card:hover .news-card-more {
  color: var(--wine-700);
}

.news-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 80px 20px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 15px;
  color: var(--ink-400);
  background: var(--white);
  border: 1px dashed var(--cream-200);
}

/* ---------- 详情 ---------- */
.news-detail-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.news-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13.5px;
  letter-spacing: .06em;
  color: var(--ink-400);
}

.news-crumb a {
  color: var(--gold-600);
}

.news-crumb a:hover {
  color: var(--wine-700);
}

.news-detail-wrap h1 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
  color: var(--wine-800);
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  margin: 0 0 32px;
  border-bottom: 1px solid var(--cream-200);
  font-size: 13.5px;
  letter-spacing: .1em;
}

.news-detail-meta span {
  padding: 4px 14px;
  border-radius: 999px;
  color: var(--wine-800);
  background: var(--cream-100);
  border: 1px solid rgba(198, 161, 91, .4);
}

.news-detail-meta time {
  color: var(--ink-400);
}

.news-cover {
  margin: 0 0 36px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.news-cover img {
  width: 100%;
  height: auto;
}

.news-body {
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: .03em;
  color: var(--ink-700);
}

.news-body p {
  margin: 0 0 22px;
}

.news-body h2 {
  margin: 40px 0 18px;
  padding-left: 16px;
  border-left: 3px solid var(--gold-500);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--wine-800);
}

.news-foot {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 34px;
  margin-top: 44px;
  border-top: 1px solid var(--cream-200);
}

@media (max-width: 1080px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .news-hero {
    padding: 128px 0 52px;
  }

  .news-hero-inner {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .news-hero {
    padding: 116px 0 46px;
  }

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

  .news-card-body {
    padding: 20px 20px 22px;
  }

  .news-hero-stat {
    padding: 14px 20px;
  }

  .news-foot .btn {
    flex: 1 1 100%;
  }
}
