/*
Theme Name: Asia Review
Theme URI: https://asia-review.example/
Author: Asia Review Team
Author URI: https://asia-review.example/
Description: 亚洲评论 Asia Review — 资讯网站主题（1:1 复刻线上站 http://38.54.85.174/，见 WORDPRESS开发提示词与步骤.md v1.3.1）
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.3
License: GPL-2.0-or-later
Text Domain: asia-review
Tags: news, editorial, traditional-chinese
*/

:root {
  --paper: #f3f0e9;
  --paper-bright: #faf8f3;
  --ink: #191a1c;
  --ink-soft: #303238;
  --muted: #6f706f;
  --line: #c9c5bc;
  --red: #8f1f24;
  --red-dark: #651419;
  --sand: #aa8654;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body:has(.search-overlay) {
  overflow: hidden;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  border-radius: 0;
}

svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem clamp(1.25rem, 4vw, 4.75rem);
  background: var(--ink);
  color: #f6f2ea;
  font-size: 0.69rem;
  letter-spacing: 0.1em;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 108px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 4.75rem);
  border-bottom: 1px solid var(--ink);
  background: rgba(243, 240, 233, 0.97);
}

.brand {
  width: fit-content;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-zh {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand-en {
  margin-top: 0.45rem;
  color: var(--red);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.5rem);
  font-size: 0.88rem;
  font-weight: 650;
}

.desktop-nav a,
.icon-action {
  position: relative;
  transition: color 160ms ease;
}

.desktop-nav a::after,
.icon-action::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--red);
  transition: transform 160ms ease;
}

.desktop-nav a:hover,
.icon-action:hover {
  color: var(--red);
}

.desktop-nav a:hover::after,
.icon-action:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.icon-action {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
}

.subscribe-button {
  padding: 0.72rem 1rem;
  border: 1px solid var(--red);
  background: var(--red);
  color: white;
  font-size: 0.75rem;
  font-weight: 750;
  transition: background 160ms ease, color 160ms ease;
}

.subscribe-button:hover {
  background: transparent;
  color: var(--red);
}

.menu-button {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  z-index: 15;
  right: 0;
  left: 0;
  display: grid;
  visibility: hidden;
  transform: translateY(-12px);
  opacity: 0;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-bright);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.mobile-menu.is-open {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: center;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.mobile-menu a span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 0.65rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--paper-bright);
  font-size: 0.76rem;
}

.signal-label {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 1.4rem 0 clamp(1.25rem, 4vw, 4.75rem);
  background: var(--red);
  color: white;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.signal-track {
  display: flex;
  gap: 2.4rem;
  min-width: 0;
  padding: 0.7rem 1.5rem;
  overflow: hidden;
  white-space: nowrap;
}

.signal-track span {
  position: relative;
}

.signal-track span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.3rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}

.page-shell {
  width: min(1440px, calc(100% - clamp(2.5rem, 8vw, 9.5rem)));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  padding: clamp(2.25rem, 5vw, 5rem) 0 4rem;
}

.lead-story {
  border-bottom: 1px solid var(--ink);
}

.lead-art {
  position: relative;
  min-height: clamp(280px, 34vw, 470px);
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(25, 26, 28, 0.1) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(22deg, #26282c 0%, #4b3434 44%, #971f25 100%);
  isolation: isolate;
}

.lead-art::before,
.lead-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(250, 248, 243, 0.24);
  border-radius: 50%;
}

.lead-art::before {
  width: 70%;
  aspect-ratio: 1;
  top: -24%;
  right: -8%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.025), 0 0 0 100px rgba(255, 255, 255, 0.02);
}

.lead-art::after {
  width: 35%;
  aspect-ratio: 1;
  bottom: -12%;
  left: 8%;
}

.map-word {
  position: absolute;
  z-index: -1;
  color: rgba(255, 255, 255, 0.06);
  font-family: Georgia, serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.map-word-one {
  top: 15%;
  left: 7%;
  font-size: clamp(2.6rem, 7vw, 7rem);
}

.map-word-two {
  right: 8%;
  bottom: 11%;
  font-size: clamp(3rem, 9vw, 9rem);
}

.map-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid #f8ded9;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.dot-one { top: 29%; left: 63%; }
.dot-two { top: 61%; left: 47%; }
.dot-three { top: 48%; left: 76%; }

.map-route {
  position: absolute;
  height: 1px;
  transform-origin: left;
  background: rgba(255, 238, 231, 0.48);
}

.route-one { width: 32%; top: 35%; left: 48%; transform: rotate(28deg); }
.route-two { width: 27%; top: 62%; left: 47%; transform: rotate(-26deg); }

.art-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.lead-copy {
  padding: 1.5rem 0 1.75rem;
}

/* X-48 头条大图（后台轮播/封面图）：有图时覆盖装饰色块 */
.lead-art.has-slides {
  background: #26282c;
}

.lead-art.has-slides::before,
.lead-art.has-slides::after {
  display: none;
}

.lead-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 34vw, 470px);
}

.lead-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.lead-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.lead-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.lead-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 720px) {
  .lead-slide-img {
    object-fit: cover;  /* X-49n：容器已是 16:9，cover 完整铺满不裁字 */
  }
  .lead-art.has-slides {
    background: #14161a;
  }
}

.lead-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 1.5rem 0.8rem;
  background: linear-gradient(0deg, rgba(20, 21, 23, 0.82), transparent);
  color: #faf8f3;
  font-family: Georgia, 'Songti SC', 'Noto Serif TC', serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(250, 248, 243, 0.72);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.slide-nav:hover {
  color: #c9a227;
}

.slide-nav:active {
  transform: translateY(-50%) scale(0.92);
}

.slide-prev { left: 0.9rem; }
.slide-next { right: 0.9rem; }

.slide-dots {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(250, 248, 243, 0.45);
  cursor: pointer;
  transition: background 0.25s ease, width 0.3s ease;
}

.slide-dot:hover {
  background: rgba(250, 248, 243, 0.8);
}

.slide-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: #c9a227;
}

@media (max-width: 430px) {
  .slide-nav {
    display: none !important;  /* X-49m：手机端去掉圆圈箭头，只保留底部圆点切换 */
  }
  .lead-slide figcaption {
    font-size: 0.85rem;
  }
}

.eyebrow,
.mini-label {
  color: var(--red);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.lead-copy h1 {
  max-width: 18ch;
  margin: 0.65rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.lead-summary {
  max-width: 55rem;
  margin: 0;
  color: #4f5051;
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  line-height: 1.85;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.text-link {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
}

.text-link svg {
  transition: transform 160ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.section-kicker {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.9rem;
  border-bottom: 3px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.section-kicker span:last-child {
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
}

.briefing-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.15rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.briefing-thumb {
  min-height: 102px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.55rem;
  color: rgba(255, 255, 255, 0.74);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  background: var(--red);
}

.briefing-thumb.ink { background: #303238; }
.briefing-thumb.sand { background: var(--sand); }

.briefing-card h2 {
  margin: 0.35rem 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.55;
}

.briefing-card a {
  color: var(--muted);
  font-size: 0.66rem;
}

.briefing-card a:hover {
  color: var(--red);
}

.latest-section,
.topics-section {
  padding: 1rem 0 6rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--ink);
}

.section-heading > div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.section-number {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.section-heading h2,
.analysis-intro h2,
.region-copy h2,
.about-statement h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 3.65rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.section-note {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.topic-filter {
  display: flex;
  gap: 0.5rem;
  padding: 1.2rem 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.topic-filter button {
  flex: 0 0 auto;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.7rem;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.topic-filter button:hover,
.topic-filter button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--ink);
  /* X-49g：补全方框（左右缘竖线），行间横线由卡片 border-bottom 提供 */
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.latest-card {
  position: relative;
  min-height: 330px;
  border-bottom: 1px solid var(--line);  /* X-49g 行间横线 */
  /* X-49h：第一列也加左 padding，与后续列内容对齐（不再贴左边框） */
  padding: 1.6rem 2rem 1.7rem 2rem;
  display: flex;
  flex-direction: column;
}

.latest-card + .latest-card {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

/* 最后一行去底边框由 JS 标记（原 nth-last-child(-n+3) 假设固定 3 列，筛选后数量不定会错乱——2026-08-20 修复） */
.latest-card.is-last-row {
  border-bottom: 0;
}

/* 单卡片：全宽布局（筛选后只有 1 篇时不挤 1/3 列） */
.latest-grid.single {
  grid-template-columns: 1fr;
}
.latest-grid.single .latest-card {
  min-height: auto;
}

.latest-index {
  position: absolute;
  top: 1.3rem;
  right: 1rem;
  color: #b9b5ac;
  font-family: Georgia, serif;
  font-size: 1.7rem;
}

.card-labels {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.65rem;
}

.card-labels span + span::before {
  content: "·";
  margin-right: 0.65rem;
}

.latest-card h3 {
  max-width: 19ch;
  margin: 1rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.6rem);
  line-height: 1.5;
}

.latest-card p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.65rem;
}

.card-footer a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background 150ms ease, color 150ms ease;
}

.card-footer a:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.analysis-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  margin: 0 calc(clamp(1.25rem, 4vw, 4.75rem) * -1);
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 4vw, 4.75rem);
  background: var(--ink);
  color: var(--paper-bright);
}

.analysis-intro {
  align-self: center;
}

.analysis-intro h2 {
  max-width: 14ch;
  margin-top: 1rem;
}

.analysis-intro > p {
  max-width: 36rem;
  margin: 1.4rem 0 0;
  color: #bab9b5;
  font-size: 0.9rem;
  line-height: 1.9;
}

.analysis-board {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 3.25rem);
  border: 1px solid #68686a;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 100%,
    #242629;
}

.analysis-board::after {
  content: "";
  position: absolute;
  width: 260px;
  aspect-ratio: 1;
  top: -150px;
  right: -80px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.018), 0 0 0 90px rgba(255, 255, 255, 0.012);
}

/* X-49 判读板背景图：上传图 cover 铺满，内容浮于上层（红框区域可轮播） */
.analysis-board.has-bg {
  padding: 0;
  background: #242629;
}

.analysis-board.has-bg::after {
  display: none;
}

.analysis-board.has-bg .board-content {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 3.5vw, 3.25rem);
  background: rgba(20, 21, 23, 0.55);
}

@media (max-width: 720px) {
  .analysis-board.has-bg .board-content {
    background: rgba(20, 21, 23, 0.35);  /* X-49m：手机端降低叠加，让背景轮播可见 */
  }
}

.board-bg-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.board-bg-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.6s ease, visibility 0.6s ease;
}

.board-bg-slide.is-prev {
  transform: translateX(-100%);
}

.board-bg-slide.is-active {
  transform: translateX(0);
  visibility: visible;
}

.board-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.analysis-board.has-bg .slide-nav {
  z-index: 2;
  background: transparent;
}

.analysis-board.has-bg .slide-dots {
  z-index: 2;
}

.board-header {
  display: flex;
  justify-content: space-between;
  color: #9c9b98;
  font-size: 0.56rem;
  letter-spacing: 0.17em;
}

.analysis-board h3 {
  position: relative;
  z-index: 1;
  max-width: 17ch;
  margin: 2.6rem 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.35;
}

.signal-row {
  display: grid;
  grid-template-columns: 6rem 1fr 5rem;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid #555659;
  font-size: 0.68rem;
}

.signal-row strong {
  color: #e1d0ac;
  font-weight: 650;
  text-align: right;
}

.signal-line {
  height: 4px;
  background: #44464a;
}

.signal-line i {
  height: 100%;
  display: block;
  background: var(--red);
}

.board-conclusion {
  margin-top: 1.6rem;
  padding: 1.2rem;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.05);
}

.board-conclusion span {
  color: #c7b082;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.board-conclusion p {
  margin: 0.5rem 0 0;
  color: #d4d3d0;
  font-size: 0.77rem;
  line-height: 1.75;
}

.topics-section {
  padding-top: 7rem;
}

.topic-directory {
  border-bottom: 1px solid var(--ink);
}

.topic-row {
  width: 100%;
  display: grid;
  grid-template-columns: 5rem minmax(180px, 0.7fr) 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 160ms ease, padding 160ms ease;
}

.topic-row:first-child {
  border-top: 0;
}

.topic-row:hover {
  padding-right: 0.7rem;
  padding-left: 0.7rem;
  color: var(--red);
}

.topic-number {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 0.7rem;
}

.topic-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 800;
}

.topic-description {
  color: var(--muted);
  font-size: 0.78rem;
}

.regions-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: 5rem 0 7rem;
  border-top: 1px solid var(--ink);
}

.region-copy {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.region-copy h2 {
  max-width: 9ch;
  margin-top: 1rem;
}

.region-copy p {
  max-width: 28rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.85;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.region-card {
  position: relative;
  min-height: 235px;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: background 170ms ease, color 170ms ease;
}

.region-card:hover {
  background: var(--red);
  color: white;
}

.region-card:hover p,
.region-card:hover .region-count,
.region-card:hover .region-index {
  color: rgba(255, 255, 255, 0.72);
}

.region-count {
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.region-index {
  position: absolute;
  top: 1.25rem;
  right: 1.4rem;
  color: #b9b5ac;
  font-family: Georgia, serif;
}

.region-card h3 {
  margin: auto 0 0.55rem;
  font-family: var(--serif);
  font-size: 1.65rem;
}

.region-card p {
  max-width: 21rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.65;
}

.region-card svg {
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
}

.authors-section {
  margin: 0 calc(clamp(1.25rem, 4vw, 4.75rem) * -1);
  padding: 5rem clamp(1.25rem, 4vw, 4.75rem) 6rem;
  background: #e5ded0;
}

.author-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ink);
  /* X-49h：补全左右边框线（完整方框） */
  border-left: 1px solid #b4ad9f;
  border-right: 1px solid #b4ad9f;
}

.author-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 1.25rem;
  /* X-49h：第一列也加左 padding，与其他列对齐 */
  padding: 2rem 2rem 2rem 2rem;
  /* X-49h3：行间横线 */
  border-bottom: 1px solid #b4ad9f;
}

.author-card + .author-card {
  padding-left: 2rem;
  border-left: 1px solid #b4ad9f;
}

/* X-49h3：最后一行（最后 3 张）无底边框，由 grid 底部深线兜底 */
.author-card:nth-last-child(-n+3) {
  border-bottom: 0;
}

.author-mark {
  width: 82px;
  height: 108px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.7rem;
  background: var(--ink);
  /* X-49j：提升特异性，避免被 .author-card a 的红色覆盖（红底红字不可见） */
  color: #c2a56f !important;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.author-card > div:last-child > span {
  color: var(--red);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.author-card h3 {
  margin: 0.45rem 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.author-card p {
  min-height: 4rem;
  margin: 0;
  color: #5d5c59;
  font-size: 0.74rem;
  line-height: 1.75;
}

.author-card a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 800;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  gap: clamp(3rem, 7vw, 8rem);
  padding: 7rem 0;
}

.about-statement h2 {
  max-width: 12ch;
  margin-top: 1rem;
}

.about-copy > p {
  max-width: 46rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.75;
}

.principles {
  margin-top: 3rem;
  border-top: 1px solid var(--ink);
}

.principles > div {
  display: grid;
  grid-template-columns: 3rem 7rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.principles span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 0.65rem;
}

.principles strong {
  font-size: 0.8rem;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 8vw, 9rem);
  align-items: end;
  /* X-49f：与 authors/analysis 等区块对齐（全宽红色块，不再比上层窄） */
  margin: 0 calc(clamp(1.25rem, 4vw, 4.75rem) * -1);
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.25rem, 4vw, 4.75rem);
  background: var(--red);
  color: white;
}

.newsletter > div:first-child > span {
  color: #e7c1b7;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.newsletter h2 {
  max-width: 13ch;
  margin: 0.8rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.newsletter > div:first-child > p {
  max-width: 39rem;
  margin: 0;
  color: #efdcd6;
  font-size: 0.8rem;
  line-height: 1.8;
}

.newsletter-form label {
  display: block;
  margin-bottom: 0.7rem;
  color: #efdcd6;
  font-size: 0.65rem;
}

.newsletter-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.newsletter-form input {
  min-width: 0;
  height: 54px;
  padding: 0 1rem;
  border: 1px solid white;
  border-right: 0;
  outline: none;
  background: transparent;
  color: white;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.57);
}

.newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1.2rem;
  border: 1px solid white;
  background: white;
  color: var(--red);
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 800;
}

.newsletter-form small {
  display: block;
  margin-top: 0.7rem;
  color: #e9c8c0;
  font-size: 0.58rem;
}

.subscribe-success {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.subscribe-success span {
  color: #e9c8c0;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.subscribe-success strong {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.subscribe-success button {
  margin-top: 1.2rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #f0d5ce;
  cursor: pointer;
  font-size: 0.65rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 3rem;
  align-items: center;
  padding: 3rem clamp(1.25rem, 4vw, 4.75rem);
  background: var(--ink);
  color: white;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.07em;
}

.footer-brand span {
  margin-top: 0.35rem;
  color: #ba4c50;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.site-footer > p {
  color: #a9a9a6;
  font-size: 0.68rem;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.65rem;
}

.site-footer nav a:hover {
  color: #d57d7f;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid #3c3d40;
  color: #76777a;
  font-size: 0.56rem;
}

.search-overlay {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: flex;
  justify-content: flex-end;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(12, 13, 14, 0.72);
  cursor: default;
}

.search-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 660px);
  height: 100%;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  overflow-y: auto;
  background: var(--paper-bright);
  animation: panel-in 220ms ease both;
}

@keyframes panel-in {
  from { transform: translateX(30px); opacity: 0; }
}

.search-panel-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.search-panel-head button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
}

.search-panel > label {
  display: block;
  margin: 3rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.67rem;
}

.search-input-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--ink);
}

.search-input-wrap input {
  width: 100%;
  padding: 0.75rem 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
}

.search-results {
  margin-top: 2.5rem;
}

.search-results > span {
  color: var(--red);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.search-results > a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.2rem 3rem 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.search-results > a span {
  color: var(--muted);
  font-size: 0.62rem;
}

.search-results > a strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
}

.search-results > a svg {
  position: absolute;
  top: 50%;
  right: 0;
}

.search-results > a:hover strong {
  color: var(--red);
}

.search-results > p {
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 1.25rem;
  }

  .latest-card {
    min-height: 370px;
  }

  .analysis-section {
    grid-template-columns: 1fr 1.25fr;
  }

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

  .author-card p {
    min-height: 5.3rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

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

  .briefing-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .section-kicker {
    grid-column: 1 / -1;
  }

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

  .briefing-thumb {
    min-height: 130px;
  }

  .analysis-section,
  .regions-section,
  .about-section,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .region-copy {
    position: static;
  }

  .region-copy h2,
  .about-statement h2 {
    max-width: 14ch;
  }

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

  .author-card,
  .author-card + .author-card {
    grid-template-columns: 82px 1fr;
    padding: 1.5rem 1rem;
    border-left: 0;
    border-top: 1px solid #b4ad9f;
  }

  .author-card:first-child {
    border-top: 0;
  }

  .author-card,
  .author-card:nth-last-child(-n+3) {
    border-bottom: 0;
  }
  .author-card:last-child {
    border-bottom: 0;
  }

  .author-card p {
    min-height: 0;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .site-footer nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .utility-note,
  .search-button span {
    display: none;
  }

  /* X-42：手机端左侧放日期（同 PC 端两端布局，不再空黑） */
  .utility-date {
    display: initial;
  }
  .utility-bar {
    justify-content: space-between;
  }

  .site-header {
    min-height: 88px;
    gap: 1rem;
  }

  .header-actions {
    gap: 0.55rem;
  }

  .subscribe-button {
    display: none;
  }

  .icon-action {
    width: 42px;
    height: 42px;
    justify-content: center;
    border: 1px solid var(--ink);
  }

  .icon-action::after {
    display: none;
  }

  .signal-label {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .signal-track {
    gap: 2rem;
  }

  .page-shell {
    width: min(100% - 2rem, 1440px);
  }

  .hero-grid {
    padding-top: 2rem;
  }

  .lead-art {
    /* X-49n：手机端 hero 用 16:9 比例（与详情页封面一致），图完整显示无黑边 */
    min-height: 0;
  }
  .lead-carousel {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .briefing-column {
    grid-template-columns: 1fr;
  }

  .briefing-card {
    grid-template-columns: 100px 1fr;
  }

  .briefing-thumb {
    min-height: 112px;
  }

  .section-heading {
    align-items: start;
  }

  .section-note {
    max-width: 8rem;
    text-align: right;
  }

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

  .latest-card,
  .latest-card + .latest-card {
    min-height: 0;
    /* X-49i：手机端卡片左右留白，不再贴边 */
    padding: 1.5rem 1rem;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  /* X-49g：手机单列时中间卡保留分隔线，最后一张无底线（grid 兜底） */
  .latest-card:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }
  .latest-card:last-child {
    border-bottom: 0;
  }

  .latest-index {
    /* X-49k：手机端编号不贴右缘，与卡片 padding 对齐 */
    right: 0.75rem;
  }

  .card-footer {
    margin-top: 1.5rem;
  }

  .analysis-section {
    margin-right: -1rem;
    margin-left: -1rem;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .analysis-board {
    padding: 1.35rem;
  }

  .signal-row {
    grid-template-columns: 5.2rem 1fr 4.3rem;
    gap: 0.65rem;
  }

  .topic-row {
    grid-template-columns: 2.5rem 1fr auto;
    gap: 0.7rem;
  }

  .topic-description {
    grid-column: 2 / 4;
    grid-row: 2;
  }

  .topic-row > svg {
    grid-column: 3;
    grid-row: 1;
  }

  .regions-section {
    padding: 4rem 0 5rem;
  }

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

  .region-card {
    min-height: 195px;
  }

  .authors-section {
    margin-right: -1rem;
    margin-left: -1rem;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .about-section {
    padding: 5rem 0;
  }

  .principles > div {
    grid-template-columns: 2.5rem 1fr;
  }

  .principles p {
    grid-column: 2;
  }

  .newsletter-form > div {
    grid-template-columns: 1fr;
  }

  .newsletter-form input {
    border-right: 1px solid white;
    border-bottom: 0;
  }

  .newsletter-form button {
    min-height: 50px;
    justify-content: space-between;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    grid-column: auto;
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .brand-zh {
    font-size: 1.6rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .icon-action,
  .menu-button {
    width: 38px;
    height: 38px;
  }

  .lead-copy h1 {
    font-size: 2.15rem;
  }

  .briefing-card {
    grid-template-columns: 82px 1fr;
  }

  .briefing-card h2 {
    font-size: 1rem;
  }

  .author-card,
  .author-card + .author-card {
    grid-template-columns: 68px 1fr;
  }

  .author-mark {
    width: 68px;
    height: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Asia Review — 联络页（P1-01）
   ============================================================ */
.contact-page .page-shell { padding-top: 5rem; padding-bottom: 6rem; }
.contact-section { max-width: 760px; margin: 0 auto; }
.contact-head { margin-bottom: 2.5rem; }
.contact-head .eyebrow { color: var(--accent, #8f1f24); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; }
.contact-head h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0.5rem 0 1rem; }
.contact-head p { color: #5d5c59; font-size: 0.92rem; line-height: 1.8; }
.contact-form { display: grid; gap: 1.25rem; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-form label { display: block; }
.contact-form label > span { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: 0.04em; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line, #e4e1d9);
  background: #fff;
  font: inherit;
  font-size: 0.92rem;
  border-radius: 2px;
  color: inherit;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid rgba(143,31,36,0.35); border-color: var(--accent, #8f1f24); }
.contact-actions { margin-top: 0.5rem; }
.contact-actions button {
  background: var(--accent, #8f1f24);
  color: #faf8f3;
  border: 0;
  padding: 0.8rem 2.2rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 2px;
}
.contact-actions button:disabled { opacity: 0.6; cursor: wait; }
.contact-status { margin: 1rem 0 0; font-size: 0.88rem; }
.contact-status.success { color: #19763b; }
.contact-status.error { color: #a32228; }
.ar-hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 720px) {
  .contact-page .page-shell { padding-top: 3.5rem; padding-bottom: 4rem; }
  .contact-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Asia Review — WordPress 补丁（阶段 C）
   线上站 globals.css 之上追加 WP 模板特有样式
   ============================================================ */

/* ---- 屏幕阅读器 ---- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--red); color: #fff; padding: 8px 16px; }

/* ---- 正文排版（single/page/archive content） ---- */
.entry-content { font-family: var(--sans); line-height: 1.85; color: var(--ink); }
.entry-content > * { max-width: 680px; margin-left: auto !important; margin-right: auto !important; }
.entry-content h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin: 2.2rem 0 1rem; line-height: 1.35; }
.entry-content h3 { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 1.8rem 0 0.8rem; }
.entry-content p { margin-bottom: 1.3rem; }
.entry-content blockquote { border-left: 3px solid var(--red); padding: 0.4rem 0 0.4rem 1.4rem; color: var(--ink-soft); font-style: italic; margin: 1.6rem 0; }
.entry-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; margin: 1.2rem 0; }
.entry-content li { margin-bottom: 0.6rem; }
.entry-content img { border-radius: 8px; height: auto; }
.wp-caption { max-width: 680px; margin: 1.5rem auto; }
.wp-caption-text { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }

/* ---- 文章详情页（single） ---- */
.single-hero { max-width: 680px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) 1.4rem 1rem; }  /* X-34：标题列与正文同宽同列 */
.single-hero .eyebrow { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.single-hero h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4.5vw, 3.2rem); line-height: 1.3; margin: 1rem 0 0.8rem; }
.single-hero .lead-summary { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink-soft); max-width: 680px; line-height: 1.8; }  /* X-34：与正文同列 */
.single-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; color: var(--muted); font-size: 0.82rem; margin: 1.2rem 0; }
.author-chip { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); font-weight: 600; }
.author-chip .author-mark { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: #fff; }

/* ---- 文章来源/更正/揭露（single footer） ---- */
.story-factbox { max-width: 680px; margin: 2.5rem auto; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.story-factbox h2 { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin-bottom: 0.8rem; }
.story-factbox p { margin-bottom: 0.6rem; line-height: 1.7; }

/* ---- 归档页 ---- */
.archive-hero { max-width: 1100px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.5rem) 1.4rem 0.5rem; }
.archive-hero .eyebrow { color: var(--red); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.archive-hero h1 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0.6rem 0; }
.archive-hero .archive-desc { color: var(--ink-soft); max-width: 620px; line-height: 1.7; }
.post-grid { max-width: 1100px; margin: 0 auto; padding: 1rem 1.4rem 4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.6rem; }
.archive-card { background: var(--paper-bright); border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.7rem; transition: transform 160ms ease, box-shadow 160ms ease; }
.archive-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(25,26,28,.08); }
.archive-card h2 { font-family: var(--serif); font-size: 1.15rem; line-height: 1.4; }
.archive-card h2 a { color: var(--ink); text-decoration: none; }
.archive-card h2 a:hover { color: var(--red); }
.archive-card .lead-summary { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.7; }
.archive-card .card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 0.78rem; color: var(--muted); }

/* ---- 分页 ---- */
.pagination { max-width: 1100px; margin: 0 auto 4rem; padding: 0 1.4rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.8rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 0.85rem; }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }
.pagination a:hover { border-color: var(--red); color: var(--red); }

/* ---- 作者页 ---- */
.author-hero { max-width: 1100px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.5rem) 1.4rem 0.5rem; display: flex; gap: 1.5rem; align-items: flex-start; }
.author-hero .author-mark { width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; flex-shrink: 0; }
.author-hero h1 { font-family: var(--serif); font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.author-hero .author-beat { color: var(--red); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem; }
.author-hero .author-bio { color: var(--ink-soft); line-height: 1.8; max-width: 620px; margin-top: 0.8rem; }
.author-links { display: flex; gap: 1rem; margin-top: 0.8rem; font-size: 0.8rem; }
.author-links a { color: var(--muted); text-decoration: none; }
.author-links a:hover { color: var(--red); }

/* ---- 搜索页 ---- */
.search-form { display: flex; gap: 0.5rem; max-width: 560px; margin: 1rem 0; }
.search-form input[type="search"] { flex: 1; padding: 0.7rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-bright); font-size: 0.95rem; }
.search-form button { background: var(--red); color: #fff; border: none; border-radius: 8px; padding: 0.7rem 1.2rem; cursor: pointer; }

/* ---- 页面模板（关于/准则等） ---- */
.page-body { max-width: 720px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) 1.4rem 5rem; }
.page-body h1 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.6rem; }

/* ---- 多语言切换按钮（4.8 ③ M-6） ---- */
.lang-switch { display: inline-flex; gap: 2px; align-items: center; font-size: 0.72rem; color: var(--muted); }
.lang-switch button { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 4px; padding: 2px 7px; cursor: pointer; font-size: 0.72rem; line-height: 1.5; }
.lang-switch button:hover { border-color: var(--red); color: var(--red); }
.lang-switch button.is-active { background: var(--red); color: #fff; border-color: var(--red); }

/* ---- 今日观察跑马灯 ---- */
.signal-track { display: flex; gap: 2.2rem; white-space: nowrap; }

/* ---- 订阅读者成功提示 ---- */
.newsletter-status { margin-top: 0.8rem; font-size: 0.88rem; }
.newsletter-status.success { color: #1d7a3d; }
.newsletter-status.error { color: var(--red); }

/* ---- 搜索弹层（site.js） ---- */
.overlay-backdrop { position: fixed; inset: 0; background: rgba(25,26,28,.55); z-index: 998; display: none; align-items: flex-start; justify-content: center; padding: 12vh 1.2rem 1.2rem; }
.overlay-backdrop.is-open { display: flex; }
.search-panel { background: var(--paper-bright); border-radius: 12px; width: 100%; max-width: 620px; padding: 1.4rem; position: relative; box-shadow: 0 24px 64px rgba(25,26,28,.3); animation: panel-in 220ms ease both; }
.search-input { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; background: #fff; }
.search-input:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.search-status { min-height: 1.4rem; margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }
.search-results { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 0.4rem; max-height: 46vh; overflow-y: auto; }
.search-result { display: block; padding: 0.8rem 0.9rem; border-radius: 8px; text-decoration: none; }
.search-result:hover { background: var(--paper); }
.search-result-title { display: block; color: var(--ink); font-family: var(--serif); font-size: 0.98rem; line-height: 1.45; }
.search-result-meta { display: block; color: var(--muted); font-size: 0.75rem; margin-top: 0.2rem; }
.search-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
}
.search-close:hover { color: var(--red); background: rgba(0, 0, 0, 0.045); }
.search-close:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }

/* ============================================================
   响应式补丁（WP 补丁类专用，覆盖 globals.css 未覆盖的模板类）
   ============================================================ */

@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .author-hero { gap: 1.1rem; }
}

@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; }
  .single-hero, .archive-hero, .author-hero, .page-body { padding-left: 1.1rem; padding-right: 1.1rem; }
  .single-hero h1 { font-size: clamp(1.55rem, 7vw, 2.1rem); }
  .archive-hero h1 { font-size: clamp(1.5rem, 6.5vw, 2.1rem); }
  .author-hero { flex-direction: column; align-items: center; text-align: center; }
  .author-hero .author-mark { width: 72px; height: 72px; font-size: 1.3rem; }
  .author-links { justify-content: center; }
  .entry-content > * { padding-left: 1.2rem; padding-right: 1.2rem; }
  .story-factbox { margin-left: 1.1rem; margin-right: 1.1rem; }
  .pagination { justify-content: center; }
  .search-panel { padding: 1.1rem; margin-top: 8vh; }
  .newsletter-form > div { flex-direction: column; }
  .newsletter-form input { width: 100%; }
  .lang-switch button { padding: 3px 8px; }
}

@media (max-width: 430px) {
  .post-grid { gap: 0.9rem; }
  .archive-card { padding: 1rem; }
  .archive-card h2 { font-size: 1.02rem; }
  .single-meta { gap: 0.6rem; font-size: 0.76rem; }
  .entry-content blockquote { margin-left: 1.1rem; margin-right: 1.1rem; }
  .search-result-title { font-size: 0.9rem; }
  .utility-note { font-size: 0.68rem; }
}

/* 触控目标（移动端按钮最小 44px，可及性） */
@media (max-width: 720px) {
  .pagination a, .pagination span { min-width: 44px; height: 44px; }
  .lang-switch button { min-height: 34px; }
}

/* ---- 标签/作者链接（信息架构：可点进归档/作者页） ---- */
.mini-label a, .card-region a { color: inherit; text-decoration: none; }
.mini-label a:hover, .card-region a:hover { color: var(--red); }
.author-card h3 a { color: var(--ink); text-decoration: none; }
.author-card h3 a:hover { color: var(--red); }
.author-chip a:hover span:last-child { color: var(--red); }

/* ---- 链接字体继承修正（覆盖 globals.css 卡内 a 小字规则，如 .briefing-card a 0.66rem）---- */
.briefing-card h2 a,
.latest-card h3 a,
.author-card h3 a,
.archive-card h2 a {
  font-size: inherit;
  color: inherit;
  text-decoration: none;
}
.briefing-card .mini-label a,
.latest-card .mini-label a,
.latest-card .card-region a,
.archive-card .mini-label a,
.single-hero .mini-label a,
.single-meta .mini-label a,
.author-chip a {
  font-size: inherit;
  color: inherit;
  text-decoration: none;
}
.briefing-card h2 a:hover,
.latest-card h3 a:hover,
.author-card h3 a:hover,
.archive-card h2 a:hover,
.briefing-card .mini-label a:hover,
.latest-card .mini-label a:hover,
.latest-card .card-region a:hover { color: var(--red); }

/* ---- 编辑选读色块链接（语义化，与标题同目标） ---- */
a.briefing-thumb { text-decoration: none; transition: opacity 160ms ease; }
a.briefing-thumb:hover { opacity: 0.88; }
a.briefing-thumb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---- 作者卡首字母色块链接（语义化，进作者页） ---- */
a.author-mark { text-decoration: none; transition: opacity 160ms ease; }
a.author-mark:hover { opacity: 0.85; }
a.author-mark:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---- 归档卡作者链接：覆盖 globals.css .card-footer a 的 34px 按钮样式（误伤修复）---- */
.archive-card .card-footer a {
  width: auto;
  height: auto;
  display: inline;
  place-items: initial;
  border: none;
  padding: 0;
  background: none;
  color: var(--muted);
  transition: color 150ms ease;
}
.archive-card .card-footer a:hover {
  background: none;
  color: var(--red);
  border-color: transparent;
}

/* ---- 文章页作者卡（X-15） ---- */
.single-author-card {
  max-width: 680px;
  margin: 3rem auto 1rem;
  padding: 1.6rem 1.4rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.single-author-card .author-mark {
  width: 56px;
  height: 56px;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-card-name {
  font-size: 1.15rem;
  margin: 0 0 0.3rem;
}
.author-card-name a { text-decoration: none; }
.author-card-name a:hover { text-decoration: underline; }
.author-card-expertise {
  font-size: 0.85rem;
  color: var(--red);
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.author-card-bio { font-size: 0.92rem; color: var(--muted); margin: 0 0 0.4rem; }
.author-card-disclosure { font-size: 0.8rem; color: var(--muted); margin: 0 0 0.4rem; }
.author-card-all { margin: 0; font-size: 0.88rem; }
.author-card-all a { text-decoration: none; font-weight: 600; }
.author-card-all a:hover { text-decoration: underline; }

/* ---- 相关文章（X-15） ---- */
.related-section {
  max-width: 680px;
  margin: 2.5rem auto 1rem;
  padding: 0 1.4rem;
}
.related-heading {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}
.related-grid {
  display: grid;
  gap: 0.9rem;
}
.related-grid .archive-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  background: none;
}
.related-grid .archive-card h3 { font-size: 1.02rem; margin: 0.4rem 0; }
.related-grid .archive-card h3 a { text-decoration: none; }
.related-grid .archive-card h3 a:hover { text-decoration: underline; }
.related-grid .card-footer { margin-top: 0.35rem; }

@media (max-width: 720px) {
  .single-author-card { padding: 1.2rem 1rem; }
  .single-author-card .author-mark { width: 46px; height: 46px; font-size: 0.95rem; }
}

/* ---- 搜索页筛选（X-16） ---- */
.search-form-filters .search-row { display: flex; gap: 0.5rem; }
.search-form-filters .search-row input[type="search"] { flex: 1; }
.search-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.6rem; }
.search-filters select {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
@media (max-width: 720px) {
  .search-filters select { flex: 1 1 100%; }
}

/* ============================================================
   X-35 文章页统一阅读列 + 相关文章卡片美化
   （标题/导言/正文/factbox/作者卡/相关文章/页脚导航同一阅读列）
   ============================================================ */
:root {
  --read-width: min(75rem, calc(100% - 2.5rem)); /* PC 1200px（用户试宽），小屏自动满宽减边距 */
}

.single-hero,
.entry-content,
.story-factbox,
.entry-footer,
.single-author-card,
.related-section {
  max-width: var(--read-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}
.single-hero { padding-top: clamp(1.5rem, 4vw, 3rem); }
.single-hero h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); }

/* 正文子块与阅读列一致（覆盖旧 680px 硬编码） */
.entry-content > * {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;   /* X-45：覆盖 1823 行移动端 padding，正文与标题同列 */
  padding-right: 0 !important;
}
.entry-content h2 { margin-top: 2.4rem; }
.wp-caption { max-width: 100% !important; }

/* ---- 相关文章：三张卡片网格（美化） ---- */
.related-section { margin-top: 3rem; }
.related-heading {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  margin: 0 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.related-grid .archive-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem 1.1rem 0.9rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.related-grid .archive-card:hover {
  border-color: var(--red);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}
.related-grid .archive-card h3 { font-size: 0.95rem; line-height: 1.5; margin: 0; flex: 1; }
.related-grid .archive-card h3 a { color: var(--ink); }
.related-grid .archive-card .card-labels { margin: 0; }
.related-grid .archive-card .mini-label { font-size: 0.7rem; }
.related-grid .archive-card .card-footer { margin-top: auto; font-size: 0.76rem; }

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

/* ============================================================
   X-36 修复：430px 断点 .icon-action 38px 方块规则误伤详情页复制链接按钮
   （按钮被限成方块 → 文字竖排 + 居中大方框）
   ============================================================ */
.single-meta .copy-link-btn {
  width: auto !important;
  height: auto !important;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.single-meta .copy-link-btn:hover {
  border-color: var(--red);
  color: var(--red);
}
.single-meta .copy-link-btn::after {
  display: none; /* 关掉 underline 动画的伪元素（方块内怪异线条） */
}
@media (max-width: 560px) {
  .single-meta .copy-link-btn { margin-left: 0; }
}

/* ============================================================
   X-40 今日观察滚动标题（向左无缝滚动，悬停暂停，可点击）
   ============================================================ */
.signal-track { overflow: hidden; white-space: nowrap; }
.signal-track-inner {
  display: inline-flex;
  gap: 2.5rem;
  padding-right: 2.5rem;
  animation: signal-scroll 32s linear infinite;
  will-change: transform;
}
.signal-track:hover .signal-track-inner { animation-play-state: paused; }
/* 注意：不用 focus-within 暂停——点击链接后焦点残留会永久暂停动画（X-41 修复） */
.signal-item {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}
a.signal-item:hover { color: var(--red); }
.signal-item::after { content: "・"; margin-left: 1.1rem; color: rgba(246, 242, 234, 0.55); }
.signal-item:last-child::after { content: ""; }
@keyframes signal-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  /* X-49l：资讯站滚动/轮播是核心功能，即使系统开了减少动态效果也保持自动滚动 */
  .signal-track-inner { animation: signal-scroll 32s linear infinite !important; flex-wrap: nowrap; white-space: nowrap; }
  .lead-slide, .board-bg-slide { transition: opacity 0.5s ease, visibility 0.5s ease !important; }
}

/* ---- X-42 移动端日期垂直居中（utility-bar 默认 stretch 导致文本靠上） ---- */
.utility-bar { align-items: center; }
.utility-bar .utility-date { line-height: 1.4; }

/* ---- LQIP 渐进加载：先缩略图后原图（客户要求分层加载） ---- */
img[data-lqip] {
	transition: filter .5s ease, transform .5s ease, opacity .5s ease;
}
img.lqip-pending {
	filter: blur(8px);
	transform: scale(1.03);
	opacity: .92;
}
img.lqip-done {
	filter: blur(0);
	transform: none;
	opacity: 1;
}
