/* Shared editor/frontend rules. Each value is mapped to the approved v0.2 hero,
 * not guessed from a generic hero variant. No generated source selectors. */
.s3-outreach-hero {
  box-sizing: border-box;
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 40px 8px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 48px;
  color: #101a26;
  background: #f7f6f3;
  font-family: 'Source Serif 4', Georgia, serif;
  text-wrap: pretty;
}
.s3-outreach-hero__rail {
  font: 400 13px/1.4 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5a626e;
  padding-top: 14px;
}
.s3-outreach-hero__body { max-width: 760px; min-width: 0; }
.s3-outreach-hero__body > * { margin-block-start: 0; }
.is-style-strive3-display {
  font: 700 64px/1.05 'Archivo Narrow', sans-serif;
  letter-spacing: -.01em;
  margin: 0 0 28px;
}
.is-style-strive3-lead,
.is-style-strive3-emphasis {
  font: 400 19px/1.65 'Source Serif 4', Georgia, serif;
  margin: 0 0 18px;
  max-width: 620px;
}
.is-style-strive3-emphasis { font-weight: 600; margin-bottom: 26px; }
.is-style-strive3-context {
  font: 400 17px/1.6 'Source Serif 4', Georgia, serif;
  margin: 0 0 34px;
  max-width: 620px;
  padding-left: 20px;
  border-left: 3px solid #e0b350;
  color: #3f4855;
}
.s3-editorial-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin: 0 0 32px;
  position: relative;
}
/* Keep the original 210px frame separate from its caption, including in edit. */
.s3-outreach-hero .s3-media-figure.s3-editorial-media {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}
.s3-editorial-media .s3-media-figure__frame {
  position: relative;
  height: 210px;
  border: 1px solid #dcd9d2;
  background: #f1eee7;
  overflow: hidden;
}
.s3-editorial-media .s3-media-figure__frame > * { width: 100%; height: 100%; object-fit: cover; }
.s3-editorial-media.s3-media-fit--contain .s3-media-figure__frame > img { object-fit: contain; }
.s3-editorial-media figcaption {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  font: 400 11.5px/1.6 'IBM Plex Mono', monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #5a626e;
}
.s3-editorial-media .s3-media-placeholder {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 120px;
  padding: 20px;
  background: #edebe5;
  border: 1.5px dashed color-mix(in srgb, #5a626e 35%, transparent);
  color: #5a626e;
  font: 400 12px/1.6 'IBM Plex Mono', monospace;
  letter-spacing: .04em;
  text-align: center;
}
.s3-editorial-media .s3-media-placeholder__icon { width: 26px; height: 26px; opacity: .45; }
.s3-outreach-hero .wp-block-buttons { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin: 0; }
.s3-outreach-hero .wp-block-button { display: flex; align-items: center; }
.is-style-strive3-primary .wp-block-button__link {
  background: #e0b350;
  color: #101a26;
  padding: 15px 26px;
  border: 0;
  border-radius: 0;
  font: 400 13px/1.65 'IBM Plex Mono', monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.is-style-strive3-text-link .wp-block-button__link {
  background: transparent;
  color: #101a26;
  padding: 0;
  border: 0;
  border-radius: 0;
  font: 400 13px/1.65 'IBM Plex Mono', monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Option 2: Editorial Ledger. This modifier preserves the Homepage's existing
 * 1240px shell and 180px rail while giving the unnumbered opening its own form. */
.s3-outreach-hero--editorial-ledger {
  padding-top: clamp(62px, 8vw, 108px);
  padding-bottom: clamp(66px, 8vw, 96px);
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__body { max-width: none; }
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__rail { padding-top: 6px; }
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__rail-title {
  color: #22356e;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .1em;
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__rail-line {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 22px;
  background: #22356e;
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__rail-mark {
  display: block;
  margin-top: 22px;
  color: #d4d9e8;
  font: 700 68px/.85 'Archivo Narrow', sans-serif;
  letter-spacing: -.08em;
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__rail-index {
  display: block;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid #dcd9d2;
  color: #5a626e;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .04em;
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__eyebrow {
  margin: 0 0 18px;
  color: #5a626e;
  font: 500 14px/1.5 'IBM Plex Mono', monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.s3-outreach-hero--editorial-ledger .is-style-strive3-display {
  max-width: 990px;
  margin-bottom: clamp(36px, 5vw, 56px);
  color: #22356e;
  font-size: clamp(54px, 7.1vw, 88px);
  line-height: .94;
  letter-spacing: -.027em;
  text-wrap: balance;
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__map-panel {
  margin: 0;
  border: 1px solid #dcd9d2;
  border-top: 5px solid #22356e;
  background: #fff;
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__map-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid #dcd9d2;
}
.s3-outreach-hero--editorial-ledger :is(.s3-outreach-hero__map-title, .s3-outreach-hero__map-meta) {
  margin: 0;
  font: 500 11.5px/1.5 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__map-title { color: #22356e; }
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__map-meta { color: #5a626e; }
.s3-outreach-hero--editorial-ledger .s3-map-figure { margin: 0; }
.s3-outreach-hero--editorial-ledger .s3-map-figure__frame {
  border: 0;
  padding: 14px 18px;
  background: #fff;
}
.s3-outreach-hero--editorial-ledger .s3-reach-map,
.s3-outreach-hero--editorial-ledger .s3-reach-map svg { background: #fff; }
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__map-caption {
  max-width: none;
  margin: 0;
  padding: 17px 18px 20px;
  border-top: 1px solid #dcd9d2;
  color: #5a626e;
  font: 400 12px/1.62 'IBM Plex Mono', monospace;
  letter-spacing: .02em;
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .72fr);
  gap: 52px;
  align-items: start;
  margin-top: 40px;
}
.s3-outreach-hero--editorial-ledger :is(.s3-outreach-hero__intro-main, .s3-outreach-hero__intro-aside) { margin: 0; }
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__intro-main > .is-style-strive3-lead {
  max-width: none;
  margin: 0;
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.52;
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__intro-aside > .is-style-strive3-emphasis {
  max-width: none;
  margin: 0 0 23px;
  padding: 18px 20px 20px;
  border-top: 4px solid #e0b350;
  background: #22356e;
  color: #fff;
  font-size: 17px;
  line-height: 1.55;
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__intro-aside > .is-style-strive3-context {
  max-width: none;
  margin: 0;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.62;
}
.s3-outreach-hero--editorial-ledger .s3-outreach-hero__intro-main > .wp-block-buttons { margin-top: 29px; }
.s3-outreach-hero--editorial-ledger .s3-editorial-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 52px 0 0;
  border-top: 1px solid #101a26;
  border-bottom: 1px solid #101a26;
}
.s3-outreach-hero--editorial-ledger .s3-media-figure.s3-editorial-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-height: 124px;
  padding: 24px 24px 26px 0;
  border-right: 1px solid #dcd9d2;
}
.s3-outreach-hero--editorial-ledger .s3-media-figure.s3-editorial-media + .s3-media-figure.s3-editorial-media { padding-left: 24px; }
.s3-outreach-hero--editorial-ledger .s3-media-figure.s3-editorial-media:last-child { border-right: 0; }
.s3-outreach-hero--editorial-ledger .s3-editorial-media .s3-media-figure__frame {
  height: 174px;
  margin-bottom: 18px;
  filter: saturate(.78) contrast(1.03);
}
.s3-outreach-hero--editorial-ledger .s3-editorial-media figcaption {
  gap: 10px;
  margin: 0;
  color: #3f4855;
  font: 400 15.5px/1.55 'Source Serif 4', Georgia, serif;
  letter-spacing: 0;
  text-transform: none;
}
.s3-outreach-hero--editorial-ledger .s3-editorial-media figcaption strong {
  color: #22356e;
  font: 500 11.5px/1.4 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
/* Gutenberg outlines and controls are overlays, never extra layout rows. */
.editor-styles-wrapper .s3-outreach-hero { width: 100%; max-width: 1240px !important; }
/* Native Gutenberg wrappers must retain the reading presets' narrower measure.
 * A blanket .wp-block max-width reset makes editor copy span the 760px hero. */
.editor-styles-wrapper .s3-outreach-hero__body > .wp-block { margin-left: 0; margin-right: 0; }
.editor-styles-wrapper .s3-outreach-hero__body > :is(.is-style-strive3-lead, .is-style-strive3-emphasis, .is-style-strive3-context) { max-width: 620px; }
.editor-styles-wrapper .s3-editorial-media-grid > .block-list-appender { position: absolute; inset: auto 0 -28px auto; margin: 0; }
.editor-styles-wrapper .s3-outreach-hero__body > .block-list-appender { margin: 0; }
.editor-styles-wrapper .s3-outreach-hero :where(.wp-block-button) { margin: 0; }
@media (max-width: 860px) {
  .s3-outreach-hero { padding: 46px 20px 8px; grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .s3-outreach-hero--editorial-ledger { padding-bottom: 53px; }
  .s3-outreach-hero--editorial-ledger .s3-outreach-hero__rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px;
    align-items: start;
    margin-bottom: 18px;
  }
  .s3-outreach-hero--editorial-ledger .s3-outreach-hero__rail-line,
  .s3-outreach-hero--editorial-ledger .s3-outreach-hero__rail-index { display: none; }
  .s3-outreach-hero--editorial-ledger .s3-outreach-hero__rail-mark {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 54px;
    text-align: right;
  }
  .s3-outreach-hero--editorial-ledger .s3-outreach-hero__intro { gap: 34px; }
}
@media (max-width: 640px) {
  .s3-outreach-hero { column-gap: 16px; }
  .is-style-strive3-display { font-size: 40px; }
  .is-style-strive3-lead, .is-style-strive3-emphasis { font-size: 17.5px; }
  .s3-editorial-media-grid { column-gap: 16px; }
  .s3-outreach-hero--editorial-ledger .s3-outreach-hero__map-heading {
    flex-direction: column;
    gap: 4px;
  }
  .s3-outreach-hero--editorial-ledger .s3-outreach-hero__intro { grid-template-columns: minmax(0, 1fr); }
  .s3-outreach-hero--editorial-ledger .s3-editorial-media-grid { grid-template-columns: minmax(0, 1fr); }
  .s3-outreach-hero--editorial-ledger .s3-media-figure.s3-editorial-media,
  .s3-outreach-hero--editorial-ledger .s3-media-figure.s3-editorial-media + .s3-media-figure.s3-editorial-media {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid #dcd9d2;
  }
  .s3-outreach-hero--editorial-ledger .s3-media-figure.s3-editorial-media:last-child { border-bottom: 0; }
}
