.shore-interior:has(.event-directory) {
  padding: 0;
  background: #faf9f4;
}
.shore-interior > main.event-directory:not(.panorama-landing) {
  width: min(100%, 1280px);
  padding: clamp(22px, 3vw, 40px) clamp(20px, 5vw, 66px) clamp(48px, 6vw, 84px);
  background: transparent;
}
.event-directory, .ev-home {
  --ev-ink: #1d382d;
  --ev-muted: #4f6559;
  --ev-line: #d4dccf;
  --ev-green: #376951;
  color: var(--ev-ink);
  font-family: var(--roadon-sans);
  word-break: keep-all;
}
.ev-crumb, .ev-stats, .ev-section-head, .ev-location { display: flex; align-items: center; }
.ev-crumb { gap: .6rem; color: var(--ev-muted); font-size: .875rem; }
.ev-crumb span { opacity: .55; }
.ev-crumb a, .event-directory a, .ev-home a { color: inherit; }
.ev-crumb a:hover, .ev-section-head a:hover, .ev-home .edition-heading a:hover { text-decoration: underline; }
.ev-mast { display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: clamp(28px, 5vw, 80px); margin: clamp(32px, 4.3vw, 65px) 0 0; padding-bottom: clamp(26px, 3vw, 44px); border-bottom: 1px solid var(--ev-line); }
.ev-title-block h1 { font-size: clamp(2.5rem, 4.5vw, 4.1rem); font-family: var(--roadon-serif); letter-spacing: -.035em; line-height: 1.24; margin: 0; font-weight: 700; }
.ev-title-block h1 em { color: var(--ev-green); font-style: normal; }
.ev-stats { flex-wrap: wrap; gap: .36rem; margin: 1.3rem 0 0; color: var(--ev-muted); font-size: 1rem; }
.ev-stats strong { color: var(--ev-ink); }
.ev-stats > span:not(.ev-live-stat) { margin: 0 .25rem; }
.ev-live-stat, .ev-badge { display: inline-flex; align-items: center; gap: .4rem; border-radius: 99px; font-weight: 700; }
.ev-live-stat { margin-left: .5rem; padding: .35rem .72rem; color: #24533c; background: #dcebdc; font-size: .875rem; }
.ev-live-stat::before, .ev-live::before { content: ''; width: .43rem; height: .43rem; border-radius: 50%; background: currentColor; }
.ev-search { min-width: 0; }
.ev-query { display: flex; align-items: center; gap: .75rem; border: 1px solid #b8c9ba; border-radius: .65rem; padding: 0 1rem; background: white; }
.ev-query svg { width: 1.35rem; height: 1.35rem; flex: none; color: #526e5d; }
.ev-query input { background: transparent; border: 0; border-radius: 0; box-shadow: none; height: 3.5rem; min-width: 0; width: 100%; color: var(--ev-ink); padding: 0; font: inherit; font-size: 1rem; }
.ev-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: .65rem; margin-top: .8rem; }
.ev-tools label { display: grid; gap: .25rem; color: var(--ev-muted); font-size: .875rem; font-weight: 600; min-width: 0; }
.ev-tools select, .ev-tools input, .ev-tools button { box-sizing: border-box; height: 2.8rem; min-width: 0; border: 1px solid #c4d0c4; border-radius: .5rem; background-color: #fff; padding: .35rem .65rem; color: var(--ev-ink); font: inherit; font-size: 1rem; width: 100%; }
.ev-tools select { appearance: none; padding-right: 1.7rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='m3 4 5 5 5-5' fill='none' stroke='%23435d4f' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .55rem center; }
.ev-tools button { padding-inline: 1.15rem; background: #315c46; border-color: #315c46; color: white; font-weight: 700; cursor: pointer; }
.ev-tools button:hover { background: #1e4834; }
.event-directory :focus-visible, .ev-home :focus-visible { outline: 3px solid #517f62; outline-offset: 3px; }
.ev-query:focus-within { outline: 2px solid #517f62; }
.ev-query input:focus { outline: 0; }
.ev-section { margin-top: clamp(30px, 4vw, 54px); }
.ev-section-head { justify-content: space-between; gap: 1rem; margin: 0 0 1rem; }
.ev-section-head h2 { color: var(--ev-ink); margin: 0; font-size: clamp(1.42rem, 2.3vw, 2rem); font-family: var(--roadon-serif); font-weight: 700; letter-spacing: -.025em; line-height: 1.35; }
.ev-section-head small { font-family: var(--roadon-sans); font-size: .9rem; margin-left: .25rem; color: var(--ev-muted); letter-spacing: normal; font-weight: 550; }
.ev-section-head a { font-size: .95rem; font-weight: 650; }
.ev-live-grid, .ev-results { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px, 1.5vw, 20px); }
.ev-results { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ev-card, .ev-mini { position: relative; min-width: 0; background: #fff; border: 1px solid var(--ev-line); border-radius: .9rem; overflow: hidden; }
.ev-card { scroll-margin-top: 6rem; }
.ev-card:target { outline: 2px solid #538568; outline-offset: 2px; }
.ev-media { position: relative; overflow: hidden; background: #dde5dc; }
.ev-card .ev-media, .ev-mini .ev-media { aspect-ratio: 1.72; }
.ev-media img.ev-photo { height: 100%; width: 100%; display: block; object-fit: cover; transition: transform .25s; }
#event-nice .ev-photo { object-position: 50% 35%; }
.ev-badge { position: absolute; top: .75rem; left: .75rem; padding: .33rem .68rem; font-size: .875rem; line-height: 1.15; background: #fff9e8; color: #584326; }
.ev-badge.ev-live { background: #215440; color: white; }
.ev-venue-caption { position: absolute; right: .45rem; bottom: .4rem; padding: .08rem .35rem; font-size: .75rem; line-height: 1.5; border-radius: .25rem; color: white; background: #12231cbd; }
.ev-copy, .ev-mini-copy { padding: clamp(.88rem, 1.65vw, 1.3rem); }
.ev-location, .ev-mini-copy p { margin: 0; color: var(--ev-muted); font-weight: 600; font-size: .875rem; line-height: 1.5; }
.ev-location { flex-wrap: wrap; gap: .15rem .45rem; }
.ev-location span { font-weight: 450; }
.ev-location span::before { content: '/'; color: #96a395; margin-right: .45rem; }
.ev-card h3, .ev-mini h3 { margin: .3rem 0 .5rem; font-size: clamp(1.08rem, 1.6vw, 1.38rem); line-height: 1.42; letter-spacing: -.023em; font-weight: 680; color: var(--ev-ink); }
.ev-card h3 a, .ev-mini { text-decoration: none; }
.ev-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ev-card:focus-within { outline: 3px solid #517f62; outline-offset: 3px; }
.ev-card h3 a:focus-visible { outline: 0; }
.ev-period, .ev-mini-copy > span { display: block; margin: 0; color: #354e40; font-size: .96rem; line-height: 1.6; font-variant-numeric: tabular-nums; }
.ev-venue, .ev-note { margin: .18rem 0 0; color: var(--ev-muted); font-size: .9rem; line-height: 1.5; }
.ev-description { margin: .85rem 0 .42rem; font-size: 1rem; line-height: 1.64; }
.ev-standard .ev-description { display: none; }
.ev-official { display: inline-block; margin-top: .8rem; color: #2d6147; font-size: .875rem; font-weight: 660; text-decoration: underline; text-underline-offset: .2em; }
.ev-feature { display: grid; grid-template-columns: minmax(0, min(36%, 25rem)) minmax(0, 1fr); align-items: stretch; background: #e8ede2; border: none; }
.ev-feature .ev-copy { min-width: 0; overflow-wrap: anywhere; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: clamp(1.2rem, 3.5vw, 3rem); }
.ev-feature .ev-media { width: 100%; min-width: 0; min-height: 0; aspect-ratio: auto; }
.ev-feature .ev-media img.ev-photo { position: absolute; inset: 0; max-width: 100%; }
.ev-feature h3 { font-size: clamp(1.5rem, 2.35vw, 2.1rem); }
.ev-agenda { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 clamp(18px, 3vw, 42px); }
.ev-row { display: grid; grid-template-columns: clamp(82px, 9vw, 124px) minmax(0,1fr); gap: 1rem; align-items: start; padding: 1.35rem 0; border: 0; border-bottom: 1px solid var(--ev-line); border-radius: 0; background: transparent; }
.ev-row .ev-media { aspect-ratio: 1; border-radius: .55rem; }
.ev-row .ev-copy { padding: 0; }
.ev-row .ev-badge { top: .35rem; left: .35rem; font-size: .8rem; padding: .2rem .4rem; }
.ev-row .ev-description, .ev-row .ev-official { display: none; }
.ev-row h3 { margin-top: .15rem; margin-bottom: .3rem; }
.ev-empty { padding: 1.4rem; border: 1px dashed var(--ev-line); color: var(--ev-muted); line-height: 1.65; border-radius: .7rem; }
.ev-time-note, .ev-credits { color: var(--ev-muted); font-size: .875rem; line-height: 1.65; }
.ev-time-note { margin: 1.7rem 0 .5rem; }
.ev-credits summary { width: fit-content; cursor: pointer; }
.ev-credits a, .ev-home-credit { text-decoration: underline; text-underline-offset: .2em; }
.ev-credits li { overflow-wrap: anywhere; }
.ev-home { padding: clamp(1.6rem, 3.5vw, 3rem) 0; }
.ev-home .edition-heading { align-items: center; margin-bottom: 1rem; }
.ev-home-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.ev-mini { display: block; }
.ev-mini .ev-media { aspect-ratio: 2.3; }
.ev-home .ev-home-credit { display: inline-block; margin-top: .6rem; font-size: .8rem; color: var(--ev-muted); }
@media (hover: hover) {
  .ev-card:hover .ev-photo, .ev-mini:hover .ev-photo { transform: scale(1.025); }
  .ev-card:hover h3, .ev-mini:hover h3 { text-decoration: underline; text-underline-offset: .17em; }
}
@media (max-width: 880px) {
  .ev-mast { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .ev-live-grid, .ev-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ev-tools { gap: .4rem; }
}
@media (max-width: 680px) {
  .ev-mast { display: block; margin-top: 1.7rem; padding-bottom: 0; border: 0; }
  .ev-stats { margin-top: 1rem; }
  .ev-search { margin-top: 1.5rem; }
  .ev-title-block h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .ev-query input { height: 3rem; }
  .ev-tools { grid-template-columns: minmax(0,.95fr) minmax(0,1.1fr) auto; }
  .ev-tools input, .ev-tools select { padding-left: .45rem; }
  .ev-tools button { padding-inline: .85rem; }
  .ev-live-grid, .ev-home-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 310px); overflow-x: auto; scroll-snap-type: x proximity; gap: .75rem; padding: 3px 2px .55rem; }
  .ev-live-grid > *, .ev-home-grid > * { scroll-snap-align: start; }
  .ev-feature, .ev-agenda, .ev-results { grid-template-columns: 1fr; }
  .ev-feature .ev-media { height: clamp(7rem, 30vw, 10rem); }
  .ev-results .ev-description { display: none; }
  .ev-section { margin-top: 2rem; }
  .ev-row { grid-template-columns: 88px minmax(0,1fr); padding: 1rem 0; gap: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .ev-media img.ev-photo { transition: none; } }
.ev-date-tile { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; background: #e8eee2; color: #365b48; font-variant-numeric: tabular-nums; }
.ev-date-tile small { font-size: .95rem; font-weight: 600; }
.ev-date-tile strong { font: 550 clamp(2.5rem, 4vw, 4.6rem)/1 Georgia, serif; }
.ev-media .ev-photo { position: relative; }
.ev-media img.ev-photo[hidden], .ev-media img[hidden] + .ev-venue-caption { display: none; }
.ev-row .ev-date-tile { padding-top: .7rem; }
.ev-row .ev-date-tile strong { font-size: 2rem; }
.ev-row .ev-date-tile small { font-size: .8rem; }
.ev-months { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0 1.3rem; }
.ev-months a { display: inline-flex; align-items: center; padding: .52rem .8rem; border: 1px solid var(--ev-line); border-radius: 2rem; font-weight: 600; font-size: .9rem; text-decoration: none; background: #fff; }
.ev-months a:hover { border-color: #617b66; }
.ev-month { margin-block: 1.3rem 1.8rem; scroll-margin-top: 6rem; }
.ev-month-title { color: var(--ev-ink); font-size: 1.2rem; margin: 0 0 .6rem; }
.ev-month-title small { font-size: .875rem; font-weight: 500; color: var(--ev-muted); }
@media (max-width: 680px) {
  .ev-months { flex-wrap: nowrap; overflow-x: auto; padding: .2rem 0 .5rem; }
  .ev-months a { white-space: nowrap; }
}
@media (min-width: 681px) {
  .ev-live-grid { --ev-gap: clamp(12px, 1.5vw, 20px); grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--ev-gap)) / 4); overflow-x: auto; scroll-snap-type: x proximity; padding: 3px 2px .65rem; }
  .ev-live-grid > * { scroll-snap-align: start; }
}
@media (min-width: 681px) and (max-width: 880px) {
  .ev-live-grid { grid-auto-columns: calc((100% - var(--ev-gap)) / 2); }
}
.ev-calendar { margin-top: 1.2rem; padding: .85rem 1.05rem; border: 1px solid var(--ev-line); border-radius: .7rem; background: #fff; }
.ev-calendar summary { cursor: pointer; font-size: 1rem; font-weight: 650; }
.ev-calendar-nav { display:flex; align-items:center; justify-content:space-between; padding-block:1rem; }
.ev-calendar-nav a { padding:.55rem; text-decoration:underline; }
.ev-calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); text-align:center; gap:2px; }
.ev-calendar-grid span { padding:.35rem 0; font-size:.85rem; }
.ev-calendar-grid a { display:grid; place-content:center; min-height:48px; border-radius:.35rem; background:#f1f4ed; text-decoration:none; }
.ev-calendar-grid small { font-size:.75rem; color:#46614e; }
.ev-calendar-grid a[aria-current],.ev-calendar-grid a:hover { box-shadow:inset 0 0 0 2px #4c6e50; }
