/* 新闻列表 + 详情 */

/* 页面横幅（复用 sub-banner 结构） */
.sub-banner {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3264 / 608;
  min-height: 240px;
  max-height: 380px;
  margin-top: 80px;
  margin-top: var(--header-height);
  overflow: hidden;
  background: #2a1d0e;
}

.sub-banner .bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.72;
}

.sub-banner .content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  z-index: 2;
}

.sub-banner h1 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 6px;
  margin-bottom: 8px;
}

.sub-banner .en {
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--color-primary-light);
  text-transform: uppercase;
}

/* ===== 新闻列表（日期竖排 + 文字排版）===== */
.news-page {
  padding: 56px 0 80px;
}

.news-page-list {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.news-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 28px 16px;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.25s ease;
}

.news-row:hover {
  background: var(--color-bg-soft);
}

.date-col {
  text-align: center;
  border-right: 1px solid var(--color-border);
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.d-day {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-primary);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.4;
  word-break: keep-all;
}

.d-day i {
  font-style: normal;
  color: #cbb489;
  margin: 0 1px;
}

.d-cat {
  display: inline-block;
  align-self: center;
  padding: 2px 10px;
  background: rgba(138, 106, 58, 0.1);
  color: var(--color-primary);
  font-size: 12px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.news-row .info h3 {
  font-size: 17.5px;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.news-row:hover .info h3 {
  color: var(--color-primary);
}

.news-row .info p {
  font-size: 13.5px;
  color: var(--color-text-light);
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-row .info .more {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--color-primary);
  letter-spacing: 1px;
}

/* ===== 新闻详情 ===== */
.news-detail {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.news-detail h1 {
  font-size: 27px;
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.6;
  letter-spacing: 1px;
}

.news-detail .meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.news-detail .meta .cat {
  display: inline-block;
  padding: 2px 12px;
  background: rgba(138, 106, 58, 0.1);
  color: var(--color-primary);
  font-size: 12.5px;
  letter-spacing: 1px;
}

.news-detail .body {
  font-size: 15px;
  line-height: 2.1;
  color: var(--color-text-light);
}

.news-detail .body p {
  margin-bottom: 16px;
  text-indent: 2em;
  text-align: justify;
}

.news-detail .body p.intro {
  font-size: 16px;
  color: var(--color-text);
  text-indent: 0;
  padding-left: 16px;
  border-left: 3px solid var(--color-primary);
  line-height: 2;
}

.news-detail .body h3 {
  font-size: 19px;
  color: var(--color-text);
  margin: 34px 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--color-primary);
}

.news-detail .body img {
  width: 100%;
  margin: 28px 0;
  border-radius: 4px;
}

/* 底部来源 / 备注 */
.news-foot {
  margin-top: 36px;
  padding: 18px 20px;
  background: var(--color-bg-soft);
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.9;
}

.news-foot .nf-source {
  text-align: right;
}

/* 上一篇 / 下一篇 */
.detail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
}

.detail-nav a {
  color: var(--color-text-light);
  text-decoration: none;
}

.detail-nav a:hover {
  color: var(--color-primary);
}

.dn-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  flex: 1;
}

.dn-links a {
  font-size: 13px;
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 480px;
}

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  /* 平板/手机使用 3:2 竖向裁切图，提高横幅高度避免主体被过度裁切 */
  .sub-banner {
    height: clamp(300px, 62vw, 520px);
    max-height: none;
  }

  .sub-banner h1 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .news-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 8px;
  }

  .date-col {
    flex-direction: row;
    align-items: center;
    border-right: none;
    padding-right: 0;
    border-bottom: 1px dashed #e8e2d8;
    padding-bottom: 10px;
    justify-content: flex-start;
  }

  .d-day {
    font-size: 15px;
  }

  .news-detail h1 {
    font-size: 22px;
  }

  .detail-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .dn-links {
    align-items: flex-start;
    text-align: left;
  }

  .dn-links a {
    max-width: 100%;
  }
}
