.wh-history {
  --history-blue: #283769;
  --history-ink: #182449;
  --history-pink: #ed83b5;
  --history-cyan: #83cde4;
  --history-white: #f8faff;
  --history-heading: "Attractive Extra Cond", "Arial Narrow", sans-serif;
  --history-body: "Google Sans", Arial, sans-serif;
  color: var(--history-white);
  background: var(--history-blue);
  font: 400 1rem/1.55 var(--history-body);
}

.wh-history *, .wh-history *::before, .wh-history *::after { box-sizing: border-box; }
.wh-history h1, .wh-history h2, .wh-history h3, .wh-history p, .wh-history figure { margin: 0; }
.wh-history a { color: inherit; }
.wh-history a:focus-visible, .wh-history button:focus-visible, .wh-history [tabindex]:focus-visible {
  outline: 3px solid var(--history-cyan);
  outline-offset: 4px;
}
.wh-history-shell { width: min(1280px, 90%); margin-inline: auto; }
.wh-history-title {
  font: 800 clamp(2.7rem, 6vw, 5rem)/.96 var(--history-heading);
  letter-spacing: .025em;
  text-transform: uppercase;
}
.wh-history-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .65rem 1.35rem;
  border-radius: 7px;
  background: var(--history-cyan);
  color: var(--history-ink) !important;
  font: 800 1.35rem/1 var(--history-heading);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}
.wh-history-button:hover { background: #a8e5f5; transform: translateY(-2px); }
.wh-history-button--pink { background: var(--history-pink); }
.wh-history-button--pink:hover { background: #ffa8ce; }
.wh-history-arrow { display: inline-block; transition: transform .2s ease; }
.wh-history-button:hover .wh-history-arrow { transform: translateX(.24rem); }

.wh-history-home { padding-block: clamp(3.5rem, 7vw, 6.5rem); scroll-margin-top: 6rem; }
.wh-history-home .wh-history-shell {
  width: 67.85vw;
}
.wh-history-home .wh-history-title { text-align: center; margin-bottom: clamp(1.35rem, 3vw, 2.75rem); }
body:has(:target) { overflow-anchor: auto; }
.wh-history-carousel .carousel-arrow {
  padding: 0;
  border: 0;
  background: none;
}
.wh-history-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid #7dccea;
  border-radius: 10px;
  background: #202f5e;
  text-decoration: none;
}
.wh-history-card:focus-visible { outline-offset: -4px; }
.wh-history-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1c2a56;
}
.wh-history-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--history-photo-position, 25%);
}
.wh-history-card--announcement .wh-history-card-image { background: radial-gradient(ellipse at 60% 100%, #4c689f, #26366a 75%); }
.wh-history-card--announcement img { object-fit: contain; object-position: center bottom; }
.wh-history-badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .55rem;
  border-radius: 4px;
  color: var(--history-ink);
  background: var(--history-pink);
  font: 800 .78rem/1.3 var(--history-body);
}
.wh-history-card-image .wh-history-badge { position: absolute; top: .7rem; left: .7rem; }
.wh-history-card-body { flex: 1; display: flex; flex-direction: column; padding: 1rem 1rem 1.15rem; }
.wh-history-card-date, .wh-history-kicker {
  color: var(--history-cyan);
  font: 700 .78rem/1.35 var(--history-body);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.wh-history-card h3 {
  margin-block: .35rem .5rem;
  font: 800 clamp(1.55rem, 2.4vw, 2.3rem)/1 var(--history-heading);
  letter-spacing: .022em;
  text-transform: uppercase;
  text-wrap: balance;
}
.wh-history-card p { color: #e0e9fa; font-size: .93rem; line-height: 1.42; }
.wh-history-card-cta { margin-top: auto; padding-top: .8rem; color: var(--history-cyan); font-size: .88rem; font-weight: 700; }
.wh-history-card-cta .wh-history-arrow { margin-left: .3rem; }
#organizers .forum-legal-organizer { margin-top: clamp(24px, 2vw, 40px); }

.wh-history p.wh-history-home-action {
  margin-top: clamp(2.75rem, 4vw, 4.5rem);
  text-align: center;
}

.wh-history-hero { padding-block: clamp(2.3rem, 7vw, 6rem) clamp(1.8rem, 5vw, 4rem); }
.wh-history-hero-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(1.5rem, 6vw, 5.5rem); }
.wh-history-hero h1 { margin-block: .7rem 1rem; font-size: clamp(3.4rem, 8vw, 7.6rem); }
.wh-history-hero p:not(.wh-history-kicker) { max-width: 33rem; color: #e2eafa; font-size: clamp(1rem, 2vw, 1.25rem); }
.wh-history-hero-visual { position: relative; overflow: hidden; border: 1px solid #718bb6; border-radius: 15px; }
.wh-history-hero-visual img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.wh-history-hero-visual figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.55rem 1rem .65rem;
  background: linear-gradient(transparent, #162241);
  font-size: .86rem;
}
.wh-history .wh-history-hero-visual figcaption {
  color: var(--history-white);
  font-style: normal;
}
.wh-history-hero-visual figcaption a { text-decoration: underline; }
.wh-history-editions { padding-block: 1.15rem 1.35rem; border-block: 1px solid #506599; }
.wh-history-editions ul { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .65rem 0 0; list-style: none; }
.wh-history-editions a {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  min-height: 43px;
  padding: .4rem .7rem;
  border: 1px solid #7897bd;
  border-radius: 6px;
  text-decoration: none;
  font-size: .9rem;
  transition: background-color .18s ease, color .18s ease;
}
.wh-history-editions a span { color: var(--history-cyan); font-weight: 700; }
.wh-history-editions a:hover, .wh-history-editions a[aria-current="location"] {
  color: var(--history-ink);
  background: var(--history-cyan);
}
.wh-history-editions a:hover span, .wh-history-editions a[aria-current="location"] span { color: inherit; }
.wh-history-stories { display: grid; gap: 1.35rem; padding-block: clamp(1.6rem, 4vw, 3rem) clamp(3rem, 7vw, 6rem); }
.wh-history-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1.15rem, 3vw, 2.7rem);
  padding: clamp(1rem, 3vw, 2.1rem);
  border: 1px solid #526998;
  border-radius: 14px;
  background: #22315f;
  scroll-margin-top: 1rem;
}
.wh-history-story:target { border-color: var(--history-cyan); animation: wh-history-highlight .9s ease-out; }
.wh-history-story--announcement { border-color: var(--history-pink); }
@keyframes wh-history-highlight { from { background-color: #354d7d; } }
.wh-history-story figure { align-self: start; }
.wh-history-story img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 9px;
  background: #1b2a55;
  object-fit: cover;
  object-position: center var(--history-photo-position, 25%);
}
.wh-history-story--announcement img { object-fit: contain; object-position: center bottom; background: radial-gradient(ellipse at 60% 100%, #4c689f, #26366a 75%); }
.wh-history-story figcaption { color: #c0cee9; margin-top: .5rem; font-size: .78rem; }
.wh-history-story h2 { margin-block: .45rem .5rem; font-size: clamp(2rem, 4.5vw, 3.85rem); }
.wh-history-story-meta { display: flex; align-items: center; gap: .5rem .8rem; flex-wrap: wrap; }
.wh-history-story .wh-history-place { color: #d6e5ff; font-size: .92rem; }
.wh-history-story-text { display: grid; gap: .75rem; margin-top: .9rem; color: #eef3fd; }
.wh-history-story-actions { display: flex; flex-wrap: wrap; gap: .55rem .75rem; margin-top: 1rem; }
.wh-history-story-actions .wh-history-button { min-height: 44px; font-size: 1.15rem; }
.wh-history-sources {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding: .85rem 0 0;
  margin: .85rem 0 0;
  border-top: 1px solid #526998;
  list-style: none;
  font-size: .86rem;
}
.wh-history-sources a { color: var(--history-cyan); text-underline-offset: .2em; }
.wh-history-sources a:hover { color: #fff; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

@media (max-width: 1750px) {
  .wh-history-home .wh-history-shell { width: 73vw; }
}
@media (max-width: 880px) {
  .wh-history-home .wh-history-shell { width: 92vw; }
}
@media (max-width: 780px) {
  .wh-history-hero-inner { grid-template-columns: 1fr; }
  .wh-history-hero-visual { max-width: 630px; }
}
@media (max-width: 767px) {
  .wh-history-home .wh-history-shell { width: 80vw; }
}
@media (max-width: 767px), (max-height: 500px) {
  .forum-promo {
    --promo-top: calc(var(--header-height, 60px) + 8px);
    top: calc(50% + var(--promo-top) / 2 - 6px);
    max-height: calc(100dvh - var(--promo-top) - 12px);
  }
}
@media (max-width: 560px) {
  .wh-history-story { grid-template-columns: 1fr; }
  .wh-history-story img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .wh-history *, .wh-history *::before, .wh-history *::after { animation: none !important; transition: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
