.news-body {
  background: #f6f9fe;
}

.news-hero {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 24%, rgba(104, 70, 238, .17), transparent 26%),
    linear-gradient(135deg, #eff6ff 0%, #f8fbff 48%, #f2efff 100%);
}

.news-hero::before {
  position: absolute;
  inset: 0;
  background: url("assets/media-wall-background.png") center / cover no-repeat;
  opacity: .16;
  content: "";
}

.news-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1200px, calc(100% - 48px));
  min-height: 350px;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin: 0 auto;
}

.news-hero-copy {
  max-width: 650px;
}

.news-hero-art {
  width: 440px;
  max-height: 300px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(55, 91, 173, .14));
}

.news-kicker {
  display: inline-flex;
  height: 32px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(55, 123, 241, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .62);
  color: #2b73e8;
  font-size: 14px;
  font-weight: 750;
}

.news-hero h1 {
  margin: 20px 0 12px;
  color: #0b1931;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -1px;
}

.news-hero h1 em {
  background: linear-gradient(100deg, #187cf4, #7044ed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.news-hero p {
  margin: 0;
  color: #657690;
  font-size: 16px;
  line-height: 1.85;
}

.news-search {
  display: flex;
  width: 390px;
  height: 54px;
  align-items: center;
  padding-left: 18px;
  border: 1px solid rgba(205, 219, 243, .95);
  border-radius: 27px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 35px rgba(56, 83, 139, .1);
}

.news-search i {
  color: #7189ab;
  font-size: 21px;
}

.news-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 13px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1b2b44;
  font: inherit;
  font-size: 15px;
}

.news-search button {
  width: 86px;
  height: 42px;
  margin-right: 6px;
  border: 0;
  border-radius: 21px;
  background: linear-gradient(105deg, #6c3fea, #1680f7);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.news-page-section {
  padding: 0 0 82px;
}

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

.news-category-bar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding: 12px 16px 12px 22px;
  border: 1px solid #e2eaf6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(55, 82, 131, .055);
}

.news-category-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-category-tabs button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 19px;
  background: transparent;
  color: #53647e;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.news-category-tabs button:hover,
.news-category-tabs button.active {
  background: linear-gradient(105deg, #6642ed, #1b80f6);
  color: #fff;
  box-shadow: 0 8px 19px rgba(58, 96, 232, .18);
}

.news-count {
  color: #8492a7;
  font-size: 13px;
  white-space: nowrap;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 830px) minmax(280px, 1fr);
  align-items: start;
  gap: 28px;
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-list-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 182px;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid #e1e9f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(48, 79, 133, .045);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.article-list-item:hover {
  transform: translateY(-4px);
  border-color: #bdd4fa;
  box-shadow: 0 18px 34px rgba(48, 84, 145, .1);
}

.article-list-cover {
  width: 210px;
  height: 130px;
  align-self: center;
  overflow: hidden;
  border-radius: 10px;
  background: #edf4ff;
}

.article-list-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.article-list-item:hover .article-list-cover img {
  transform: scale(1.04);
}

.article-list-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 4px 9px 4px 0;
}

.article-list-content > .article-tag {
  display: none;
}

.article-tag {
  display: inline-flex;
  width: max-content;
  height: 25px;
  align-items: center;
  padding: 0 10px;
  border-radius: 7px;
  background: #eef4ff;
  color: #3977e8;
  font-size: 13px;
  font-weight: 750;
}

.article-tag.geo { background: #ebf9f5; color: #16986d; }
.article-tag.platform { background: #f0edff; color: #704be5; }
.article-tag.marketing { background: #fff2e8; color: #e17a27; }

.article-list-content h2 {
  margin: 0 0 8px;
  color: #14233b;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 800;
}

.article-list-content h2 a:hover {
  color: #2775eb;
}

.article-list-content > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #738198;
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: auto;
  padding-top: 13px;
  color: #8996aa;
  font-size: 13px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 24px;
  border: 1px solid #e2eaf6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(48, 79, 133, .045);
}

.sidebar-card h3 {
  position: relative;
  margin: 0 0 18px;
  padding-left: 13px;
  color: #172740;
  font-size: 18px;
  font-weight: 800;
}

.sidebar-card h3::before {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(#1c85f7, #7045ed);
  content: "";
}

.hot-article-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hot-article-list li {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f7;
}

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

.hot-article-list b {
  color: #8b9ab0;
  font-size: 16px;
  font-style: italic;
}

.hot-article-list li:first-child b,
.hot-article-list li:nth-child(2) b,
.hot-article-list li:nth-child(3) b {
  color: #3979ee;
}

.hot-article-list a {
  display: block;
  overflow: hidden;
  color: #42536d;
  font-size: 14px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-article-list a:hover {
  color: #2474ea;
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.sidebar-tags button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #e0e8f5;
  border-radius: 16px;
  background: #f8faff;
  color: #66758d;
  font: inherit;
  font-size: 13px;
}

.news-subscribe-card {
  position: relative;
  overflow: hidden;
  padding: 27px 24px;
  background: linear-gradient(135deg, #287df3, #6949e9);
  color: #fff;
}

.news-subscribe-card::after {
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, .04);
  content: "";
}

.news-subscribe-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 9px;
  padding-left: 0;
  color: #fff;
}

.news-subscribe-card h3::before { display: none; }
.news-subscribe-card p { position: relative; z-index: 1; margin: 0 0 18px; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.7; }
.news-subscribe-card a { position: relative; z-index: 1; display: inline-flex; height: 38px; align-items: center; padding: 0 18px; border-radius: 19px; background: #fff; color: #405fe9; font-size: 14px; font-weight: 750; }

.consultant-card {
  text-align: center;
}

.consultant-card h3,
.consultant-card p,
.consultant-card small,
.consultant-qr-title,
.consultant-qr-box {
  position: relative;
  z-index: 1;
}

.consultant-qr-box {
  display: flex;
  width: 176px;
  height: 176px;
  align-items: center;
  justify-content: center;
  margin: 4px auto 15px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(27, 37, 126, .22);
}

.consultant-qr-box img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: contain;
}

.consultant-qr-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.consultant-qr-title i {
  color: #9ff2c7;
  font-size: 19px;
}

.consultant-card small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.news-pagination button {
  width: 38px;
  height: 38px;
  border: 1px solid #dce5f2;
  border-radius: 9px;
  background: #fff;
  color: #5f6f87;
  font: inherit;
  font-size: 14px;
}

.news-pagination button.active,
.news-pagination button:hover {
  border-color: transparent;
  background: linear-gradient(145deg, #237ff4, #6847eb);
  color: #fff;
}

/* Article detail */
.article-detail-hero {
  min-height: 234px;
  background: #f5f9ff url("assets/article-detail-banner-v3.png") center / cover no-repeat;
}

.article-detail-head {
  width: 100%;
  margin: 0 0 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e7edf6;
  text-align: left;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 24px;
  color: #8090a7;
  font-size: 13px;
}

.breadcrumbs a:hover { color: #2474eb; }

.article-detail-head h1 {
  margin: 12px 0 0;
  color: #0d1b33;
  font-size: clamp(17px, 1.8vw, 25px);
  line-height: 1.35;
  font-weight: 850;
  letter-spacing: -.6px;
  text-align: center;
  white-space: nowrap;
}

.article-detail-head > p {
  max-width: 780px;
  margin: 16px 0 0;
  color: #6d7d94;
  font-size: 16px;
  line-height: 1.8;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 22px;
  color: #8795aa;
  font-size: 13px;
}

.article-detail-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-detail-section { padding: 54px 0 80px; }
.article-detail-layout { display: grid; grid-template-columns: minmax(0, 840px) minmax(280px, 1fr); align-items: start; gap: 30px; }
.article-paper { padding: 36px 46px 44px; border: 1px solid #e1e9f5; border-radius: 16px; background: #fff; box-shadow: 0 16px 38px rgba(48, 79, 133, .055); }
.article-hero-image { width: 100%; height: 390px; margin-bottom: 32px; border-radius: 12px; object-fit: cover; background: #edf4ff; }
.article-body { color: #3f4f67; font-size: 16px; line-height: 1.5; }
.article-body :is(p, h2, h3, h4) { margin: 15px 0; }
.article-body > :is(p, h2, h3, h4):first-child { margin-top: 0; }
.article-body > :is(p, h2, h3, h4):last-child { margin-bottom: 0; }
.article-body h2 { color: #12233c; font-size: 25px; line-height: 1.4; font-weight: 820; }
.article-body h3 { color: #1d3150; font-size: 20px; }
.article-body ul { margin: 0 0 22px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-quote { margin: 28px 0; padding: 22px 24px; border-left: 4px solid #377df2; border-radius: 0 10px 10px 0; background: linear-gradient(100deg, #f1f7ff, #f7f4ff); color: #294664; font-size: 17px; font-weight: 650; line-height: 1.8; }
.article-inline-image { width: 100%; margin: 16px 0 28px; border: 1px solid #e4ebf7; border-radius: 12px; }
.article-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 34px; padding-top: 25px; border-top: 1px solid #edf1f7; }
.article-nav a { padding: 18px 20px; border: 1px solid #e1e9f5; border-radius: 11px; background: #fff; color: #617189; font-size: 13px; line-height: 1.6; }
.article-nav a:last-child { text-align: right; }
.article-nav strong { display: block; margin-top: 4px; color: #263a57; font-size: 14px; overflow-wrap: anywhere; }
.article-toc { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.article-toc li { counter-increment: toc; }
.article-toc a { display: grid; grid-template-columns: 25px 1fr; gap: 7px; padding: 9px 0; color: #5d6e87; font-size: 14px; line-height: 1.5; }
.article-toc a::before { color: #3978eb; content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 800; }
.article-toc a:hover { color: #2773e7; }
.related-list { display: grid; gap: 13px; }
.related-list a { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; color: #40516a; font-size: 13px; line-height: 1.55; }
.related-list a.without-cover { grid-template-columns: minmax(0, 1fr); }
.related-list img { width: 76px; height: 55px; border-radius: 7px; object-fit: cover; background: #edf4ff; }
.related-list a:hover { color: #2474eb; }

@media (max-width: 1000px) {
  .news-hero-inner { flex-direction: column; align-items: flex-start; justify-content: center; }
  .news-hero-art { position: absolute; right: 0; width: 340px; opacity: .34; }
  .news-search { width: min(520px, 100%); }
  .news-layout, .article-detail-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .news-subscribe-card { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .news-hero-inner, .news-container { width: min(100% - 28px, 1200px); }
  .news-hero { min-height: 410px; }
  .news-hero-inner { min-height: 410px; gap: 28px; }
  .news-hero h1 { font-size: 35px; }
  .news-hero-art { width: 250px; opacity: .2; }
  .news-category-bar { align-items: flex-start; flex-direction: column; }
  .news-category-tabs { width: 100%; overflow-x: auto; }
  .news-category-tabs button { flex: 0 0 auto; }
  .article-list-item { grid-template-columns: 1fr; }
  .article-list-cover { width: 100%; height: 190px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .article-paper { padding: 24px 20px 32px; }
  .article-hero-image { height: 240px; }
  .article-detail-meta { flex-wrap: wrap; gap: 12px 18px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .article-list-item, .article-list-cover img, .news-category-tabs button { transition: none; }
}
