/* Events styles copied from the authoritative public-site implementation. */
.ev-band-next + .ev-band-past { margin-top: 72px; }
.ev-band-head { margin-bottom: 24px; }
.ev-band-head h2 { font-size: 1.25rem; }
.ev-band-head p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--n-500); max-width: 52ch; }
.ev-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ev-c { display: flex; flex-direction: column; border: 1px solid var(--n-200); background: #fff; }
.ev-c .pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--n-100); }
.ev-c .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ev-c:hover .pic img { transform: scale(1.03); }
.ev-c .pic .ph { display: block; width: 100%; height: 100%; }
.ev-c .body { flex: 1; display: flex; flex-direction: column; padding: 20px 20px 18px; }
.ev-c .when { font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--p-900); }
.ev-c .where { margin-top: 4px; font-size: 12px; color: var(--n-500); }
.ev-c h3 {
  margin-top: 12px; font-family: var(--font-serif); font-size: 1.0625rem;
  font-weight: 700; line-height: 1.4; color: var(--p-900);
}
.ev-c a.ev-title-link:hover h3 { color: var(--a-500); }
.ev-c .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.ev-c .foot {
  margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 10px;
}
.ev-c.is-past .pic img { filter: grayscale(1); opacity: .55; }
.ev-c.is-past:hover .pic img { filter: grayscale(0); opacity: 1; }
.ev-c.is-past h3 { color: var(--n-600); }
.ev-status.is-past { border-color: var(--n-200); background: var(--n-50); color: var(--n-500); }
.ev-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border: 1px solid var(--n-300); border-radius: var(--r-full);
  font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--n-600);
  white-space: nowrap;
}
.ev-status.is-open { border-color: var(--a-200); background: var(--a-50); color: var(--a-500); }
.ev-empty { max-width: 44rem; padding-block: 8px 0; }
.ev-cat {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border: 1px solid var(--n-200); border-radius: var(--r-full);
  font-size: 11.5px; font-weight: 500; letter-spacing: .02em; color: var(--n-500);
  opacity: .75;
  transition: opacity .18s ease, border-color .18s ease, color .18s ease, background-color .18s ease;
}
.ev-cat:hover, .ev-cat:focus-visible {
  opacity: 1; border-color: var(--p-900); color: var(--p-900); background: var(--n-50);
}

/* Event detail: copied from the authoritative public-site implementation. */
.ev-layout { display: grid; gap: 44px; grid-template-columns: minmax(0, 1fr); }
.ev-lede, .ev-access { max-width: 38rem; }
.ev-block { margin-top: 84px; }
@media (max-width: 999px) {
  .ev-col { display: contents; }
  .ev-lede { order: 1; }
  .ev-access { order: 2; }
  .ev-rail { order: 3; }
  .ev-block { order: 4; margin-top: 16px; }
}
.ev-cta-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--n-200);
  transform: translateY(110%); transition: transform .25s ease;
}
.ev-cta-bar.show { transform: none; }
.ev-cta-bar .shell-wide {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 12px;
}
.ev-cta-bar .d { font-size: 13px; color: var(--n-600); }
@media (min-width: 1000px) { .ev-cta-bar { display: none; } }
.ev-mast { background: #fff; padding-block: 28px 44px; }
.ev-mast-main { background: #fff; padding-block: 44px 20px; }
.ev-tabs { border-bottom: 1px solid var(--n-200); }
.ev-tabs nav { display: flex; gap: 4px; overflow-x: auto; margin-inline-start: -20px; }
#overview, #schools, #programme, #practical { scroll-margin-top: 140px; }
.ev-mast-head { margin-top: 24px; }
.ev-lead { margin: 0; }
.ev-lead img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover; object-position: center 42%;
  background: var(--n-100);
}
@media (min-width: 900px) { .ev-lead img { aspect-ratio: 3 / 1; } }
.ev-lead figcaption { margin-top: 8px; font-size: 12px; color: var(--n-500); }
.ev-h1 {
  margin-top: 0; font-family: var(--font-serif);
  font-size: clamp(1.45rem, 0.8rem + 1.6vw, 2rem); font-weight: 700;
  line-height: 1.08; letter-spacing: -.015em; color: var(--p-900); text-wrap: balance;
}
.ev-lede { margin-top: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--n-700); }
.ev-access { margin-top: 56px; }
.ev-access h2 {
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--n-500);
}
.ev-access-v { margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--p-900); }
.ev-access-v span { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--n-500); }
.ev-access ul { margin: 20px 0 0; padding: 0; list-style: none; }
.ev-access li {
  padding-left: 0; margin-bottom: 5px;
  font-size: 13.5px; line-height: 1.7; color: var(--n-800);
}
.ev-access li::before { content: none; }
.ev-access-map { margin-top: 20px; font-size: 13px; }
.ev-access-map a { color: var(--a-400); text-decoration: underline; text-underline-offset: 3px; }
.ev-act-facts { margin: 18px 0 0; }
.ev-act-facts > div { padding: 11px 0; border-top: 1px solid var(--n-200); }
.ev-act-facts > div:first-child { border-top: 0; padding-top: 4px; }
.ev-act-facts dt { font-size: 12px; font-weight: 600; color: var(--n-500); }
.ev-act-facts dd {
  margin: 3px 0 0; font-size: 14px; font-weight: 500;
  line-height: 1.5; color: var(--p-900);
}
.ev-act { border: 1px solid var(--n-200); border-top: 3px solid var(--brand); background: #fff; }
.ev-act-in { padding: 22px 28px 32px; }
.ev-act h2 {
  font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700;
  color: var(--p-900); text-align: center;
}
.ev-act .ev-note { margin-top: 18px; font-size: 13px; line-height: 1.75; color: var(--n-500); }
.ev-act .btn { margin-top: 22px; }
.ev-act .ev-newtab { margin-top: 8px; font-size: 12px; color: var(--n-400); text-align: center; }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--n-100); color: var(--n-400); border: 1px solid var(--n-200);
  cursor: default; pointer-events: none;
}
.ev-panel { display: flex; flex-direction: column; }
.ev-panel .ev-prog { flex: 1; }
.ev-panel > h2 { margin-bottom: 4px; }
.ev-prog { border-top: 1px solid var(--n-200); margin-top: 18px; }
.ev-panel .ev-row:last-child { border-bottom: 0; padding-bottom: 4px; }
.ev-row {
  display: grid; gap: 6px 24px; grid-template-columns: 1fr;
  padding-block: 18px; border-bottom: 1px solid var(--n-200);
}
.ev-row .t {
  font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600;
  line-height: 1.6; color: var(--n-500); white-space: nowrap;
}
.ev-row .h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ev-row .h strong { font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--p-900); }
.ev-row .n { margin: 6px 0 0; font-size: 14px; line-height: 1.75; color: var(--n-700); }
.ev-tbc {
  padding: 2px 8px; border-radius: var(--r-full); background: var(--n-100);
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--n-500); white-space: nowrap;
}
.ev-prog-note { margin-top: 16px; font-size: 13px; line-height: 1.75; color: var(--n-500); }
.ev-tba {
  padding: 24px 26px; border: 1px dashed var(--n-300);
  border-radius: var(--r-lg); background: #fff;
}
.ev-tba .when {
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--a-400);
}
.ev-tba p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--n-600); }
.ev-sw-list { margin-top: 40px; border-top: 1px solid var(--n-200); }
.ev-sw-item {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
  padding: 26px 0; border-bottom: 1px solid var(--n-200);
  transition: background-color .2s ease;
}
@media (min-width: 800px) {
  .ev-sw-item {
    grid-template-columns: 72px minmax(0, 1fr) clamp(150px, 16vw, 230px);
    gap: clamp(24px, 3vw, 40px); align-items: start;
  }
}
.ev-sw-item .shot { display: block; }
.ev-sw-item .shot img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-md); background: var(--n-100);
}
.ev-sw-item .shot-ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 4 / 3; border: 1px dashed var(--n-300);
  border-radius: var(--r-md); background: var(--n-50);
}
a.ev-sw-item:hover { background: var(--n-50); }
.ev-sw-item .mark {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
}
.ev-sw-item .mark img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.ev-sw-item .mark .mono { font-family: var(--font-serif); font-size: 24px; font-weight: 700; letter-spacing: .04em; color: var(--n-300); }
.ev-sw-item .txt { display: block; }
.ev-sw-item .nm { font-family: var(--font-serif); font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--p-900); }
a.ev-sw-item:hover .nm { color: var(--a-500); }
.ev-sw-item .pl { display: block; margin-top: 5px; font-size: 12.5px; color: var(--n-500); }
.ev-sw-item .pl .dot { margin: 0 7px; color: var(--n-300); }
.ev-sw-item .intro {
  display: block; margin-top: 12px; max-width: 40rem;
  font-size: 14px; line-height: 1.85; color: var(--n-700);
}
.ev-sw-item .ev-open-tag { margin-left: 8px; }
.ev-open-tag {
  padding: 3px 9px; border-radius: var(--r-full);
  background: var(--a-50); color: var(--a-500);
  font-family: var(--font-sans); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.ev-sw-list.is-collapsed {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.ev-sw-more { margin-top: 4px; }
.ev-sw-more button {
  padding: 10px 0; border: 0; background: none;
  font-family: inherit; font-size: 13px; color: var(--n-500);
  cursor: pointer; transition: color .2s ease;
}
.ev-sw-more button::after {
  content: ""; display: inline-block; margin-left: 8px;
  width: 6px; height: 6px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg);
}
.ev-sw-more button:hover { color: var(--p-900); }
.ev-schools-note {
  margin-top: 40px; max-width: 46rem; font-size: 14px; line-height: 1.75; color: var(--n-500);
}
.ev-day { display: grid; gap: 72px; grid-template-columns: minmax(0, 1fr); }
.ev-practical { margin: 0; padding-top: 20px; border-top: 1px solid var(--n-200); }
.ev-prow { margin-bottom: 16px; break-inside: avoid; }
.ev-prow:last-child { margin-bottom: 0; }
.ev-prow dt {
  display: inline; font-size: 14px; font-weight: 600; color: var(--p-900);
}
.ev-prow dt::after { content: ""; display: inline-block; width: .7em; }
.ev-prow dd {
  display: inline; margin: 0; font-size: 14px; line-height: 1.85; color: var(--n-700);
}
.ev-credits {
  display: grid; gap: 20px 48px; grid-template-columns: 1fr;
  padding-top: 22px; border-top: 1px solid var(--n-200);
}
.ev-credits .k {
  display: block; font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--n-400);
}
.ev-credits .v {
  display: block; margin-top: 6px; font-family: var(--font-serif);
  font-size: 1.0625rem; color: var(--p-900);
}
.ev-list { display: flex; flex-direction: column; }
@media (min-width: 700px) {
  .ev-row {
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-areas: "t h" ". n";
  }
  .ev-row .t { grid-area: t; }
  .ev-row .h { grid-area: h; }
  .ev-row .n { grid-area: n; }
  .ev-prog-note { padding-left: 156px; }
}
@media (min-width: 1120px) {
  .ev-row {
    grid-template-columns: 110px 240px minmax(0, 46rem);
    grid-template-areas: "t h n"; align-items: start;
  }
  .ev-row .n { margin-top: 0; }
  .ev-prog-note { padding-left: 134px; }
  .ev-practical { column-count: 2; column-gap: 56px; }
}
@media (min-width: 1000px) {
  .ev-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 0 56px; align-items: start; }
  .ev-rail { position: sticky; top: 148px; }
  .ev-credits { grid-template-columns: auto auto; justify-content: start; }
}
