/* 站内补丁：WordPress 输出适配 */
.art-content p { font-size: 16px; line-height: 2; color: #333; margin: 0 0 22px; }
.art-content h2 { font-family: "Noto Serif SC", serif; font-size: 25px; font-weight: 700; color: var(--green); margin: 52px 0 18px; line-height: 1.5; }
.art-content h3 { font-size: 19px; font-weight: 700; color: #1a1a1a; margin: 36px 0 14px; }
.art-content strong { color: var(--green); }
.art-content img { max-width: 100%; height: auto; display: block; margin: 28px 0; }
.art-content ul, .art-content ol { padding-left: 22px; margin: 0 0 22px; }
.art-content li { font-size: 16px; line-height: 1.95; color: #333; margin-bottom: 10px; }
.art-content a { color: var(--green); border-bottom: 1px solid rgba(0,63,45,.35); }

.video-feature .info > .tag { align-self: flex-start; }
.video-feature .media { min-height: 360px; background: #0c1f19; }
.video-feature .media .play.big { inset: auto; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 84px; height: 84px; display: grid; place-items: center; background: rgba(0,36,26,.55); border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }
.video-feature .media .play.big i { width: 0; height: 0; border-left: 18px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }

.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; margin: 0 4px; border: 1px solid var(--line-strong); color: var(--ink); font-size: 13.5px; }
.page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }
.page-numbers:hover { border-color: var(--green); color: var(--green); }

.feed-item .body p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.form-card .cf7-wrap { margin: 0; }

/* ===== 站内 LOGO ===== */
.brand { align-items: center; }
.brand-logo { height: 46px; width: auto; display: block; }
@media (max-width: 720px) { .brand-logo { height: 38px; } }
@media (max-width: 900px) {
  .nav .shell { height: 64px; gap: 18px; }
  .sub-nav { top: 64px; }
}
@media (max-width: 900px) { .nav-panel { top: 64px; } }

/* ===== 导航：不换行 + 移动端抽屉 ===== */
.nav-links { flex-wrap: nowrap; }
.nav-links a { white-space: nowrap; }
@media (max-width: 1300px) { .nav-links { gap: 22px; } .nav-links a { font-size: 14px; } }
@media (max-width: 1120px) { .nav-links { display: none !important; } }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: 6px;
  border: 0; background: none; padding: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
}
.nav-toggle i { display: block; width: 24px; height: 2px; background: var(--green); transition: transform .25s, opacity .2s; }
body.nav-open .nav-toggle i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle i:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-panel {
  display: none; position: fixed; left: 0; right: 0; top: 84px;
  background: #fff; z-index: 900; padding: 10px 18px 14px; max-height: 50vh;
  border-radius: 0 0 18px 18px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
body.nav-open .nav-panel { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-content: start; }
body.nav-open { overflow: hidden; }
.nav-panel a {
  display: block; padding: 12px 0; font-size: 15.5px; color: var(--ink);
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.nav-panel a:active { color: var(--green); }
.nav-panel a.btn {
  grid-column: 1 / -1; margin-top: 16px; justify-content: center; color: #fff; border-bottom: 0;
  padding: 15px 24px; font-size: 15px;
}
.nav-close {
  display: none; position: absolute; top: 14px; right: 16px; width: 44px; height: 44px;
  border: 0; background: none; color: var(--green); font-size: 28px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.nav-panel .np-tel { grid-column: 1 / -1; margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.nav-scrim { display: none; position: fixed; inset: 0; background: rgba(0,24,17,.42); z-index: 899; }
body.nav-open .nav-scrim { display: block; }

@media (max-width: 1120px) {
  .nav-toggle { display: flex; margin-left: 14px; }
  .nav-cta { margin-left: auto; padding: 11px 18px; }
}
@media (max-width: 560px) { .nav-cta { display: none; } .nav-toggle { margin-left: auto; } }

/* 手机端首屏加一层压暗，保证文字可读 */
@media (max-width: 900px) {
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0,26,18,.74) 0%, rgba(0,26,18,.40) 45%, rgba(0,26,18,.66) 100%);
  }
}

/* ===== 视频：页面内直接播放 ===== */
.v-box { position: relative; }
.v-player { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; background: #05130f; }
.v-box.playing .js-play { opacity: 0; visibility: hidden; pointer-events: none; }
.v-box .js-play { transition: opacity .25s, visibility .25s; }
.video-feature .media .v-player { height: 100%; min-height: 380px; aspect-ratio: 16/10; }
.video-feature .media .js-play {
  inset: auto !important; left: 50% !important; top: 50% !important; transform: translate(-50%,-50%) !important;
  width: 84px !important; height: 84px !important; border: 0 !important; border-radius: 50% !important;
  background: rgba(255,255,255,.94) !important; box-shadow: 0 6px 22px rgba(0,0,0,.22) !important;
  display: grid !important; place-items: center !important;
}
.video-feature .media .js-play i {
  width: 0 !important; height: 0 !important; border-radius: 0 !important; background: transparent !important;
  display: block !important; border: 0 !important;
  border-left: 18px solid var(--green) !important;
  border-top: 11px solid transparent !important; border-bottom: 11px solid transparent !important;
  margin-left: 5px !important;
}
.video-feature .media .js-play i::after { content: none !important; display: none !important; }
.vcard .m .js-play {
  inset: auto !important; left: 50% !important; top: 50% !important; transform: translate(-50%,-50%) !important;
  width: 54px !important; height: 54px !important; border: 0 !important; border-radius: 50% !important;
  background: rgba(255,255,255,.94) !important; box-shadow: 0 4px 16px rgba(0,0,0,.2) !important;
  display: grid !important; place-items: center !important;
}
.vcard .m .js-play i {
  width: 0 !important; height: 0 !important; border-radius: 0 !important; background: transparent !important;
  display: block !important; border: 0 !important;
  border-left: 14px solid var(--green) !important;
  border-top: 8px solid transparent !important; border-bottom: 8px solid transparent !important;
  margin-left: 4px !important;
}
.vcard .m .js-play i::after { content: none !important; display: none !important; }

/* 对比表：用底色把「移动阳光房」列提出来 */
.compare td.new { background: #eaf3ee; color: #14352a; }
.compare td.new b { color: #00543a; }
.compare thead th:nth-child(3) { background: #00543a; color: #ffcf6b; }
.compare td.new, .compare thead th:nth-child(3) { border-left: 1px solid rgba(0,63,45,.14); }
@media (max-width: 900px) {
  .compare td.new { background: #f3f8f5; }
}

/* ===== 案例页：筛选条 ===== */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid #e9e9e3;
  padding: 18px 0;
}
.filter-bar .filter-chips {
  margin: 0;
  gap: 8px;
  align-items: center;
}
.filter-bar .chip {
  padding: 9px 18px;
  font-size: 13.5px;
  line-height: 1.1;
  border-color: #dcdcd4;
  color: #3f4a45;
  background: #fff;
  transition: background .18s, border-color .18s, color .18s;
}
.filter-bar .chip:hover { border-color: var(--green); color: var(--green); background: #f4f8f5; }
.filter-bar .chip.is-on,
.filter-bar .chip[aria-current="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.filter-bar .chip.is-on:hover { background: #00543a; color: #fff; }
.filter-bar .chip-note { font-size: 12.5px; color: #8c8c85; }
@media (max-width: 900px) {
  .filter-bar { padding: 14px 0; }
  .filter-bar .filter-chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  .filter-bar .filter-chips::-webkit-scrollbar { display: none; }
  .filter-bar .chip { flex: 0 0 auto; }
  .filter-bar .chip-note { display: none; }
}

/* ===== 翻页条 ===== */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin: 8px 0 0;
  padding-top: 26px;
  border-top: 1px solid #e9e9e3;
}
.pager-info { font-size: 12.5px; color: #8c8c85; letter-spacing: .02em; }
.pager-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pager-nav .page-numbers {
  min-width: 42px; height: 42px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #dcdcd4; border-radius: 6px; background: #fff;
  font-size: 13.5px; line-height: 1; color: #3f4a45; text-decoration: none;
  transition: border-color .18s, color .18s, background .18s;
}
.pager-nav .page-numbers:hover { border-color: var(--green); color: var(--green); background: #f4f8f5; }
.pager-nav .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.pager-nav .page-numbers.dots { border: 0; background: transparent; min-width: 18px; padding: 0 2px; color: #a8a8a1; }
.pager-nav .prev, .pager-nav .next { padding: 0 18px; }
@media (max-width: 720px) {
  .pager { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 30px; }
  .pager-nav { width: 100%; }
  .pager-nav .page-numbers { min-width: 38px; height: 38px; padding: 0 10px; font-size: 13px; }
  .pager-nav .prev, .pager-nav .next { padding: 0 12px; }
}



/* ===== 手机端：导航按钮点开后，菜单从右侧滑出，只占一半屏宽 ===== */
@media (max-width: 900px) {
  .nav-panel {
    left: auto; right: 0; top: 0; bottom: 0;
    width: 50vw; min-width: 176px; max-width: 340px;
    max-height: none; height: auto;
    padding: 6px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius: 0 0 0 18px;
    box-shadow: -22px 0 56px rgba(0, 0, 0, .20);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    display: block;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), visibility .3s;
  }
  body.nav-open .nav-panel {
    display: block;
    transform: translateX(0);
    visibility: visible;
  }
  .nav-panel .nav-close {
    display: flex; position: absolute; top: 6px; right: 10px;
    width: 40px; height: 40px; z-index: 2;
  }
  .nav-panel a { padding: 13px 2px; font-size: 15px; }
  .nav-panel > a:first-of-type { padding-right: 46px; }
  .nav-panel a.btn {
    margin-top: 14px; padding: 14px 16px; font-size: 14px; border-radius: 3px;
  }
  .nav-panel .np-tel { margin-top: 12px; font-size: 12.5px; line-height: 1.6; }
  .nav-scrim { background: rgba(0, 24, 17, .38); }
}

/* 图片优化：WebP 直换 src，未加载时沿用原图容器尺寸，不改动任何布局 */
