:root {
  --news-bg: #f4f7fb;
  --news-surface: rgba(255, 255, 255, 0.9);
  --news-surface-strong: #ffffff;
  --news-text: #142033;
  --news-text-soft: #5a6880;
  --news-line: rgba(20, 32, 51, 0.08);
  --news-primary: #1459ff;
  --news-cyan: #29b6f6;
  --news-green: #14b86f;
  --news-orange: #ff8c42;
  --news-shadow: 0 24px 70px rgba(15, 23, 38, 0.08);
}

body.news-page {
  background:
    radial-gradient(circle at top left, rgba(20, 89, 255, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(41, 182, 246, 0.12), transparent 26%),
    linear-gradient(180deg, #f9fbff 0%, var(--news-bg) 100%);
}

.page-shell {
  padding: 56px 0 88px;
}

.page-hero,
.article-shell,
.news-card,
.article-compare,
.article-source,
.article-cta {
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  box-shadow: var(--news-shadow);
  backdrop-filter: blur(14px);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: 32px;
  margin-bottom: 28px;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20, 89, 255, 0.2), transparent 68%);
}

.page-hero__eyebrow,
.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--news-primary);
  background: rgba(20, 89, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}

.page-hero h1,
.article-header h1 {
  margin: 16px 0 14px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.page-hero p,
.article-intro {
  max-width: 760px;
  color: var(--news-text-soft);
  font-size: 1.04rem;
  line-height: 1.8;
}

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

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
}

.news-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--news-text-soft);
  font-size: 0.92rem;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20, 89, 255, 0.08);
  color: var(--news-primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.news-card h2 {
  position: relative;
  z-index: 2;
  pointer-events: none;
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.35;
}

.news-card p {
  position: relative;
  z-index: 2;
  pointer-events: none;
  margin: 0;
  color: var(--news-text-soft);
  line-height: 1.8;
}

.news-card__meta,
.news-tag {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.news-card__coverlink {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--news-primary);
}

.news-link::after {
  content: "→";
}

.article-shell {
  border-radius: 32px;
  padding: 40px;
}

.article-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--news-line);
}

.article-cover,
.article-figure {
  margin: 24px 0 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--news-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(244, 247, 255, 0.95));
  box-shadow: var(--news-shadow);
}

.article-cover img,
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-cover figcaption,
.article-figure figcaption {
  padding: 14px 18px 18px;
  color: var(--news-text-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.article-header h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.article-meta {
  margin-top: 18px;
}

.article-compare,
.article-source,
.article-cta {
  margin-top: 24px;
  padding: 28px;
  border-radius: 24px;
}

.article-content {
  margin-top: 24px;
  padding: 28px;
  border-radius: 24px;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  box-shadow: var(--news-shadow);
  backdrop-filter: blur(14px);
}

.article-content h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.article-content h3 {
  margin: 24px 0 12px;
  font-size: 1.08rem;
}

.article-content p,
.article-content li,
.article-source li {
  color: var(--news-text-soft);
  line-height: 1.9;
}

.article-content strong,
.article-source strong {
  color: var(--news-text);
}

.article-content ul,
.article-source ul {
  margin: 0;
  padding-left: 20px;
}

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

.compare-item {
  padding: 20px;
  border-radius: 20px;
  background: var(--news-surface-strong);
  border: 1px solid var(--news-line);
}

.compare-item h3 {
  margin-top: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--news-text-soft);
  font-weight: 700;
}

.back-link::before {
  content: "←";
}

.article-source a {
  color: var(--news-primary);
  text-decoration: underline;
  text-decoration-color: rgba(20, 89, 255, 0.28);
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.article-cta p {
  margin: 0;
  color: var(--news-text-soft);
  flex: 1 1 auto;
  min-width: 0;
}

.article-cta .button {
  flex: 0 0 auto;
  min-width: 168px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .page-shell {
    padding: 36px 0 72px;
  }

  .page-hero,
  .article-shell {
    padding: 28px;
    border-radius: 24px;
  }

  .news-grid,
  .article-compare-grid {
    grid-template-columns: 1fr;
  }

  .article-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-hero,
  .news-card,
  .article-shell,
  .article-compare,
  .article-source,
  .article-cta {
    padding: 22px;
  }
}
