/* The shared stylesheet adds 96px to every main; this page measures its own header. */
.eo-press-shell { padding-top: 0; }

/*
 * EntryOpen press release — editorial article layout.
 * Every selector is scoped to .eo-press so the shared header, footer and
 * app1.css globals are left untouched. app1.css forces Roboto with
 * !important on p, div and h1–h6, so scoped font-family rules repeat it.
 */

.eo-press {
  --eo-navy: #041230;
  --eo-navy-soft: #233150;
  --eo-orange: #ef7e22;
  --eo-orange-ink: #b85a0c;
  --eo-ink: #1c2230;
  --eo-muted: #5b6273;
  --eo-rule: #d8dbe2;
  --eo-display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --eo-sans: "Barlow", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --eo-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --eo-gutter: 1.25rem;
  --eo-content: 50rem;
  --eo-wide: 72rem;

  display: block;
  padding-top: var(--eo-press-header-h, 99px);
  padding-bottom: 6rem;
  background: #fff;
  color: var(--eo-ink);
  font-family: var(--eo-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 767.98px) {
  .eo-press { padding-top: var(--eo-press-header-h, 82px); }
}

@media (min-width: 768px) {
  .eo-press { --eo-gutter: 2rem; font-size: 1.25rem; }
}

.eo-press *,
.eo-press *::before,
.eo-press *::after { box-sizing: border-box; }

.eo-press div { font-family: inherit !important; }

/* ---------- Grid: content column with a wider breakout lane ---------- */

.eo-press__grid {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--eo-gutter), 1fr)
    [wide-start] minmax(0, calc((var(--eo-wide) - var(--eo-content)) / 2))
    [content-start] min(var(--eo-content), 100% - 2 * var(--eo-gutter))
    [content-end] minmax(0, calc((var(--eo-wide) - var(--eo-content)) / 2))
    [wide-end] minmax(var(--eo-gutter), 1fr) [full-end];
}

.eo-press__grid > * { grid-column: content; min-width: 0; }
.eo-press__grid > .eo-press--wide { grid-column: wide; }

/* ---------- Hero photograph ---------- */

.eo-press__hero {
  margin: 0 auto;
  max-width: 1600px;
}

.eo-press__hero img {
  display: block;
  width: 100%;
  /* Natural 800×535 ratio until ~957px wide, then capped at 640px. */
  height: min(66.875vw, 640px);
  object-fit: cover;
  object-position: 50% 38%;
  background: #e9ebef;
}

.eo-press__hero figcaption {
  margin: 0 auto;
  padding: 0.75rem var(--eo-gutter) 0;
  max-width: calc(var(--eo-wide) + 2 * var(--eo-gutter));
}

@media (min-width: 1024px) {
  .eo-press__body > .eo-press__figure {
    grid-column: wide;
    width: min(100%, 60rem);
    justify-self: center;
  }
  .eo-press__body > .eo-press__figure.eo-press--wide { width: 100%; }
}

/* ---------- Masthead ---------- */

.eo-press__masthead { padding-top: 2.5rem; text-align: center; }

@media (min-width: 768px) {
  .eo-press__masthead { padding-top: 3.25rem; }
}

.eo-press p.eo-press__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  align-items: baseline;
  justify-content: center;
  margin: 0 0 1.25rem;
  font-family: var(--eo-sans) !important;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--eo-orange-ink);
}

.eo-press__kicker a {
  color: var(--eo-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--eo-orange);
}

.eo-press__kicker a:hover { color: var(--eo-orange-ink); }

.eo-press__kicker-sep { color: var(--eo-rule); font-weight: 400; }

.eo-press h1.eo-press__title {
  margin: 0;
  font-family: var(--eo-display) !important;
  font-size: clamp(2.375rem, 1.35rem + 3.5vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.005em;
  color: var(--eo-navy);
  text-wrap: balance;
}

.eo-press p.eo-press__dek {
  margin: 1.5rem auto 0;
  max-width: 52rem;
  font-family: var(--eo-serif) !important;
  font-size: 1.1875rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--eo-navy-soft);
}

@media (min-width: 768px) {
  .eo-press p.eo-press__dek { font-size: 1.4375rem; }
}

/* ---------- Byline / meta / share ---------- */

.eo-press__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: center;
  margin: 2rem 0 2.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--eo-rule);
  border-bottom: 1px solid var(--eo-rule);
}

.eo-press div.eo-press__meta { font-family: var(--eo-sans) !important; }

@media (min-width: 768px) {
  .eo-press__meta { margin-bottom: 2.5rem; }
}

.eo-press p.eo-press__byline {
  margin: 0;
  font-family: var(--eo-sans) !important;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--eo-muted);
}

.eo-press__byline strong { color: var(--eo-navy); font-weight: 600; }

.eo-press__byline-sep { margin: 0 0.5rem; color: var(--eo-rule); }

.eo-press__share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eo-press__share-label {
  margin-right: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eo-muted);
}

.eo-press__share a,
.eo-press__share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--eo-rule);
  border-radius: 50%;
  background: #fff;
  color: var(--eo-navy);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.eo-press__share a:hover,
.eo-press__share button:hover {
  border-color: var(--eo-navy);
  background: var(--eo-navy);
  color: #fff;
}

.eo-press__share svg { width: 1.0625rem; height: 1.0625rem; display: block; }

.eo-press__share button[data-copied="true"] {
  border-color: var(--eo-orange);
  background: var(--eo-orange);
  color: var(--eo-navy);
}

.eo-press a:focus-visible,
.eo-press button:focus-visible {
  outline: 2px solid var(--eo-orange);
  outline-offset: 3px;
}

/* ---------- Body copy ---------- */

.eo-press__body p {
  margin: 0 0 1.2em;
  font-family: var(--eo-serif) !important;
  font-size: inherit;
  line-height: 1.68;
  color: var(--eo-ink);
}

.eo-press__body strong { font-weight: 600; color: var(--eo-navy); }

.eo-press__dateline {
  font-family: var(--eo-sans);
  font-size: 0.86em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eo-navy);
}

.eo-press__body a {
  color: var(--eo-navy);
  text-decoration: underline;
  text-decoration-color: var(--eo-orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.eo-press__body a:hover { color: var(--eo-orange-ink); }

.eo-press h2.eo-press__h2 {
  margin: 3.25rem 0 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--eo-rule);
  font-family: var(--eo-display) !important;
  font-size: 1.875rem !important;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--eo-navy);
  text-wrap: balance;
}

.eo-press h2.eo-press__h2::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin: -1.5rem 0 1.375rem;
  background: var(--eo-orange);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .eo-press h2.eo-press__h2 { margin-top: 3rem; font-size: 2.375rem !important; }
}

/* Quotations stay in place (no duplication); the speaker's words get weight. */
.eo-press__body p.eo-press__quote {
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--eo-orange);
  font-size: 1.12em;
  line-height: 1.55;
  color: var(--eo-navy);
}

@media (min-width: 768px) {
  .eo-press__body p.eo-press__quote { margin: 2.5rem 0; padding-left: 1.75rem; }
}

/* ---------- Inline photographs ---------- */

.eo-press__figure { margin: 1.25rem 0 2.75rem; }

.eo-press__figure.eo-press--wide { margin: 2.25rem 0 3rem; }

@media (min-width: 768px) {
  .eo-press__figure { margin: 1.5rem 0 2.25rem; }
  .eo-press__figure.eo-press--wide { margin: 2rem 0 2.5rem; }
}

.eo-press__figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #e9ebef;
}

.eo-press figcaption {
  margin-top: 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--eo-orange);
  font-family: var(--eo-sans);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--eo-muted);
}

.eo-press .eo-press__hero figcaption {
  border-left: 0;
  padding-left: var(--eo-gutter);
  margin-top: 0;
}

.eo-press__credit {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a909d;
}

/* A paired overview and detail keeps the Marketplace photographs together. */
.eo-press__body > .eo-press__photo-pair {
  grid-column: wide;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin: 1.5rem 0 2.5rem;
}
.eo-press__photo-pair > .eo-press__figure { margin: 0; min-width: 0; }
@media (min-width: 768px) {
  .eo-press__body > .eo-press__photo-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
@media print {
  .eo-press__body > .eo-press__photo-pair { display: block; }
  .eo-press__photo-pair > .eo-press__figure { margin: 4mm 0 6mm; }
}

/* ---------- About / contact ---------- */

.eo-press__contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 2rem 0 0;
  border-top: 2px solid var(--eo-navy);
  font-family: var(--eo-sans);
  font-size: 0.9375rem;
}

.eo-press__contact > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.125rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--eo-rule);
}

@media (min-width: 576px) {
  .eo-press__contact > div { grid-template-columns: 9.5rem 1fr; gap: 1rem; }
}

.eo-press__contact dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--eo-muted);
}

.eo-press__contact dd { margin: 0; color: var(--eo-ink); line-height: 1.6; }

.eo-press__contact address { margin: 0; font-style: normal; }

.eo-press__contact a {
  color: var(--eo-navy);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--eo-orange);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.eo-press__contact a:hover { color: var(--eo-orange-ink); }

.eo-press-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .eo-press__share a,
  .eo-press__share button { transition: none; }
}

/* ---------- Print ---------- */

@media print {
  @page { margin: 16mm 16mm 18mm; }

  body .header-main,
  body .footer-main,
  body [w3-include-html],
  body .popup,
  .eo-press__share { display: none !important; }

  .eo-press {
    padding: 0 !important;
    font-size: 10.5pt;
    color: #000;
  }

  .eo-press__grid { display: block; }

  .eo-press__hero { max-width: none; }

  .eo-press__hero img {
    height: auto !important;
    max-height: 105mm;
    object-fit: contain;
  }

  .eo-press__hero figcaption { padding: 2mm 0 0; }

  .eo-press__masthead { padding-top: 7mm; }

  .eo-press h1.eo-press__title { max-width: none; font-size: 27pt; }

  .eo-press p.eo-press__dek { font-size: 12.5pt; }

  .eo-press__meta { margin: 5mm 0 7mm; padding: 2mm 0; }

  .eo-press h2.eo-press__h2 {
    margin-top: 8mm;
    font-size: 16pt !important;
    break-after: avoid;
    page-break-after: avoid;
  }

  .eo-press h2.eo-press__h2::before { display: none; }

  .eo-press__body p { orphans: 3; widows: 3; }

  .eo-press__figure {
    margin: 4mm 0 6mm !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .eo-press__figure img { max-height: 85mm; width: auto; max-width: 100%; }

  .eo-press__contact { break-inside: avoid; page-break-inside: avoid; }

  .eo-press__contact a::after { content: none; }

  .eo-press a { color: #000 !important; }
}

/* Existing site cookie notice, required by the shared app.js. */
.eo-press-shell > .cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; padding: 10px; background: #333; color: #fff; z-index: 9999; display: none; }
.eo-press-shell > .cookie-banner a { color: #fff; text-decoration: underline; }
@media print { .eo-press-shell > .cookie-banner { display: none !important; } }
