/* 51 editorial homepage — 2026-08-29 */

.home-editorial {
  --editorial-ink: #030303;
  --editorial-surface: #080808;
  --editorial-line: rgba(255, 255, 255, 0.16);
  --editorial-line-soft: rgba(255, 255, 255, 0.09);
  --editorial-text: #f4f4f2;
  --editorial-muted: #a5a5a1;
  --editorial-blue: #79b1ff;
  --editorial-yellow: #e7ff18;
  background: var(--editorial-ink);
  color: var(--editorial-text);
}

.home-editorial .container {
  max-width: 1484px;
  padding-right: clamp(24px, 3.8vw, 58px);
  padding-left: clamp(24px, 3.8vw, 58px);
}

.home-editorial .nav {
  position: relative;
  z-index: 30;
  height: 62px;
  background: rgba(3, 3, 3, 0.96);
  border-bottom: 1px solid var(--editorial-line-soft);
  box-shadow: none;
}

.home-editorial .nav-inner {
  width: 100%;
  max-width: 1484px;
  height: 62px;
  margin: 0 auto;
  padding-right: clamp(24px, 3.8vw, 58px);
  padding-left: clamp(24px, 3.8vw, 58px);
}

.home-editorial .nav-left,
.home-editorial .nav-links,
.home-editorial .nav-actions,
.home-editorial .nav-right-links {
  align-items: center;
}

.home-editorial .nav-logo {
  gap: 12px;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.home-editorial .nav-logo-img {
  display: block !important;
  width: 32px;
  height: 29px;
  object-fit: contain;
}

.home-editorial .nav-logo span {
  display: inline !important;
}

.home-editorial .nav-divider {
  display: none;
}

.home-editorial .theme-toggle {
  display: inline-flex !important;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  color: #f1f1ef !important;
  background: transparent;
  border: 1px solid var(--editorial-line);
  border-radius: 999px;
}

.home-editorial .nav .theme-toggle:hover,
.home-editorial .nav .theme-toggle:focus-visible {
  color: #080808 !important;
  background: #f5f5f3 !important;
  border-color: #f5f5f3 !important;
}

.home-editorial .nav-links {
  gap: clamp(20px, 2.4vw, 38px);
  margin-left: clamp(28px, 3.2vw, 54px);
}

.home-editorial .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.home-editorial .nav-link:hover,
.home-editorial .nav-link:focus-visible {
  color: #fff;
}

.home-editorial .nav-link-badge {
  margin-left: 5px;
  padding: 2px 7px;
  color: #86a5ff;
  font-size: 9px;
  line-height: 1.3;
  text-transform: uppercase;
  background: rgba(48, 78, 183, 0.25);
  border: 1px solid rgba(93, 126, 240, 0.28);
  border-radius: 999px;
}

.home-editorial .nav-actions {
  gap: 24px;
}

.home-editorial .nav-reader-login {
  min-height: auto;
  padding: 0 24px;
  color: #f1f1ef;
  border: 0;
  border-right: 1px solid var(--editorial-line);
  border-left: 1px solid var(--editorial-line);
  border-radius: 0;
  box-shadow: none;
}

.home-editorial .nav-actions > .btn-primary {
  min-height: 36px;
  padding: 0 22px;
  color: #080808;
  background: #f5f5f3;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

.home-editorial .nav-actions > .btn-primary:hover,
.home-editorial .nav-actions > .btn-primary:focus-visible {
  color: #000;
  background: #fff;
  transform: none;
}

.home-editorial .nav-mobile-btn {
  display: none !important;
}

.editorial-hero {
  position: relative;
  overflow: hidden;
  background: #020202;
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: center;
  min-height: 220px;
}

.editorial-hero-copy {
  position: relative;
  z-index: 2;
  align-items: flex-start !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 780px !important;
  margin: 0 !important;
  padding: 20px 0 16px !important;
  text-align: left !important;
  transform: none !important;
}

.editorial-hero-copy > * {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.editorial-edition,
.editorial-kicker,
.editorial-section-label h2,
.editorial-panel-head > h2 {
  margin: 0;
  color: var(--editorial-blue);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.editorial-hero-copy h1 {
  max-width: 760px;
  margin: 12px 0 6px;
  color: #f7f7f5;
  font-family: 'Sora', sans-serif;
  font-size: clamp(42px, 3.65vw, 58px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-align: left;
}

.editorial-hero-copy h1 > span {
  color: var(--editorial-blue);
}

.editorial-hero-kicker {
  margin: 0 0 10px;
  color: var(--editorial-blue);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.editorial-hero-deck {
  margin: 0;
  color: #aaa9a5;
  font-size: 16px;
  line-height: 1.55;
}

.editorial-hero-conversion {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 20px;
  align-items: center;
  margin-top: 17px;
}

.home-editorial .editorial-subscribe {
  display: grid;
  grid-template-columns: minmax(210px, 250px) auto;
  gap: 0;
  width: min(100%, 380px);
  min-height: 42px;
  margin: 0;
  padding: 0;
  background: #f6f6f3;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  box-shadow: none;
}

.home-editorial .editorial-subscribe input[type='email'] {
  min-width: 0;
  height: 40px;
  padding: 0 17px;
  color: #0b0b0b;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  background: transparent;
  border: 0;
  outline: none;
}

.home-editorial .editorial-subscribe input[type='email']::placeholder {
  color: #6f6f6b;
  opacity: 1;
}

.home-editorial .editorial-subscribe input[type='email']:focus-visible {
  box-shadow: inset 0 0 0 2px #688df4;
}

.home-editorial .editorial-subscribe button {
  height: 40px;
  padding: 0 22px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  background: #0a0a0a;
  border: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  cursor: pointer;
}

.home-editorial .editorial-subscribe button:hover,
.home-editorial .editorial-subscribe button:focus-visible {
  background: #181818;
}

.home-editorial .home-hero-signup-confirmation {
  width: min(100%, 440px);
  min-height: 46px;
  padding: 12px 16px;
  color: #c8f09b;
  background: rgba(124, 174, 82, 0.1);
  border: 1px solid rgba(151, 220, 92, 0.35);
  border-radius: 2px;
}

.editorial-latest-issue {
  color: #f2f2ef;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.editorial-latest-issue:hover,
.editorial-latest-issue:focus-visible {
  color: var(--editorial-yellow);
}

.home-editorial .editorial-hero-copy .home-hero-signup-status {
  margin: 5px 0 0;
  color: #777774;
  font-size: 11px;
  text-align: left;
}

.editorial-hero-earth {
  position: absolute;
  top: -92px;
  right: -75px;
  bottom: -104px;
  width: min(55vw, 700px);
  pointer-events: none;
}

.editorial-hero-earth::after {
  position: absolute;
  inset: 0;
  content: '';
  background:
    linear-gradient(90deg, #020202 0%, rgba(2, 2, 2, 0.82) 18%, transparent 57%),
    linear-gradient(0deg, #020202 0%, transparent 34%);
}

.editorial-hero-earth img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  filter: saturate(0.72) contrast(1.08) brightness(0.82);
}

.editorial-intelligence-rail {
  padding: 12px 0;
  background: #030303;
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-daily-marker {
  padding: 26px 0 22px;
  background: #030303;
  border-bottom: 1px solid var(--editorial-line);
  text-align: center;
}

.editorial-daily-marker h2 {
  margin: 0;
  color: #f5f5f3;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(22px, 2.15vw, 31px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.editorial-daily-marker h2 strong {
  padding: 0 0.08em;
  color: #080808;
  font-weight: 700;
  background: var(--editorial-yellow);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.editorial-daily-marker p {
  margin: 12px 0 0;
  color: #a5a5a1;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.editorial-section-label,
.editorial-panel-head {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.editorial-section-label {
  margin-bottom: 10px;
}

.editorial-section-label h2,
.editorial-panel-head > h2 {
  color: #a8a8a3;
  font-size: 10px;
}

.editorial-section-label a,
.editorial-panel-head a {
  color: #dbdbd7;
  font-size: 12px;
}

.editorial-section-label a:hover,
.editorial-section-label a:focus-visible,
.editorial-panel-head a:hover,
.editorial-panel-head a:focus-visible {
  color: var(--editorial-yellow);
}

.editorial-rail-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.editorial-signal {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  min-height: 58px;
  padding: 3px 19px 3px 0;
  color: #f2f2ef;
  font-size: 14px;
  line-height: 1.45;
  border-right: 1px solid var(--editorial-line);
}

.editorial-signal + .editorial-signal {
  padding-left: 19px;
}

.editorial-signal:last-child {
  padding-right: 0;
  border-right: 0;
}

.editorial-signal time {
  color: #898985;
  font-size: 12px;
}

.editorial-signal > span {
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.editorial-signal:hover > span,
.editorial-signal:focus-visible > span {
  color: #050505;
  background: var(--editorial-yellow);
  box-shadow:
    4px 0 0 var(--editorial-yellow),
    -4px 0 0 var(--editorial-yellow);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.editorial-frontpage {
  padding: 16px 0 18px;
  background: #030303;
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-frontpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.58fr) minmax(290px, 0.66fr);
  gap: 9px;
  align-items: stretch;
}

.editorial-story-link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  color: #fff;
  background: #080808;
  border: 1px solid var(--editorial-line);
}

.editorial-lead-story,
.editorial-secondary-story {
  min-height: 470px;
}

.editorial-story-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.2, 0.65, 0.35, 1);
}

.editorial-lead-story img {
  object-position: 58% center;
}

.editorial-secondary-story img {
  height: 54%;
  object-position: center;
}

.editorial-story-link:hover img,
.editorial-story-link:focus-visible img {
  transform: scale(1.025);
}

.editorial-story-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 2, 2, 0.94) 0%, rgba(2, 2, 2, 0.7) 35%, rgba(2, 2, 2, 0.04) 76%),
    linear-gradient(0deg, rgba(2, 2, 2, 0.94) 0%, rgba(2, 2, 2, 0.1) 62%);
}

.editorial-secondary-story .editorial-story-shade {
  background: linear-gradient(
    0deg,
    #050505 0%,
    #050505 46%,
    rgba(5, 5, 5, 0.2) 70%,
    rgba(5, 5, 5, 0.05) 100%
  );
}

.editorial-story-copy {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: min(68%, 530px);
  padding: 36px 38px 24px;
}

.editorial-secondary-story .editorial-story-copy {
  top: auto;
  width: 100%;
  min-height: 57%;
  padding: 25px 20px 22px;
}

.editorial-story-copy h2 {
  margin: 13px 0 14px;
  color: #f7f7f5;
  font-family: 'Sora', sans-serif;
  font-size: clamp(27px, 2.25vw, 36px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.editorial-secondary-story .editorial-story-copy h2 {
  margin: 10px 0 10px;
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.2;
}

.editorial-byline,
.editorial-summary {
  margin: 0;
  color: #b0b0ab;
  font-size: 12px;
  line-height: 1.5;
}

.editorial-byline span {
  padding: 0 7px;
  color: #666662;
}

.editorial-summary {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
}

.editorial-secondary-story .editorial-summary {
  margin-top: 6px;
  font-size: 12px;
}

.editorial-read-link {
  margin-top: auto;
  color: #f4f4f1;
  font-size: 13px;
  font-weight: 500;
}

.editorial-read-link b {
  padding-left: 8px;
  font-weight: 400;
}

.editorial-story-link:hover .editorial-read-link,
.editorial-story-link:focus-visible .editorial-read-link {
  color: var(--editorial-yellow);
}

.editorial-feed {
  min-width: 0;
  min-height: 470px;
  padding-left: 20px;
  border-left: 1px solid var(--editorial-line);
}

.editorial-panel-head {
  min-height: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--editorial-line-soft);
}

.editorial-feed-list {
  display: grid;
}

.editorial-feed-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 10px;
  padding: 16px 0 14px;
  color: #f1f1ef;
  border-bottom: 1px solid var(--editorial-line-soft);
}

.editorial-feed-time {
  grid-row: 1 / span 3;
  color: #7e7e7a;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.editorial-feed-company {
  margin-bottom: 4px;
  color: var(--editorial-blue);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-feed-item strong {
  color: #ededeb;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.editorial-feed-meta {
  margin-top: 7px;
  color: #7d7d78;
  font-size: 9px;
  line-height: 1.4;
}

.editorial-feed-meta i {
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}

.editorial-feed-meta .is-high {
  color: #9cda72;
}

.editorial-feed-meta .is-medium {
  color: #d9c667;
}

.editorial-feed-item:hover strong,
.editorial-feed-item:focus-visible strong {
  color: var(--editorial-yellow);
}

.editorial-trending {
  padding: 32px 0 26px;
  background: #030303;
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-trending-head {
  align-items: flex-end;
  margin-bottom: 14px;
  padding-bottom: 17px;
}

.editorial-trending-head > div {
  display: flex;
  gap: 22px;
  align-items: baseline;
}

.editorial-trending-head h2 {
  margin: 0;
  color: #f5f5f3;
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.editorial-trending-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--editorial-line-soft);
}

.editorial-trending-list li {
  min-width: 0;
  border-bottom: 1px solid var(--editorial-line-soft);
}

.editorial-trending-list li:nth-child(odd) {
  padding-right: 26px;
  border-right: 1px solid var(--editorial-line-soft);
}

.editorial-trending-list li:nth-child(even) {
  padding-left: 26px;
}

.editorial-trending-list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  color: #f2f2ef;
}

.editorial-trending-rank {
  color: #777773;
  font-size: 11px;
}

.editorial-trending-list strong,
.editorial-trending-list small {
  display: block;
}

.editorial-trending-list strong {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.editorial-trending-list small {
  margin-top: 6px;
  color: #777773;
  font-size: 10px;
}

.editorial-trending-list b {
  color: #777773;
  font-weight: 400;
  transition:
    transform 160ms ease,
    color 160ms ease;
}

.editorial-trending-list a:hover strong,
.editorial-trending-list a:focus-visible strong,
.editorial-trending-list a:hover b,
.editorial-trending-list a:focus-visible b {
  color: var(--editorial-yellow);
}

.editorial-trending-list a:hover b,
.editorial-trending-list a:focus-visible b {
  transform: translateX(3px);
}

.editorial-pro {
  padding: 32px 0 34px;
  background: #030303;
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-pro-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(0, 0.72fr));
  align-items: stretch;
}

.editorial-pro-intro {
  padding-right: 40px;
}

.editorial-pro-intro h2 {
  margin: 14px 0 8px;
  color: #f6f6f4;
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.editorial-pro-intro p,
.editorial-pro-link p {
  margin: 0;
  color: #8e8e8a;
  font-size: 13px;
  line-height: 1.5;
}

.editorial-pro-link {
  display: flex;
  flex-direction: column;
  min-height: 112px;
  padding: 0 26px;
  color: #f1f1ef;
  border-left: 1px solid var(--editorial-line);
}

.editorial-pro-number {
  margin-bottom: 10px;
  color: #6f6f6b;
  font-size: 10px;
}

.editorial-pro-link strong {
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 500;
}

.editorial-pro-link > span:last-child {
  margin-top: auto;
  color: #dcdcd8;
  font-size: 12px;
}

.editorial-pro-link:hover > span:last-child,
.editorial-pro-link:focus-visible > span:last-child {
  color: var(--editorial-yellow);
}

/* The homepage now starts as a compact editorial front page: the daily marker
   introduces the news, while the one email conversion point follows the news. */
.home-editorial .nav-actions {
  gap: 0;
}

.home-editorial .nav-reader-login {
  padding: 0;
  border: 0;
}

.home-editorial .editorial-hero-grid {
  min-height: 256px;
}

.home-editorial .editorial-hero-copy {
  max-width: 830px !important;
  padding: 38px 0 34px !important;
}

.home-editorial .editorial-hero-copy h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(40px, 3.55vw, 56px);
  font-weight: 500;
  line-height: 1.04;
}

.home-editorial .editorial-hero-copy h1 strong {
  padding: 0 0.08em;
  color: #080808;
  font-weight: 650;
  background: var(--editorial-yellow);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.home-editorial .editorial-hero-copy .editorial-edition {
  margin: 17px 0 0;
  color: #a9aaa4;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: none;
}

.home-editorial .editorial-hero-deck {
  max-width: 550px;
  margin-top: 9px;
}

.home-editorial .editorial-hero-conversion {
  display: block;
  margin-top: 16px;
}

.home-editorial .editorial-latest-issue {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: #f2f2ef;
}

.home-editorial .editorial-newsletter.section {
  padding: 48px 0;
  overflow: visible;
  background: #080808 !important;
  border-bottom: 1px solid var(--editorial-line);
}

.home-editorial .editorial-newsletter::before,
.home-editorial .editorial-newsletter::after {
  display: none;
}

.home-editorial .editorial-newsletter .site-final-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.74fr);
  max-width: none;
  align-items: center;
  gap: 56px;
  text-align: left;
}

.home-editorial .editorial-newsletter-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--editorial-blue);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-editorial .editorial-newsletter h2 {
  max-width: 520px;
  margin: 0 0 9px;
  font-size: clamp(29px, 2.7vw, 40px);
  font-weight: 500;
  line-height: 1.04;
  text-align: left;
}

.home-editorial .editorial-newsletter .idx-final-cta-sub {
  max-width: none;
  margin: 0;
  color: #a5a5a1 !important;
  font-size: 14px;
  text-align: left;
}

.home-editorial .editorial-newsletter .signup-wrap {
  width: 100%;
}

.home-editorial .editorial-newsletter .signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-height: 52px;
  padding: 4px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.home-editorial .editorial-newsletter .signup-form input[type='email'] {
  min-width: 0;
  padding: 0 17px;
  color: #f5f5f2;
  background: transparent;
  border: 0;
  outline: 0;
  font: 400 14px/1.2 'DM Sans', sans-serif;
}

.home-editorial .editorial-newsletter .signup-form input[type='email']::placeholder {
  color: #858580;
}

.home-editorial .editorial-newsletter .signup-form input[type='email']:focus-visible {
  box-shadow: inset 0 0 0 2px #f5f5f2;
}

.home-editorial .editorial-newsletter .idx-signup-button {
  min-width: 112px;
  padding: 0 18px;
  color: #090909;
  background: #f5f5f2;
  border: 0;
  border-radius: 999px;
  font: 600 13px/1 'DM Sans', sans-serif;
}

.home-editorial .editorial-newsletter .idx-signup-button:hover,
.home-editorial .editorial-newsletter .idx-signup-button:focus-visible {
  color: #090909;
  background: #ffffff;
}

.home-editorial .editorial-newsletter .form-error {
  margin-top: 8px;
  color: #ff9f9f;
  font-size: 12px;
}

@media (max-width: 1120px) {
  .home-editorial .nav-links {
    gap: 18px;
    margin-left: 25px;
  }

  .editorial-frontpage-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(235px, 0.65fr);
  }

  .editorial-feed {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    min-height: 0;
    margin-top: 12px;
    padding: 0;
    border-top: 1px solid var(--editorial-line);
    border-left: 0;
  }

  .editorial-feed .editorial-panel-head {
    align-content: start;
    align-items: flex-start;
    padding: 18px 24px 18px 0;
    border-right: 1px solid var(--editorial-line);
    border-bottom: 0;
  }

  .editorial-feed-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-feed-item {
    padding-right: 18px;
    padding-left: 18px;
  }

  .editorial-feed-item:nth-child(odd) {
    border-right: 1px solid var(--editorial-line-soft);
  }
}

@media (max-width: 900px) {
  .home-editorial .nav-links,
  .home-editorial .nav-actions {
    display: none;
  }

  .home-editorial .nav-mobile-btn {
    display: flex !important;
  }

  .editorial-hero-grid {
    grid-template-columns: 1fr;
    min-height: 390px;
  }

  .editorial-hero-copy {
    max-width: 650px;
    padding-right: 20px;
  }

  .editorial-hero-earth {
    right: -150px;
    width: 620px;
    opacity: 0.6;
  }

  .editorial-rail-track {
    grid-auto-columns: minmax(245px, 1fr);
    grid-template-columns: none;
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .editorial-rail-track::-webkit-scrollbar {
    display: none;
  }

  .editorial-frontpage-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.68fr);
  }

  .editorial-story-copy {
    width: 82%;
    padding-right: 24px;
    padding-left: 24px;
  }

  .editorial-pro-grid {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-pro-intro {
    grid-column: 1 / -1;
    padding: 0 0 28px;
  }

  .editorial-pro-link {
    padding: 22px 24px;
    border-top: 1px solid var(--editorial-line);
  }
}

@media (max-width: 680px) {
  .home-editorial .container,
  .home-editorial .nav-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-editorial .nav,
  .home-editorial .nav-inner {
    height: 66px;
  }

  .editorial-hero-grid {
    min-height: 512px;
    align-items: start;
  }

  .editorial-hero-copy {
    padding: 40px 0 34px;
  }

  .editorial-edition {
    max-width: 250px;
    font-size: 10px;
    line-height: 1.5;
  }

  .editorial-hero-copy h1 {
    max-width: 350px;
    margin-top: 14px;
    font-size: clamp(39px, 12.6vw, 53px);
    line-height: 1;
  }

  .editorial-hero-deck {
    max-width: 340px;
    font-size: 16px;
  }

  .editorial-hero-conversion {
    display: grid;
    gap: 14px;
    margin-top: 26px;
  }

  .home-editorial .editorial-subscribe {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .editorial-hero-earth {
    top: 170px;
    right: -210px;
    bottom: -150px;
    width: 610px;
    opacity: 0.42;
  }

  .home-editorial .editorial-hero-copy h1 strong {
    padding: 0;
    color: var(--editorial-yellow);
    background: transparent;
  }

  .home-editorial .editorial-newsletter.section {
    padding: 38px 0;
  }

  .home-editorial .editorial-newsletter .site-final-cta-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-editorial .editorial-newsletter h2 {
    font-size: 32px;
  }

  .editorial-intelligence-rail {
    padding-top: 18px;
  }

  .editorial-frontpage {
    padding: 18px 0;
  }

  .editorial-frontpage-grid {
    display: block;
  }

  .editorial-lead-story,
  .editorial-secondary-story {
    min-height: 460px;
  }

  .editorial-story-link {
    min-height: 460px;
    height: 460px;
  }

  .editorial-secondary-story {
    margin-top: 12px;
  }

  .editorial-story-copy,
  .editorial-secondary-story .editorial-story-copy {
    width: 100%;
    padding: 28px 24px 22px;
  }

  .editorial-story-copy h2 {
    font-size: 29px;
  }

  .editorial-secondary-story .editorial-story-copy h2 {
    font-size: 24px;
  }

  .editorial-feed {
    display: block;
    margin-top: 18px;
    border-top: 1px solid var(--editorial-line);
  }

  .editorial-feed .editorial-panel-head {
    padding: 18px 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--editorial-line-soft);
  }

  .editorial-feed-list {
    display: block;
  }

  .editorial-feed-item,
  .editorial-feed-item:nth-child(odd) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .editorial-trending-head > div {
    display: block;
  }

  .editorial-trending-head .editorial-kicker {
    display: block;
    margin-bottom: 8px;
  }

  .editorial-trending-list {
    display: block;
  }

  .editorial-trending-list li:nth-child(odd),
  .editorial-trending-list li:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .editorial-trending-list a {
    min-height: 104px;
  }

  .editorial-pro-grid {
    display: block;
  }

  .editorial-pro-link {
    min-height: 142px;
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-story-link img,
  .editorial-signal > span,
  .editorial-trending-list b {
    transition: none;
  }
}

/* Light mode is a complete editorial canvas, not a token-only inversion. */
html[data-theme='light'] body.home-editorial.home-refined.home-openai-clean {
  --home-bg: #ffffff;
  --home-surface: #f7f7f9;
  --home-panel: #ffffff;
  --home-panel-2: #f1f1f3;
  --home-ink: #111111;
  --home-body: #4a4a4a;
  --home-muted: #727272;
  --home-rule: rgba(17, 17, 17, 0.16);
  --home-rule-soft: rgba(17, 17, 17, 0.09);
  --home-blue: #0057d9;
  --editorial-ink: #ffffff;
  --editorial-surface: #f7f7f9;
  --editorial-line: rgba(17, 17, 17, 0.16);
  --editorial-line-soft: rgba(17, 17, 17, 0.09);
  --editorial-text: #111111;
  --editorial-muted: #626262;
  --editorial-blue: #0057d9;
  --editorial-yellow: #dcf200;
  background: #ffffff !important;
  color: #4a4a4a;
}

html[data-theme='light'] body.home-editorial .nav,
html[data-theme='light'] body.home-editorial .nav.is-past-hero,
html[data-theme='light'] body.home-editorial .nav.is-scrolled {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom-color: rgba(17, 17, 17, 0.09) !important;
}

html[data-theme='light'] body.home-editorial :is(.nav-logo, .nav-link, .nav-reader-login, .nav-mobile-btn) {
  color: #111111 !important;
}

html[data-theme='light'] body.home-editorial .nav .nav-actions a.btn.nav-reader-login {
  color: #111111 !important;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.2) !important;
}

html[data-theme='light'] body.home-editorial .theme-toggle {
  color: #111111 !important;
  border-color: rgba(17, 17, 17, 0.16);
}

html[data-theme='light'] body.home-editorial .nav .theme-toggle:hover,
html[data-theme='light'] body.home-editorial .nav .theme-toggle:focus-visible {
  color: #ffffff !important;
  background: #111111 !important;
  border-color: #111111 !important;
}

html[data-theme='light'] body.home-editorial .editorial-hero,
html[data-theme='light'] body.home-editorial .editorial-intelligence-rail,
html[data-theme='light'] body.home-editorial .editorial-daily-marker,
html[data-theme='light'] body.home-editorial .editorial-frontpage,
html[data-theme='light'] body.home-editorial .editorial-trending,
html[data-theme='light'] body.home-editorial .editorial-pro {
  background: #ffffff;
}

html[data-theme='light'] body.home-editorial .editorial-hero-copy h1,
html[data-theme='light'] body.home-editorial .editorial-daily-marker h2,
html[data-theme='light'] body.home-editorial .editorial-trending-head h2,
html[data-theme='light'] body.home-editorial .editorial-pro-intro h2 {
  color: #111111;
}

html[data-theme='light'] body.home-editorial .editorial-hero-deck,
html[data-theme='light'] body.home-editorial .editorial-daily-marker p,
html[data-theme='light'] body.home-editorial .editorial-pro-intro p,
html[data-theme='light'] body.home-editorial .editorial-pro-link p {
  color: #5a5a5a;
}

html[data-theme='light'] body.home-editorial .editorial-pro-link > span:last-child {
  color: #0057d9;
}

html[data-theme='light'] body.home-editorial .editorial-latest-issue,
html[data-theme='light'] body.home-editorial :is(.editorial-section-label a, .editorial-panel-head a) {
  color: #111111;
}

html[data-theme='light'] body.home-editorial .editorial-latest-issue:hover,
html[data-theme='light'] body.home-editorial .editorial-latest-issue:focus-visible,
html[data-theme='light'] body.home-editorial :is(.editorial-section-label a, .editorial-panel-head a):hover,
html[data-theme='light'] body.home-editorial :is(.editorial-section-label a, .editorial-panel-head a):focus-visible {
  color: #0057d9;
}

html[data-theme='light'] body.home-editorial .editorial-hero-earth::after {
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.84) 18%, transparent 57%),
    linear-gradient(0deg, #ffffff 0%, transparent 34%);
}

html[data-theme='light'] body.home-editorial .editorial-section-label h2,
html[data-theme='light'] body.home-editorial .editorial-panel-head > h2,
html[data-theme='light'] body.home-editorial .editorial-signal time,
html[data-theme='light'] body.home-editorial .editorial-trending-rank,
html[data-theme='light'] body.home-editorial .editorial-trending-list small,
html[data-theme='light'] body.home-editorial .editorial-trending-list b,
html[data-theme='light'] body.home-editorial .editorial-pro-number {
  color: #707070;
}

html[data-theme='light'] body.home-editorial .editorial-signal,
html[data-theme='light'] body.home-editorial .editorial-feed-item,
html[data-theme='light'] body.home-editorial .editorial-pro-link,
html[data-theme='light'] body.home-editorial .editorial-trending-list a {
  color: #111111;
}

html[data-theme='light'] body.home-editorial .editorial-story-link {
  background: #111111;
  border-color: rgba(17, 17, 17, 0.16);
}

html[data-theme='light'] body.home-editorial .editorial-feed {
  background: #ffffff;
}

html[data-theme='light'] body.home-editorial .editorial-feed-item strong {
  color: #111111;
}

html[data-theme='light'] body.home-editorial .editorial-feed-meta {
  color: #6c6c6c;
}

html[data-theme='light'] body.home-editorial .editorial-story-copy h2,
html[data-theme='light'] body.home-editorial .editorial-read-link {
  color: #ffffff;
}

html[data-theme='light'] body.home-editorial .editorial-newsletter.section {
  background: #f7f7f9 !important;
  border-bottom-color: rgba(17, 17, 17, 0.12);
}

html[data-theme='light'] body.home-editorial .editorial-newsletter h2 {
  color: #111111;
}

html[data-theme='light'] body.home-editorial .editorial-newsletter .idx-final-cta-sub {
  color: #555555 !important;
}

html[data-theme='light'] body.home-editorial .editorial-newsletter .signup-form {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.22);
}

html[data-theme='light'] body.home-editorial .editorial-newsletter .signup-form input[type='email'] {
  color: #111111;
}

html[data-theme='light'] body.home-editorial .editorial-newsletter .signup-form input[type='email']::placeholder {
  color: #747474;
}

html[data-theme='light'] body.home-editorial .editorial-newsletter .signup-form input[type='email']:focus-visible {
  box-shadow: inset 0 0 0 2px #111111;
}

html[data-theme='light'] body.home-editorial .editorial-newsletter .idx-signup-button,
html[data-theme='light'] body.home-editorial .home-platform-actions .btn,
html[data-theme='light'] body.home-editorial .home-adoption-cta {
  color: #ffffff !important;
  background: #111111 !important;
}

html[data-theme='light'] body.home-editorial .home-platform-section,
html[data-theme='light'] body.home-editorial .home-adoption-section,
html[data-theme='light'] body.home-editorial .voices-section,
html[data-theme='light'] body.home-editorial .site-footer {
  background: #ffffff !important;
  border-color: rgba(17, 17, 17, 0.1) !important;
}

html[data-theme='light'] body.home-editorial .home-adoption-shell {
  background: #f7f7f9;
  border-color: rgba(17, 17, 17, 0.14);
}

html[data-theme='light'] body.home-editorial .home-adoption-media {
  background: #eef0f3;
}

html[data-theme='light'] body.home-editorial .voices-card {
  background: #f7f7f9;
  color: #111111;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.1);
}

html[data-theme='light'] body.home-editorial .voices-copy h2 {
  color: #111111;
}

html[data-theme='light'] body.home-editorial .voices-copy p {
  color: #4a4a4a;
}

html[data-theme='light'] body.home-editorial .podcast-link {
  color: #111111;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.14);
}

html[data-theme='light'] body.home-editorial .podcast-link img {
  filter: grayscale(1) brightness(0);
}

html[data-theme='light'] body.home-editorial .podcast-link--page,
html[data-theme='light'] body.home-editorial .podcast-link:hover,
html[data-theme='light'] body.home-editorial .podcast-link:focus-visible {
  color: #ffffff;
  background: #111111;
  box-shadow: inset 0 0 0 1px #111111;
}

html[data-theme='light'] body.home-editorial .podcast-link--page img,
html[data-theme='light'] body.home-editorial .podcast-link:hover img,
html[data-theme='light'] body.home-editorial .podcast-link:focus-visible img {
  filter: grayscale(1) brightness(0) invert(1);
}

@media (max-width: 680px) {
  .editorial-daily-marker {
    padding: 22px 0 20px;
  }

  .editorial-daily-marker h2 {
    font-size: 23px;
  }

  .editorial-daily-marker p {
    margin-top: 10px;
    font-size: 11px;
  }

  .home-editorial .theme-toggle {
    margin-left: 8px;
  }
}

@media (max-width: 900px) {
  .home-editorial .nav-actions {
    display: flex !important;
    margin-left: auto;
  }

  .home-editorial .nav-reader-login {
    display: none !important;
  }

  .home-editorial .theme-toggle {
    margin-left: 0;
    margin-right: 10px;
  }
}
