/*
Theme Name: Kirin Lake
Theme URI: https://kirinlake.app.workbuddy.host/
Author: 滁州创维建设发展有限公司
Author URI: https://kirinlake.app.workbuddy.host/
Description: 创维·麒麟湖官网自定义主题，长三角6000亩湖畔合院
Version: 1.3.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kirinlake
Tags: real-estate, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===== CSS VARIABLES ===== */
:root {
  --ink: #17291d;
  --ink-light: #2b4632;
  --ink-deep: #101c14;
  --gold: #b3920c;
  --gold-deep: #8a6f06;
  --gold-light: #d9b84a;
  --gold-pale: #efdfc0;
  --cream: #fafaf8;
  --warm-gray: #f0eeeb;
  --text: #2d3436;
  --text-light: #636e72;
  --line: #e6e3de;
  --line-soft: #f0eeea;
  --surface: #f7f7f5;
  --ink-stage: #0b1510;
  --ink-tile: #1c2c22;
  --serif: 'Kirin Serif', 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'STSong', 'SimSun', '宋体', serif;
  --sans: 'Kirin Sans', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1200px;
  --section-pad: 120px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text); background: var(--cream); line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 14px 48px;
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-logo {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  color: #fff; transition: color 0.4s;
}
.nav.scrolled .nav-logo { color: var(--ink); }
.nav-logo img { height: 36px; width: auto; object-fit: contain; transition: opacity 0.4s ease; }
/* LOGO 双色切换：导航变白底后，白线条版淡出、深墨绿版淡入 */
.nav-logo .nav-logo-dark {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  opacity: 0; pointer-events: none;
}
.nav.scrolled .nav-logo-light { opacity: 0; }
.nav.scrolled .nav-logo-dark { opacity: 1; }
.nav-logo img { height: 36px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 300; letter-spacing: 1px;
  color: rgba(255,255,255,0.85); transition: color 0.3s;
  position: relative;
}
.nav.scrolled .nav-links a { color: var(--text-light); }
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,46,26,0.4) 0%,
    rgba(26,46,26,0.2) 40%,
    rgba(26,46,26,0.5) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  max-width: 800px; padding: 0 24px;
}
.hero-eyebrow {
  font-size: 13px; letter-spacing: 6px; text-transform: uppercase;
  font-weight: 300; opacity: 0.8; margin-bottom: 24px;
}
.hero-title {
  font-family: var(--serif); font-size: 56px; font-weight: 300;
  line-height: 1.3; letter-spacing: 4px; margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 18px; font-weight: 300; letter-spacing: 2px;
  opacity: 0.85; margin-bottom: 48px; line-height: 1.8;
}
.hero-cta {
  display: inline-block; padding: 14px 48px;
  border: 1px solid rgba(255,255,255,0.5);
  font-size: 14px; letter-spacing: 3px; font-weight: 300;
  transition: all 0.3s;
}
.hero-cta:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 11px; letter-spacing: 2px;
}
.hero-scroll-line {
  width: 1px; height: 48px; background: rgba(255,255,255,0.3);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%; background: var(--gold);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: var(--section-pad) 24px;
}
.section-inner {
  max-width: var(--max-w); margin: 0 auto;
}
.section-header {
  text-align: center; margin-bottom: 72px;
}
.section-eyebrow {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 400; margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif); font-size: 36px; font-weight: 400;
  color: var(--ink); letter-spacing: 2px; margin-bottom: 16px;
}
.section-desc {
  font-size: 15px; color: var(--text-light); font-weight: 300;
  max-width: 600px; margin: 0 auto; line-height: 2;
}
.section-divider {
  width: 48px; height: 1px; background: var(--gold);
  margin: 20px auto 0;
}

/* ===== ABOUT ===== */
.about { background: #fff; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.about-image {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  border-radius: 2px;
}
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-image::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(179,146,12,0.25);
}
.about-text h2 {
  font-family: var(--serif); font-size: 28px; font-weight: 400;
  color: var(--ink); margin-bottom: 24px; letter-spacing: 1px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.about-text p {
  font-size: 15px; color: var(--text-light); line-height: 2;
  margin-bottom: 16px; font-weight: 300;
}
.about-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;
}
.about-tag {
  padding: 6px 16px; border: 1px solid var(--line);
  font-size: 13px; color: var(--text-light); border-radius: 2px;
  letter-spacing: 1px;
}

/* ===== DATA STRIP ===== */
.data-strip {
  background: var(--ink); padding: 80px 24px;
}
.data-strip-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  text-align: center;
}
.data-item .num {
  font-family: var(--serif); font-size: 42px; font-weight: 300;
  color: var(--gold-light); margin-bottom: 8px;
}
.data-item .num small { font-size: 20px; }
.data-item .label {
  font-size: 13px; color: rgba(255,255,255,0.5);
  letter-spacing: 1px; font-weight: 300;
}

/* ===== HIGHLIGHTS ===== */
.highlights { background: var(--warm-gray); }
.highlights-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.highlight-card {
  position: relative; background: #fff; overflow: hidden;
  border-radius: 2px; transition: transform 0.3s;
}
.highlight-card:hover { transform: translateY(-4px); }
.highlight-card-img {
  aspect-ratio: 16/10; overflow: hidden;
}
.highlight-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.highlight-card:hover .highlight-card-img img {
  transform: scale(1.05);
}
.highlight-card-body {
  padding: 32px;
}
.highlight-card-num {
  font-family: var(--serif); font-size: 13px; color: var(--gold-deep);
  letter-spacing: 2px; margin-bottom: 12px;
}
.highlight-card-title {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  color: var(--ink); margin-bottom: 12px; letter-spacing: 1px;
}
.highlight-card-desc {
  font-size: 14px; color: var(--text-light); line-height: 1.9;
  font-weight: 300;
}

.highlight-masterplan {
  margin-top: 48px;
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.highlight-masterplan:hover {
  border-color: rgba(179,146,12,0.45);
  box-shadow: 0 10px 30px rgba(23,41,29,0.06);
}
.highlight-masterplan-img {
  width: 100%; overflow: hidden;
}
.highlight-masterplan-img img {
  width: 100%; height: auto; display: block;
  transition: transform 0.6s ease;
}
.highlight-masterplan:hover .highlight-masterplan-img img {
  transform: scale(1.015);
}
.highlight-masterplan-caption {
  padding: 28px 32px 32px;
}
.highlight-masterplan-label {
  font-size: 11px; letter-spacing: 3px; color: var(--gold);
  margin-bottom: 10px; font-weight: 500;
}
.highlight-masterplan-title {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  color: var(--ink); margin-bottom: 12px; letter-spacing: 1px;
}
.highlight-masterplan-desc {
  font-size: 14px; color: var(--text-light); line-height: 1.9;
  font-weight: 300;
}

/* ===== GALLERY ===== */
.gallery { background: var(--ink-deep); padding: 0; }
.gallery .section-header { padding: 48px 24px 0; }
.gallery .section-title { color: #fff; }
.gallery .section-desc { color: rgba(255,255,255,0.4); }
.gallery .section-divider { background: rgba(255,255,255,0.15); }
.gallery-wrap { position: relative; }
.gallery-grid {
  display: block;
  padding: 8px 16px 88px;
  max-width: var(--max-w); margin: 0 auto;
  transition: max-height 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.gallery-grid.is-collapsed { overflow: hidden; }
.g-row { display: flex; gap: 8px; margin-bottom: 8px; }
.g-row:last-child { margin-bottom: 0; }

/* 底部渐隐（约一行半）与展开按钮 */
.gallery-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  pointer-events: none; opacity: 0;
  background: linear-gradient(180deg,
    rgba(16,28,20,0) 0%,
    rgba(16,28,20,0.42) 32%,
    rgba(16,28,20,0.80) 64%,
    rgba(16,28,20,0.96) 86%,
    #101c14 100%);
  transition: opacity 0.4s ease;
}
.gallery-wrap.is-collapsed .gallery-fade { opacity: 1; }

.gallery-more {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 34px;
  border: 1px solid rgba(255,255,255,0.26); border-radius: 999px;
  background: rgba(16,28,20,0.55);
  color: rgba(255,255,255,0.92);
  font-family: var(--serif); font-size: 14px; letter-spacing: 2px;
  cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.gallery-more:hover {
  background: rgba(16,28,20,0.86);
  border-color: var(--gold-light); color: var(--gold-light);
  box-shadow: 0 8px 26px rgba(0,0,0,0.35);
}
.gallery-more:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.gm-arrow {
  width: 8px; height: 8px; flex: 0 0 auto;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.35s ease;
}
.gallery-wrap:not(.is-collapsed) .gm-arrow { transform: rotate(-135deg) translate(-2px, -2px); }
.gallery-wrap:not(.is-collapsed) .gallery-more { bottom: 16px; }
.g-tile {
  display: block; position: relative; flex: 0 0 auto;
  overflow: hidden; border-radius: 2px; background: var(--ink-tile);
}
.g-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g-tile img { transition: transform 0.6s ease; }
.g-tile:hover img { transform: scale(1.04); }
.g-tile[role="button"] { cursor: zoom-in; }
.g-tile:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.g-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: #fff; font-size: 13px; letter-spacing: 1px;
  font-family: var(--serif);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.g-tile:hover figcaption, .g-tile:focus-within figcaption { opacity: 1; }
@media (hover: none) { .g-tile figcaption { opacity: 1; } }

/* Lightbox */
.g-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(6,8,7,0.985);
  align-items: center; justify-content: center;
}
.g-lightbox.open { display: flex; }
.gl-stage {
  width: 100%; height: calc(100% - 124px);
  display: flex; align-items: center; justify-content: center;
  padding: 0 72px;
}
.gl-stage img {
  width: 100%; height: 100%;
  object-fit: contain; border-radius: 2px;
  transition: opacity 0.25s ease;
}
.gl-close {
  position: absolute; top: 20px; right: 24px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; cursor: pointer;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  transition: background 0.3s;
}
.gl-close:hover { background: rgba(255,255,255,0.2); }
.gl-counter {
  position: absolute; top: 34px; left: 32px;
  font-size: 13px; color: rgba(255,255,255,0.6);
  letter-spacing: 2px; font-weight: 300;
}
.gl-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  color: #fff; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.gl-nav:hover { background: rgba(179,146,12,0.55); border-color: var(--gold-light); }
.gl-nav.prev { left: 20px; }
.gl-nav.next { right: 20px; }
.gl-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 72px 20px; }
.gl-caption {
  color: #fff; font-size: 15px; letter-spacing: 2px;
  font-family: var(--serif); margin-bottom: 12px;
}
.gl-progress { height: 2px; background: rgba(255,255,255,0.14); }
.gl-progress-bar { height: 100%; width: 0; background: var(--gold); transition: width 0.3s ease; }

/* ===== FLOORPLANS ===== */
.floorplans { background: #fff; }
.fp-elevations {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 44px;
}
.fp-elev-card { text-align: center; }
.fp-elev-img {
  aspect-ratio: 4/3; overflow: hidden; border-radius: 2px;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.fp-elev-img img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.4s;
}
.fp-elev-card:hover .fp-elev-img img { transform: scale(1.04); }
.fp-elev-label {
  margin-top: 10px; font-family: var(--serif); font-size: 14px;
  color: var(--ink); letter-spacing: 1px;
}

.fp-interactive { max-width: var(--max-w); margin: 0 auto; }
.fp-tabs {
  display: flex; justify-content: center; gap: 0; margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.fp-tab {
  padding: 12px 32px; font-family: var(--serif); font-size: 15px;
  color: var(--text-light); background: none; border: none;
  cursor: pointer; letter-spacing: 1px; position: relative;
  transition: color 0.3s;
}
.fp-tab:hover { color: var(--ink); }
.fp-tab.active { color: var(--ink); font-weight: 600; }
.fp-tab.active::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: var(--gold);
}
.fp-panel { display: none; }
.fp-panel.active { display: block; }
.fp-panel-header {
  display: flex; align-items: center; gap: 16px;
  justify-content: center; margin-bottom: 20px;
}
.fp-panel-badge {
  background: var(--ink); color: #fff; font-size: 13px;
  padding: 4px 14px; border-radius: 2px; letter-spacing: 1px;
}
.fp-panel-info {
  font-size: 14px; color: var(--text-light); letter-spacing: 1px;
}
.fp-floor-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 20px;
}
.fp-floor-tab {
  padding: 8px 24px; font-size: 13px; color: var(--text-light);
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  cursor: pointer; letter-spacing: 1px; transition: all 0.3s;
}
.fp-floor-tab:hover { border-color: var(--gold); color: var(--ink); }
.fp-floor-tab.active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.fp-panel-viewer {
  background: #fff; border-radius: 4px;
  border: 1px solid var(--line); cursor: zoom-in;
  display: flex; align-items: center; justify-content: center;
  padding: 12px; position: relative;
}
.fp-panel-viewer img {
  max-width: 100%;
  max-height: clamp(300px, 58vh, 620px);
  width: auto; height: auto; display: block;
  object-fit: contain;
  transition: transform 0.3s;
}
.fp-panel-viewer:hover img { transform: scale(1.015); }
.fp-panel-viewer::after {
  content: '⤢ 点击放大';
  position: absolute; right: 12px; bottom: 10px;
  font-size: 12px; letter-spacing: 1px;
  color: var(--gold-deep); background: rgba(255,255,255,0.92);
  padding: 3px 10px; border-radius: 2px;
  pointer-events: none;
}
.fp-panel-hints {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 14px; color: var(--text-light);
}
.fp-panel-hints span { font-weight: 300; letter-spacing: 0.5px; }

/* 户型大图统一铺满内容区，四个户型图幅一致 */
.fp-panel > .fp-panel-viewer { padding: 16px; }
.fp-panel > .fp-panel-viewer img {
  width: 100%; height: auto; max-height: none;
}

/* 126㎡ 为竖版户型图：画框贴合图面居中，避免大片留白 */
.fp-panel#fp126 > .fp-panel-viewer { width: fit-content; margin: 0 auto; }
.fp-panel#fp126 > .fp-panel-viewer img {
  width: auto; height: auto;
  max-height: clamp(320px, 70vh, 720px);
  max-width: 100%;
}
/* 多楼层户型并列展示 */
.fp-multi-viewer {
  display: flex; flex-wrap: wrap; align-items: stretch;
  justify-content: center; gap: 24px;
}
.fp-multi-item {
  flex: 0 1 400px; max-width: 400px; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 16px 16px 18px; cursor: zoom-in; text-align: center;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.fp-multi-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: 0 12px 30px rgba(23, 41, 29, 0.10);
}
.fp-multi-item img {
  width: 100%; height: auto; display: block;
  object-fit: contain; transition: transform 0.3s;
}
.fp-multi-item:hover img { transform: scale(1.02); }
.fp-multi-label {
  display: block; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--serif); font-size: 15px;
  color: var(--ink); letter-spacing: 2px;
}
.fp-multi-label::before { content: '— '; color: var(--gold); }
.fp-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
  cursor: zoom-out;
}
.fp-lightbox.open { display: flex; }
.fp-lightbox img {
  max-width: 92vw; max-height: 86vh; object-fit: contain;
  border-radius: 2px; background: #fff;
}
.fp-lightbox-close {
  position: absolute; top: 24px; right: 32px;
  font-size: 28px; color: #fff; cursor: pointer;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.1);
  transition: background 0.3s;
}
.fp-lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ===== LOCATION ===== */
.location { background: var(--warm-gray); }
.loc-map-wrap {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  padding: 10px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.loc-map-wrap:hover {
  border-color: rgba(179,146,12,0.45);
  box-shadow: 0 10px 30px rgba(23,41,29,0.08);
}
.loc-map-frame {
  position: relative; aspect-ratio: 1914 / 912; overflow: hidden;
  border-radius: 2px; background: var(--surface); cursor: crosshair;
}
.loc-map-frame img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform 0.4s;
}
.loc-map-wrap:hover .loc-map-frame img { transform: scale(1.02); }
.loc-lens {
  position: absolute; width: 168px; height: 168px;
  border-radius: 50%; pointer-events: none; opacity: 0;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  background-repeat: no-repeat; background-color: #fff;
  transition: opacity 0.2s;
  z-index: 5;
}
.loc-map-wrap:hover .loc-lens { opacity: 1; }
.loc-map-hint {
  position: absolute; left: 10px; bottom: 10px; z-index: 6;
  font-size: 11px; letter-spacing: 1px; color: #fff;
  background: rgba(23,41,29,0.72); padding: 4px 12px; border-radius: 2px;
  pointer-events: none;
}
.loc-map-tip {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 8px; font-size: 12px; color: var(--text-light);
  letter-spacing: 1px;
}

/* 区位图页内放大浮层 */
.loc-lightbox .loc-lb-stage {
  position: relative; display: block;
  max-width: 94vw; max-height: 84vh;
  overflow: hidden; background: #fff; border-radius: 2px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  cursor: zoom-in; line-height: 0;
}
.loc-lightbox img {
  display: block; width: auto; height: auto;
  max-width: 94vw; max-height: 84vh;
  object-fit: contain; background: #fff;
  transform-origin: center center;
  transition: transform 0.28s ease;
}
.loc-lightbox img.zoomed { transform: scale(2.2); cursor: zoom-out; }
.loc-lb-tip {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 2; font-size: 12px; letter-spacing: 1px;
  color: rgba(255,255,255,0.9); background: rgba(0,0,0,0.55);
  padding: 8px 18px; border-radius: 999px;
  pointer-events: none; white-space: nowrap;
}

.loc-address {
  display: flex; align-items: center; gap: 22px;
  margin-top: 36px; padding: 22px 28px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 2px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.loc-address:hover {
  box-shadow: 0 10px 30px rgba(23,41,29,0.08);
  border-color: #dcd8d1; border-left-color: var(--gold);
}
.loc-address-pin {
  flex: 0 0 auto; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(179,146,12,0.25);
}
.loc-address-pin svg { width: 20px; height: 20px; fill: #fff; }
.loc-address-body { flex: 1 1 auto; min-width: 0; }
.loc-address-label {
  font-size: 12px; letter-spacing: 2px; color: var(--gold-deep);
  margin-bottom: 5px;
}
.loc-address-value {
  font-family: var(--serif); font-size: 17px; font-weight: 400;
  color: var(--ink); letter-spacing: 0.5px; line-height: 1.6;
}
.loc-address-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; letter-spacing: 1px; color: #fff;
  background: var(--ink); text-decoration: none;
  padding: 11px 22px; border-radius: 2px;
  transition: background 0.3s;
}
.loc-address-btn:hover { background: var(--ink-light); }

/* ===== WHY CHOOSE US ===== */
.why { background: var(--gold-pale); }
.why .surr-icon {
  background: #fff; border: 1px solid rgba(179,146,12,0.35);
}
.why .surr-card h3 { color: var(--ink); }

/* ===== SURROUNDING ===== */
.surrounding { background: #fff; }
.surr-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.surr-card {
  text-align: center; padding: 32px 16px;
}
.surr-icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--gold-deep);
}
.surr-card h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 400;
  color: var(--ink); margin-bottom: 12px; letter-spacing: 1px;
}
.surr-card ul {
  list-style: none; font-size: 13px; color: var(--text-light);
  line-height: 2; font-weight: 300;
}

/* ===== FAQ ===== */
.faq { background: var(--warm-gray); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid #e8e5e0; border-radius: 2px;
  margin-bottom: 12px; transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(179,146,12,0.4); }
.faq-item summary {
  padding: 20px 24px; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 400;
  color: var(--ink); letter-spacing: 1px; margin: 0; line-height: 1.6;
}
.faq-item summary:hover h3 { color: var(--gold-deep); }
.faq-item summary::after {
  content: '+'; flex: 0 0 auto; font-size: 20px; font-weight: 300;
  color: var(--gold-deep); line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 24px 22px; font-size: 15px; color: var(--text-light);
  line-height: 2; font-weight: 300;
  border-top: 1px solid #f2f0ec; padding-top: 16px; margin-top: -4px;
}

/* ===== CONTACT ===== */
.contact { background: var(--ink); color: #fff; padding: var(--section-pad) 24px; }
.contact-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.18fr; gap: 64px;
  align-items: start;
}
.contact-col h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 400;
  margin-bottom: 20px; letter-spacing: 1px;
}
.contact-col p {
  font-size: 14px; color: rgba(255,255,255,0.5);
  font-weight: 300; line-height: 2;
}
.contact-col .phone {
  font-family: var(--serif); font-size: 28px; font-weight: 300;
  color: var(--gold-light); margin-bottom: 8px;
}
.contact-block + .contact-block {
  margin-top: 34px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-addr a {
  color: var(--gold-light); text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.3);
  transition: border-color 0.3s;
}
.contact-addr a:hover { border-bottom-color: var(--gold-light); }
.contact-addr-tip {
  display: block; font-size: 12px; color: rgba(255,255,255,0.35);
  margin-top: 6px; letter-spacing: 0.5px;
}
.qr-item {
  display: flex; align-items: center; gap: 20px;
}
.qr-item + .qr-item {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.qr-frame {
  flex: 0 0 auto; background: #fff; border-radius: 3px; padding: 12px;
  line-height: 0; box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
.qr-frame img { display: block; width: 100%; height: auto; }
.qr-frame-sm { width: 132px; }
a.qr-frame { transition: transform 0.3s, box-shadow 0.3s; }
a.qr-frame:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.3); }
.qr-meta { min-width: 0; }
.qr-title {
  font-family: var(--serif); font-size: 16px; font-weight: 400;
  color: #fff; letter-spacing: 1px; margin-bottom: 6px;
}
.qr-desc {
  font-size: 13px; color: rgba(255,255,255,0.45);
  font-weight: 300; line-height: 1.9;
}
.qr-btn {
  display: inline-block; margin-top: 12px;
  font-size: 13px; letter-spacing: 0.5px; color: var(--gold-light);
  text-decoration: none; padding: 7px 16px; border-radius: 2px;
  border: 1px solid rgba(217,184,74,0.45);
  transition: background 0.3s, border-color 0.3s;
}
.qr-btn:hover { background: rgba(217,184,74,0.14); border-color: var(--gold-light); }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink-deep); padding: 24px;
  text-align: center; font-size: 12px; color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1; transform: translateY(0);
}

/* ===== BLOG / NEWS STYLES ===== */
.blog-header {
  background: var(--ink);
  padding: 0 24px 80px;
  text-align: center;
  color: #fff;
}
.blog-header .section-eyebrow { color: var(--gold-light); }
.blog-header .section-title { color: #fff; }
.blog-header .section-desc { color: rgba(255,255,255,0.6); }

.posts-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.post-card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--gold);
}
.post-card-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface);
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.post-card:hover .post-card-thumb img {
  transform: scale(1.05);
}
.post-card-body {
  padding: 24px;
}
.post-card-date {
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.post-card-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  line-height: 1.5;
}
.post-card-title a {
  transition: color 0.3s;
}
.post-card-title a:hover {
  color: var(--gold-deep);
}
.post-card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  font-weight: 300;
}
.post-card-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 1px;
  transition: color 0.3s;
}
.post-card-more:hover {
  color: var(--gold);
}

/* Single Post */
.single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.single-post-header {
  text-align: center;
  margin-bottom: 48px;
}
.single-post-date {
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.single-post-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 1px;
  line-height: 1.4;
  margin-bottom: 24px;
}
.single-post-meta {
  font-size: 13px;
  color: var(--text-light);
}
.single-post-content {
  font-size: 16px;
  color: var(--text);
  line-height: 2;
}
.single-post-content p {
  margin-bottom: 24px;
}
.single-post-content h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 24px;
  letter-spacing: 1px;
}
.single-post-content h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin: 36px 0 16px;
  letter-spacing: 0.5px;
}
.single-post-content img {
  margin: 32px 0;
  border-radius: 2px;
}
.single-post-content blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background: var(--warm-gray);
  border-left: 3px solid var(--gold);
  font-style: italic;
  color: var(--text-light);
}

/* Pagination */
.pagination {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pagination a, .pagination span {
  padding: 10px 18px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all 0.3s;
}
.pagination a:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}
.pagination .current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .data-strip-inner { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .surr-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-col + .contact-col {
    padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1);
  }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-pad: 80px; }
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 15px; }
  .section-title { font-size: 28px; }
  .data-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: 1fr; }
  .surr-grid { grid-template-columns: 1fr 1fr; }
  .fp-elevations { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .loc-map-frame { aspect-ratio: 1914 / 912; cursor: zoom-in; }
  .loc-lens { display: none; }
  .loc-lightbox .loc-lb-stage { max-width: 96vw; max-height: 76vh; }
  .loc-lightbox img { max-width: 96vw; max-height: 76vh; }
  .loc-lightbox img.zoomed { transform: scale(1.8); }
  .loc-lb-tip {
    bottom: 14px; font-size: 11px; padding: 6px 12px;
    max-width: 88vw; white-space: normal; text-align: center; line-height: 1.5;
  }
  .fp-tab { padding: 10px 14px; font-size: 14px; }
  .fp-panel-viewer img { max-height: 44vh; }
  .fp-multi-viewer { flex-direction: column; align-items: center; gap: 18px; }
  .fp-multi-item { flex: 0 0 auto; width: 100%; max-width: 360px; padding: 12px 12px 14px; }
  .fp-multi-label { font-size: 14px; margin-top: 10px; padding-top: 10px; }
  .fp-panel-hints { flex-wrap: wrap; gap: 8px 16px; font-size: 12px; }
  .qr-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .qr-frame-sm { width: 140px; }
  .loc-address {
    flex-wrap: wrap; align-items: flex-start;
    gap: 6px 14px; padding: 18px 20px; margin-top: 24px;
  }
  .loc-address-body { flex: 1 1 0%; min-width: 0; }
  .loc-address-btn { flex: 1 1 100%; justify-content: center; margin-top: 8px; padding: 12px 20px; }
  .gallery-grid { padding: 8px 10px 76px; }
  .gallery-more { padding: 11px 26px; font-size: 13px; letter-spacing: 1.5px; bottom: 30px; }
  .gallery-wrap:not(.is-collapsed) .gallery-more { bottom: 14px; }
  .gl-stage { padding: 0 12px; height: calc(100% - 136px); }
  .gl-nav { width: 40px; height: 40px; font-size: 20px; }
  .gl-nav.prev { left: 8px; }
  .gl-nav.next { right: 8px; }
  .gl-bar { padding: 0 16px 18px; }
  .gl-counter { left: 20px; }
  .posts-grid { grid-template-columns: 1fr; }
  .single-post-title { font-size: 28px; }
}
/* ===== 文章页 single (响应式) KIRIN 20260925 ===== */

.single-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 0;
}
.single-post { font-family: var(--sans); }

.single-post-header { margin-bottom: 40px; }
.single-post-cat {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}
.single-post-cat a { color: var(--gold); text-decoration: none; }
.single-post-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.single-post-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: 1px;
  margin: 0 0 18px;
}
.single-post-meta {
  font-size: 14px;
  color: var(--text-light);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
.single-post-meta a { color: var(--text-light); text-decoration: none; }
.single-post-meta a:hover { color: var(--gold); }
.single-post-tags-inline a {
  display: inline-block;
  margin-left: 4px;
}

.single-post-hero { margin: 0 0 48px; }
.single-post-hero img { width: 100%; height: auto; border-radius: 2px; display: block; }

/* 正文排版 */
.single-post-content {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 2;
  color: var(--text);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.single-post-content > p:first-child { margin-top: 0; }
.single-post-content h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
  margin: 52px 0 18px;
  padding-top: 8px;
}
.single-post-content h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  margin: 38px 0 14px;
}
.single-post-content p { margin: 0 0 26px; }
.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
  margin: 28px 0;
  display: block;
}
.single-post-content a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-post-content blockquote {
  margin: 34px 0;
  padding: 18px 24px;
  border-left: 3px solid var(--gold);
  background: var(--surface);
  color: var(--ink-light);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
}
.single-post-content ul,
.single-post-content ol { margin: 0 0 26px; padding-left: 1.5em; }
.single-post-content li { margin: 0 0 10px; }
.single-post-content pre {
  background: var(--ink-deep);
  color: #e8e6e0;
  padding: 20px;
  border-radius: 2px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
}
.single-post-content code {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.92em;
}
.single-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.single-post-content th,
.single-post-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}
.single-post-content th { background: var(--warm-gray); color: var(--ink); }

/* 上一篇 / 下一篇 */
.post-navigation {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.post-nav-next { text-align: right; }
.post-nav-label {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.post-nav-title {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s;
  line-height: 1.5;
}
.post-nav-title:hover { color: var(--gold); }

/* 评论 */
.single-comments {
  max-width: 760px;
  margin: 64px auto 0;
  padding: 0 24px;
}

/* 相关阅读 */
.related-posts {
  max-width: var(--max-w);
  margin: 88px auto 0;
  padding: 0 24px;
}
.related-posts-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--ink);
  text-align: center;
  letter-spacing: 2px;
  margin: 0 0 40px;
  position: relative;
}
.related-posts-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(23, 41, 29, 0.08);
  border-color: var(--gold-light);
}
.related-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--warm-gray);
}
.related-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.related-card:hover .related-card-thumb img { transform: scale(1.05); }
.related-card-cat {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  margin: 16px 18px 6px;
}
.related-card-title {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 18px 18px;
}

/* ===== 响应式断点 ===== */
@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .single-wrap { padding: 40px 18px 0; }
  .single-post-header { margin-bottom: 28px; }
  .single-post-title { font-size: 27px; line-height: 1.35; }
  .single-post-content { font-size: 16px; line-height: 1.9; }
  .single-post-content h2 { font-size: 22px; margin: 40px 0 14px; }
  .single-post-content h3 { font-size: 19px; }
  .single-post-content blockquote { padding: 14px 18px; font-size: 16px; }
  .single-post-hero { margin-bottom: 32px; }
  .post-navigation {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 40px;
  }
  .post-nav-next { text-align: left; }
  .single-comments { padding: 0 18px; margin-top: 48px; }
  .related-posts { margin-top: 56px; padding: 0 18px; }
  .related-grid { grid-template-columns: 1fr; gap: 18px; }
  .related-posts-title { font-size: 21px; }
}

@media (max-width: 360px) {
  .single-post-title { font-size: 24px; }
  .single-wrap { padding: 32px 14px 0; }
}
/* ===== 文章页美学升级补丁 (2026-09-25-v2) ===== */
/* 追加到 style.css 末尾，覆盖并增强现有样式 */

/* —— 首字下沉（导语首段） —— */
.single-post-content > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.2em;
  font-weight: 600;
  float: left;
  line-height: 0.86;
  margin: 0.06em 0.14em 0 0;
  color: var(--ink);
}

/* —— H2 金色左侧竖线装饰 —— */
.single-post-content h2 {
  position: relative;
  padding-left: 18px;
}
.single-post-content h2::before {
  content: '';
  position: absolute;
  left: 0; top: 0.15em;
  width: 3px; height: 1.2em;
  background: var(--gold);
  border-radius: 2px;
}

/* —— figure/figcaption 配图样式 —— */
.single-post-content figure {
  margin: 48px 0;
  padding: 0;
}
.single-post-content figure img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(23, 41, 29, 0.12);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.single-post-content figure:hover img {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(23, 41, 29, 0.18);
}
.single-post-content figcaption {
  margin: 16px 8px 0;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.8;
  color: var(--text-light);
  font-weight: 300;
}
.single-post-content figcaption::before {
  content: '— ';
  color: var(--gold);
}
.single-post-content figcaption::after {
  content: ' —';
  color: var(--gold);
}

/* —— 引用块大引号装饰（增强现有样式） —— */
.single-post-content blockquote {
  position: relative;
  padding: 32px 36px 32px 48px;
}
.single-post-content blockquote::before {
  content: '"';
  position: absolute;
  left: 16px; top: 12px;
  font-family: var(--serif);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  opacity: 0.4;
}

/* —— 标签独立区块 —— */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.article-tags a {
  display: inline-block;
  padding: 5px 14px;
  background: var(--warm-gray);
  color: var(--text-light);
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: 20px;
  transition: all 0.3s;
  text-decoration: none;
}
.article-tags a:hover {
  background: var(--gold-pale);
  color: var(--ink);
}

/* —— 文末 CTA 模块 —— */
.article-cta {
  margin: 64px 0;
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
  border-radius: 8px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.article-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(179,146,12,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.article-cta-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 12px;
  position: relative;
}
.article-cta-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  font-weight: 300;
  position: relative;
}
.article-cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold);
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s;
  position: relative;
  text-decoration: none;
}
.article-cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(179,146,12,0.3);
}

/* —— 上一篇/下一篇网格升级 —— */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 64px 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.post-nav-prev,
.post-nav-next {
  padding: 28px 32px;
  background: #fff;
  transition: background 0.3s;
}
.post-nav-prev:hover,
.post-nav-next:hover {
  background: var(--surface);
}

/* —— 阅读进度条 —— */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 3px;
  background: transparent;
}
.reading-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: width 0.1s ease-out;
}

/* —— 响应式收敛 —— */
@media (max-width: 600px) {
  .single-post-content > p:first-of-type::first-letter {
    font-size: 2.8em;
  }
  .article-cta {
    padding: 36px 24px;
  }
  .article-cta-title {
    font-size: 20px;
  }
  .post-navigation {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   文章页排版与评论区 —— 收敛版 (2026-09-25)
   --------------------------------------------------------------------------
   用途：统一收敛此前多轮追加的碎片补丁
         （评论区样式补丁 / 间距收紧补丁 / 排版收紧补丁 / 排版收紧补丁v2 /
          评论区表单样式修复），消除以下叠加问题：
     1. .comment-form 被设为纵向 flex 子项，同时字段又用 inline-block + 33.333%
        → 三列字段失效、左对齐、填不满宽度；
     2. 评论区宽度需与正文对齐：正文被 .single-wrap(左右 24px) + .single-post(左右 24px)
        双重内缩，故 .single-comments 也必须自带 24px 左右内边距（实测正文内容宽 656px
        @1280 视口；关键不是具体像素，而是"两侧内边距相等"）；
     3. 正文间距被 4 层补丁反复覆盖，含大量 !important 冗余；
     4. .single-post 自带 padding-bottom:80px + .post-navigation 下边距 48px
        + .single-comments 上边距 40px = 168px，「上下篇」↔「发表回复」之间出现整块空白；
     5. .single-wrap 底部内边距为 0，评论提交按钮与页脚间距 = 0，直接贴死。
   正文选择器统一使用 .single-post-content；评论区使用 CSS Grid 三列布局。
   ========================================================================== */

/* --------------------------------------------------------------------------
   零、页面版心：解除 WP body class 误命中
   —— WP 会把文章类型写进 <body class="... single single-post postid-55 ...">，
      于是主题里 `.single-post { max-width:800px; margin:0 auto; padding:0 24px 80px }`
      这条「给文章元素用」的规则**同时命中了 <body>**，把整页版心压到 800px：
        · 深色页脚被压成 752px 的短横条、无法通栏（首页 body 是 "home blog …"，
          不含 single-post，页脚正常通栏 → 两个页面观感不一致）
        · `.related-posts` 的 max-width:1200px 失效，实际被压成 752px
        · 移动端 body 还凭空多出 24px 左右内边距
      修法：只对 body 收回这三条；`.single-post` 作用于文章元素本身的样式保持不变。
   -------------------------------------------------------------------------- */
body.single-post {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   零·一、全屏 Hero 封面
   —— 导航栏以下、正文以上的全屏区块。背景用渐变填充（不用图片），
      标题/分类/元信息叠在渐变上（白字）。
   —— 结构：.article-hero > .article-hero-bg(渐变) + .article-hero-content(内容)
   —— 内容左对齐（与正文同轴线），max-width 760px 与 .single-wrap 一致。
   -------------------------------------------------------------------------- */
.article-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 32px;    /* 顶部 100px 给固定导航栏让位（导航 76px + 24px 安全间距） */
  overflow: hidden;
}
.article-hero-bg {
  position: absolute;
  inset: 0;
  /* 渐变兜底（无特色图时使用） */
  background: linear-gradient(
    180deg,
    #a8b5a0 0%,
    #7d8f72 30%,
    #4a5f3f 60%,
    #2b3d22 85%,
    #1a2e1a 100%
  );
}
/* 有特色图时，用图片覆盖渐变 */
.article-hero-bg.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.article-hero-bg.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 46, 26, 0.2) 0%,
    rgba(26, 46, 26, 0.5) 50%,
    rgba(26, 46, 26, 0.85) 100%
  );
}
.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  color: #fff;
}
.article-hero-cat {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(179, 146, 12, 0.85);
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 500;
  border-radius: 2px;
  margin-bottom: 20px;
}
.article-hero-cat a { color: #fff; text-decoration: none; }
.article-hero-title {
  font-family: var(--serif);
  font-size: clamp(20px, 3.6vw, 36px);   /* 原 24/4.2/42，再小一号 */
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: #fff;
}
.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  letter-spacing: 0.5px;
}
.article-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-hero-meta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.8;
}

/* 文章页导航栏：透明底，让 Hero 渐变直接顶到页面最顶部。
   导航文字用白色，浮在渐变上（与 Hero 标题同色系）。 */
body.single-post .nav {
  background: transparent;
  box-shadow: none;
}
body.single-post .nav .nav-logo img { filter: brightness(0) invert(1); }
body.single-post .nav .nav-links a { color: rgba(255,255,255,0.85); }
body.single-post .nav .nav-links a:hover { color: var(--gold-light); }

/* 滚动后导航变白底（由 main.js 的 .scrolled class 触发） */
body.single-post .nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}
body.single-post .nav.scrolled .nav-logo img { filter: none; }
body.single-post .nav.scrolled .nav-links a { color: var(--text); }
body.single-post .nav.scrolled .nav-links a:hover { color: var(--gold); }

/* 新闻动态栏目页标题区域：给固定导航栏让位 + 背景图 */
.blog-header {
  position: relative;
  padding: 100px 24px 80px;    /* 顶部 100px 给导航栏（76px + 24px 安全间距） */
  background-image: url('/wp-content/themes/kirinlake-theme/assets/news-hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.blog-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);  /* 半透明遮罩，确保文字可读 */
  pointer-events: none;
}
.blog-header > * {
  position: relative;
  z-index: 1;
}
.blog-header .section-eyebrow { color: rgba(255, 255, 255, 0.9); }
.blog-header .section-title { color: #fff; }
.blog-header .section-desc { color: rgba(255, 255, 255, 0.85); }
.blog-header .section-divider { background: rgba(255, 255, 255, 0.3); }

@media (max-width: 768px) {
  .blog-header { padding: 88px 24px 60px; }   /* 导航 68px + 20px */
}
@media (max-width: 360px) {
  .blog-header { padding: 80px 24px 48px; }
}

/* ===== 首页预约按钮（btn-cta） ===== */
/* 基础 CSS 里只定义了 .btn-outline，漏掉了 .btn-cta。
   首页 front-page.php 中有两处 <a class="btn-cta">预约...</a>，
   需要补上样式，保持与 .btn-outline 一致的商务风格。 */
.btn-cta {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(179, 146, 12, 0.3);
  color: #fff;
}

/* 预约按钮容器居中 */
.cta-inline {
  text-align: center;
  margin: 48px 0;
}

/* ===== 首页最新资讯卡片 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* 桌面 4 列 */
  gap: 24px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(23,41,29,0.08);
  border-color: var(--gold-light);
}

/* 卡片缩略图（有特色图时显示） */
.news-thumb {
  position: relative;
  aspect-ratio: 4 / 3;          /* 原 16/10 → 4/3，更紧凑 */
  overflow: hidden;
  background: var(--warm-gray);
}
.news-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.news-card:hover .news-thumb img { transform: scale(1.05); }
/* 图片底部向白色渐变，自然过渡到文字区域 */
.news-thumb::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;                   /* 原 60% → 50%，渐变区域收窄 */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,1) 100%
  );
  pointer-events: none;
}

/* 日期标注：弱化，小字浅色 */
.news-date {
  padding: 8px 16px 0;           /* 原 12/20/0 → 8/16/0，收紧 */
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.news-date .day {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1;
}
.news-date .month {
  font-size: 11px;
  color: var(--text-light);
  opacity: 0.6;
  letter-spacing: 0.5px;
}
.news-content {
  padding: 6px 16px 16px;        /* 原 8/20/20 → 6/16/16，收紧 */
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-title {
  font-family: var(--serif);
  font-size: 15px;               /* 原 16px → 15px */
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 12px;
}
.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.news-title a:hover {
  color: var(--gold-deep);
}
.news-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.news-more {
  display: inline-block;
  font-size: 13px;
  color: var(--gold-deep);
  text-decoration: none;
  transition: color 0.3s;
}
.news-more:hover {
  color: var(--gold);
}
.news-more-link {
  text-align: center;
  margin-top: 48px;
}
.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

/* 响应式：4→3→2→1 列 */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }   /* 平板 3 列 */
}
@media (max-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }   /* 小平板 2 列 */
}
@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }   /* 手机 1 列 */
}

/* WordPress 菜单 ul/li 嵌套兼容：
   wp_nav_menu 输出 <ul><li><a> 嵌套在 .nav-links 内，
   基础 CSS 有 .nav-links ul { display:flex } 规则，
   但非首页（新闻/文章等）可能因加载顺序或缓存导致该规则未生效，
   导航链接竖排堆叠。此处兜底确保横排。 */
.nav-links ul {
  display: flex !important;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { display: flex; align-items: center; }
.nav-links li a { white-space: nowrap; }

/* Hero 响应式 */
@media (max-width: 768px) {
  .article-hero { padding: 88px 0 28px; }   /* 导航 68px + 20px 安全间距 */
}
@media (max-width: 640px) {
  .article-hero-content { padding: 0 18px; }
  .article-hero-title { font-size: 18px; letter-spacing: 1px; }
  .article-hero-meta { font-size: 12px; gap: 10px; }
}
@media (max-width: 360px) {
  .article-hero { padding: 80px 0 20px; }
  .article-hero-content { padding: 0 14px; }
}

/* --------------------------------------------------------------------------
   一、正文排版与模块间距
   -------------------------------------------------------------------------- */
.single-post-content { line-height: 1.8; }
.single-post-content > p:first-child { margin-top: 0; }
.single-post-content p { margin: 0 0 20px; }
.single-post-content h2 { margin: 38px 0 16px; }
.single-post-content h3 { margin: 28px 0 12px; }
.single-post-content img { margin: 20px 0; }
.single-post-content figure { margin: 28px 0; }
.single-post-content figure img { margin: 0; }
.single-post-content blockquote { margin: 28px 0; }
.single-post-content ul,
.single-post-content ol { margin: 0 0 20px; padding-left: 1.5em; }
.single-post-content li { margin: 0 0 8px; }

/* 模块间距 */
.article-tags { margin-top: 40px; padding-top: 28px; }
.article-cta { margin: 48px 0; padding: 40px 32px; }
.post-navigation { margin: 48px 0 0; padding-top: 0; }   /* 下边距归零，交给 .single-comments 单独控制 */
/* .related-posts 的上下间距统一由「六、相关阅读」小节控制，此处不再重复声明 */

/* .single-post 基础样式（style.css 第 934 行）自带 padding: 0 24px 80px ——
   这 80px 是"文章处于页面末尾"时预留的收尾留白。本站文章页尾部固定紧跟评论区，
   三层叠加后（80 父内边距 + 48 导航下边距 + 40 评论上边距）= 168px 的整块空白，
   视觉上就是「上下篇」卡片与「发表回复」之间那条过大的空隙。此处收回。 */
.single-wrap > .single-post { padding-bottom: 0; }

/* .single-wrap 基础样式（style.css 第 1084 行）是 padding: 120px 24px 0 —— 底部为 0，
   而评论区是页面主体最后一块内容，实测"发表评论"按钮与页脚之间间距 = 0，直接贴死。
   此处补上页面底部留白。 */
.single-wrap { padding-bottom: 72px; }

/* 上下篇导航：当某一侧为空（如第一篇无「上一篇」/ 最新一篇无「下一篇」）时收起空半边 */
.post-navigation:not(:has(.post-nav-prev a)),
.post-navigation:not(:has(.post-nav-next a)) { grid-template-columns: 1fr; }
.post-navigation:not(:has(.post-nav-prev a)) .post-nav-next { text-align: left; }
.post-nav-prev:not(:has(a)),
.post-nav-next:not(:has(a)) { display: none; }

/* --------------------------------------------------------------------------
   二、评论区整体
   —— 站位：.single-comments 是 .single-wrap 的兄弟节点，不在 .single-post 内。
      .single-post 自带左右 24px 内边距，正文/图片/标签/CTA/导航的内容宽 = 664px；
      评论区要与之左右对齐，必须补上同样的 24px。
   —— 铁律：.single-comments 的左右内边距必须始终等于 .single-post 的左右内边距。
      任何断点下改其中一个就要同步改另一个（见文末「五、响应式」）。
   —— 上边距是「上下篇导航 → 评论区」唯一的间距来源（导航下边距已归零）。
   -------------------------------------------------------------------------- */
.single-comments {
  max-width: 100%;
  margin: 56px 0 0;
  padding: 0 24px;
}

/* 回复标题（沿用文章页 H2 的金色底线语言） */
.comment-reply-title {
  position: relative;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.comment-reply-title::before {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 48px; height: 2px;
  background: var(--gold);
}
.comment-reply-title small {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
  margin-left: 12px;
}
.comment-reply-title small a { color: var(--gold-deep); transition: color 0.3s; }
.comment-reply-title small a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   三、评论表单（CSS Grid：评论框全宽，名称/邮箱/网站三列并排）
   -------------------------------------------------------------------------- */
.comment-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: start;
}
.comment-form > p {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 全宽行 */
.comment-notes,
.comment-form-comment,
.comment-form-cookies-consent,
.form-submit,
.akismet-fields-container { grid-column: 1 / -1; }

/* 三列并排字段 */
.comment-form-author,
.comment-form-email,
.comment-form-url { grid-column: span 1; }

/* 标签 */
.comment-form label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text);
}
.comment-form label .required { color: #c0392b; margin-left: 2px; }

/* 提示信息（保持整段通排，不拆成两行） */
.comment-form > .comment-notes {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light);
}
.comment-notes .required { color: #c0392b; font-weight: 600; }

/* 输入框 / 文本域 */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(179, 146, 12, 0.12);
}
/* ⚠️ 注释文本框必须用 height（不能用 min-height）：
   WP comment_form 输出的 <textarea rows="8">，rows 会撑出 ~218px 的"行数高度"，
   而 min-height 只设下限、压不住 rows。显式 height 才能覆盖它。 */
.comment-form textarea { height: 110px; resize: vertical; }   /* 实测 218px → 110px，约 3.5 行 */

/* Cookie 同意（保持单行横排；需提升优先级覆盖 .comment-form > p 的纵向 flex） */
.comment-form > .comment-form-cookies-consent {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.comment-form-cookies-consent input[type="checkbox"] {
  margin: 0; width: 16px; height: 16px; flex: 0 0 auto; cursor: pointer;
}
.comment-form-cookies-consent label {
  font-size: 13px; font-weight: 300; color: var(--text-light); cursor: pointer;
}

/* 提交按钮（块级容器，按钮按内容宽度自适应；同样需提升优先级） */
.comment-form > .form-submit {
  display: block;
  margin: 4px 0 0;
}
.comment-form .submit {
  display: inline-block;
  width: auto;
  padding: 13px 40px;
  border: none;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.comment-form .submit:hover {
  background: var(--ink-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(23, 41, 29, 0.2);
}
.comment-form .submit:active { transform: translateY(0); }

/* --------------------------------------------------------------------------
   四、已发布评论列表
   -------------------------------------------------------------------------- */
.comment-list { list-style: none; margin: 0 0 48px; padding: 0; }
.comment-list .comment {
  margin: 0 0 32px;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--line-soft);
}
.comment-list .comment:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.comment-author { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); }
.comment-metadata { font-size: 13px; color: var(--text-light); }
.comment-metadata a { color: var(--text-light); }
.comment-content { font-size: 15px; line-height: 1.85; color: var(--text); }
.comment-content p { margin: 0 0 12px; }
.comment-content p:last-child { margin-bottom: 0; }
.reply { margin-top: 12px; }
.reply a {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--gold-deep);
  background: var(--gold-pale);
  border-radius: 3px;
  transition: background 0.3s, color 0.3s;
}
.reply a:hover { background: var(--gold-light); color: var(--ink); }

/* --------------------------------------------------------------------------
   五、文末 CTA —— 「微信客服 + 预约热线」动作区
   —— 按钮由原「留资页 /liuyan/」改为企业微信客服（同首页 contact 区块的
      work.weixin.qq.com/kfid/… 链接），并补一条可一键拨号的预约热线。
   —— 电话沿用首页「0550-5297 777」；tel: 用纯数字，移动端点击即拨号。
   -------------------------------------------------------------------------- */
.article-cta-actions {
  position: relative;          /* 与 .article-cta::before 的金色光晕同层，避免被遮 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.article-cta-phone {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.3s;
}
.article-cta-phone:hover { color: var(--gold-light); }
.article-cta-phone strong {
  font-weight: 500;
  color: #fff;
  letter-spacing: 1.5px;
}

/* --------------------------------------------------------------------------
   六、相关阅读
   —— 问题一（功能）：查询带 `category__in`，若该文章独占一个分类，同分类命中 0 篇
      → 整个区块静默不输出（模板层已加"回落最新文章"兜底）。
   —— 问题二（版式）：标题居中，卡片却用 `repeat(3, 1fr)` 从左排起。同分类文章不足
      3 篇（极端只有 1 篇）时右侧塌出大片空白，与居中标题明显失衡。
      改为 flex 居中排布：满 3 张铺满一行，不足 3 张整体居中（与标题同一轴线）。
   —— 问题三（间距）：原 `margin-top: 72px` 与 `.single-wrap` 的 `padding-bottom: 72px`
      叠加成 144px 的大空白；且区块无下边距，最后一张卡片直接贴死页脚。
      现：上间距交给 .single-wrap 的 padding-bottom 统一提供，区块自身补下留白。
   -------------------------------------------------------------------------- */
.related-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.related-card {
  flex: 0 1 calc((100% - 48px) / 3);   /* 与 gap:24px 配套，3 张时各占 1/3 轨宽 */
  min-width: 0;
}
.related-posts {
  margin-top: 0;          /* 与评论区的间距由 .single-wrap 的 padding-bottom 统一控制 */
  padding-bottom: 72px;   /* 与页脚的间距（原为 0，卡片会贴死页脚） */
}
@media (max-width: 900px) {
  .related-card { flex-basis: calc((100% - 24px) / 2); }
}

/* --------------------------------------------------------------------------
   七、响应式
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .single-post-content { line-height: 1.7; }
  .single-post-content p { margin-bottom: 16px; }
  .single-post-content h2 { margin: 30px 0 14px; }
  .single-post-content h3 { margin: 22px 0 10px; }
  .single-post-content figure { margin: 22px 0; }
  .single-post-content img { margin: 16px 0; }
  .article-cta { margin: 40px 0; padding: 32px 20px; }
  .post-navigation { margin: 40px 0 0; }

  /* 窄屏收窄左右内边距：.single-post 与 .single-comments 必须同步到同一个值，
     否则窄屏下评论区会比正文两侧各宽出 6px，边缘错位。 */
  .single-wrap > .single-post { padding-left: 18px; padding-right: 18px; }
  .single-comments { margin-top: 44px; padding: 0 18px; }
  .single-wrap { padding-bottom: 56px; }
  .comment-reply-title { font-size: 20px; margin-bottom: 22px; }

  /* 相关阅读：移动端单列堆叠 */
  .related-grid { gap: 18px; }
  .related-card { flex-basis: 100%; }
  .related-posts { padding-bottom: 56px; }

  /* 三列字段在移动端改为单列堆叠 */
  .comment-form { grid-template-columns: 1fr; gap: 16px; }
  .comment-form-author,
  .comment-form-email,
  .comment-form-url { grid-column: 1 / -1; }
  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form input[type="url"],
  .comment-form textarea { font-size: 14px; padding: 10px 14px; }
  .comment-form textarea { height: 90px; }   /* 移动端同步收矮 */
  .comment-form .submit { width: 100%; padding: 13px 20px; }
}

/* 超窄屏：基础样式里 .single-wrap 收到 14px，此处保持 .single-post / .single-comments 同步 */
@media (max-width: 360px) {
  .single-wrap > .single-post { padding-left: 14px; padding-right: 14px; }
  .single-comments { padding: 0 14px; }
  .single-wrap { padding-bottom: 48px; }
  .related-posts { padding-bottom: 48px; }
}
