.page-news {
  background: var(--ivory);
  color: var(--brand);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* 面包屑 */
.page-news .breadcrumb {
  padding-top: 16px;
  font-size: 0.875rem;
  color: var(--grey);
}
.page-news .breadcrumb a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.page-news .breadcrumb a:hover {
  color: var(--terra);
  border-color: var(--terra);
}
.page-news .breadcrumb-sep {
  margin: 0 8px;
  color: var(--gold);
}
.page-news [aria-current="page"] {
  color: var(--grey);
}

/* 页首 */
.page-news .news-head {
  margin: 32px 0 40px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--brand);
  position: relative;
}
.page-news .news-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 96px;
  height: 3px;
  background: var(--gold);
}
.page-news .news-head .page-sub {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.page-news .news-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 16px;
  line-height: 1.2;
}
.page-news .head-desc {
  color: var(--grey);
  max-width: 680px;
  line-height: 1.7;
  margin: 0;
}

/* 双栏布局 */
.page-news .news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.page-news .news-main {
  min-width: 0;
}
.page-news .news-side {
  min-width: 0;
}

/* 最新发布 */
.page-news .featured-post {
  background: var(--brand);
  border: 2px solid var(--brand);
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.page-news .featured-media {
  margin: 0;
  overflow: hidden;
}
.page-news .featured-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}
.page-news .featured-content {
  padding: 28px 24px;
  color: var(--ivory);
}
.page-news .featured-content .badge {
  margin-bottom: 12px;
}
.page-news .featured-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  margin: 12px 0;
  color: var(--ivory);
}
.page-news .featured-content p {
  color: rgba(245, 240, 230, 0.88);
  line-height: 1.7;
  font-size: 0.9375rem;
  margin: 0 0 20px;
}

/* 区块标题 */
.page-news .article-index h2,
.page-news .update-log h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}

/* 文章条目 */
.page-news .article-entry {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--ivory);
  border: 2px solid var(--brand);
  border-left: 6px solid var(--gold);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.page-news .article-entry:hover {
  background: var(--cream);
  border-left-color: var(--terra);
  box-shadow: var(--shadow-sm);
}
.page-news .article-number {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  border-bottom: 1px solid rgba(26, 58, 52, 0.2);
  padding-bottom: 10px;
}
.page-news .article-body {
  min-width: 0;
}
.page-news .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  font-size: 0.8125rem;
  color: var(--grey);
  margin-bottom: 10px;
}
.page-news .article-time,
.page-news .article-views {
  margin-right: 16px;
  position: relative;
}
.page-news .article-time::after,
.page-news .article-views::after {
  content: "·";
  position: absolute;
  right: -10px;
  color: var(--gold);
}
.page-news .article-tag {
  background: var(--terra);
  color: var(--ivory);
  border: 1px solid var(--terra);
  font-size: 0.75rem;
  line-height: 1;
  padding: 4px 10px;
  letter-spacing: 0.04em;
}
.page-news .article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 8px;
  color: var(--brand);
}
.page-news .article-body > p {
  color: var(--grey);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0 0 12px;
}
.page-news .article-details {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(26, 58, 52, 0.25);
}
.page-news .article-details summary {
  cursor: pointer;
  color: var(--red);
  font-weight: 600;
  font-size: 0.875rem;
  user-select: none;
  display: inline-block;
}
.page-news .article-details summary:hover {
  color: var(--brand);
}
.page-news .article-details[open] summary {
  margin-bottom: 10px;
}
.page-news .article-details p {
  margin: 0;
  padding: 10px 10px 10px 14px;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-size: 0.875rem;
  line-height: 1.65;
}
.page-news .article-thumb {
  margin: 0;
  width: 100%;
  max-width: 150px;
  height: 150px;
  overflow: hidden;
  border: 2px solid var(--brand);
  align-self: flex-start;
  flex-shrink: 0;
}
.page-news .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 更多链接 */
.page-news .more-link {
  margin: 24px 0 0;
  padding: 16px 20px;
  background: var(--cream);
  border: 2px solid var(--brand);
  font-size: 0.9375rem;
  color: var(--brand);
  line-height: 1.7;
}
.page-news .more-link a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.page-news .more-link a:hover {
  color: var(--terra);
  border-color: var(--terra);
}

/* 分类索引 */
.page-news .category-index {
  background: var(--cream);
  border: 2px solid var(--brand);
  padding: 20px 20px 24px;
  margin-bottom: 24px;
}
.page-news .category-index h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 16px 0 14px;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 10px;
}
.page-news .category-figure {
  margin: 0;
  width: 100%;
  max-width: 200px;
  overflow: hidden;
  border: 2px solid var(--gold);
}
.page-news .category-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-news .category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-news .category-link {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--ivory);
  border-left: 4px solid var(--gold);
  box-shadow: inset 0 -2px 0 rgba(107, 90, 61, 0.12);
  color: var(--brand);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.page-news .category-link:hover {
  background: var(--brand);
  color: var(--ivory);
  border-left-color: var(--terra);
}
.page-news .category-link:hover .category-desc {
  color: rgba(245, 240, 230, 0.75);
}
.page-news .category-name {
  font-weight: 700;
  font-size: 0.9375rem;
}
.page-news .category-desc {
  font-size: 0.8125rem;
  color: var(--grey);
  margin-top: 2px;
}

/* 技巧速查 */
.page-news .tip-card {
  background: var(--ivory);
  border: 2px solid var(--brand);
  padding: 20px;
  margin-bottom: 24px;
}
.page-news .tip-card h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--red);
  margin: 0 0 12px;
}
.page-news .tip-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--grey);
  margin: 0 0 10px;
}
.page-news .tip-card .btn {
  margin-top: 8px;
}

/* 订阅提示 */
.page-news .subscribe-card {
  background: var(--brand);
  border: 2px solid var(--gold);
  padding: 24px 20px;
  text-align: center;
  color: var(--ivory);
}
.page-news .subscribe-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  margin: 0 0 12px;
}
.page-news .subscribe-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.85);
  margin: 0 0 16px;
}

/* 更新日志 */
.page-news .update-log {
  margin-top: 48px;
}
.page-news .log-figure {
  margin: 0 0 32px;
  overflow: hidden;
  border: 2px solid var(--brand);
}
.page-news .log-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-news .timeline {
  position: relative;
  margin: 20px 0 0 12px;
  padding-left: 28px;
  border-left: 2px solid var(--brand);
}
.page-news .timeline-item {
  position: relative;
  margin-bottom: 28px;
}
.page-news .timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--brand);
}
.page-news .timeline-meta {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
}
.page-news .timeline-copy {
  background: var(--cream);
  border: 1px solid rgba(26, 58, 52, 0.22);
  padding: 14px 16px;
}
.page-news .timeline-copy h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0;
  color: var(--brand);
}
.page-news .timeline-copy p {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--grey);
}

/* 中屏：文章条目横排 */
@media (min-width: 640px) {
  .page-news .article-entry {
    flex-direction: row;
    align-items: flex-start;
  }
  .page-news .article-number {
    border-bottom: none;
    border-right: 1px solid rgba(26, 58, 52, 0.2);
    padding-right: 16px;
    padding-bottom: 0;
    padding-top: 4px;
    min-width: 48px;
  }
}

/* 桌面：最新发布分屏 + 波动错落 */
@media (min-width: 768px) {
  .page-news .featured-post {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
  }
  .page-news .featured-media {
    height: 100%;
  }
  .page-news .featured-media img {
    height: 100%;
    max-height: none;
    object-fit: cover;
  }
  .page-news .featured-content {
    padding: 36px 32px;
  }
  .page-news .article-entry:nth-child(odd) {
    margin-left: 16px;
  }
  .page-news .article-entry:nth-child(even) {
    margin-right: 16px;
  }
}

/* 桌面宽屏：双栏布局 */
@media (min-width: 992px) {
  .page-news .news-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 44px;
  }
}
