﻿:root {
  --red: #C40018;
  --red-dark: #980014;
  --blue: #1F1F1F;
  --blue-deep: #1F1F1F;
  --ink: #1F1F1F;
  --muted: #666666;
  --line: #e7ebf3;
  --soft: #F5F6F7;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(8, 25, 68, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #fff;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  color: #fff;
  background: var(--blue-deep);
  font-size: 13px;
}

.topbar-inner,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-inner {
  min-height: 38px;
}

.topbar-contact {
  display: flex;
  gap: 18px;
}

.topbar a:hover {
  color: #e5edff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(231, 235, 243, .9);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 78px;
}

.brand img {
  width: 184px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
}

.main-nav a {
  padding: 10px 10px;
  color: #1f2937;
  font-size: 14px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.header-phone {
  min-width: 136px;
  padding: 9px 12px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  background: var(--red);
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #F5F6F7;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 18, 55, .18) 0%, rgba(3, 18, 55, .06) 48%, rgba(3, 18, 55, 0) 100%);
}

.hero-inner {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(320px, 1fr);
  align-items: center;
  gap: 48px;
  padding: 72px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fff;
  display: inline-flex;
  padding: 6px 12px;
  background: var(--red);
  border-radius: 3px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.06;
  font-weight: 900;
}

.hero-lead {
  width: min(660px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.primary {
  color: #fff;
  background: var(--red);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
}

.btn.dark {
  color: #fff;
  background: var(--blue-deep);
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
}

.hero-badges span {
  min-height: 78px;
  padding: 13px 12px;
  color: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  border-radius: 4px;
}

.hero-badges strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}

.hero-machine {
  position: relative;
  min-height: 430px;
  display: none;
  align-items: center;
  justify-content: center;
}

/* .hero-machine img {
  width: min(620px, 100%);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, .35));
} */

.hero-specs {
  position: absolute;
  right: 0;
  bottom: 28px;
  display: grid;
  gap: 8px;
}

.hero-specs span {
  padding: 8px 12px;
  color: #fff;
  background: var(--red);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
}

.trust-strip {
  background: var(--red);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strip-grid div {
  min-height: 108px;
  padding: 24px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .28);
}

.strip-grid div:last-child {
  border-right: 0;
}

.strip-grid strong,
.strip-grid span {
  display: block;
}

.strip-grid strong {
  font-size: 19px;
  margin-bottom: 5px;
}

.strip-grid span {
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.section:nth-of-type(odd) {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr);
  align-items: end;
  gap: 56px;
}

.section-head h2,
.factory-copy h2,
.cta-inner h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.section-desc,
.factory-copy p,
.cta-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-tabs button {
  min-height: 40px;
  padding: 0 16px;
  color: #334155;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.filter-tabs button.active,
.filter-tabs button:hover {
  color: #fff;
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-thumb {
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #f7f9fd;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.product-tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 8px;
  color: var(--red);
  background: #fff1f1;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

.product-card h3 {
  min-height: 26px;
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.product-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.product-card ul {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 15px;
  color: #344054;
  font-size: 14px;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.product-link {
  margin-top: auto;
  color: var(--blue-deep);
  font-weight: 800;
}

.product-link:hover {
  color: var(--red);
}

.scenario-section {
  background: #fff;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 18px;
}

.scenario-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111827;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(9, 25, 67, .16);
}

.scenario-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.scenario-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.scenario-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 20, 55, .52);
}

.scenario-card:hover img {
  transform: scale(1.05);
}

.scenario-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.scene-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  color: #fff;
  background: var(--red);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

.scenario-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.scenario-card.featured h3 {
  font-size: 30px;
}

.scenario-card p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.scenario-card a {
  position: absolute;
  inset: 0;
  z-index: 3;
  font-size: 0;
}

.advantage-band {
  background: #fff;
}

.advantage-grid,
.tech-grid,
.case-grid,
.process-grid {
  display: grid;
  gap: 20px;
}

.advantage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.advantage-grid article,
.tech-grid article,
.process-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.advantage-grid article span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 28px;
  font-weight: 900;
}

.advantage-grid h3,
.tech-grid h3,
.process-card h3,
.case-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
  
}

.advantage-grid p,
.tech-grid p,
.process-card p,
.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.factory-section {
  background: var(--soft);  
}

.factory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  gap: 42px;
  align-items: center;
}

.factory-media {
  display: grid;
  grid-template-columns: 1.12fr 1.12fr;
  gap: 14px;
  align-items: start;
}

.factory-photo {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(8, 25, 68, .08);
}

.factory-photo-main {
  grid-row: span 2;
}

.factory-photo img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  margin: 0 auto;
}

.factory-photo:not(.factory-photo-main) img {
  max-height: 255px;
}

.factory-photo figcaption {
  margin-top: 10px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.factory-copy {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.factory-copy h2 {
  margin-bottom: 18px;
}

.factory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.factory-list div {
  padding: 18px;
  background: var(--soft);
  border-left: 4px solid var(--red);
  border-radius: 4px;
}

.factory-list strong,
.factory-list span {
  display: block;
}

.factory-list strong {
  color: var(--blue-deep);
  font-size: 24px;
  line-height: 1.15;
}

.factory-list span {
  color: var(--muted);
  font-size: 13px;
}

.technology-section {
  background: #fff;
}

.tech-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tech-grid article {
  min-height: 215px;
  border-top: 4px solid var(--blue);
}

.honors-section {
  background: var(--soft);
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.honor-grid img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cases-section {
  background: #fff;
}

.case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.case-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.case-body {
  padding: 18px;
}

.case-card h3 {
  min-height: 50px;
  font-size: 18px; max-height: 50px; overflow: hidden;
}

.case-card p {
  min-height: 72px;  max-height: 72px;  overflow: hidden;
  font-size: 14px;
}

.case-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--blue-deep);
  font-weight: 800;
}

.process-section {
  background: var(--soft);
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: process;
}

.process-card {
  position: relative;
  overflow: hidden;
}

.process-card::before {
  counter-increment: process;
  content: "0" counter(process);
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 900; text-align: center;
  line-height: 44px;
}

.cta-section {
  color: #fff;
  background: var(--blue-deep);
  padding: 60px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.cta-inner h2,
.cta-inner p,
.cta-inner .section-kicker {
  color: #fff;
}

.cta-inner p {
  color: rgba(255, 255, 255, .82);
  margin-top: 12px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.consult-float {
  position: fixed;
  z-index: 60;
  top: 50%;
  transform: translateY(-50%);
}

.consult-left {
  left: 18px;
}

.consult-right {
  right: 18px;
  top: 68%;
}

.consult-trigger {
  width: 58px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 18px 38px rgba(214, 20, 25, .28);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.consult-trigger:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
}

.consult-trigger span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1.1;
  font-size: 16px;
  letter-spacing: 0;
}

.consult-trigger small {
  font-size: 12px;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, .86);
}

.site-footer {
  color: #c8d1e1;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr .75fr;
  gap: 42px;
  padding: 48px 0 38px;
}

.footer-logo {
  width: 185px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 4px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer p {
  margin: 12px 0 0;
  color: #c8d1e1;
}

.footer-qrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.footer-qrs div {
  text-align: center;
}

.footer-qrs img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  margin: 0 auto;
  background: #fff;
}

.footer-qrs span {
  display: block;
  margin-top: 8px;
  color: #c8d1e1;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 15px 20px;
  color: #7b8798;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
}

.footer-bottom a:hover{  color: #C40018;}

@media screen and (max-width: 1180px) {
  .header-phone {
     font-size: 12px; padding: 5px 2px; line-height: 1.2;  text-align: center; min-width: 50px; width: 100px;
  }

  .main-nav {
    position: fixed;
    left: 0px;
    right: 0px;  
    top: 118px;
    display: none;
    flex-direction: column;
    align-items: stretch;  
    gap: 0;
    padding: 10px 16px 50px ;
    background: #fff; 
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: block;
  }

  .hero-inner,
  .factory-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-grid,
  .tech-grid,
  .case-grid,
  .process-grid,
  .honor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
  }

  .topbar-contact {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand img {
    width: 150px;
  }

  .main-nav {
    top: 105px;
  }

  .hero {
    background: #F5F6F7;
  }

  .hero-inner {
    gap: 24px;
    padding: 48px 0 56px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-badges,
  .strip-grid,
  .product-grid,
  .advantage-grid,
  .tech-grid,
  .case-grid,
  .process-grid,
  .honor-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-machine {
    min-height: 280px;
    display: flex;
  }

  .hero-machine img {
    max-height: 300px;
  }

  .hero-specs {
    position: static; display: none;
    width: 100%;
    margin-top: 14px;
  }

  .strip-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
  }

  .section {
    padding: 58px 0;
  }

  .section-head.split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .scenario-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .scenario-card.featured {
    grid-column: auto;
    grid-row: auto;
  }

  .scenario-card.featured h3 {
    font-size: 22px;
  }

  .factory-media {
    grid-template-columns: 1fr;  display: none;
  }

  .factory-photo-main {
    grid-row: auto;
  }

  .factory-photo img,
  .factory-photo:not(.factory-photo-main) img {
    max-height: none;
  }

  .factory-copy {
    padding: 24px;
  }

  .factory-list {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .consult-left {
    left: 8px;
  }

  .consult-right {
    right: 8px;
  }

  .consult-trigger {
    width: 44px;
    min-height: 118px;
    padding: 10px 6px;
  }

  .consult-trigger span,
  .consult-trigger small {
    font-size: 12px;
  }
}


/* ===== 新闻详情页专属样式 ===== */
.news-detail-section {
  padding: 60px 0 80px;
  background: #f8f9fc;
}

.news-detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* ---- 主内容 ---- */
.news-detail-main {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 48px 52px;
}

.news-detail-breadcrumb {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
}
.news-detail-breadcrumb a {
  color: #c00;
  text-decoration: none;
}
.news-detail-breadcrumb a:hover {
  text-decoration: underline;
}
.news-detail-breadcrumb span {
  color: #333;
}

.news-detail-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
  margin-bottom: 16px;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: #888;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 28px;
}
.news-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-detail-meta .label {
  color: #aaa;
}

.news-detail-featured-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  background: #e9ecf2;
}
.news-detail-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

.news-detail-body {
  font-size: 16px;
  line-height: 1.75;
  color: #2c2c3a;
}
.news-detail-body p {
  margin-bottom: 0em; margin: 0; padding: 0;
}
.news-detail-body h4 {
  font-size: 20px;
  margin: 28px 0 14px;
  color: #1a1a2e;
}
.news-detail-body ul,
.news-detail-body ol {
  padding-left: 24px;
  margin-bottom: 1.2em;
}
.news-detail-body li {
  margin-bottom: 6px;
}
.news-detail-body .quote {
  background: #f5f6fa;
  border-left: 4px solid #c00;
  padding: 18px 26px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #444;
}
.news-detail-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 16px 0;
}

/* ---- 侧边栏 ---- */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 28px 24px;
}
.sidebar-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}
.sidebar-card h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #c00;
}

/* 热门新闻列表 */
.hot-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hot-news-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.hot-news-list li:last-child {
  border-bottom: 0;
}
.hot-news-list a {
  display: block;
  font-size: 15px;
  color: #2c2c3a;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}
.hot-news-list a:hover {
  color: #c00;
}
.hot-news-list .hot-tag {
  display: inline-block;
  background: #c00;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 0 8px;
  border-radius: 3px;
  margin-right: 6px;
  line-height: 20px;
}
.hot-news-list .date {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}

/* 相关推荐 */
.rel-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rel-news-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.rel-news-list li:last-child {
  border-bottom: 0;
}
.rel-news-list .rel-thumb {
  flex: 0 0 80px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  background: #e9ecf2;
}
.rel-news-list .rel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rel-news-list .rel-info {
  flex: 1;
}
.rel-news-list .rel-info a {
  font-size: 14px;
  color: #2c2c3a;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rel-news-list .rel-info a:hover {
  color: #c00;
}
.rel-news-list .rel-info .rel-date {
  font-size: 12px;
  color: #bbb;
  margin-top: 2px;
}

/* 标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-cloud a {
  display: inline-block;
  background: #f0f2f6;
  color: #555;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}
.tag-cloud a:hover {
  background: #c00;
  color: #fff;
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
  .news-detail-wrapper {
      grid-template-columns: 1fr;
      gap: 32px;
  }
  .news-detail-main {
      padding: 32px 24px;
  }
  .news-detail-title {
      font-size: 26px;
  }
}

@media (max-width: 576px) {
  .topbar{display: none;}
  .news-detail-main {
      padding: 20px 16px;
  }
  .news-detail-title {
      font-size: 22px;
  }
  .news-detail-meta {
      gap: 12px;
      font-size: 13px;
      flex-wrap: wrap;
  }
  .news-detail-body {
      font-size: 15px;
  }
  .sidebar-card {
      padding: 20px 16px;
  }
  .rel-news-list .rel-thumb {
      flex: 0 0 64px;
      height: 44px;
  }


  .scenario-card p{display: none;}


}

/* 回到顶部（复用） */
.back-to-list {
  display: inline-block;
  margin-top: 32px;
  font-size: 14px;
  color: #c00;
  text-decoration: none;
  font-weight: 500;
}
.back-to-list:hover {
  text-decoration: underline;
}
.back-to-list::before {
  content: '← ';
}

/* 修正一些全局冲突 */
.section-head h2 {
  font-size: 32px;
}
 
.topbar .container {
  padding: 0 20px;
}