/* ===== 资讯观察 /insights/ 页面专属样式 ===== */
.page-news {
  --insight-gap: 24px;
  --insight-radius: 16px;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
  background:
    radial-gradient(720px 300px at 92% 8%, rgba(245, 210, 32, 0.08), transparent 70%),
    radial-gradient(520px 320px at 6% 66%, rgba(163, 230, 53, 0.045), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--blue) 100%);
}

.page-news::before {
  content: '';
  position: absolute;
  top: 300px;
  right: -40px;
  width: 360px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 210, 32, 0.32), transparent);
  transform: rotate(-14deg);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.page-news .breadcrumbs {
  margin: 22px 0 30px;
}

/* ---------- Hero ---------- */
.page-news .news-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 74px;
  z-index: 1;
}

.page-news .news-hero::before {
  content: '';
  position: absolute;
  top: 10px;
  left: -2px;
  width: 4px;
  height: 132px;
  background: linear-gradient(to bottom, var(--yellow), rgba(245, 210, 32, 0));
  border-radius: 2px;
}

.page-news .news-hero__content {
  padding-left: 20px;
}

.page-news .news-hero__title {
  font-family: var(--font-head);
  font-size: clamp(44px, 8vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
  margin: 14px 0 8px;
  color: var(--white);
}

.page-news .news-hero__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 76px;
  height: 5px;
  background: var(--yellow);
  border-radius: 4px;
}

.page-news .news-hero__lead {
  color: var(--light-blue);
  font-size: 18px;
  line-height: 1.75;
  max-width: 58ch;
  margin: 28px 0 28px;
}

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-news .news-hero__media {
  position: relative;
  margin: 0;
  border-radius: var(--insight-radius);
  overflow: hidden;
  border: 1px solid rgba(245, 210, 32, 0.3);
  box-shadow: var(--shadow-card);
  background: var(--night);
}

.page-news .news-hero__media::before {
  content: '';
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid var(--yellow);
  border-left: 3px solid var(--yellow);
  z-index: 1;
  pointer-events: none;
}

.page-news .news-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(245, 210, 32, 0.14) 46%, transparent 58%);
  pointer-events: none;
}

.page-news .news-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 220px;
}

/* ---------- Section heading ---------- */
.page-news .section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 28px;
}

.page-news .section-note {
  color: var(--light-blue);
  font-size: 14px;
  line-height: 1.5;
  max-width: 44ch;
  margin: 0;
}

/* ---------- Ticker / 专题带 ---------- */
.page-news .news-ticker {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) rgba(176, 196, 222, 0.12);
}

.page-news .news-ticker::-webkit-scrollbar {
  height: 4px;
}

.page-news .news-ticker::-webkit-scrollbar-track {
  background: rgba(176, 196, 222, 0.12);
  border-radius: 2px;
}

.page-news .news-ticker::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 2px;
}

.page-news .news-ticker__item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 158px;
  scroll-snap-align: start;
  background: linear-gradient(135deg, rgba(18, 42, 74, 0.92), rgba(7, 18, 36, 0.9));
  border: 1px solid rgba(176, 196, 222, 0.22);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.page-news .news-ticker__item:hover,
.page-news .news-ticker__item:focus-visible {
  transform: translateY(-3px);
  border-color: var(--yellow);
  background: linear-gradient(135deg, rgba(26, 56, 92, 0.98), rgba(11, 30, 58, 0.98));
}

.page-news .news-ticker__item--hot {
  border-left-color: var(--lime);
}

.page-news .news-ticker__num {
  font-family: var(--font-head);
  font-size: 30px;
  line-height: 1;
  color: var(--yellow);
  min-width: 34px;
}

.page-news .news-ticker__item--hot .news-ticker__num {
  color: var(--lime);
}

.page-news .news-ticker__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-news .news-ticker__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.page-news .news-ticker__desc {
  font-size: 12px;
  color: var(--light-blue);
}

/* ---------- URL note / 引用卡 ---------- */
.page-news .news-url-note {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  background: linear-gradient(120deg, rgba(245, 210, 32, 0.14), rgba(18, 42, 74, 0.88) 58%);
  border: 1px solid rgba(245, 210, 32, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 8px 0 44px;
}

.page-news .news-url-note::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 24px 24px 0;
  border-style: solid;
  border-color: transparent var(--yellow) transparent transparent;
  border-radius: 0 0 0 var(--radius-sm);
}

.page-news .news-url-note__body {
  max-width: 64ch;
  padding-right: 8px;
}

.page-news .news-url-note__tag {
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.page-news .news-url-note__text {
  margin: 0;
  color: var(--white);
  line-height: 1.65;
  font-size: 15px;
}

.page-news .news-url-note__text a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .news-url-note__text a:hover {
  color: var(--glow);
}

/* ---------- Timeline / 纵向列表 ---------- */
.page-news .news-timeline {
  border-top: 1px solid rgba(245, 210, 32, 0.3);
}

.page-news .news-entry {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px 18px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(176, 196, 222, 0.16);
}

.page-news .news-entry__index {
  position: relative;
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1;
  color: var(--yellow);
  border-left: 2px solid var(--yellow);
  padding-left: 12px;
  height: 100%;
  min-height: 40px;
}

.page-news .news-entry__index::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(245, 210, 32, 0.45), rgba(245, 210, 32, 0.02));
}

.page-news .news-entry__body {
  min-width: 0;
}

.page-news .news-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 8px;
}

.page-news .news-entry__date {
  font-size: 13px;
  color: var(--light-blue);
}

.page-news .news-entry__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--night);
  background: var(--yellow);
  border-radius: 4px;
  padding: 5px 9px;
}

.page-news .news-entry__badge--data {
  background: var(--lime);
}

.page-news .news-entry__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--white);
}

.page-news .news-entry__summary {
  color: var(--light-blue);
  font-size: 15px;
  line-height: 1.72;
  margin: 0 0 12px;
  max-width: 80ch;
}

.page-news .news-entry__summary:last-child {
  margin-bottom: 0;
}

.page-news .news-entry__summary a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .news-entry__summary a:hover {
  color: var(--glow);
}

.page-news .news-entry__thumb {
  margin: 18px 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--night);
  border: 1px solid rgba(176, 196, 222, 0.16);
}

.page-news .news-entry__thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- League topics / 联赛专题 ---------- */
.page-news .league-topic {
  margin-top: 76px;
}

.page-news .league-topic__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--insight-gap);
}

.page-news .league-topic__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-news .league-topic__card {
  position: relative;
  display: block;
  background: linear-gradient(150deg, rgba(18, 42, 74, 0.96), rgba(7, 18, 36, 0.96));
  border: 1px solid rgba(176, 196, 222, 0.18);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px 30px;
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.page-news .league-topic__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--yellow);
}

.page-news .league-topic__card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(315deg, transparent 50%, rgba(245, 210, 32, 0.35) 50%);
}

.page-news .league-topic__card:hover,
.page-news .league-topic__card:focus-visible {
  transform: translateX(4px);
  border-color: rgba(245, 210, 32, 0.6);
  box-shadow: var(--shadow-card);
}

.page-news .league-topic__no {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--yellow);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.page-news .league-topic__card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
}

.page-news .league-topic__card p {
  color: var(--light-blue);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.page-news .league-topic__more {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
}

.page-news .league-topic__legend {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--night);
  border: 1px solid rgba(245, 210, 32, 0.22);
}

.page-news .league-topic__legend img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .league-topic__legend figcaption {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--light-blue);
  line-height: 1.5;
  background: rgba(18, 42, 74, 0.9);
}

/* ---------- Subscribe note / 订阅说明 ---------- */
.page-news .subscribe-note {
  margin-top: 76px;
}

.page-news .subscribe-callout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: linear-gradient(135deg, rgba(18, 42, 74, 0.96), rgba(7, 18, 36, 0.96));
  border: 1px solid rgba(245, 210, 32, 0.22);
  border-radius: var(--insight-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-news .subscribe-callout__media {
  position: relative;
  margin: 0;
}

.page-news .subscribe-callout__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 18, 36, 0.55), transparent 55%);
  pointer-events: none;
}

.page-news .subscribe-callout__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px;
}

.page-news .subscribe-callout__content {
  padding: 30px 24px;
}

.page-news .subscribe-callout__content h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 10px 0 14px;
  color: var(--white);
}

.page-news .subscribe-callout__content p {
  color: var(--light-blue);
  font-size: 15px;
  line-height: 1.72;
  margin: 0 0 12px;
  max-width: 62ch;
}

.page-news .subscribe-callout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

/* ---------- Anchor offset & focus ---------- */
.page-news #latest-news,
.page-news #league-topic,
.page-news .subscribe-note {
  scroll-margin-top: 88px;
}

.page-news .news-ticker__item:focus-visible,
.page-news .league-topic__card:focus-visible,
.page-news .news-entry__summary a:focus-visible,
.page-news .news-url-note__text a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* ---------- Media queries ---------- */
@media (min-width: 640px) {
  .page-news .league-topic__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .league-topic__card--feature {
    grid-column: span 2;
  }

  .page-news .news-ticker__item {
    min-width: 168px;
  }

  .page-news .news-entry__thumb {
    max-width: 80%;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 40px;
  }

  .page-news .news-entry {
    grid-template-columns: 64px 1fr;
    gap: 24px;
  }

  .page-news .news-entry__index {
    font-size: 32px;
  }

  .page-news .league-topic__layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
  }

  .page-news .subscribe-callout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }

  .page-news .subscribe-callout__content {
    padding: 36px 32px;
  }
}

@media (min-width: 1024px) {
  .page-news .league-topic__grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-news .league-topic__card--feature {
    grid-column: span 6;
  }

  .page-news .league-topic__card:not(.league-topic__card--feature) {
    grid-column: span 3;
  }

  .page-news .news-hero__title {
    font-size: 76px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-news .news-ticker,
  .page-news .news-ticker__item,
  .page-news .league-topic__card {
    scroll-behavior: auto;
    transition: none;
  }

  .page-news .news-ticker__item:hover,
  .page-news .news-ticker__item:focus-visible,
  .page-news .league-topic__card:hover,
  .page-news .league-topic__card:focus-visible {
    transform: none;
  }
}
