/*
 * News story (single.php), 2026 redesign, uniform with the event page
 * (event-redesign.css) and the News page. The hero layout comes from
 * newsletters.css (.nlx-hero); the "More …" cards from components.css
 * (.ev-recap). Loaded after news-media.css (body class news-page), whose
 * WordPress-content rules (.article-body-copy: images, galleries, lists) are
 * kept; the type and colours are set here, scoped to main.stx.
 */

.stx {
  color: var(--ink-strong);
  font-family: var(--font-ui);
}

.stx .wrap {
  width: min(var(--max-wide), calc(100% - 42px));
}

.stx :focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: none;
}

/* Hero ---------------------------------------------------------------------- */
.stx-hero-text {
  gap: 22px;
  padding-top: 0;
}

.stx-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stx-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--purple-tint-ui);
  color: var(--purple);
  font-size: var(--text-ui-xs);
  font-weight: 700;
  line-height: 1.4;
}

.stx-pill.is-source {
  background: var(--cyan-tint);
  color: var(--cyan-ink);
}

body .stx-hero h1.is-long {
  font-size: var(--text-hero-long);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.stx-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stx-facts li {
  padding: 6px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink-strong);
  font-size: var(--text-ui-xs);
  font-weight: 700;
}

.stx-facts li span {
  color: var(--muted-ui);
  font-weight: 600;
}

.stx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stx-panel .pill-button {
  height: var(--ds-button-md);
  padding: 0 22px;
  font-size: var(--text-ui);
}

/* Every page's hero button size: 54px, 48px on phones (site-wide uniformity review, 2026-10-29). */
.stx-hero-actions .pill-button {
  height: var(--ds-button-lg);
}

/* "Learn more" at the end of the side panel (as the event page's info panel): lead sentence, then a full-width button. */
.stx-info-cta p {
  margin: 0 0 12px;
  color: var(--muted-ui);
  font-size: var(--text-ui-sm);
  line-height: 1.5;
}

.stx-info-cta .pill-button {
  justify-content: center;
  width: 100%;
  height: var(--ds-button-md);
  padding: 0 20px;
  font-size: var(--text-ui);
}

.stx-hero-actions svg,
.stx-panel .pill-button svg {
  width: 16px;
  height: 16px;
}

/* Hero card: the picture, then the date tile and the topic / source. */
.stx-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 540px;
  padding: 24px 24px 28px;
}

/* The picture fills the card to its top, left and right edges, over the card's 1px outline (no frame around it).
   16:9, the shape of the generated story pictures and of the story cards in lists, so those show uncropped. */
.stx-card-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: -25px -25px 0;
  border-radius: var(--radius-card) var(--radius-card) 0 0; /* Rounded with the card's top; straight above the date. */
  background: var(--held-tile);
}

.stx-card-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cover or infographic: shown whole over a blurred copy of itself. */
.stx-card-visual.is-whole .stx-card-backdrop {
  transform: scale(1.2);
  filter: blur(18px) saturate(1.1);
  opacity: .85;
}

/* Sized to the picture itself (not the box), 10px from the edges, so its own corners are rounded. */
.stx-card-visual.is-whole img:not(.stx-card-backdrop) {
  margin: auto;
  width: auto;
  height: auto;
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
  border-radius: var(--radius-picture);
}

.stx-card-main {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 4px;
}

/* The event page's orange date tile. */
.stx-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 92px;
  border-radius: var(--radius-ui);
  background: var(--join);
  color: var(--night-deep);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.stx-date span {
  font-size: var(--text-ui-3xs);
  text-transform: uppercase;
}

.stx-date span:first-child {
  font-size: var(--text-ui-2xs);
  letter-spacing: .08em;
}

.stx-date b {
  font-family: var(--font-display);
  font-size: var(--text-ui-tile-xl);
  font-weight: 700;
  line-height: 1;
}

.stx-card-facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stx-card-facts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-strong);
  font-size: var(--text-ui);
  font-weight: 600;
  line-height: 1.4;
}

.stx-card-facts svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--purple);
}

/* Story + side panel ---------------------------------------------------------- */
.news-page .stx-story,
.news-page .stx-recap,
.news-page .stx-more {
  padding: 96px 0;
  background: #fff;
}

.stx-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 72px;
}

/* Nothing for the side panel: the story alone. Its text keeps a reading width (860px);
   name lists may use the full width (see .name-columns below). */
.stx-story-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.stx-story-grid.is-single .stx-body > :not(.stx-rich),
.news-page .stx-story-grid.is-single .stx-rich > * {
  max-width: 860px;
}

.news-page .stx-story-grid.is-single .stx-rich > .name-columns {
  max-width: none;
}

.news-page .stx-rich {
  max-width: none;
}

.news-page .stx-rich p,
.news-page .stx-rich li {
  color: var(--muted-ui);
  font-size: var(--text-ui-md);
  line-height: 1.7;
}

.news-page .stx-rich strong {
  color: var(--ink-strong);
}

.news-page .stx-rich a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-page .stx-rich h2,
.news-page .stx-rich h3 {
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
}

.news-page .stx-rich h2 {
  margin: 36px 0 14px;
  font-size: var(--text-ui-panel);
  line-height: 1.25;
}

.news-page .stx-rich h3 {
  margin: 28px 0 12px;
  font-size: var(--text-ui-step);
  line-height: 1.3;
}

.news-page .stx-rich > :first-child {
  margin-top: 0;
}

.news-page .stx-rich img {
  border-radius: var(--radius-xl);
}

/* Quote (the event page's): purple rule, soft panel, Sora. */
.news-page .stx-quote,
.news-page .stx-rich blockquote {
  margin: 0 0 32px;
  padding: 24px 28px;
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  background: var(--surface-soft);
}

.news-page .stx-rich blockquote {
  margin: 32px 0;
}

.news-page .stx-quote p,
.news-page .stx-rich blockquote p {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: var(--text-ui-step);
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
}

/* The Quote block's "Plain" style (is-style-plain): a longer quoted passage, such as the prompt in a Board letter, at
   body size in the same soft box, not as a pull quote (the default style is for one or two sentences). */
.news-page .stx-rich blockquote.is-style-plain {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-page .stx-rich blockquote.is-style-plain p {
  color: var(--muted-strong);
  font-family: var(--font-ui);
  font-size: var(--text-ui-md); /* The story text's size (15px on phones, below). */
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .news-page .stx-rich blockquote.is-style-plain p {
    font-size: var(--text-ui);
  }
}

.news-page .stx-quote cite,
.news-page .stx-rich blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--muted-strong);
  font-size: var(--text-ui-sm);
  font-style: normal;
  font-weight: 600;
}

/* Name lists (a List block with the class "name-columns"): as many columns as
   fit, up to 6, each at least 170px wide. On a story without a side panel the
   list uses the full page width (6 columns on a wide screen, fewer on smaller
   ones, 1 on phones); beside the side panel, about 4. "name-columns--2" …
   "--5" next to it lowers the maximum. Overrides news-media.css's fixed
   3 / 2 / 1 columns. */
.news-page .stx-rich .name-columns { columns: 170px 6; }
.news-page .stx-rich .name-columns--2 { columns: 170px 2; }
.news-page .stx-rich .name-columns--3 { columns: 170px 3; }
.news-page .stx-rich .name-columns--4 { columns: 170px 4; }
.news-page .stx-rich .name-columns--5 { columns: 170px 5; }

.stx-body .nl-featured-in {
  margin-top: 32px;
}

/* Side panel (the event page's .info): people, partner. Sticks below the bar. */
.stx-info {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.stx-info-block + .stx-info-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.stx-info small {
  display: block;
  color: var(--muted-strong);
  font-size: var(--text-ui-2xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.stx-people {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.stx-people li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stx-person-photo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: var(--ds-icon-md);
  height: var(--ds-icon-md);
  border-radius: var(--radius-round);
  background: var(--purple-tint-ui);
  color: var(--purple);
  font-family: var(--font-display);
  font-size: var(--text-ui-sm);
  font-weight: 700;
  object-fit: cover;
  object-position: center top; /* An upright portrait shows from the top: the head is never cut. */
}

.stx-person-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.stx-person-text a,
.stx-person-text b {
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: var(--text-ui);
  font-weight: 700;
  line-height: 1.3;
}

.stx-person-text a:hover {
  color: var(--purple);
}

.stx-info .stx-person-text small {
  color: var(--muted-ui);
  font-size: var(--text-ui-xs);
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.stx-partner a,
.stx-partner > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  color: var(--ink-strong);
}

.stx-partner img {
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
}

.stx-partner b {
  font-family: var(--font-display);
  font-size: var(--text-ui);
}

.stx-partner span {
  color: var(--muted-ui);
  font-size: var(--text-ui-xs);
}

.stx-partner a:hover b {
  color: var(--purple);
}

.stx-partner a + a,
.stx-partner a + div,
.stx-partner div + a,
.stx-partner div + div {
  margin-top: 18px;
}

/* A partner role's tag (Partner roles), e.g. "Gold sponsor". */
.stx-partner .stx-partner-tag {
  width: fit-content;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--purple-tint-ui);
  color: var(--purple);
  font-size: var(--text-ui-3xs);
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stx-partner .is-dark img {
  box-sizing: content-box;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--purple-deep);
}

/* People in the story (the event page's "Meet the speakers", folded the same way: event-fold.js,
   event-speakers.js) ------------------------------------------------------------- */
.stx-fold-section {
  padding: 48px 0;
  background: var(--surface-soft);
}

.stx-fold-section:has(.evd-fold[open]) {
  padding-bottom: 72px;
}


/* .news-page: over news-media.css's ".news-page main h2" (--text-h2, 41.6 / 30.4px), so it is every section heading's
   42 / 28px (site-wide uniformity review, 2026-10-29). */
.stx-section-title,
.news-page .stx-section-title {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.stx-fold-section .stx-label {
  margin-bottom: 10px;
}

.stx-fold-section .evd-fold-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}

.stx-fold-section .evd-fold-head::-webkit-details-marker {
  display: none;
}

.stx-fold-section .evd-fold-head:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 6px;
  border-radius: var(--radius-ui);
}

.stx-fold-section .evd-fold-titles {
  min-width: 0;
}

.stx-fold-section .evd-fold-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: var(--ds-button-sm);
  padding: 0 8px 0 18px;
  border: 1px solid var(--line-control);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink-strong);
  font-size: var(--text-ui-sm);
  font-weight: 700;
  transition: border-color .15s ease, color .15s ease;
}

.stx-fold-section .evd-fold-head:hover .evd-fold-toggle {
  border-color: var(--purple);
  color: var(--purple);
}

.stx-fold-section .evd-fold-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-round);
  background: var(--purple-wash);
  color: var(--purple);
  transition: transform .2s ease;
}

.stx-fold-section .evd-fold-icon svg {
  width: 16px;
  height: 16px;
}

.stx-fold-section .evd-fold[open] .evd-fold-icon {
  transform: rotate(180deg);
}

.stx-fold-section .evd-fold .is-open,
.stx-fold-section .evd-fold[open] .is-closed {
  display: none;
}

.stx-fold-section .evd-fold[open] .is-open {
  display: inline;
}

.stx-fold-section .evd-fold-body {
  margin-top: 32px;
}

.stx-people-section .speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 20px;
  align-items: start; /* An expanded card grows alone. */
  scroll-margin-top: calc(var(--nav-height) + 140px);
}

.stx-people-section .speaker-grid > .speaker-card {
  min-height: var(--speaker-card-height, auto); /* The tallest collapsed card, set by event-speakers.js. */
}

.stx-people-section .speaker-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.stx-people-section .speaker-card:target {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.stx-people-section .speaker-card > img,
.stx-people-section .speaker-card > .speaker-portrait-initials {
  align-self: start;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-round);
  object-fit: cover;
}

.stx-people-section .speaker-card > .speaker-portrait-initials {
  font-size: var(--text-ui-xl);
}

.stx-people-section .speaker-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
}

.stx-people-section .speaker-card h3 {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: var(--text-ui-xl);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.stx-people-section .speaker-role {
  display: block;
  margin-top: 3px;
  color: var(--purple);
  font-size: var(--text-ui-sm);
  font-weight: 700;
}

.stx-people-section .speaker-session {
  margin: 10px 0 0;
  color: var(--ink-strong);
  font-size: var(--text-ui-sm);
  font-weight: 600;
  line-height: 1.35;
}

.stx-people-section .speaker-session span {
  display: block;
  color: var(--muted-ui);
  font-size: var(--text-ui-2xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.stx-people-section .speaker-bio {
  margin-top: 10px;
  color: var(--muted-strong);
}

.stx-people-section .speaker-bio p {
  margin: 0 0 10px;
  font-size: var(--text-ui);
  line-height: 1.6;
}

/* Long bios: cut to 4 lines by event-speakers.js ("… Read more"); .is-clamped only measures that height. */
.stx-people-section .speaker-bio.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.stx-people-section .speaker-bio.is-clamped > *,
.stx-people-section .speaker-bio.is-collapsed > * {
  margin-bottom: 0;
}

.stx-people-section .speaker-more {
  padding: 0;
  border: 0;
  background: none;
  color: var(--purple);
  font: inherit;
  font-size: var(--text-ui-sm);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.stx-people-section .speaker-more:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Profile / LinkedIn links: at the bottom of every card in a row. */
.stx-people-section .speaker-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: auto;
  padding-top: 12px;
}

.stx-people-section .speaker-link {
  color: var(--purple);
  font-size: var(--text-ui-sm);
  font-weight: 700;
}

.stx-people-section .speaker-link:hover {
  color: var(--purple-deep);
}

@media (prefers-reduced-motion: reduce) {
  .stx-fold-section .evd-fold-icon {
    transition: none;
  }
}

@media (max-width: 767px) {
  .stx-fold-section {
    padding: 28px 0;
  }

  .stx-fold-section:has(.evd-fold[open]) {
    padding-bottom: 48px;
  }


  .stx-section-title,
  .news-page .stx-section-title {
    font-size: var(--text-section-sm);
    line-height: 1.2;
  }

  .stx-fold-section .evd-fold-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .stx-fold-section .evd-fold-toggle {
    height: 40px;
    font-size: var(--text-ui-xs);
  }

  .stx-fold-section .evd-fold-body {
    margin-top: 20px;
  }

  .stx-people-section .speaker-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .stx-people-section .speaker-card > img,
  .stx-people-section .speaker-card > .speaker-portrait-initials {
    width: 72px;
    height: 72px;
  }
}

/* Partners (the event page's "Event partners" cards) ----------------------------- */
/* Same soft background one after the other: a thin line between them, no doubled space. */
.stx-fold-section + .stx-fold-section,
.news-page .stx-fold-section + .stx-more {
  border-top: 1px solid var(--line-soft);
}

.news-page .stx-fold-section + .stx-more {
  padding-top: 72px;
}

.stx-partners-section .sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

/* One or two partners: cards keep a readable width instead of stretching across the page. */
.stx-partners-section .sponsor-grid:not(:has(> :nth-child(3))) {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
}

.stx-partners-section .sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.stx-partners-section .sponsor-card:target {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.stx-partners-section .sponsor-logo {
  display: flex;
  align-items: center;
  height: 64px;
  margin-bottom: 14px;
}

.stx-partners-section .sponsor-logo.is-dark {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--purple-deep);
}

.stx-partners-section .sponsor-logo img {
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.stx-partners-section .stx-partner-tag {
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--purple-tint-ui);
  color: var(--purple);
  font-size: var(--text-ui-3xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stx-partners-section .sponsor-name {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: var(--text-ui-xl);
  font-weight: 700;
  line-height: 1.3;
}

.stx-partners-section .sponsor-card p {
  margin: 8px 0 0;
  color: var(--muted-strong);
  font-size: var(--text-ui);
  line-height: 1.6;
}

.stx-partners-section .sponsor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: auto;
  padding-top: 14px;
}

.stx-partners-section .sponsor-links a {
  color: var(--purple);
  font-size: var(--text-ui-sm);
  font-weight: 700;
}

.stx-partners-section .sponsor-links a:hover {
  color: var(--purple-deep);
}

@media (max-width: 767px) {
  .stx-partners-section .sponsor-card {
    padding: 20px;
  }
}

/* Recap (the event page's cards) ------------------------------------------------ */
.news-page .stx-recap {
  padding-top: 0;
}

.stx-recap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.stx-recap-grid.is-single {
  grid-template-columns: minmax(0, 860px);
}

.stx-recap-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stx-panel {
  padding: 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.stx-label {
  display: block;
  margin-bottom: 14px;
  color: var(--purple);
  font-size: var(--text-ui-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.stx .stx-panel h2 {
  max-width: none;
  margin: 0 0 16px;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: var(--text-ui-panel);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.stx .stx-panel h2:not(:first-child) {
  margin-top: 28px;
}

.stx-takeaways {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.stx-takeaways li {
  color: var(--muted-ui);
  font-size: var(--text-ui-md);
  line-height: 1.6;
}

.stx-takeaways li::marker {
  color: var(--purple);
}

.stx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stx-chips li {
  padding: 6px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--ink-strong);
  font-size: var(--text-ui-xs);
  font-weight: 600;
}

.stx-panel.is-dark {
  border: 0;
  background: var(--night-deep);
  box-shadow: none;
}

.stx-panel.is-dark .stx-label {
  color: var(--cyan-light);
}

.stx .stx-panel.is-dark h2 {
  color: #fff;
}

.stx-panel.is-dark .stx-panel-rich p {
  margin: 0 0 12px;
  color: var(--on-night);
  font-size: var(--text-ui-md);
  line-height: 1.7;
}

.stx-panel-rich p:last-child {
  margin-bottom: 0;
}

.stx-panel-rich a {
  color: #fff;
  font-weight: 700;
}

.stx-panel.is-soft {
  border: 0;
  background: var(--purple-wash-hover);
  box-shadow: none;
}

.stx-panel p {
  margin: 0 0 18px;
  color: var(--muted-ui);
  font-size: var(--text-ui-md);
  line-height: 1.6;
}


/* "Write for Member insights" (member insights only): a soft box before "More member insights". */
.news-page main > section.stx-write {
  padding: 0 0 72px;
  background: #fff;
}

/* After "Meet the people" / the partners (their soft background), the box needs its own space above. */
.news-page main > section.stx-fold-section + section.stx-write {
  padding-top: 72px;
}

.stx-write-box {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--ds-radius-lg);
  background: var(--purple-wash-hover);
}

.stx-write-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: var(--ds-icon-lg);
  height: var(--ds-icon-lg);
  border-radius: var(--radius-round);
  background: #fff;
  color: var(--purple);
}

.stx-write-icon svg {
  width: 24px;
  height: 24px;
}

.stx-write-box > div {
  flex: 1;
  min-width: 0;
}

.news-page .stx-write-box h2 {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: var(--text-ui-step);
  font-weight: 700;
  line-height: 1.3;
}

.stx-write-box p {
  margin: 4px 0 0;
  color: var(--muted-ui);
  font-size: var(--text-ui-md);
}

@media (max-width: 767px) {
  .news-page main > section.stx-write {
    padding-bottom: 48px;
  }

  .news-page main > section.stx-fold-section + section.stx-write {
    padding-top: 48px;
  }

  .stx-write-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .stx-write-box .pill-button {
    justify-content: center;
    width: 100%;
  }
}

/* Previous / next story (the Board profiles' links, board-member.css .member-step): the older story on the left, the
   newer on the right, each a card with its picture, the direction, the title (two lines at most) and the date. */
.stx-pager {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line-soft);
  background: #fff;
  font-family: var(--font-ui);
}

.stx-pager-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stx-step {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--ink-strong);
  transition: border-color .15s ease;
}

.stx-step:hover {
  border-color: var(--line-control);
}

.stx-step--next {
  flex-direction: row-reverse;
  padding: 14px 14px 14px 18px;
  text-align: right;
}

.stx-step-photo {
  flex-shrink: 0;
  width: 88px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-ui);
  background: var(--purple-tint-ui);
}

.stx-step-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stx-step-photo--logo {
  display: grid;
  place-items: center;
  padding: 10px;
  background: var(--surface-soft);
}

.stx-step-photo--logo img {
  object-fit: contain;
}

.stx-step-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.stx-step--next .stx-step-text {
  align-items: flex-end;
}

.stx-step-dir {
  color: var(--purple);
  font-size: var(--text-ui-2xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.stx-step-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: var(--font-display);
  font-size: var(--text-ui-md);
  font-weight: 700;
  line-height: 1.35;
  transition: color .15s ease;
}

.stx-step:hover .stx-step-title {
  color: var(--purple);
}

.stx-step-date {
  color: var(--muted-strong);
  font-size: var(--text-ui-xs);
}

.stx-pager :focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .stx-pager {
    padding: 28px 0 36px;
  }

  .stx-pager-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  /* Phones: both cards read the same way, picture first, so the newer story is not right-aligned under the older. */
  .stx-step--next {
    flex-direction: row;
    padding: 12px 14px 12px 12px;
    text-align: left;
  }

  .stx-step--next .stx-step-text {
    align-items: flex-start;
  }

  .stx-step {
    gap: 12px;
    padding: 12px 14px 12px 12px;
  }

  .stx-step-photo {
    width: 72px;
  }

  .stx-step-title {
    font-size: var(--text-ui);
  }

  .stx-step-empty {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stx-step,
  .stx-step-title {
    transition: none;
  }
}

/* More … (the event page's "More from the Chapter") ------------------------------ */
.news-page .stx-more {
  background: var(--surface-soft);
}

.stx-more-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.stx .stx-more h2 {
  max-width: none;
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.stx-more-all {
  color: var(--purple);
  font-size: var(--text-ui);
  font-weight: 700;
  white-space: nowrap;
}

.stx-more-all:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* news-media.css's generic h3 rule would otherwise restyle the card titles. */
.news-page .stx .ev-recap-title {
  margin: 0;
  color: var(--ink-strong);
  font-size: var(--text-story-title);
  line-height: 1.3;
}

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .stx-story-grid,
  .stx-recap-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .stx-info {
    position: static;
  }
}

@media (max-width: 767px) {
  .stx-hero-text {
    gap: 16px;
  }

  .stx-pill,
  .stx-facts li {
    padding: 5px 12px;
    font-size: var(--text-ui-2xs);
  }

  body .stx-hero h1.is-long {
    font-size: var(--text-hero-long);
  }

  .stx-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
  }

  .stx-hero-actions .pill-button {
    height: var(--ds-button-md);
  }

  .stx-card {
    gap: 16px;
    padding: 16px 16px 20px;
    border-radius: var(--radius-xl);
  }

  .stx-card-visual {
    margin: -17px -17px 0;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .stx-date {
    width: 68px;
    height: 78px;
  }

  .stx-date b {
    font-size: var(--text-ui-tile-lg);
  }

  .stx-card-facts li {
    font-size: var(--text-ui-sm);
  }

  .news-page .stx-story,
  .news-page .stx-more {
    padding: 40px 0;
  }

  .news-page .stx-recap {
    padding: 0 0 40px;
  }

  .news-page .stx-rich p,
  .news-page .stx-rich li {
    font-size: var(--text-ui);
    line-height: 1.65;
  }

  .news-page .stx-rich h2 {
    font-size: var(--text-ui-step);
  }

  .news-page .stx-rich h3 {
    font-size: var(--text-ui-lg);
  }

  .news-page .stx-quote,
  .news-page .stx-rich blockquote {
    padding: 18px 20px;
  }

  .news-page .stx-quote p,
  .news-page .stx-rich blockquote p {
    font-size: var(--text-ui-lg);
  }

  .stx-info,
  .stx-panel {
    padding: 22px;
  }

  .stx .stx-panel h2 {
    font-size: var(--text-ui-step);
  }

  .stx-takeaways li,
  .stx-panel p,
  .stx-panel.is-dark .stx-panel-rich p {
    font-size: var(--text-ui-sm);
  }

  .stx-more-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

  .stx .stx-more h2 {
    font-size: var(--text-section-sm);
  }

  .news-page .stx .ev-recap-title {
    font-size: var(--text-ui-lg);
  }
}
