/* 首页新闻动态 — 全屏区块，左图右文卡片 */
.news-teaser--fullscreen {
  min-height: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin-top: var(--space-8);
  padding: var(--space-8) 0 var(--space-7);
  background: var(--color-bg);
  scroll-margin-top: var(--header-height);
}

.news-teaser--fullscreen > .news-teaser__container {
  max-width: min(1680px, 96vw);
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.news-teaser__container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.news-teaser__header {
  text-align: center;
  flex-shrink: 0;
  margin-bottom: var(--space-7);
  padding-top: var(--space-4);
}

.news-teaser__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.news-teaser .section__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.news-teaser__subtitle {
  max-width: 36em;
  margin: 0 auto var(--space-4);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.news-teaser__header-line {
  width: 48px;
  height: 3px;
  margin: 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-border));
}

.news-teaser__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-height: 0;
}

/* 首页：左头条 + 右可滚动列表 */
.news-teaser__featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: stretch;
  min-height: 0;
}

.news-teaser__featured {
  min-width: 0;
  min-height: 0;
  grid-row: 1;
}

.news-teaser__card--featured {
  flex-direction: column;
  min-height: 360px;
  height: 100%;
}

.news-teaser__card--featured .news-teaser__media {
  flex: 1 1 auto;
  max-width: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  height: 100%;
}

.news-teaser__card--featured .news-teaser__media img {
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

/* 头条标题叠在大图底部，避免被布局裁切导致「只见图片不见标题」 */
.news-teaser__featured-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: var(--space-8) var(--space-5) var(--space-4);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.78) 55%, rgba(15, 23, 42, 0.92) 100%);
  color: #fff;
  pointer-events: none;
}

.news-teaser__featured-tag {
  display: inline-block;
  margin-bottom: var(--space-2);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: var(--text-xs);
  line-height: 1.4;
}

.news-teaser__featured-title {
  margin: 0;
  font-size: clamp(1rem, 1.1vw + 0.85rem, 1.35rem);
  font-weight: 650;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-teaser__featured-summary {
  margin: var(--space-2) 0 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-teaser__card--featured:hover .news-teaser__featured-title {
  color: #fff;
}

/*
 * 右侧列表：不要用内容撑高整行（否则永远不会 overflow）。
 * height:0 + min-height:100% 让行高只由左侧头条决定，列表在格子内滚动。
 */
.news-teaser__list-panel {
  grid-row: 1;
  min-width: 0;
  height: 0;
  min-height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.news-teaser__list-scroll {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* 列表滚到顶/底时允许继续滚页面，避免“卡住” */
  overscroll-behavior: auto;
  padding: var(--space-2) 0;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.news-teaser__list-scroll::-webkit-scrollbar {
  width: 8px;
}

.news-teaser__list-scroll::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.28);
  border-radius: 999px;
}

.news-teaser__list-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.news-teaser__list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s ease;
}

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

.news-teaser__list-item:hover {
  background: var(--color-bg-muted, #f5f7fb);
}

.news-teaser__list-main {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.news-teaser__list-tag {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
}

.news-teaser__list-title {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-teaser__list-item:hover .news-teaser__list-title {
  color: var(--color-primary);
}

.news-teaser__list-date {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.news-teaser__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: var(--space-6);
  align-items: stretch;
}

.news-teaser__item {
  min-width: 0;
}

.news-teaser__card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
  min-height: 240px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

.news-teaser__card:hover {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-teaser__media {
  position: relative;
  flex: 0 0 42%;
  max-width: 42%;
  min-height: 240px;
  background: var(--color-bg-muted);
  overflow: hidden;
}

.news-teaser__media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: contain;
  display: block;
  transition: transform 0.45s ease;
}

.news-teaser__card:hover .news-teaser__media img {
  transform: scale(1.04);
}

.news-teaser__date-badge {
  position: absolute;
  left: var(--space-3);
  top: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  line-height: 1.1;
}

.news-teaser__date-day {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.news-teaser__date-ym {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}

.news-teaser__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--space-5) var(--space-6);
  min-width: 0;
}

.news-teaser__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.news-teaser__tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
}

.news-teaser__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.news-teaser__date-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E")
    center / contain no-repeat;
  opacity: 0.75;
}

.news-teaser__date-text {
  white-space: nowrap;
}

.news-teaser__title {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.news-teaser__card:hover .news-teaser__title {
  color: var(--color-primary);
}

.news-teaser__summary {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-teaser__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
}

.news-teaser__read-arrow {
  transition: transform 0.25s ease;
}

.news-teaser__card:hover .news-teaser__read-arrow {
  transform: translateX(4px);
}

/* 资讯服务面板 */
.news-teaser__panel {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "main stats"
    "topics topics";
  gap: var(--space-5) var(--space-7);
  padding: var(--space-6);
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  align-items: start;
}

.news-teaser__panel-main {
  grid-area: main;
  max-width: 420px;
}

.news-teaser__panel-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.news-teaser__panel-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}

.news-teaser__panel-cta {
  display: inline-flex;
}

.news-teaser__stats {
  grid-area: stats;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: flex-end;
}

.news-teaser__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.news-teaser__stat-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

.news-teaser__stat-label {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.news-teaser__topics {
  grid-area: topics;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.news-teaser__topics-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.news-teaser__topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.news-teaser__topic {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.news-teaser__topic:hover {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.news-teaser__topic-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.news-teaser__topic:hover .news-teaser__topic-name {
  color: var(--color-primary);
}

.news-teaser__topic-count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: 2px 8px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
}

.news-teaser__more {
  text-align: center;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .news-teaser__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .news-teaser--fullscreen {
    margin-top: var(--space-6);
    padding: var(--space-6) 0 var(--space-5);
  }

  .news-teaser__header {
    margin-bottom: var(--space-5);
    padding-top: var(--space-2);
  }

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

  .news-teaser__featured,
  .news-teaser__list-panel {
    grid-row: auto;
  }

  .news-teaser__card--featured {
    min-height: 0;
  }

  .news-teaser__featured-caption {
    padding: var(--space-6) var(--space-4) var(--space-3);
  }

  .news-teaser__featured-summary {
    display: none;
  }

  .news-teaser__list-panel {
    height: auto;
    min-height: 0;
    max-height: 280px;
  }

  .news-teaser__card {
    flex-direction: column;
    min-height: 0;
  }

  .news-teaser__media {
    flex: none;
    max-width: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .news-teaser__media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .news-teaser__content {
    padding: var(--space-4);
  }

  .news-teaser__title {
    font-size: var(--text-base);
  }

  .news-teaser__date-text {
    white-space: normal;
  }

  .news-teaser__panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "stats"
      "topics";
    padding: var(--space-4);
  }

  .news-teaser__panel-main {
    max-width: none;
  }

  .news-teaser__stats {
    justify-content: flex-start;
  }

  .news-teaser__stat {
    flex: 1;
    min-width: 0;
  }
}
