:root {
  --bg: #323552;
  --ink: #edf1fa;
  --muted: #b5bfd5;
  --line: rgba(212, 222, 244, 0.14);
  --accent: #6c82d8;
  --shadow: 0 24px 60px rgba(5, 8, 18, 0.28);
  --radius-xl: 28px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(14, 19, 31, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: grid;
  gap: 0.08rem;
}

.brand__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand__name--compact {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.brand__signature {
  display: inline-block;
  margin-left: 0.22rem;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1em;
  font-weight: 500;
  color: rgba(237, 241, 250, 0.92);
  white-space: nowrap;
}

.brand__context {
  display: inline-flex;
  align-items: baseline;
  margin-left: 0.72rem;
  transform: translateY(0.04rem);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(237, 241, 250, 0.76);
  white-space: nowrap;
}

.brand__context::before {
  content: "";
  width: 1px;
  height: 0.9rem;
  margin-right: 0.6rem;
  background: rgba(191, 59, 31, 0.72);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(108, 130, 216, 0.22);
  border-radius: 12px;
  background: rgba(108, 130, 216, 0.1);
  color: #f7f9ff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-nav-toggle:hover,
.site-nav-toggle[aria-expanded="true"] {
  background: rgba(108, 130, 216, 0.18);
  border-color: rgba(108, 130, 216, 0.34);
}

.site-nav-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav-toggle__icon,
.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
  content: "";
}

.site-nav-toggle__icon {
  position: relative;
}

.site-nav-toggle__icon::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.site-nav-toggle__icon::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__icon {
  transform: rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__icon::before {
  transform: translateY(6px) rotate(-90deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__icon::after {
  opacity: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #f7f9ff;
  background: rgba(108, 130, 216, 0.16);
}

.edition-page--2017 .site-nav__group {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.18rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 59, 31, 0.28);
  background: rgba(191, 59, 31, 0.18);
  box-shadow: 0 14px 30px rgba(191, 59, 31, 0.12);
}

.edition-page--2017 .site-nav__local {
  color: #f7e1d7;
}

.edition-page--2017 .site-nav__local:hover,
.edition-page--2017 .site-nav__local.is-active,
.edition-page--2017 .site-nav__local:focus-visible {
  color: #fff4ea;
  background: rgba(191, 59, 31, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 6.2rem 0 5.5rem;
  color: #f7efe4;
  background: linear-gradient(180deg, rgba(22, 28, 40, 0.94) 0%, rgba(31, 36, 57, 0.92) 58%, rgba(76, 76, 96, 0.82) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  background: linear-gradient(180deg, rgba(11, 16, 21, 0) 0%, rgba(31, 36, 57, 0.34) 34%, #323552 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(86, 108, 189, 0.24), transparent 22%),
    radial-gradient(circle at 82% 74%, rgba(191, 59, 31, 0.12), transparent 25%),
    linear-gradient(90deg, rgba(14, 18, 27, 0.96) 0%, rgba(34, 42, 74, 0.48) 42%, rgba(19, 24, 35, 0.9) 100%);
  opacity: 0.9;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 2rem;
  align-items: end;
}

.hero__copy {
  position: relative;
  display: grid;
  gap: 1.35rem;
  isolation: isolate;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: -1.2rem -0.8rem -1rem -0.2rem;
  background-image: url("../logos/lv_logo_neo_sinweb.png");
  background-repeat: no-repeat;
  background-size: min(38vw, 540px);
  background-position: center center;
  opacity: 0.11;
  mix-blend-mode: screen;
  z-index: -1;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(247, 239, 228, 0.8);
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: #bf3b1f;
}

.hero h1 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hero p {
  max-width: 62ch;
  font-size: 1.08rem;
  color: rgba(247, 239, 228, 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
}

.hero__link {
  color: rgba(247, 239, 228, 0.78);
  text-decoration: underline;
  text-decoration-color: rgba(242, 160, 113, 0.52);
  text-underline-offset: 0.18rem;
}

.hero__link:hover {
  color: #fff4ea;
  text-decoration-color: rgba(242, 160, 113, 0.9);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button {
  color: #f8fbff;
  background: #5a73c9;
  box-shadow: 0 18px 38px rgba(78, 102, 189, 0.34);
}

.button-secondary {
  color: #f7efe4;
  background: rgba(207, 218, 245, 0.1);
  border: 1px solid rgba(207, 218, 245, 0.24);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.hero-ornament {
  position: absolute;
  inset: 0 auto 0 50%;
  width: min(calc(100% - 2rem), 1180px);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.hero-ornament__icon {
  position: absolute;
  width: clamp(56px, 7vw, 104px);
  opacity: 0.13;
  filter: grayscale(1) brightness(0) invert(1) contrast(1.02);
  mix-blend-mode: screen;
}

.hero-ornament__icon--a {
  left: 6%;
  top: 5%;
  transform: rotate(-10deg) scale(0.86);
}

.hero-ornament__icon--b {
  left: 17%;
  top: 12%;
  transform: rotate(9deg) scale(0.8);
}

.hero-ornament__icon--c {
  left: 31%;
  top: 6%;
  transform: rotate(12deg) scale(0.76);
}

.hero-ornament__icon--d {
  left: 10%;
  top: 70%;
  transform: rotate(-8deg) scale(0.82);
}

.hero-ornament__icon--e {
  left: 27%;
  top: 79%;
  transform: rotate(7deg) scale(0.74);
}

.hero-ornament__icon--f {
  left: 40%;
  top: 66%;
  transform: rotate(-11deg) scale(0.8);
}

.hero-ornament__icon--g {
  left: 56%;
  top: 6%;
  transform: rotate(-13deg) scale(0.82);
}

.hero-ornament__icon--h {
  left: 67%;
  top: 13%;
  transform: rotate(8deg) scale(0.76);
}

.hero-ornament__icon--i {
  left: 86%;
  top: 9%;
  transform: rotate(-9deg) scale(0.84);
}

.hero-ornament__icon--j {
  left: 60%;
  top: 74%;
  transform: rotate(12deg) scale(0.74);
}

.hero-ornament__icon--k {
  left: 74%;
  top: 82%;
  transform: rotate(-7deg) scale(0.8);
}

.hero-ornament__icon--l {
  left: 88%;
  top: 66%;
  transform: rotate(10deg) scale(0.76);
}

.hero-ornament__tag {
  position: absolute;
  left: calc((100vw - min(calc(100vw - 2rem), 1180px)) / -2 + 2%);
  bottom: 24%;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(220, 229, 251, 0.38);
}

.museum-wall {
  position: relative;
  min-height: 500px;
}

.museum-wall__link {
  position: absolute;
  display: block;
  color: inherit;
}

.museum-wall__link--primary {
  top: 64px;
  left: 0;
  width: calc(60% + 220px + 13px);
  height: 38%;
  z-index: 1;
}

.museum-wall__link--secondary {
  right: 0;
  bottom: 56px;
  width: calc(60% + 220px + 13px);
  height: 38%;
  z-index: 2;
}

.museum-wall__link:hover .museum-wall__panel img,
.museum-wall__link:focus-visible .museum-wall__panel img {
  transform: scale(1.02);
}

.museum-wall__link:focus-visible {
  outline: none;
}

.museum-wall__link:focus-visible .museum-wall__panel,
.museum-wall__link:focus-visible .museum-wall__label {
  box-shadow: 0 0 0 2px rgba(237, 241, 250, 0.42), var(--shadow);
}

.museum-wall__panel {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.museum-wall__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: saturate(0.92) contrast(1.08);
  transition: transform 0.25s ease;
}

.museum-wall__panel--left {
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
}

.museum-wall__panel--right {
  right: 0;
  bottom: 0;
  width: 60%;
  height: 100%;
}

.museum-wall__label {
  position: absolute;
  display: grid;
  gap: 0.25rem;
  max-width: 220px;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  z-index: 3;
}

.museum-wall__label strong,
.museum-wall__label span {
  color: #fff4ea;
}

.museum-wall__label span {
  font-size: 0.84rem;
  opacity: 0.82;
}

.museum-wall__label--primary {
  top: 64px;
  left: calc(60% + 13px);
  text-align: right;
  background: #bf3b1f;
}

.museum-wall__label--secondary {
  right: calc(60% + 13px);
  bottom: 56px;
  text-align: left;
  background: #d97a3b;
}

.site-footer {
  padding: 0.55rem 0 1.25rem;
}

.site-footer__card {
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(17, 23, 38, 0.24);
  backdrop-filter: blur(12px);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0;
  font-size: 0.78rem;
}

.site-footer__contact,
.site-footer__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 34px;
  color: rgba(220, 229, 251, 0.72);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-footer__contact {
  padding: 0.2rem 1.15rem 0.2rem 0.1rem;
}

.site-footer__link {
  padding: 0.2rem 1.15rem;
}

.site-footer__contact::after,
.site-footer__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 18px;
  background: rgba(220, 229, 251, 0.14);
  transform: translateY(-50%);
}

.site-footer__link:last-child {
  padding-right: 0.2rem;
}

.site-footer__link:last-child::after {
  display: none;
}

.site-footer__contact-icon {
  position: relative;
  width: 20px;
  height: 15px;
  border: 1.6px solid currentColor;
  border-radius: 2px;
  opacity: 0.82;
}

.site-footer__contact-icon::before,
.site-footer__contact-icon::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 10px;
  height: 1.6px;
  background: currentColor;
}

.site-footer__contact-icon::before {
  left: 0;
  transform: rotate(36deg);
  transform-origin: left center;
}

.site-footer__contact-icon::after {
  right: 0;
  transform: rotate(-36deg);
  transform-origin: right center;
}

.site-footer__link img {
  width: auto;
  height: 20px;
  object-fit: contain;
}

.site-footer__mobile-break {
  display: none;
}

.site-footer__meta a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .site-header__inner {
    padding: 0.85rem 0;
    align-items: start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .brand__context {
    display: none;
  }

  .hero__layout {
    grid-template-columns: 1fr;
  }

  .museum-wall {
    min-height: 430px;
  }

  .museum-wall__link--primary {
    top: 64px;
    left: 0;
    width: calc(60% + 220px + 13px);
    height: 38%;
  }

  .museum-wall__link--secondary {
    right: 0;
    bottom: 56px;
    width: calc(60% + 220px + 13px);
    height: 38%;
  }

  .hero-ornament__icon--c,
  .hero-ornament__icon--e,
  .hero-ornament__icon--h,
  .hero-ornament__icon--k,
  .hero-ornament__tag {
    display: none;
  }

  .site-footer__contact::after,
  .site-footer__link::after {
    display: none;
  }

  .site-footer__meta {
    gap: 1rem 2rem;
  }

  .site-footer__contact,
  .site-footer__link {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    padding: 0.75rem 0;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 0.7rem;
    position: relative;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% - 0.1rem);
    right: 0;
    width: max-content;
    min-width: 0;
    max-width: min(calc(100vw - 2rem), 232px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.24rem;
    padding: 0.32rem;
    border: 1px solid rgba(108, 130, 216, 0.18);
    border-radius: 18px;
    background: rgba(14, 19, 31, 0.94);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav__group {
    width: auto;
  }

  .site-nav a {
    justify-content: flex-end;
    white-space: nowrap;
    padding: 0.5rem 0.68rem;
  }

  .site-nav__group {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    padding: 0.22rem;
    border-radius: 14px;
  }

  .edition-page--2017 .site-nav__group,
  .edition-page--2019 .site-nav__group {
    border-radius: 14px;
  }

  .edition-page--2017 .site-nav__local,
  .edition-page--2019 .site-nav__local {
    width: auto;
    justify-content: flex-end;
  }

  .site-nav a {
    min-height: 40px;
    padding: 0.46rem 0.68rem;
    border-radius: 12px;
    font-size: 0.88rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2.25rem;
    padding-bottom: 1.6rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    white-space: normal;
  }

  .hero p {
    max-width: 58ch;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .hero__actions,
  .site-nav {
    width: 100%;
  }

  .site-nav a {
    width: 100%;
  }

  .hero__actions {
    gap: 0.65rem;
  }

  .hero__actions .button,
  .hero__actions .button-secondary {
    flex: 1 1 calc(50% - 0.325rem);
    min-width: 0;
    min-height: 40px;
    padding: 0.62rem 0.8rem;
    font-size: 0.84rem;
  }

  .museum-wall {
    min-height: 320px;
  }

  .museum-wall__link--primary {
    top: 0;
    left: 0;
    width: 60%;
    height: 50%;
  }

  .museum-wall__link--secondary {
    right: 0;
    bottom: 0;
    width: 60%;
    height: 50%;
  }

  .museum-wall__panel--left {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .museum-wall__panel--right {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  }

  .museum-wall__panel img {
    object-position: left top;
  }

  .museum-wall__label {
    display: none;
  }

  .hero-ornament__icon {
    width: 50px;
  }

  .hero-ornament__icon--a {
    left: 3%;
    top: 14%;
  }

  .hero-ornament__icon--b {
    left: 20%;
    top: 10%;
  }

  .hero-ornament__icon--c {
    left: 35%;
    top: 14%;
  }

  .hero-ornament__icon--d {
    left: 5%;
    top: 72%;
  }

  .hero-ornament__icon--f {
    left: 31%;
    top: 79%;
  }

  .hero-ornament__icon--g {
    left: 62%;
    top: 13%;
  }

  .hero-ornament__icon--i {
    left: 86%;
    top: 16%;
  }

  .hero-ornament__icon--j {
    left: 64%;
    top: 80%;
  }

  .hero-ornament__icon--l {
    left: 88%;
    top: 69%;
  }

  .site-footer__contact,
  .site-footer__link {
    width: auto;
    justify-content: center;
    min-height: 28px;
    gap: 0.38rem;
    padding-right: 0.15rem;
    font-size: 0.72rem;
  }

  .site-footer {
    padding: 0.3rem 0 0.8rem;
  }

  .site-footer__card {
    padding: 0.28rem 0.5rem;
  }

  .site-footer__meta {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 1.5rem;
    row-gap: 0.18rem;
    justify-content: center;
  }

  .site-footer__contact {
    padding: 0.08rem 0.42rem 0.08rem 0.04rem;
  }

  .site-footer__link {
    padding: 0.08rem 0.42rem;
  }

  .site-footer__meta > * {
    width: auto;
    max-width: none;
    justify-content: center;
  }

  .site-footer__contact::after,
  .site-footer__link::after {
    height: 14px;
  }

  .site-footer__contact-icon {
    width: 16px;
    height: 12px;
  }

  .site-footer__contact-icon::before,
  .site-footer__contact-icon::after {
    top: 2px;
    width: 8px;
  }

  .site-footer__link img {
    height: 16px;
  }

  .site-footer__mobile-break {
    display: block;
  }
}

.edition-page--2017 {
  --edition-accent: #bf3b1f;
  --edition-accent-soft: rgba(191, 59, 31, 0.18);
  --edition-panel: rgba(24, 22, 30, 0.62);
}

.edition-page--2019 {
  --edition-accent: #f98230;
  --edition-accent-soft: rgba(249, 130, 48, 0.18);
  --edition-panel: rgba(14, 27, 39, 0.74);
}

.edition-page--2019 .site-nav__group {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.18rem;
  border-radius: 18px;
  border: 1px solid rgba(249, 130, 48, 0.26);
  background: rgba(249, 130, 48, 0.12);
  box-shadow: 0 14px 30px rgba(249, 130, 48, 0.1);
}

.edition-page--2019 .site-nav__local {
  color: rgba(247, 239, 228, 0.84);
}

.edition-page--2019 .site-nav__local:hover,
.edition-page--2019 .site-nav__local.is-active,
.edition-page--2019 .site-nav__local:focus-visible {
  color: #fff4ea;
  background: rgba(249, 130, 48, 0.16);
}

.edition-hero {
  position: relative;
  overflow: hidden;
  padding: 5.7rem 0 4.6rem;
  color: #f7efe4;
  background: linear-gradient(180deg, rgba(36, 24, 24, 0.95) 0%, rgba(53, 32, 28, 0.92) 54%, rgba(104, 68, 54, 0.8) 100%);
}

.edition-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(11, 16, 21, 0) 0%, rgba(66, 45, 39, 0.3) 36%, #323552 100%);
}

.edition-hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(191, 59, 31, 0.2), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(217, 122, 59, 0.14), transparent 22%),
    linear-gradient(90deg, rgba(20, 18, 24, 0.96) 0%, rgba(61, 38, 33, 0.56) 42%, rgba(26, 21, 22, 0.9) 100%);
  opacity: 0.96;
}

.edition-page--2019 .edition-hero {
  background: linear-gradient(180deg, rgba(11, 30, 44, 0.96) 0%, rgba(18, 48, 67, 0.92) 54%, rgba(30, 78, 98, 0.78) 100%);
}

.edition-page--2019 .edition-hero::after {
  background: linear-gradient(180deg, rgba(11, 16, 21, 0) 0%, rgba(16, 59, 82, 0.3) 36%, #323552 100%);
}

.edition-page--2019 .edition-hero__backdrop {
  background:
    radial-gradient(circle at 18% 20%, rgba(249, 130, 48, 0.22), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(111, 207, 211, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(9, 20, 28, 0.96) 0%, rgba(21, 73, 92, 0.56) 42%, rgba(11, 28, 36, 0.92) 100%);
}

.edition-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  grid-template-areas:
    "title title"
    "copy media";
  gap: 2rem;
  align-items: start;
}

.edition-hero__title {
  grid-area: title;
  display: grid;
  gap: 0.8rem;
}

.edition-hero__stamp {
  position: absolute;
  top: 7.2rem;
  left: 1.2%;
  transform: rotate(-90deg);
  transform-origin: left top;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(220, 229, 251, 0.38);
  z-index: 1;
  pointer-events: none;
}

.edition-hero__copy {
  grid-area: copy;
  display: grid;
  gap: 1.2rem;
}

.edition-hero__copy .eyebrow::before {
  background: var(--edition-accent);
}

.edition-hero__title h1 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.edition-hero__copy p {
  max-width: 61ch;
  font-size: 1.05rem;
  color: rgba(247, 239, 228, 0.92);
}

.results-controls,
.results-day {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--edition-panel);
  box-shadow: var(--shadow);
}

.results-controls {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(191, 59, 31, 0.22);
  background:
    linear-gradient(180deg, rgba(191, 59, 31, 0.12), rgba(255, 244, 234, 0.03)),
    rgba(24, 22, 30, 0.72);
  box-shadow: 0 22px 48px rgba(10, 9, 14, 0.22);
}

.results-controls__group {
  display: grid;
  gap: 0.65rem;
}

.results-controls__group:first-child {
  max-width: 260px;
}

.results-controls__group--wide {
  gap: 0.8rem;
}

.results-controls__label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 239, 228, 0.66);
}

.results-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 2.9rem 0.8rem 1rem;
  border: 1px solid rgba(255, 244, 234, 0.12);
  border-radius: 16px;
  background: rgba(18, 16, 22, 0.42);
  color: #f7efe4;
  font: inherit;
  line-height: 1.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(247,239,228,0.72)' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: calc(100% - 1rem) 50%;
  background-size: 12px 8px;
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 244, 234, 0.04);
}

.results-select::-ms-expand {
  display: none;
}

.results-select:hover {
  border-color: rgba(191, 59, 31, 0.24);
  background-color: rgba(17, 23, 38, 0.38);
}

.results-select:focus {
  outline: none;
  border-color: rgba(191, 59, 31, 0.42);
  box-shadow: 0 0 0 3px rgba(191, 59, 31, 0.14), inset 0 1px 0 rgba(255, 244, 234, 0.04);
}

.results-select option {
  color: #f7efe4;
  background: #24212b;
}

.results-day-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.8rem 0.9rem 0.9rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 244, 234, 0.04), rgba(255, 244, 234, 0.015)),
    radial-gradient(circle at 85% 20%, rgba(191, 59, 31, 0.1), rgba(191, 59, 31, 0) 32%);
  border: 1px solid rgba(255, 244, 234, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 244, 234, 0.04);
}

.results-day-button--all {
  flex: 0 0 100%;
  background: rgba(255, 244, 234, 0.08);
}

.results-day-picker__month {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0.4rem;
  min-width: 0;
}

.results-day-picker__month:first-of-type {
  flex: 0.34 1 120px;
}

.results-day-picker__month:last-of-type {
  flex: 1.66 1 380px;
}

.results-day-picker__month-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 239, 228, 0.6);
}

.results-day-picker__days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.results-day-button {
  min-height: 34px;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255, 244, 234, 0.12);
  border-radius: 14px;
  background: rgba(255, 244, 234, 0.05);
  color: rgba(247, 239, 228, 0.78);
  font: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.results-day-button:hover,
.results-day-button.is-active {
  background: rgba(191, 59, 31, 0.18);
  border-color: rgba(191, 59, 31, 0.34);
  color: #fff4ea;
}


.results-days {
  display: grid;
  gap: 1.15rem;
}

.results-day {
  padding: 1.2rem;
}

.results-day h3 {
  margin: 0 0 0.85rem;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.results-table-wrap {
  overflow: visible;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
}

.results-table thead {
  display: none;
}

.results-table tbody {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
}

.results-table tr {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-content: start;
  align-items: baseline;
  gap: 0.5rem;
  min-height: 100%;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 244, 234, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 244, 234, 0.08), rgba(255, 244, 234, 0.03)),
    radial-gradient(circle at 50% 0%, rgba(255, 244, 234, 0.06), rgba(255, 244, 234, 0) 68%);
  box-shadow: 0 12px 26px rgba(8, 8, 12, 0.08);
}

.results-table tr[hidden] {
  display: none;
}

.results-table td {
  display: block;
  padding: 0;
  text-align: left;
  vertical-align: top;
  border: 0;
  font-size: 0.94rem;
  color: rgba(247, 239, 228, 0.88);
}

.results-table td:nth-child(1) {
  grid-column: 2;
  grid-row: 1;
  font-weight: 700;
  color: #fff4ea;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.results-table td:nth-child(2) {
  grid-column: 1;
  grid-row: 1;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.84rem;
  color: #f2a071;
  margin-right: 0.6rem;
}

.results-table td:nth-child(3) {
  grid-column: 1 / -1;
  grid-row: 2;
  color: rgba(247, 239, 228, 0.58);
  font-size: 0.85rem;
}

.results-table td:nth-child(4) {
  grid-column: 1 / -1;
  grid-row: 3;
}

.results-table td:last-child {
  grid-column: 1 / -1;
  grid-row: 4;
  margin-top: 0.2rem;
  color: #f3c18a;
}

.results-table td[colspan] {
  grid-column: 1 / -1;
  grid-row: 3;
}

.gallery-controls {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(191, 59, 31, 0.22);
  background:
    linear-gradient(180deg, rgba(191, 59, 31, 0.12), rgba(255, 244, 234, 0.03)),
    rgba(24, 22, 30, 0.72);
  box-shadow: 0 22px 48px rgba(10, 9, 14, 0.22);
}

.gallery-controls__group {
  display: grid;
  gap: 0.65rem;
  max-width: 260px;
}

.gallery-controls__meta {
  display: grid;
  align-content: center;
  gap: 0.28rem;
}

.gallery-controls__meta span {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 239, 228, 0.66);
}

.gallery-controls__meta strong {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.1rem;
  color: #fff4ea;
}

.gallery-controls__meta p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.95rem;
}

.gallery-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 244, 234, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 244, 234, 0.08), rgba(255, 244, 234, 0.03)),
    radial-gradient(circle at 50% 0%, rgba(255, 244, 234, 0.06), rgba(255, 244, 234, 0) 68%);
  box-shadow: 0 12px 26px rgba(8, 8, 12, 0.08);
}

.gallery-card[hidden] {
  display: none;
}

.gallery-card__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "date media"
    "modality media";
  gap: 0.45rem 0.7rem;
  align-items: center;
}

.gallery-card__date,
.gallery-card__modality,
.gallery-card__media,
.gallery-archive-note__stats span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.gallery-card__date {
  grid-area: date;
  justify-self: start;
  min-height: 34px;
  padding: 0.38rem 0.82rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  background: rgba(243, 193, 138, 0.12);
  color: #f3c18a;
}

.gallery-card__taxonomy {
  grid-area: modality;
  justify-self: start;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem;
}

.gallery-card__modality {
  flex: 0 0 auto;
  width: auto;
  max-width: max-content;
  white-space: nowrap;
  background: rgba(191, 59, 31, 0.16);
  color: #fff4ea;
}

.gallery-card__group {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 20px;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.76em;
  letter-spacing: 0.03em;
  color: rgba(255, 244, 234, 0.72);
  background: rgba(255, 244, 234, 0.08);
  border: 1px solid rgba(255, 244, 234, 0.12);
  white-space: nowrap;
}

.gallery-card__group::before {
  display: none;
}

.gallery-card__media {
  grid-area: media;
  align-self: start;
  justify-self: end;
  gap: 0.35rem;
  padding-inline: 0.72rem;
  background: rgba(255, 244, 234, 0.08);
  color: rgba(247, 239, 228, 0.88);
}

.gallery-card__media-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.gallery-card__media-sep {
  opacity: 0.7;
}


.gallery-card h3 {
  grid-row: 2;
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.18;
}

.gallery-card__thumb {
  grid-row: 4;
  align-self: end;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgba(255, 244, 234, 0.08);
  background: rgba(255, 244, 234, 0.05);
}

.gallery-card__thumb-link {
  grid-row: 4;
  align-self: end;
  display: block;
  border-radius: 1rem;
}

.gallery-card__thumb-link:hover .gallery-card__thumb {
  border-color: rgba(242, 160, 113, 0.3);
  box-shadow: 0 18px 32px rgba(7, 7, 10, 0.18);
}

.gallery-card__thumb--video {
  position: relative;
  background:
    linear-gradient(rgba(7, 7, 10, 0.18), rgba(7, 7, 10, 0.18)),
    rgba(255, 244, 234, 0.05);
}

.gallery-card h3 a:hover,
.gallery-card__link:hover {
  color: #fff4ea;
}

.gallery-card p {
  grid-row: 3;
  align-self: start;
  margin: 0;
  color: var(--muted);
}

.gallery-card__actions {
  grid-row: 5;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  align-items: center;
}

.gallery-card__link {
  grid-row: 5;
  align-self: end;
  display: inline-flex;
  align-items: center;
  color: #f2a071;
  font-weight: 700;
}

.gallery-archive-note {
  display: grid;
  gap: 0.95rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 244, 234, 0.08);
  background: var(--edition-panel);
  box-shadow: var(--shadow);
}

.gallery-archive-note__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gallery-archive-note__stats span {
  background: rgba(255, 244, 234, 0.08);
  color: rgba(247, 239, 228, 0.8);
}

.gallery-archive-note p {
  margin: 0;
  color: var(--muted);
}

.edition-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.edition-hero__meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 244, 234, 0.08);
  border: 1px solid rgba(255, 244, 234, 0.12);
  color: rgba(247, 239, 228, 0.82);
  font-size: 0.82rem;
}

.edition-hero .button {
  background: var(--edition-accent);
  box-shadow: 0 18px 38px rgba(191, 59, 31, 0.26);
}

.edition-hero .button-secondary {
  color: #f7efe4;
  background: rgba(255, 244, 234, 0.08);
  border-color: rgba(255, 244, 234, 0.16);
}

.edition-hero__media {
  grid-area: media;
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.edition-hero__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  background: rgba(8, 10, 16, 0.24);
  aspect-ratio: 16 / 9;
}

.edition-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: saturate(0.94) contrast(1.04);
}

.edition-hero__frame--clean {
  aspect-ratio: auto;
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
}

.edition-hero__frame--clean img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.edition-hero__frame--logo {
  width: min(100%, 360px);
}

.edition-hero__frame--logo img {
  border-radius: 0;
  border: 0;
  opacity: 0.9;
  filter: saturate(0.9) contrast(0.96);
}

.edition-ornament {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(calc(100% - 2rem), 1180px);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.edition-ornament__icon {
  position: absolute;
  width: clamp(34px, 4.4vw, 64px);
  opacity: 0.18;
  filter: grayscale(1) brightness(0) invert(1) contrast(1.05);
  mix-blend-mode: screen;
}

.edition-ornament__tag {
  position: absolute;
  left: 2%;
  bottom: 26%;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(220, 229, 251, 0.38);
}

.edition-section {
  padding: 2.1rem 0;
}

.edition-section--tight {
  padding-top: 1.2rem;
}

.edition-intro,
.edition-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
}

.edition-section__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.edition-section__heading .eyebrow {
  margin-bottom: 0.35rem;
}

.edition-section__heading h2,
.edition-card--lead h2 {
  margin: 0 0 0.8rem;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.edition-section__heading p,
.edition-card--lead p,
.edition-note p,
.edition-card p,
.edition-discipline p,
.edition-timeline p {
  color: var(--muted);
}

.edition-card,
.edition-note,
.edition-discipline,
.edition-quote {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--edition-panel);
  box-shadow: var(--shadow);
}

.edition-card,
.edition-note,
.edition-quote {
  padding: 1.35rem;
}

.edition-card--lead {
  padding: 1.55rem;
}

.edition-discipline-grid,
.edition-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.edition-tabs {
  display: grid;
  gap: 1rem;
}

.edition-tabs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.edition-tabs__tab {
  display: inline-grid;
  justify-items: center;
  align-content: start;
  gap: 0.65rem;
  min-height: 112px;
  min-width: 88px;
  padding: 0.95rem 0.7rem;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(24, 22, 30, 0.42);
  color: rgba(247, 239, 228, 0.74);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.edition-tabs__tab img,
.edition-tab-panel__icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.edition-page--2017 .edition-tabs__tab img,
.edition-page--2017 .edition-tab-panel__icon {
  filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.edition-tabs__tab span {
  font-size: 0.88rem;
  line-height: 1.15;
  font-weight: 600;
}

.edition-tabs__tab:hover,
.edition-tabs__tab.is-active {
  color: #fff4ea;
  background: rgba(191, 59, 31, 0.14);
  border-color: rgba(191, 59, 31, 0.3);
  transform: translateY(-1px);
}

.edition-tabs__panels {
  display: grid;
}

.edition-tab-panel {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--edition-panel);
  box-shadow: var(--shadow);
}

.edition-tab-panel[hidden] {
  display: none;
}

.edition-tab-panel__icon {
  width: 56px;
  height: 56px;
  margin-top: 0.2rem;
}

.edition-tab-panel__body h3 {
  margin: 0 0 0.7rem;
  font-size: 1.12rem;
}

.edition-tab-panel__body p {
  color: var(--muted);
}

.edition-page--2019 .edition-tabs__tab:hover,
.edition-page--2019 .edition-tabs__tab.is-active {
  background: rgba(249, 130, 48, 0.14);
  border-color: rgba(249, 130, 48, 0.3);
}

.edition-page--2019 .edition-tabs__list {
  gap: 0.5rem;
}

.edition-page--2019 .edition-tabs__tab {
  min-width: 72px;
  min-height: 92px;
  padding: 0.75rem 0.5rem;
}

.edition-page--2019 .edition-tabs__tab img {
  width: 38px;
  height: 38px;
}

.edition-page--2019 .edition-tabs__tab span {
  font-size: 0.8rem;
}

.edition-page--2019 .edition-tab-panel__icon,
.edition-page--2019 .edition-tabs__tab img,
.edition-page--2019 .edition-discipline img {
  filter: none;
  opacity: 1;
}

.edition-page--2019 .edition-hero__frame {
  width: min(100%, 290px);
  aspect-ratio: auto;
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.edition-page--2019 .edition-hero__layout {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: 1.3rem;
}

.edition-page--2019 .edition-hero__media {
  justify-content: flex-start;
}

.edition-page--2019 .edition-hero__frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  filter: saturate(0.98) contrast(1.02);
}

.edition-page--2019 .edition-ornament__icon {
  opacity: 0.22;
  filter: none;
  mix-blend-mode: normal;
}

.edition-ornament--2017-home .edition-ornament__icon:nth-child(1) { left: 8%; top: 7%; transform: rotate(-12deg) scale(0.88); }
.edition-ornament--2017-home .edition-ornament__icon:nth-child(2) { left: 20%; top: 13%; transform: rotate(9deg) scale(0.78); }
.edition-ornament--2017-home .edition-ornament__icon:nth-child(3) { left: 34%; top: 6%; transform: rotate(14deg) scale(0.84); }
.edition-ornament--2017-home .edition-ornament__icon:nth-child(4) { left: 48%; top: 12%; transform: rotate(-8deg) scale(0.96); }
.edition-ornament--2017-home .edition-ornament__icon:nth-child(5) { left: 58%; top: 32%; transform: rotate(11deg) scale(0.82); }
.edition-ornament--2017-home .edition-ornament__icon:nth-child(6) { left: 66%; top: 18%; transform: rotate(-14deg) scale(0.86); }
.edition-ornament--2017-home .edition-ornament__icon:nth-child(7) { left: 80%; top: 8%; transform: rotate(8deg) scale(0.76); }
.edition-ornament--2017-home .edition-ornament__icon:nth-child(8) { left: 72%; top: 72%; transform: rotate(-6deg) scale(0.84); }
.edition-ornament--2017-home .edition-ornament__icon:nth-child(9) { left: 86%; top: 66%; transform: rotate(13deg) scale(0.72); }
.edition-ornament--2017-home .edition-ornament__icon:nth-child(10) { left: 60%; top: 79%; transform: rotate(-10deg) scale(0.86); }

.edition-ornament--2017-results .edition-ornament__icon:nth-child(1) { left: 10%; top: 9%; transform: rotate(-9deg) scale(0.8); }
.edition-ornament--2017-results .edition-ornament__icon:nth-child(2) { left: 22%; top: 15%; transform: rotate(12deg) scale(0.9); }
.edition-ornament--2017-results .edition-ornament__icon:nth-child(3) { left: 36%; top: 7%; transform: rotate(6deg) scale(0.74); }
.edition-ornament--2017-results .edition-ornament__icon:nth-child(4) { left: 50%; top: 14%; transform: rotate(-13deg) scale(0.86); }
.edition-ornament--2017-results .edition-ornament__icon:nth-child(5) { left: 58%; top: 38%; transform: rotate(10deg) scale(0.78); }
.edition-ornament--2017-results .edition-ornament__icon:nth-child(6) { left: 68%; top: 20%; transform: rotate(-7deg) scale(0.94); }
.edition-ornament--2017-results .edition-ornament__icon:nth-child(7) { left: 82%; top: 10%; transform: rotate(15deg) scale(0.72); }
.edition-ornament--2017-results .edition-ornament__icon:nth-child(8) { left: 73%; top: 76%; transform: rotate(-12deg) scale(0.82); }
.edition-ornament--2017-results .edition-ornament__icon:nth-child(9) { left: 88%; top: 70%; transform: rotate(9deg) scale(0.8); }
.edition-ornament--2017-results .edition-ornament__icon:nth-child(10) { left: 61%; top: 82%; transform: rotate(-5deg) scale(0.76); }

.edition-ornament--2017-gallery .edition-ornament__icon:nth-child(1) { left: 7%; top: 8%; transform: rotate(10deg) scale(0.78); }
.edition-ornament--2017-gallery .edition-ornament__icon:nth-child(2) { left: 18%; top: 14%; transform: rotate(-11deg) scale(0.9); }
.edition-ornament--2017-gallery .edition-ornament__icon:nth-child(3) { left: 31%; top: 6%; transform: rotate(8deg) scale(0.72); }
.edition-ornament--2017-gallery .edition-ornament__icon:nth-child(4) { left: 45%; top: 13%; transform: rotate(-14deg) scale(0.86); }
.edition-ornament--2017-gallery .edition-ornament__icon:nth-child(5) { left: 56%; top: 34%; transform: rotate(12deg) scale(0.78); }
.edition-ornament--2017-gallery .edition-ornament__icon:nth-child(6) { left: 68%; top: 16%; transform: rotate(-6deg) scale(0.94); }
.edition-ornament--2017-gallery .edition-ornament__icon:nth-child(7) { left: 81%; top: 8%; transform: rotate(16deg) scale(0.84); }
.edition-ornament--2017-gallery .edition-ornament__icon:nth-child(8) { left: 74%; top: 73%; transform: rotate(-9deg) scale(0.74); }
.edition-ornament--2017-gallery .edition-ornament__icon:nth-child(9) { left: 88%; top: 61%; transform: rotate(7deg) scale(0.82); }
.edition-ornament--2017-gallery .edition-ornament__icon:nth-child(10) { left: 61%; top: 80%; transform: rotate(-12deg) scale(0.76); }

.edition-ornament--2019-home .edition-ornament__icon:nth-child(1) { left: 8%; top: 6%; transform: rotate(-10deg) scale(0.86); }
.edition-ornament--2019-home .edition-ornament__icon:nth-child(2) { left: 19%; top: 14%; transform: rotate(13deg) scale(0.7); }
.edition-ornament--2019-home .edition-ornament__icon:nth-child(3) { left: 31%; top: 7%; transform: rotate(7deg) scale(0.8); }
.edition-ornament--2019-home .edition-ornament__icon:nth-child(4) { left: 43%; top: 14%; transform: rotate(-15deg) scale(0.74); }
.edition-ornament--2019-home .edition-ornament__icon:nth-child(5) { left: 55%; top: 32%; transform: rotate(12deg) scale(0.84); }
.edition-ornament--2019-home .edition-ornament__icon:nth-child(6) { left: 65%; top: 18%; transform: rotate(-9deg) scale(0.78); }
.edition-ornament--2019-home .edition-ornament__icon:nth-child(7) { left: 76%; top: 8%; transform: rotate(10deg) scale(0.88); }
.edition-ornament--2019-home .edition-ornament__icon:nth-child(8) { left: 87%; top: 14%; transform: rotate(-11deg) scale(0.68); }
.edition-ornament--2019-home .edition-ornament__icon:nth-child(9) { left: 73%; top: 74%; transform: rotate(14deg) scale(0.74); }
.edition-ornament--2019-home .edition-ornament__icon:nth-child(10) { left: 86%; top: 67%; transform: rotate(-7deg) scale(0.8); }
.edition-ornament--2019-home .edition-ornament__icon:nth-child(11) { left: 60%; top: 81%; transform: rotate(11deg) scale(0.72); }

.edition-ornament--2019-results .edition-ornament__icon:nth-child(1) { left: 9%; top: 9%; transform: rotate(9deg) scale(0.74); }
.edition-ornament--2019-results .edition-ornament__icon:nth-child(2) { left: 20%; top: 15%; transform: rotate(-13deg) scale(0.82); }
.edition-ornament--2019-results .edition-ornament__icon:nth-child(3) { left: 32%; top: 7%; transform: rotate(15deg) scale(0.7); }
.edition-ornament--2019-results .edition-ornament__icon:nth-child(4) { left: 44%; top: 15%; transform: rotate(-10deg) scale(0.9); }
.edition-ornament--2019-results .edition-ornament__icon:nth-child(5) { left: 55%; top: 36%; transform: rotate(8deg) scale(0.76); }
.edition-ornament--2019-results .edition-ornament__icon:nth-child(6) { left: 66%; top: 19%; transform: rotate(-16deg) scale(0.68); }
.edition-ornament--2019-results .edition-ornament__icon:nth-child(7) { left: 77%; top: 8%; transform: rotate(10deg) scale(0.86); }
.edition-ornament--2019-results .edition-ornament__icon:nth-child(8) { left: 88%; top: 16%; transform: rotate(-8deg) scale(0.78); }
.edition-ornament--2019-results .edition-ornament__icon:nth-child(9) { left: 74%; top: 75%; transform: rotate(12deg) scale(0.72); }
.edition-ornament--2019-results .edition-ornament__icon:nth-child(10) { left: 87%; top: 68%; transform: rotate(-12deg) scale(0.76); }
.edition-ornament--2019-results .edition-ornament__icon:nth-child(11) { left: 61%; top: 82%; transform: rotate(7deg) scale(0.82); }

.edition-ornament--2019-gallery .edition-ornament__icon:nth-child(1) { left: 8%; top: 7%; transform: rotate(-14deg) scale(0.8); }
.edition-ornament--2019-gallery .edition-ornament__icon:nth-child(2) { left: 18%; top: 15%; transform: rotate(11deg) scale(0.7); }
.edition-ornament--2019-gallery .edition-ornament__icon:nth-child(3) { left: 29%; top: 8%; transform: rotate(-8deg) scale(0.86); }
.edition-ornament--2019-gallery .edition-ornament__icon:nth-child(4) { left: 42%; top: 16%; transform: rotate(13deg) scale(0.74); }
.edition-ornament--2019-gallery .edition-ornament__icon:nth-child(5) { left: 54%; top: 34%; transform: rotate(-12deg) scale(0.82); }
.edition-ornament--2019-gallery .edition-ornament__icon:nth-child(6) { left: 66%; top: 17%; transform: rotate(9deg) scale(0.9); }
.edition-ornament--2019-gallery .edition-ornament__icon:nth-child(7) { left: 78%; top: 7%; transform: rotate(-15deg) scale(0.68); }
.edition-ornament--2019-gallery .edition-ornament__icon:nth-child(8) { left: 88%; top: 18%; transform: rotate(10deg) scale(0.78); }
.edition-ornament--2019-gallery .edition-ornament__icon:nth-child(9) { left: 74%; top: 76%; transform: rotate(-9deg) scale(0.76); }
.edition-ornament--2019-gallery .edition-ornament__icon:nth-child(10) { left: 87%; top: 62%; transform: rotate(16deg) scale(0.72); }
.edition-ornament--2019-gallery .edition-ornament__icon:nth-child(11) { left: 60%; top: 82%; transform: rotate(-7deg) scale(0.84); }

.edition-tab-panel__return {
  margin: 1.2rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 244, 234, 0.08);
}

.edition-tab-panel__return[hidden] {
  display: none;
}

.edition-tab-panel__return .edition-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.edition-tab-panel__divider {
  margin: 1.1rem 0 0.8rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 244, 234, 0.12);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 239, 228, 0.68);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.32em;
  text-decoration-color: rgba(191, 59, 31, 0.7);
}

.edition-facts {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 244, 234, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 244, 234, 0.04), rgba(255, 244, 234, 0.015)),
    rgba(17, 14, 20, 0.72);
}

.edition-facts__row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: baseline;
}

.edition-facts__term {
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 239, 228, 0.62);
}

.edition-facts__value {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgba(247, 239, 228, 0.9);
}

.participant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.participant-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 244, 234, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.participant-card__photo {
  width: 96px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.participant-card__body {
  min-width: 0;
}

.participant-card__body h4 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.15;
}

.participant-card--list .participant-card__body h4 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 500;
}

.participant-card--list {
  display: block;
  padding: 0 0 0 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  position: relative;
  min-height: 0;
}

.participant-card--list::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.48rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(247, 239, 228, 0.7);
}

.participant-card--list .participant-card__photo,
.participant-card--list .participant-card__body p {
  display: none;
}

.participant-card--list .participant-card__body {
  min-width: auto;
}

.participant-card__body p {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.participant-card__body p:last-child {
  margin-bottom: 0;
}

.edition-participant-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.edition-participant-images--single {
  grid-template-columns: minmax(0, 1fr);
}

.edition-participant-image {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 244, 234, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.edition-participant-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: rgba(18, 14, 20, 0.82);
}

.edition-participant-image__caption {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 1rem 1rem;
  border-top: 1px solid rgba(255, 244, 234, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 244, 234, 0.03), rgba(255, 244, 234, 0.015)),
    rgba(15, 12, 18, 0.78);
}

.edition-participant-image__caption p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(247, 239, 228, 0.88);
}

.edition-participant-image__caption strong {
  color: #fff2e6;
}

.edition-participant-image__names {
  color: rgba(247, 239, 228, 0.74);
}

.edition-participant-note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(247, 239, 228, 0.72);
}

.edition-name-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.2rem;
  max-width: 760px;
  margin: 0;
  margin-left: clamp(7rem, 11vw, 10.5rem);
  padding-top: 0.15rem;
  align-items: start;
}

.edition-name-columns--one {
  grid-template-columns: minmax(0, 1fr);
}

.edition-name-columns--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.edition-name-columns--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.edition-name-columns--compact {
  max-width: 420px;
}

.edition-name-columns--descent {
  max-width: 980px;
}

.edition-name-columns--wide {
  max-width: 1040px;
}

.edition-name-columns--xwide {
  max-width: 1240px;
}

.edition-name-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.edition-name-list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(247, 239, 228, 0.9);
}

.edition-name-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: rgba(191, 59, 31, 0.82);
}

.edition-name-group {
  display: grid;
  gap: 0.45rem;
}

.edition-name-group + .edition-name-group {
  margin-top: 1.35rem;
}

.edition-name-column {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.edition-name-group__title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 239, 228, 0.66);
}

@media (max-width: 720px) {
  .edition-name-columns {
    margin-left: 0;
  }
}

.edition-discipline {
  padding: 1.2rem;
}

.edition-discipline img {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1) contrast(1.05);
  opacity: 0.92;
}

.edition-discipline h3,
.edition-card--archive h3,
.edition-timeline h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.edition-timeline {
  display: grid;
  gap: 1rem;
}

.edition-timeline article {
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 244, 234, 0.12);
}

.edition-timeline article:first-child {
  padding-top: 0;
  border-top: 0;
}

.edition-timeline time {
  display: inline-flex;
  margin-bottom: 0.5rem;
  color: rgba(247, 239, 228, 0.72);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.edition-quote {
  display: grid;
  align-content: center;
}

.edition-quote p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  line-height: 1.08;
  color: #f7efe4;
}

.edition-link {
  color: #f2a071;
  font-weight: 700;
}

.edition-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.edition-chip-list span,
.edition-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 244, 234, 0.1);
  background: rgba(255, 244, 234, 0.06);
  color: rgba(247, 239, 228, 0.82);
  font-size: 0.84rem;
}

.edition-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
}

.edition-stat {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 244, 234, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.edition-stat strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff4ea;
}

.edition-stat span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 239, 228, 0.62);
}

.edition-stat p,
.edition-summary-list li {
  margin: 0;
  color: var(--muted);
}

.edition-summary-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.edition-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 1rem;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 244, 234, 0.08);
}

.team-board {
  display: grid;
  gap: 1rem;
}

.team-board__group {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 244, 234, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 244, 234, 0.06), rgba(255, 244, 234, 0.03)),
    radial-gradient(circle at 0% 0%, rgba(249, 130, 48, 0.12), rgba(249, 130, 48, 0) 45%);
}

.team-board__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.team-board__header h4 {
  margin: 0;
  font-size: 1.02rem;
}

.team-board__meta {
  color: rgba(247, 239, 228, 0.62);
  font-size: 0.88rem;
}

.team-board__visuals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.team-shot {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 244, 234, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.team-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.team-shot__body {
  padding: 0.85rem 0.9rem 0.95rem;
}

.team-shot__body h5 {
  margin: 0 0 0.35rem;
  font-size: 0.96rem;
  line-height: 1.15;
}

.team-shot__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.edition-page--2019 .results-controls,
.edition-page--2019 .gallery-controls {
  border-color: rgba(249, 130, 48, 0.22);
  background:
    linear-gradient(180deg, rgba(249, 130, 48, 0.12), rgba(255, 244, 234, 0.03)),
    rgba(14, 27, 39, 0.78);
}

.edition-page--2017 .gallery-card__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "date taxonomy"
    "media taxonomy";
  gap: 0.45rem 0.7rem;
  align-items: start;
}

.edition-page--2017 .gallery-card__date {
  grid-area: date;
  justify-self: start;
  min-height: 26px;
  padding: 0.16rem 0.74rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  border: 0;
  background: rgba(243, 193, 138, 0.12);
  color: #f3c18a;
}

.edition-page--2017 .gallery-card__media {
  grid-area: media;
  align-self: start;
  justify-self: start;
  gap: 0.35rem;
  min-height: 24px;
  padding: 0.12rem 0.62rem;
  background: rgba(255, 244, 234, 0.08);
  color: rgba(247, 239, 228, 0.88);
}

.edition-page--2017 .gallery-card__modality {
  margin-left: 0;
  min-height: 26px;
  padding: 0.16rem 0.62rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-align: left;
  border-bottom: 0;
  background: rgba(191, 59, 31, 0.16);
  color: #fff4ea;
}

.edition-page--2017 .gallery-card__taxonomy {
  grid-area: taxonomy;
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 0.36rem;
}

.edition-page--2017 .gallery-card__group {
  min-height: 24px;
  padding: 0.12rem 0.58rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(255, 231, 215, 0.84);
  background: rgba(243, 193, 138, 0.12);
  border-color: rgba(243, 193, 138, 0.18);
}

.edition-page--2019 .gallery-card__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "date taxonomy";
  align-items: start;
  gap: 0.45rem 0.7rem;
}

.edition-page--2019 .gallery-card__date {
  grid-area: date;
  justify-self: start;
  border: 1px solid rgba(243, 193, 138, 0.28);
  background: linear-gradient(180deg, rgba(243, 193, 138, 0.18), rgba(243, 193, 138, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.edition-page--2019 .gallery-card__modality {
  justify-self: end;
  justify-content: center;
  text-align: right;
  min-height: 26px;
  padding: 0.16rem 0.62rem;
  border: 1px solid rgba(249, 130, 48, 0.34);
  border-radius: 999px;
  background: rgba(249, 130, 48, 0.12);
  color: rgba(255, 215, 180, 0.9);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: none;
}

.edition-page--2019 .gallery-card__taxonomy {
  grid-area: taxonomy;
  justify-self: end;
  display: grid;
  justify-items: end;
  align-content: start;
  align-self: start;
  gap: 0.32rem;
}

.edition-page--2019 .gallery-card__group {
  min-height: 24px;
  padding: 0.12rem 0.58rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(255, 215, 180, 0.82);
  background: rgba(255, 244, 234, 0.08);
  border-color: rgba(249, 130, 48, 0.22);
}

.edition-page--2019 .results-select:hover,
.edition-page--2019 .results-select:focus,
.edition-page--2019 .results-day-button:hover,
.edition-page--2019 .results-day-button.is-active,
.edition-page--2019 .gallery-card__date {
  border-color: rgba(249, 130, 48, 0.34);
}

.edition-page--2019 .results-day-button:hover,
.edition-page--2019 .results-day-button.is-active {
  background: rgba(249, 130, 48, 0.18);
}

.edition-page--2017 .results-day-picker__month:first-of-type {
  flex: 0.72 1 240px;
}

.edition-page--2017 .results-day-picker__month:last-of-type {
  flex: 1.28 1 360px;
}

.edition-page--2019 .results-day-picker__month:first-of-type {
  flex: 0.34 1 120px;
}

.edition-page--2019 .results-day-picker__month:last-of-type {
  flex: 1.66 1 380px;
}

.edition-page--2019 .results-table td:nth-child(2),
.edition-page--2019 .edition-link,
.edition-page--2019 .gallery-card__link,
.edition-page--2019 .archive-link__cta {
  color: #ffb16f;
}

.edition-page--2019 .gallery-card__date {
  background: linear-gradient(180deg, rgba(249, 130, 48, 0.22), rgba(249, 130, 48, 0.1));
  color: #ffb16f;
}

@media (max-width: 980px) {
  .results-controls {
    grid-template-columns: 1fr;
  }

  .gallery-controls {
    grid-template-columns: 1fr;
  }

  .gallery-controls__group {
    max-width: none;
  }

  .results-day-picker__month {
    flex-basis: 100%;
  }

  .edition-hero__layout,
  .edition-intro,
  .edition-columns,
  .edition-archive-grid,
  .edition-stats,
  .team-board__visuals {
    grid-template-columns: 1fr;
  }

  .edition-hero__layout {
    grid-template-areas:
      "title"
      "copy"
      "media";
  }

  .participant-grid {
    grid-template-columns: 1fr;
  }

  .edition-participant-images {
    grid-template-columns: 1fr;
  }

  .edition-hero__media {
    min-height: 0;
  }

  .edition-ornament__tag {
    display: none;
  }

  .edition-hero__stamp {
    left: 1rem;
  }
}

@media (max-width: 1120px) {
  .results-day-picker__month {
    flex-basis: 100%;
  }

  .edition-page--2019 .edition-hero__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "copy"
      "media";
  }
}

@media (max-width: 640px) {
  .edition-hero {
    padding-top: 2.5rem;
    padding-bottom: 1.4rem;
  }

  .edition-page--2017 .edition-hero__layout {
    gap: 1rem;
  }

  .edition-page--2017 .edition-hero__copy {
    gap: 0.95rem;
  }

  .edition-page--2019 .edition-hero__layout {
    gap: 1rem;
  }

  .edition-page--2019 .edition-hero__copy {
    gap: 0.95rem;
  }

  .edition-hero__title h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    white-space: normal;
  }

  .edition-page--2017 .edition-hero__copy p,
  .edition-page--2019 .edition-hero__copy p {
    max-width: 58ch;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .edition-hero__stamp {
    display: none;
  }

  .edition-hero__media {
    min-height: 0;
  }

  .edition-page--2017 .edition-hero__media,
  .edition-page--2019 .edition-hero__media {
    justify-content: center;
    margin-top: 0.1rem;
  }

  .edition-page--2017 .edition-hero__frame,
  .edition-page--2019 .edition-hero__frame {
    width: min(100%, 240px);
  }

  .edition-page--2017 .edition-hero__meta,
  .edition-page--2019 .edition-hero__meta {
    gap: 0.38rem;
  }

  .edition-page--2017 .edition-hero__meta span,
  .edition-page--2019 .edition-hero__meta span {
    padding: 0.28rem 0.6rem;
    font-size: 0.74rem;
  }

  .edition-page--2019 .button,
  .edition-page--2019 .button-secondary {
    min-height: 40px;
    padding: 0.62rem 0.85rem;
    font-size: 0.84rem;
  }

  .edition-tabs__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edition-page--2017 .participant-grid {
    gap: 0.35rem;
  }

  .edition-page--2019 .participant-grid {
    gap: 0.35rem;
  }

  .participant-card {
    grid-template-columns: 80px minmax(0, 1fr);
    padding: 0.8rem;
  }

  .edition-page--2017 #modalidades-2017.edition-section {
    padding-top: 0.65rem;
  }

  .edition-page--2017 .edition-tabs {
    gap: 0.7rem;
  }

  .edition-page--2017 .edition-tabs__list {
    gap: 0.45rem;
  }

  .edition-page--2017 .edition-tabs__tab {
    min-height: 74px;
    min-width: 72px;
    gap: 0.35rem;
    padding: 0.52rem 0.45rem;
    border-radius: 14px;
  }

  .edition-page--2019 .edition-tabs__tab {
    min-height: 74px;
    min-width: 72px;
    gap: 0.35rem;
    padding: 0.52rem 0.45rem;
    border-radius: 14px;
  }

  .edition-page--2017 .participant-card {
    gap: 0.55rem;
    padding: 0.5rem;
  }

  .edition-page--2019 .participant-card {
    gap: 0.55rem;
    padding: 0.5rem;
  }

  .participant-card__photo {
    width: 80px;
    border-radius: 14px;
  }

  .edition-tabs__tab {
    min-height: 96px;
    padding: 0.8rem 0.65rem;
  }

  .edition-page--2017 .edition-tabs__tab img {
    width: 30px;
    height: 30px;
  }

  .edition-page--2019 .edition-tabs__tab img {
    width: 30px;
    height: 30px;
  }

  .edition-page--2017 .edition-tabs__tab span {
    font-size: 0.74rem;
    line-height: 1.05;
  }

  .edition-page--2019 .edition-tabs__tab span {
    font-size: 0.74rem;
    line-height: 1.05;
  }

  .edition-page--2017 .edition-name-columns {
    gap: 0.04rem 0.5rem;
    margin-left: 0;
    padding-top: 0;
  }

  .edition-page--2019 .edition-name-columns {
    gap: 0.04rem 0.5rem;
    margin-left: 0;
    padding-top: 0;
  }

  .edition-page--2017 .edition-name-columns h4,
  .edition-page--2017 .edition-name-columns h5 {
    margin-bottom: 0.1rem;
    line-height: 1;
  }

  .edition-page--2019 .edition-name-columns h4,
  .edition-page--2019 .edition-name-columns h5 {
    margin-bottom: 0.1rem;
    line-height: 1;
  }

  .edition-page--2017 .participant-card--list {
    display: flex;
    align-items: flex-start;
    gap: 0.34rem;
    padding-left: 0;
    margin: 0;
  }

  .edition-page--2019 .participant-card--list {
    display: flex;
    align-items: flex-start;
    gap: 0.34rem;
    padding-left: 0;
    margin: 0;
  }

  .edition-page--2017 .participant-card--list::before {
    position: static;
    flex: 0 0 auto;
    margin-top: 0.22rem;
    width: 0.26rem;
    height: 0.26rem;
  }

  .edition-page--2019 .participant-card--list::before {
    position: static;
    flex: 0 0 auto;
    margin-top: 0.22rem;
    width: 0.26rem;
    height: 0.26rem;
  }

  .edition-page--2017 .participant-card--list .participant-card__body {
    min-width: 0;
    flex: 1 1 auto;
  }

  .edition-page--2019 .participant-card--list .participant-card__body {
    min-width: 0;
    flex: 1 1 auto;
  }

  .edition-page--2017 .participant-card--list .participant-card__body h4 {
    display: block;
    font-size: 0.84rem;
    line-height: 0.98;
    letter-spacing: -0.01em;
    margin: 0;
  }

  .edition-page--2019 .participant-card--list .participant-card__body h4 {
    display: block;
    font-size: 0.84rem;
    line-height: 0.98;
    letter-spacing: -0.01em;
    margin: 0;
  }

  .edition-page--2017 .participant-card__body h4 {
    margin-bottom: 0.18rem;
    line-height: 1.02;
  }

  .edition-page--2019 .participant-card__body h4 {
    margin-bottom: 0.18rem;
    line-height: 1.02;
  }

  .edition-page--2017 .participant-card__body p {
    margin-bottom: 0.2rem;
    font-size: 0.84rem;
    line-height: 1.24;
  }

  .edition-page--2019 .participant-card__body p {
    margin-bottom: 0.2rem;
    font-size: 0.84rem;
    line-height: 1.24;
  }

  .edition-page--2019 .edition-tab-panel__body p {
    font-size: 0.88rem;
    line-height: 1.34;
  }

  .edition-page--2017 .edition-tab-panel__body p {
    font-size: 0.88rem;
    line-height: 1.34;
  }

  .edition-tab-panel {
    grid-template-columns: 1fr;
  }

  .edition-tab-panel__icon {
    width: 46px;
    height: 46px;
  }

  .edition-ornament__icon:nth-child(n + 8) {
    display: none;
  }
}
