/* Our History only: official title colour, coherent year proportions and
   continuous alternating rows. No shared chrome, type or body-colour edits. */
#main .corporate-editorial.ce-history :is(h1,h2,h3) {
  color:#004437;
}
#main .corporate-editorial.ce-history .ce-row {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  margin-block:0;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  align-items:stretch;
}
#main .corporate-editorial.ce-history .ce-row .ce-image {
  margin:0;
  min-height:0;
  aspect-ratio:3 / 2;
  align-self:stretch;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:hidden;
}
#main .corporate-editorial.ce-history .ce-row:is([data-history-year="2018"],[data-history-year="2026"]) .ce-image {
  aspect-ratio:1;
}
#main .corporate-editorial.ce-history .ce-row .ce-image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
#main .corporate-editorial.ce-history .ce-row .ce-copy {
  min-height:0;
  padding:clamp(24px,3vw,40px);
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}
#main .corporate-editorial.ce-history .ce-row .ce-copy-inner {
  width:100%;
  max-width:530px;
}
/* Tablet and mobile: read each year as its image followed by its own copy. */
@media (max-width:1023px) {
  #main .corporate-editorial.ce-history .ce-row {
    grid-template-columns:minmax(0,1fr);
  }
  #main .corporate-editorial.ce-history .ce-row .ce-image,
  #main .corporate-editorial.ce-history .ce-row.ce-reverse .ce-image {
    grid-column:1;
    grid-row:1;
    aspect-ratio:3 / 2;
  }
  #main .corporate-editorial.ce-history .ce-row:is([data-history-year="2018"],[data-history-year="2026"]) .ce-image {
    aspect-ratio:1;
  }
  #main .corporate-editorial.ce-history .ce-row .ce-copy,
  #main .corporate-editorial.ce-history .ce-row.ce-reverse .ce-copy {
    grid-column:1;
    grid-row:2;
    padding:28px 24px;
  }
}

/* Our History opening mirrors About without touching the congress hero. */
#main .history-overview>.ce-hero {height:85vh;height:85svh;max-height:none;aspect-ratio:auto;width:100%;margin:0}
#main .history-overview>.ce-hero>img {max-width:none;width:100%;height:100%;object-fit:cover}
#main .history-overview>.ce-intro {padding:0 var(--page-gutter) 46px;min-height:0;max-width:900px}
#main .history-overview .history-title-band {position:relative;min-height:15vh;min-height:15svh;display:flex;align-items:center;justify-content:center}
#main .history-overview .history-title-band h1 {margin:0;line-height:1.2}
#main .history-overview .history-title-band .ce-kicker {position:absolute;left:0;right:0;top:50%;margin:0;transform:translateY(calc(-100% - 34px));opacity:0;translate:0 6px}
#main .history-overview>.ce-intro>p {margin-top:clamp(-32px,-3vh,-16px);opacity:0;translate:0 6px}
#main .history-overview.co-has-scrolled :is(.history-title-band .ce-kicker,.ce-intro>p) {opacity:1;translate:0 0;transition:opacity .45s ease,translate .45s ease}
#main .history-overview {padding-bottom:clamp(48px,5vw,80px)}
@media(max-width:699px) {
 #main .history-overview .history-title-band .ce-kicker {transform:translateY(calc(-100% - 27px))}
 #main .history-overview>.ce-intro {padding-bottom:36px}
}
@media(prefers-reduced-motion:reduce) {#main .history-overview :is(.history-title-band .ce-kicker,.ce-intro>p) {transition:none}}

.history-intro-break{display:none}
@media(min-width:901px){.history-intro-break{display:inline}.history-intro-space{display:none}#main .ce-intro>p.history-intro-description{max-width:1000px}}
