/* 营销资讯 / CMS 前台样式 */
.news-page {
  --news-ink: #14212b;
  --news-muted: #5b6b76;
  --news-line: rgba(20, 33, 43, 0.1);
  --news-soft: #f3f6f8;
  --news-accent: #c8102e;
  color: var(--news-ink);
  background: #fff;
  padding-bottom: 72px;
}

.news-hero {
  background:
    radial-gradient(700px 280px at 12% 0%, rgba(200, 16, 46, 0.12), transparent 60%),
    linear-gradient(180deg, #f7f4ef 0%, #fff 100%);
  border-bottom: 1px solid var(--news-line);
  padding: 48px 0 36px;
}
.news-hero__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}
.news-kicker,
.news-section-head span,
.news-story-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--news-accent);
  margin-bottom: 10px;
}
.news-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}
.news-hero p {
  margin: 0;
  max-width: 520px;
  color: var(--news-muted);
  line-height: 1.7;
}
.news-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(360px, 100%);
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--news-line);
  border-radius: 999px;
}
.news-search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  min-width: 0;
}
.news-search button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--news-ink);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.news-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
}
.news-category-nav a {
  text-decoration: none;
  color: var(--news-muted);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--news-soft);
  font-size: 14px;
}
.news-category-nav a.active,
.news-category-nav a:hover {
  color: var(--news-ink);
  border-color: rgba(200, 16, 46, 0.25);
  background: #fff;
}

.news-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  margin: 12px auto 40px;
}
.news-lead {
  display: grid;
  grid-template-rows: 280px auto;
  text-decoration: none;
  color: inherit;
  background: var(--news-soft);
  overflow: hidden;
  border: 1px solid var(--news-line);
}
.news-image,
.news-thumb,
.news-card__image,
.news-related-card__media,
.news-story-hero__media {
  display: block;
  overflow: hidden;
  background: #d9e1e6;
}
.news-image img,
.news-thumb img,
.news-card__image img,
.news-related-card__media img,
.news-story-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-lead__copy {
  display: block;
  padding: 22px 24px 26px;
}
.news-lead__copy em {
  font-style: normal;
  color: var(--news-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.news-lead__copy small,
.news-featured__side small,
.news-card small,
.news-hot__grid small,
.news-related-card small,
.news-story-meta {
  color: var(--news-muted);
  font-size: 12px;
}
.news-lead__copy h2 {
  margin: 10px 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
}
.news-lead__copy p {
  margin: 0 0 14px;
  color: var(--news-muted);
  line-height: 1.7;
}
.news-lead__copy b {
  color: var(--news-accent);
  font-size: 14px;
}
.news-featured__side {
  display: grid;
  gap: 12px;
}
.news-featured__side a {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  border: 1px solid var(--news-line);
  background: #fff;
}
.news-thumb {
  width: 96px;
  height: 72px;
}
.news-featured__side b {
  display: block;
  margin-top: 4px;
  line-height: 1.45;
  font-size: 15px;
}

.news-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.news-section-head h2 {
  margin: 0;
  font-size: 26px;
}
.news-section-head a {
  color: var(--news-accent);
  text-decoration: none;
  font-weight: 600;
}

.news-hot {
  margin: 0 auto 48px;
}
.news-hot__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.news-hot__grid a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 16px;
  border: 1px solid var(--news-line);
  background: var(--news-soft);
}
.news-hot__grid i {
  font-style: normal;
  font-weight: 700;
  color: var(--news-accent);
  font-size: 20px;
}
.news-hot__grid b {
  display: block;
  margin: 4px 0;
  line-height: 1.45;
}
.news-hot__grid em {
  font-style: normal;
  color: var(--news-muted);
  font-size: 12px;
}

.news-latest {
  margin: 0 auto;
}
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--news-line);
  background: #fff;
  overflow: hidden;
}
.news-card__image {
  height: 180px;
}
.news-card > div {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.news-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}
.news-card h3 a {
  color: inherit;
  text-decoration: none;
}
.news-card p {
  margin: 0;
  color: var(--news-muted);
  line-height: 1.65;
  flex: 1;
}
.news-card__more {
  color: var(--news-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.news-card small {
  display: flex;
  gap: 10px;
  align-items: center;
}
.news-card small a {
  color: var(--news-accent);
  text-decoration: none;
}

.news-empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--news-muted);
}
.news-empty h2 {
  color: var(--news-ink);
  margin: 12px 0 8px;
}

/* 文章页 */
.news-article-page {
  background: #fff;
  color: var(--news-ink);
  padding-bottom: 72px;
}
.news-story-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  color: #fff;
  background: #0b1a22;
  overflow: hidden;
}
.news-story-hero__media {
  position: absolute;
  inset: 0;
}
.news-story-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 24, 0.15), rgba(4, 18, 24, 0.82));
}
.news-story-hero__copy {
  position: relative;
  z-index: 1;
  padding: 64px 0 40px;
  max-width: 860px;
}
.news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
}
.news-breadcrumb a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}
.news-breadcrumb--light {
  color: rgba(255, 255, 255, 0.86);
}
.news-story-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.5vw, 46px);
  line-height: 1.25;
}
.news-story-lead {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
  max-width: 720px;
}
.news-story {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.news-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.news-story__body,
.news-story-panel {
  background: #fff;
  border: 1px solid var(--news-line);
  padding: 28px;
}
.news-story__body {
  font-size: 17px;
  line-height: 1.9;
}
.news-story__body img {
  max-width: 100%;
  height: auto;
}
.news-story__body h2,
.news-story__body h3 {
  margin: 1.4em 0 0.6em;
  line-height: 1.35;
}
.news-story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.news-story-tags a {
  text-decoration: none;
  color: var(--news-muted);
  background: var(--news-soft);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}
.news-engage-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.news-engage-actions button {
  border: 1px solid var(--news-line);
  background: #fff;
  padding: 10px 14px;
  cursor: pointer;
}
.news-engage-actions button.is-on {
  border-color: rgba(200, 16, 46, 0.35);
  color: var(--news-accent);
}
.news-comments {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--news-line);
}
.news-comment-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--news-line);
}
.news-comment-user {
  font-weight: 700;
  margin-bottom: 6px;
}
.news-comment-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.news-comment-form textarea {
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--news-line);
  font: inherit;
}
.news-related {
  margin: 48px auto 0;
}
.news-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.news-related-card {
  display: grid;
  grid-template-rows: 150px auto;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--news-line);
  overflow: hidden;
}
.news-related-card__copy {
  padding: 14px;
}
.news-related-card__copy b {
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

body.region-hk .news-page,
body.region-hk .news-article-page {
  --news-accent: #c8102e;
  font-family: "Noto Sans TC", "PingFang HK", "Helvetica Neue", sans-serif;
}
body.region-hk .news-hero h1,
body.region-hk .news-story-hero h1,
body.region-hk .news-section-head h2,
body.region-hk .news-lead__copy h2,
body.region-hk .news-card h3 {
  font-family: "Noto Serif TC", "Noto Sans TC", serif;
}

@media (max-width: 960px) {
  .news-hero__inner,
  .news-featured,
  .news-story__layout {
    grid-template-columns: 1fr;
    display: grid;
  }
  .news-hero__inner {
    align-items: stretch;
  }
  .news-hot__grid,
  .news-card-grid,
  .news-related-grid {
    grid-template-columns: 1fr;
  }
  .news-lead {
    grid-template-rows: 220px auto;
  }
}
