:root {
  --news-purple: #4b3a73;
  --news-purple-mid: #6a53a8;
  --news-cyan: #1ab3cc;
  --news-yellow: #f7be00;
  --news-magenta: #da1e5b;
  --news-gold: #c49a2e;
  --news-text: #3a3550;
  --news-muted: #6b6580;
  --news-soft: #fbf7ff;
  --news-line: rgba(75, 58, 115, 0.12);
  --news-shadow: 0 18px 52px rgba(75, 58, 115, 0.12);
}

body.news-page {
  background:
    radial-gradient(circle at 92% 14%, rgba(26, 179, 204, 0.08), transparent 25rem),
    radial-gradient(circle at 5% 68%, rgba(218, 30, 91, 0.06), transparent 28rem),
    #fff;
  color: var(--news-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-page .site-header {
  z-index: 100;
}

.news-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.news-hero-v2 {
  position: relative;
  overflow: hidden;
  padding: 78px 0 48px;
  text-align: center;
}

.news-hero-v2::before,
.news-hero-v2::after {
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
}

.news-hero-v2::before {
  top: -120px;
  right: 4%;
  background: radial-gradient(circle, rgba(26, 179, 204, 0.18), transparent 70%);
}

.news-hero-v2::after {
  bottom: -140px;
  left: 2%;
  background: radial-gradient(circle, rgba(218, 30, 91, 0.13), transparent 70%);
}

.news-kicker,
.article-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(106, 83, 168, 0.1);
  color: var(--news-purple-mid);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-hero-v2 h1 {
  max-width: 840px;
  margin: 18px auto 0;
  color: var(--news-purple);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.news-hero-v2 p {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--news-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.news-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 0 34px;
  padding: 8px 4px 10px;
  scrollbar-width: thin;
}

.news-filters button {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid var(--news-line);
  border-radius: 999px;
  background: #fff;
  color: var(--news-purple);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.news-filters button:hover,
.news-filters button.is-active {
  border-color: var(--news-purple);
  background: var(--news-purple);
  color: #fff;
}

.news-featured-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  overflow: hidden;
  margin-bottom: 38px;
  border: 1px solid var(--news-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--news-shadow);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-featured-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 68px rgba(75, 58, 115, 0.17);
}

.news-featured-media {
  position: relative;
  min-height: 430px;
}

.news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured-media span {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--news-magenta);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(218, 30, 91, 0.28);
}

.news-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 58px);
}

.news-featured-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: var(--news-cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-featured-copy h2 {
  margin: 0;
  color: var(--news-purple);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.news-featured-copy p {
  margin: 18px 0 24px;
  color: var(--news-muted);
  font-size: 17px;
  line-height: 1.65;
}

.news-featured-copy strong,
.news-read-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  width: fit-content;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--news-magenta);
  box-shadow: 0 10px 22px rgba(218, 30, 91, 0.22);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.news-featured-v2:hover .news-featured-copy strong,
.news-read-more:hover {
  background: #c51b53;
  box-shadow: 0 14px 28px rgba(218, 30, 91, 0.3);
  transform: translateY(-2px);
}

.news-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 74px;
}

.news-card-v2 {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--news-line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, rgba(251, 247, 255, 0.88));
  box-shadow: 0 12px 34px rgba(75, 58, 115, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(75, 58, 115, 0.15);
}

.news-card-v2[hidden] {
  display: none;
}

.news-card-media {
  position: relative;
  display: block;
  height: 218px;
  overflow: hidden;
  background: var(--news-soft);
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card-v2:hover .news-card-media img {
  transform: scale(1.035);
}

.news-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(75, 58, 115, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.news-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 25px;
}

.news-card-copy time {
  color: #9189a4;
  font-size: 13px;
  font-weight: 700;
}

.news-card-copy h2 {
  margin: 9px 0 10px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.22;
}

.news-card-copy h2 a {
  color: var(--news-purple);
  text-decoration: none;
}

.news-card-copy p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--news-muted);
  font-size: 15px;
  line-height: 1.6;
}

.news-read-more {
  text-decoration: none;
}

.seo-guide {
  margin-bottom: 74px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 95% 0, rgba(247, 190, 0, 0.2), transparent 18rem),
    linear-gradient(135deg, #4b3a73, #6a53a8);
  color: #fff;
  box-shadow: 0 28px 70px rgba(75, 58, 115, 0.2);
}

.seo-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 52px;
  align-items: start;
}

.seo-guide .news-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.seo-guide h2 {
  margin: 18px 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.seo-guide p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.72;
}

.seo-guide-links {
  display: grid;
  gap: 14px;
}

.seo-guide-links a {
  display: block;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.seo-guide-links a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.seo-faq {
  max-width: 900px;
  margin: 0 auto 84px;
}

.seo-faq > header {
  margin-bottom: 30px;
  text-align: center;
}

.seo-faq h2 {
  margin: 12px 0 0;
  color: var(--news-purple);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
}

.seo-faq details {
  margin-bottom: 12px;
  border: 1px solid var(--news-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(75, 58, 115, 0.07);
}

.seo-faq summary {
  padding: 20px 24px;
  color: var(--news-purple);
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
}

.seo-faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--news-muted);
  line-height: 1.7;
}

.article-main {
  padding: 48px 0 86px;
}

.article-breadcrumb {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  color: var(--news-muted);
  font-size: 14px;
}

.article-breadcrumb a {
  color: var(--news-purple-mid);
  font-weight: 800;
  text-decoration: none;
}

.article-header {
  max-width: 920px;
  margin: 0 auto 38px;
  text-align: center;
}

.article-header h1 {
  margin: 20px 0 18px;
  color: var(--news-purple);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.article-header p {
  margin: 0 auto;
  color: var(--news-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.68;
}

.article-header time {
  display: block;
  margin-top: 18px;
  color: #9189a4;
  font-size: 14px;
  font-weight: 800;
}

.article-hero-image {
  overflow: hidden;
  max-width: 1060px;
  height: min(58vw, 610px);
  min-height: 360px;
  margin: 0 auto 54px;
  border-radius: 30px;
  background: var(--news-soft);
  box-shadow: var(--news-shadow);
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 54px;
  align-items: start;
  max-width: 1020px;
  margin-inline: auto;
}

.article-body {
  min-width: 0;
  color: var(--news-text);
}

.article-body p,
.article-body li {
  font-size: 17px;
  line-height: 1.75;
}

.article-lead {
  margin-top: 0;
  color: var(--news-purple);
  font-size: 20px !important;
  font-weight: 700;
}

.article-body section {
  margin-top: 40px;
}

.article-body h2 {
  margin: 0 0 14px;
  color: var(--news-purple);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.15;
}

.article-highlights {
  margin: 34px 0;
  padding: 28px;
  border: 1px solid rgba(26, 179, 204, 0.22);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(26, 179, 204, 0.08), rgba(106, 83, 168, 0.06));
}

.article-highlights h2 {
  font-size: 23px;
}

.article-highlights ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.article-highlights li + li {
  margin-top: 9px;
}

.article-aside {
  position: sticky;
  top: 105px;
  padding: 26px;
  border: 1px solid var(--news-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(75, 58, 115, 0.1);
}

.article-aside strong {
  color: var(--news-purple);
  font-size: 18px;
}

.article-aside p {
  color: var(--news-muted);
  font-size: 14px;
  line-height: 1.6;
}

.article-aside a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--news-line);
  color: var(--news-purple-mid);
  font-weight: 800;
  text-decoration: none;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 50px;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #4b3a73, #6a53a8);
  color: #fff;
}

.article-cta span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-cta h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: 24px;
}

.article-cta .btn {
  background: #fff;
  color: var(--news-purple);
  white-space: nowrap;
}

.article-not-found {
  max-width: 720px;
  margin: 100px auto;
  text-align: center;
}

.article-not-found h1 {
  color: var(--news-purple);
  font-size: clamp(34px, 5vw, 56px);
}

html.sis-dark .news-page,
html.sis-dark body.news-page {
  background: #111418 !important;
}

html.sis-dark .news-card-v2,
html.sis-dark .seo-faq details,
html.sis-dark .article-aside {
  border-color: rgba(255, 255, 255, 0.12);
  background: #191b22;
}

html.sis-dark .news-featured-v2 {
  border-color: rgba(255, 255, 255, 0.12);
  background: #191b22;
}

html.sis-dark .news-hero-v2 h1,
html.sis-dark .news-featured-copy h2,
html.sis-dark .news-card-copy h2 a,
html.sis-dark .seo-faq h2,
html.sis-dark .seo-faq summary,
html.sis-dark .article-header h1,
html.sis-dark .article-lead,
html.sis-dark .article-body h2,
html.sis-dark .article-aside strong {
  color: #eee8ff;
}

html.sis-dark .news-hero-v2 p,
html.sis-dark .news-featured-copy p,
html.sis-dark .news-card-copy p,
html.sis-dark .seo-faq details p,
html.sis-dark .article-header p,
html.sis-dark .article-body,
html.sis-dark .article-aside p {
  color: #bcb3ce;
}

html.sis-dark .news-filters button {
  border-color: rgba(255, 255, 255, 0.12);
  background: #20232c;
  color: #eee8ff;
}

html.sis-dark .news-filters button.is-active {
  background: #c5b4ff;
  color: #191b22;
}

@media (max-width: 960px) {
  .news-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-guide-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .news-shell {
    width: min(100% - 28px, 1180px);
  }

  .news-hero-v2 {
    padding-top: 54px;
  }

  .news-featured-v2,
  .article-cta {
    grid-template-columns: 1fr;
  }

  .news-featured-media {
    min-height: 280px;
  }

  .news-grid-v2 {
    grid-template-columns: 1fr;
  }

  .news-card-media {
    height: 230px;
  }

  .article-main {
    padding-top: 30px;
  }

  .article-hero-image {
    min-height: 280px;
    margin-bottom: 36px;
    border-radius: 22px;
  }

  .article-cta .btn {
    width: 100%;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-featured-v2,
  .news-card-v2,
  .news-card-media img {
    transition: none;
  }
}
