:root {
  --text: #1f2937;
  --muted: #687385;
  --line: #e7eaf0;
  --brand: #1b5fc1;
  --brand-dark: #0c3f8a;
  --accent: #d9232e;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --green: #0f8b6f;
  --gold: #a06b20;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.top-line,
.search-row,
.channel-nav,
.page-shell,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.top-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-size: 24px;
  font-weight: 800;
}

.brand strong {
  display: block;
  color: var(--brand-dark);
  font-size: 24px;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.quick-links a:hover,
.channel-nav a:hover,
.headline-panel a:hover,
.hot-card a:hover {
  color: var(--accent);
}

.search-row {
  display: grid;
  grid-template-columns: minmax(280px, 620px) 1fr;
  align-items: center;
  gap: 22px;
  padding: 4px 0 18px;
}

.search-box {
  display: flex;
  min-height: 42px;
  border: 2px solid var(--brand);
  border-radius: 4px;
  overflow: hidden;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 14px;
  color: var(--text);
  font-size: 16px;
  outline: 0;
}

.search-box button {
  width: 118px;
  border: 0;
  color: #fff;
  background: var(--brand);
  font-size: 15px;
  cursor: pointer;
}

.search-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.channel-nav {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding: 0 0 1px;
}

.channel-nav a {
  flex: 0 0 auto;
  padding: 12px 17px;
  color: #344155;
  font-size: 16px;
}

.channel-nav .active {
  color: #fff;
  background: var(--brand);
}

.page-shell {
  padding: 22px 0 36px;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(260px, 52%) 1fr;
  gap: 22px;
  align-items: center;
}

.lead-story img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.label,
.tag {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.lead-copy h1 {
  margin: 9px 0 12px;
  color: #111827;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: 0;
}

.lead-copy p {
  margin: 0;
  color: #465467;
  font-size: 16px;
  line-height: 1.85;
}

.headline-panel {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.headline-panel h2,
.service-card h2,
.topic-card h2,
.hot-card h2 {
  margin: 0;
  color: #111827;
  font-size: 20px;
}

.headline-panel a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid #dfe4ed;
  font-size: 15px;
  line-height: 1.55;
}

.headline-panel a:last-child {
  border-bottom: 0;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding-top: 24px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--brand);
}

.section-title h2 {
  margin: 0;
  padding: 0 0 10px;
  color: var(--brand-dark);
  font-size: 22px;
}

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

.section-title.compact {
  margin-bottom: 4px;
}

.news-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.news-item img,
.generated-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  object-fit: cover;
}

.news-item h3 {
  margin: 7px 0 9px;
  color: #182235;
  font-size: 21px;
  line-height: 1.36;
}

.news-item p {
  margin: 0;
  color: #4f5d70;
  font-size: 15px;
  line-height: 1.8;
}

.news-item time {
  display: block;
  margin-top: 12px;
  color: #8a94a5;
  font-size: 13px;
}

.seo-section {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

.seo-section h2 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1.35;
}

.seo-section p {
  margin: 8px 0 0;
  color: #4f5d70;
  font-size: 15px;
  line-height: 1.85;
}

.generated-thumb {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.76), transparent 22%),
    linear-gradient(135deg, #dbeafe, #f8fafc 42%, #fee2e2);
}

.generated-thumb::before,
.generated-thumb::after {
  position: absolute;
  content: "";
  border-radius: 5px;
}

.generated-thumb::before {
  inset: 18% 14% 18% 18%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.16);
}

.generated-thumb::after {
  width: 42%;
  height: 13%;
  left: 29%;
  top: 45%;
  background: currentColor;
  box-shadow:
    -28px -25px 0 -6px rgba(255, 255, 255, 0.9),
    32px 27px 0 -7px rgba(255, 255, 255, 0.85);
}

.thumb-red {
  color: #c53030;
  background:
    radial-gradient(circle at 22% 26%, rgba(255, 255, 255, 0.8), transparent 22%),
    linear-gradient(135deg, #e9f1ff, #fff 45%, #ffd8d8);
}

.thumb-green {
  color: var(--green);
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(135deg, #dcfce7, #ffffff 44%, #dbeafe);
}

.thumb-teal {
  color: #0e7490;
  background:
    radial-gradient(circle at 20% 74%, rgba(255, 255, 255, 0.75), transparent 25%),
    linear-gradient(135deg, #ccfbf1, #f8fafc 46%, #e0e7ff);
}

.thumb-gold {
  color: var(--gold);
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.76), transparent 24%),
    linear-gradient(135deg, #fef3c7, #ffffff 45%, #e0f2fe);
}

.thumb-blue {
  color: var(--brand);
  background:
    radial-gradient(circle at 25% 24%, rgba(255, 255, 255, 0.78), transparent 22%),
    linear-gradient(135deg, #dbeafe, #ffffff 42%, #cffafe);
}

.thumb-steel {
  color: #3f5f73;
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.78), transparent 24%),
    linear-gradient(135deg, #e2e8f0, #ffffff 44%, #dcfce7);
}

.side-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.hot-card,
.service-card,
.topic-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 16px;
}

.hot-card ol {
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
  counter-reset: hot;
}

.hot-card li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: hot;
  font-size: 15px;
  line-height: 1.45;
}

.hot-card li:last-child {
  border-bottom: 0;
}

.hot-card li::before {
  content: counter(hot);
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  border-radius: 4px;
  background: #9aa5b5;
  font-size: 12px;
  font-weight: 700;
}

.hot-card li:nth-child(-n + 3)::before {
  background: var(--accent);
}

.service-card {
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.service-card p {
  margin: 10px 0 16px;
  color: #4b5870;
  line-height: 1.7;
}

.service-card dl,
.service-card dd {
  margin: 0;
}

.service-card div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.service-card dt {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

.service-card dd {
  margin-top: 5px;
  color: #4f5d70;
  font-size: 14px;
  line-height: 1.6;
}

.service-card .wechat {
  display: inline-block;
  padding: 5px 9px;
  color: #fff;
  border-radius: 4px;
  background: var(--green);
  font-size: 16px;
  font-weight: 800;
}

.qr-box {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.qr-box img {
  width: min(100%, 210px);
  aspect-ratio: 1;
  border: 1px solid #eef1f6;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.qr-box span {
  color: #4f5d70;
  font-size: 14px;
  line-height: 1.55;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.topic-grid span {
  padding: 9px 10px;
  color: #344155;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
  text-align: center;
  font-size: 14px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: center;
  padding: 24px 0 34px;
  color: #586579;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer strong {
  color: var(--brand-dark);
}

@media (max-width: 940px) {
  .search-row,
  .lead-grid,
  .content-layout,
  .lead-story {
    grid-template-columns: 1fr;
  }

  .headline-panel,
  .side-column {
    order: initial;
  }
}

@media (max-width: 640px) {
  .top-line,
  .search-row,
  .channel-nav,
  .page-shell,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .top-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-links {
    justify-content: flex-start;
    gap: 12px;
  }

  .search-box {
    min-height: 40px;
  }

  .search-box button {
    width: 96px;
    font-size: 14px;
  }

  .channel-nav a {
    padding: 10px 12px;
    font-size: 15px;
  }

  .lead-copy h1 {
    font-size: 25px;
  }

  .news-item {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
  }

  .news-item h3 {
    font-size: 17px;
  }

  .news-item p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 14px;
  }
}
