body.sws-editorial-page {
  --editorial-ink: #182d36;
  --editorial-copy: #53656d;
  --editorial-line: rgba(28, 55, 66, .14);
  --editorial-purple: #655092;
  --editorial-gold: #d39a28;
  overflow-x: clip;
  background: #fff;
}

.sws-editorial-legacy-hidden { display: none !important; }

.sws-editorial-hero {
  position: relative;
  width: 100%;
  height: clamp(420px, 53vh, 520px);
  min-height: 420px;
  overflow: hidden;
  background: #142a33;
}

.sws-editorial-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,28,36,.72) 0%, rgba(9,28,36,.38) 43%, rgba(9,28,36,.04) 76%),
    linear-gradient(0deg, rgba(9,28,36,.16), transparent 34%);
}

.sws-editorial-hero-media {
  position: absolute;
  inset: 0;
  background-position: center 44%;
  background-size: cover;
  background-repeat: no-repeat;
  animation:
    swsEditorialHeroReveal 1.15s ease-out both,
    swsAboutHeroDrift 18s ease-in-out infinite alternate;
}

@keyframes swsEditorialHeroReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sws-editorial-hero-copy {
  position: absolute;
  left: max(48px, calc((100% - 1160px) / 2));
  bottom: 34px;
  z-index: 3;
  width: min(820px, calc(100% - 96px));
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
}

.sws-editorial-hero-copy span {
  display: block;
  margin-bottom: 10px;
  color: #f1bd55;
  font-size: 12px;
  font-weight: 740;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sws-editorial-hero-copy h1 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-shadow: 0 3px 18px rgba(0,0,0,.28);
}

.sws-editorial-hero-copy p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0,0,0,.28);
}

.sws-blog-hero .sws-editorial-hero-copy { width: min(900px, calc(100% - 96px)); }
.sws-blog-hero .sws-editorial-hero-copy h1 { max-width: 860px; }

.sws-news-archive,
.sws-journal-page {
  color: var(--editorial-ink);
  font-family: Montserrat, Arial, sans-serif;
}

.sws-news-archive *,
.sws-news-archive *::before,
.sws-news-archive *::after,
.sws-journal-page *,
.sws-journal-page *::before,
.sws-journal-page *::after { box-sizing: border-box; }

.sws-news-archive h1,
.sws-news-archive h2,
.sws-news-archive h3,
.sws-journal-page h1,
.sws-journal-page h2,
.sws-journal-page h3 {
  font-family: "Century Gothic", Montserrat, Arial, sans-serif;
}

.sws-news-source-hero-copy h1,
.sws-news-section-hero-copy h1 {
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: clamp(36px, 4.2vw, 58px) !important;
  font-weight: 400 !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em !important;
}

.sws-editorial-switch {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 46px !important;
  width: min(560px, calc(100% - 40px)) !important;
  max-width: none !important;
  margin: 26px auto 62px !important;
  padding: 0 0 13px !important;
  overflow: visible !important;
  border: 0 !important;
  border-bottom: 1px solid var(--editorial-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sws-editorial-switch a {
  position: relative !important;
  flex: 1 1 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 7px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #708087 !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: clamp(15px, 1.25vw, 17px) !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: color .2s ease !important;
}

.sws-editorial-switch a:hover {
  background: transparent !important;
  color: var(--editorial-purple) !important;
}

.sws-editorial-switch a.is-current,
.sws-editorial-switch a[aria-current="page"] {
  background: transparent !important;
  color: var(--editorial-ink) !important;
}

.sws-editorial-switch a::after {
  content: "" !important;
  position: absolute !important;
  right: 24% !important;
  bottom: -14px !important;
  left: 24% !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: linear-gradient(90deg, var(--editorial-gold), var(--editorial-purple)) !important;
  opacity: 0 !important;
  transform: scaleX(.35) !important;
  transition: opacity .2s ease, transform .2s ease !important;
}

.sws-editorial-switch a.is-current::after,
.sws-editorial-switch a[aria-current="page"]::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

.sws-editorial-intro {
  width: min(940px, calc(100% - 40px)) !important;
  max-width: none !important;
  margin: 0 auto 74px !important;
  padding: 0 !important;
}

.sws-editorial-intro > div,
.sws-editorial-intro .LongText {
  max-width: 940px !important;
  margin: 0 !important;
  color: var(--editorial-copy) !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
}

.sws-editorial-intro .sws-news-introduction-copy > span:first-child {
  color: var(--editorial-ink) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

.sws-journal-feature-copy h2,
.sws-journal-index-head h2,
.sws-journal-card-copy h3 {
  font-family: "Century Gothic", Montserrat, Arial, sans-serif !important;
}

@media (max-width: 700px) {
  .sws-editorial-hero { height: 390px; min-height: 390px; }
  .sws-editorial-hero-copy { right: 22px; bottom: 32px; left: 22px; width: auto; }
  .sws-editorial-hero-copy h1 { font-size: clamp(31px, 9.2vw, 39px); }
  .sws-editorial-hero-copy p { font-size: 15px; line-height: 1.45; }
  .sws-editorial-switch {
    width: min(100% - 44px, 520px) !important;
    margin-top: 20px !important;
    margin-bottom: 48px !important;
    gap: 20px !important;
  }

  .sws-editorial-switch a {
    min-height: 32px !important;
    padding: 6px 4px !important;
    font-size: 14px !important;
  }

  .sws-editorial-intro {
    width: min(100% - 36px, 940px) !important;
    margin-bottom: 50px !important;
  }

  .sws-editorial-intro > div,
  .sws-editorial-intro .LongText { font-size: 15px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .sws-editorial-hero-media {
    opacity: 1;
    animation: none;
  }
  .sws-editorial-switch a { transition: none !important; }
}
