.page-news:not(.page-article) {
  background: #050505 url("../assets/img/news/newsCenterBg.png") center top / 100% 100% no-repeat;
}

.page-news:not(.page-article) .page-glow {
  display: none;
}

.page-news:not(.page-article) .news-hero,
.page-news:not(.page-article) .news-stories,
.page-news:not(.page-article) .news-grid-wrap,
.page-news:not(.page-article) .site-footer {
  background: transparent;
}

.page-news .page-glow {
  background:
    radial-gradient(ellipse 55% 45% at 0% 12%, rgba(10, 28, 180, 0.45), transparent 58%),
    #050505;
}

.news-hero {
  padding: 56px 0 8px;
  background:
    radial-gradient(ellipse 55% 70% at 0% 28%, rgba(8, 28, 210, 0.42), transparent 58%),
    #050505;
}

.news-hero-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px 48px;
  align-items: center;
  margin-bottom: 40px;
}

.news-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.news-hero-copy {
  padding-top: 8px;
}

.news-hero-copy p {
  max-width: 420px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.55;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border-radius: 999px;
  transition: filter 0.2s, transform 0.2s;
}

.btn-pill:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.btn-pill-lg {
  width: 313px;
  height: 72px;
  padding: 0 88px 0 32px;
  background-image: url("../assets/img/news/btn-explore.png");
}

.btn-pill-sm {
  width: 262px;
  height: 72px;
  padding: 0 88px 0 28px;
  background-image: url("../assets/img/news/btn-learn.png");
}

.news-stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: min(420px, 48vw);
  background: #050505;
}

.news-stage > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-width: none;
  object-fit: cover;
  object-position: 62% 48%;
}

.kb-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(360px, calc(100% - 40px));
  padding: 18px 20px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(18, 22, 40, 0.62), rgba(10, 14, 32, 0.78));
  backdrop-filter: blur(16px);
}

.kb-kicker {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.kb-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.kb-bar {
  height: 3px;
  margin-bottom: 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.kb-bar i {
  display: block;
  width: 54%;
  height: 100%;
  background: #fff;
}

.kb-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.kb-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.news-stories {
  padding: 64px 0 8px;
  background:
    radial-gradient(ellipse 52% 70% at 0% 18%, rgba(8, 28, 210, 0.52), transparent 58%),
    linear-gradient(180deg, #050505 0%, #05070f 28%, #0610a0 78%, #0410a8 100%);
}

#stories {
  scroll-margin-top: 88px;
}

.news-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 64px;
  align-items: center;
  margin-bottom: 88px;
}

.news-story.is-flip .news-story-media {
  order: 2;
}

.news-story-media {
  border-radius: 28px;
  overflow: hidden;
  background: #0a1028;
}

.news-story-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 756 / 614;
  object-fit: cover;
}

.news-story-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.news-story-copy p {
  margin: 0 0 32px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.62;
}

.news-grid-wrap {
  padding: 12px 0 72px;
  background: linear-gradient(180deg, #0410a8 0%, #0414c4 55%, #0410a8 100%);
}

.page-news .guides-grid {
  gap: 24px;
}

.page-news .guide-card {
  min-height: 0;
  border-radius: 26px;
  background: transparent;
  border: 1px solid rgba(226, 230, 238, 0.72);
}

.page-news .guide-photo {
  aspect-ratio: 16 / 11;
}

.page-news .guide-body {
  background: transparent;
  padding: 22px 26px 28px;
}

.page-news .guide-body h3 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-news .guide-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.5;
}

.page-news .site-footer {
  background: linear-gradient(180deg, #0410a8 0%, #050b4a 48%, #050505 100%);
}

@media (max-width: 1100px) {
  .news-hero-top,
  .news-story {
    grid-template-columns: 1fr;
  }

  .news-story.is-flip .news-story-media {
    order: 0;
  }

  .news-hero-copy p {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .news-hero h1 {
    font-size: 46px;
  }

  .news-stage > img {
    min-height: 280px;
  }

  .kb-card {
    left: 16px;
    bottom: 16px;
  }

  .news-story {
    margin-bottom: 48px;
  }

  .btn-pill-lg,
  .btn-pill-sm {
    width: min(100%, 313px);
    height: 64px;
    padding-right: 78px;
  }
}

.page-article .page-glow {
  background:
    radial-gradient(ellipse 42% 36% at 100% 16%, rgba(18, 48, 230, 0.42), transparent 62%),
    #050505;
}

.article {
  padding: 54px 0 80px;
  background:
    radial-gradient(ellipse 38% 28% at 100% 10%, rgba(24, 64, 255, 0.32), transparent 58%),
    linear-gradient(180deg, #050505 0%, #05060e 32%, #07148c 72%, #0d2ee0 100%);
}

.article-wrap {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.article h1 {
  margin: 0 0 18px;
  max-width: none;
  font-size: clamp(32px, 2.7vw, 42px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.article-dek {
  margin: 0 0 22px;
  max-width: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.65;
}

.article-date {
  display: block;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.article-hero {
  margin: 0 0 36px;
  border-radius: 22px;
  overflow: hidden;
  background: #071022;
}

.article-hero img {
  width: 100%;
  max-width: none;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
  object-position: center;
}

.article-body p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.75;
}

.article-body h2 {
  margin: 36px 0 14px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

/* Online editor writes inline color, white background and system fonts into the HTML. */
.article-body :where(h1, h2, h3, h4, h5, h6, p, li, span, strong, em, b, i, a, div, font, blockquote) {
  font-family: var(--font) !important;
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  letter-spacing: inherit !important;
  text-shadow: none !important;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  margin: 36px 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

.article-body h2,
.article-body h2 span,
.article-body h2 font {
  font-size: clamp(22px, 2.2vw, 28px) !important;
  color: #fff !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.article-body h3,
.article-body h3 span,
.article-body h3 font {
  font-size: 22px !important;
  color: #fff !important;
}

.article-body h4,
.article-body h4 span,
.article-body h4 font,
.article-body h5,
.article-body h5 span,
.article-body h6,
.article-body h6 span {
  font-size: 18px !important;
  color: #fff !important;
}

.article-body p,
.article-body li,
.article-body div {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  text-align: left !important;
}

.article-body li {
  margin: 0 0 14px !important;
  padding-left: 18px !important;
}

.article-body p span,
.article-body li span,
.article-body div span,
.article-body p font,
.article-body li font {
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

.article-body a {
  color: #9eb4ff !important;
  text-decoration: underline;
}

.article-body img {
  max-width: 100%;
  height: auto;
}

.article-body ul {
  list-style: none;
  margin: 8px 0 8px;
  padding: 0;
}

.article-body li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
}

.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3d6bff;
}

.page-article .site-footer {
  background: linear-gradient(90deg, #1234ee 0%, #0c1e88 46%, #070b18 78%, #050505 100%);
}

@media (max-width: 560px) {
  .news-hero h1 {
    font-size: 36px;
  }

  .kb-meta {
    flex-direction: column;
    gap: 4px;
  }

  .btn-pill-lg,
  .btn-pill-sm {
    height: 56px;
    font-size: 15px;
    padding: 0 70px 0 22px;
  }
}
