/* November Figma revisions, 269:775 and 269:766. The white reading surface
   contains only the article; newsletter, social links and adverts stay outside. */
.story.story--sidebar {
  padding: 60px 0;
  background: #f2f2f2;
}

.story--sidebar > .story__layout {
  width: min(1280px, calc(100% - 160px));
  max-width: 1280px;
  grid-template-columns: minmax(0, 874fr) minmax(280px, 375fr);
  gap: 30px;
  align-items: start;
}

.story--sidebar .story__main {
  padding: clamp(32px, 4.1667vw, 60px);
  background: #fff;
}

.story--sidebar .story__title {
  max-width: none;
  font-size: 60px;
  line-height: 1.2;
  letter-spacing: -.0576em;
  overflow-wrap: break-word;
}

.story--sidebar .story__lead {
  margin-top: 30px;
  font-weight: 500;
  overflow-wrap: break-word;
}

.story--sidebar .story__meta {
  margin-top: 30px;
  min-height: 35px;
  gap: 15px;
}

.story--sidebar .story__cover {
  width: 100%;
  max-width: none;
  margin-top: 31px;
  aspect-ratio: 754 / 423;
}

.story--sidebar .story__body {
  max-width: none;
  margin-top: 46px;
}

.story--sidebar .story__body > h2:first-child {
  margin-top: 0;
}

.story--sidebar .story__sidebar {
  width: 100%;
  max-width: none;
  margin: 0;
  gap: 30px;
}

.story__sidebar .v2-subscribe.v2-subscribe--card {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: #fff;
}

/* Scale the existing artwork and form together to the 375px sidebar card.
   All text stays in normal flow so translated copy or feedback can grow. */
.story__sidebar .v2-subscribe__content {
  padding: 38.7168cqw 6.3438cqw 10.1173cqw;
}

/* Exact export of Figma decorative mask group 269:935; its clear area lets
   the new white card show through without changing the shared popup artwork. */
.v2-subscribe__artwork--article img {
  width: 84.8271%;
}

.story__sidebar .v2-subscribe__title {
  font-size: clamp(28px, 9.354cqw, 42.28px);
}

.story__sidebar .v2-subscribe__text {
  margin-top: 3.9912cqw;
  font-size: clamp(14px, 3.9053cqw, 17.652px);
  line-height: 1.5;
}

.story__sidebar .v2-subscribe__form {
  width: 77.8478cqw;
  max-width: 100%;
  height: 10.6416cqw;
  min-height: 36px;
  margin-top: 6.2088cqw;
}

.story__sidebar .v2-subscribe__input {
  width: calc(100% - 10.5912cqw);
  height: 10.6195cqw;
  min-height: 36px;
  border-width: 1.659px;
  background: transparent;
}

.story__sidebar .v2-subscribe__button {
  width: 11.0336cqw;
  height: 10.6416cqw;
  min-height: 36px;
}

.story__sidebar .v2-subscribe__consent {
  width: 80.6305cqw;
  max-width: 100%;
  margin: 6.3341cqw auto 0;
  font-size: clamp(10px, 2.4336cqw, 11px);
  line-height: 1.38;
}

.story__sidebar .clast-socials--sidebar a {
  min-height: 50px;
  padding: 11px 24px 11px 35px;
  gap: 8px;
}

/* Full-width newsletter sections use the same pale surface on all pages.
   Keep the inner component transparent so it cannot leave a white rectangle. */
.home-subscribe,
.newsletter-section,
.vision-page__news,
.team-subscribe.home-subscribe {
  background: #f2f2f2;
}

.home-subscribe .v2-subscribe--home,
.newsletter-section .v2-subscribe--home {
  background: transparent;
}

.v2-subscribe--home .v2-subscribe__input {
  background: transparent;
}

@media (min-width: 1025px) and (max-width: 1439px) {
  .story--sidebar > .story__layout {
    width: calc(100% - 80px);
  }

  .story--sidebar .story__main {
    padding: 36px;
  }

  .story--sidebar .story__title {
    font-size: clamp(40px, 4.1667vw, 60px);
  }

  .story--sidebar .story__lead {
    font-size: 20px;
    line-height: 1.5;
  }
}

@media (max-width: 1024px) {
  .story.story--sidebar {
    padding: 32px 0 48px;
  }

  .story--sidebar > .story__layout {
    width: calc(100% - 40px);
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .story--sidebar .story__main {
    padding: 40px;
  }

  .story--sidebar .story__title {
    font-size: 40px;
  }

  .story--sidebar .story__sidebar {
    width: 100%;
    max-width: 375px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .story.story--sidebar {
    padding-top: 0;
  }

  .story--sidebar > .story__layout {
    width: 100%;
  }

  .story--sidebar .story__main {
    padding: 32px 20px;
  }

  .story--sidebar .story__title {
    font-size: 32px;
    line-height: 1.2;
  }

  .story--sidebar .story__lead {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.5;
  }

  .story--sidebar .story__meta {
    margin-top: 24px;
    gap: 12px;
  }

  .story--sidebar .story__meta .v2-kicker {
    flex-basis: 100%;
  }

  .story--sidebar .story__cover,
  .story--sidebar .story__body {
    margin-top: 32px;
  }

  .story--sidebar .story__sidebar {
    width: calc(100% - 40px);
  }

  .story__sidebar .v2-subscribe__form,
  .story__sidebar .v2-subscribe__input,
  .story__sidebar .v2-subscribe__button {
    height: 48px;
  }

  .story__sidebar .v2-subscribe__input {
    width: calc(100% - 46px);
  }

  .story__sidebar .v2-subscribe__button {
    width: 48px;
  }
}
