:root {
  font: 14pt/1.45 Calibri, "Segoe UI", sans-serif;
  color: #17374b;
  background: #f3f7f8;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #125b71; }
a:focus-visible { outline: 3px solid #b67d26; outline-offset: 3px; }
.masthead {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px max(20px, calc((100% - 1120px) / 2));
  background: linear-gradient(115deg, #061d34, #10566b);
  color: #fff;
}
.brand { display: grid; color: inherit; text-decoration: none; font-size: 10pt; white-space: nowrap; }
.brand img { object-fit: contain; padding: 3px 7px; background: #edf8fa; border-radius: 7px; }
.masthead-title { flex: 1; font-size: 18pt; }
.masthead-title span { color: #a8dfdf; }
.back {
  color: #fff;
  text-decoration: none;
  font-size: 12pt;
  padding: 7px 12px;
  border: 1px solid #ffffff58;
  border-radius: 8px;
  white-space: nowrap;
}
main { width: min(100% - 40px, 1120px); margin: 18px auto 36px; }
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: linear-gradient(120deg, #fff4dc, #fffaf0 54%, #def1ee);
  border: 1px solid #e4ddcd;
  border-radius: 16px;
}
.hero h1 { font-size: clamp(23pt, 4.8vw, 34pt); line-height: 1.12; margin: 4px 0; font-weight: 600; }
.hero p { margin: 0; }
.eyebrow { font-size: 11pt; font-weight: 700; letter-spacing: .07em; color: #6e593a; }
.hero-date { display: grid; text-align: right; color: #185969; font-size: 19pt; white-space: nowrap; }
.hero-date small { font-size: 12pt; }
.agenda, .programs { margin-top: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0; }
.filters a {
  padding: 5px 11px;
  background: #fff;
  border: 1px solid #d3e1e6;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12pt;
}
.filters a:hover, .back:hover { text-decoration: underline; }
.filters a[aria-current] { background: #14586a; border-color: #14586a; color: #fff; }
.categories a { border-radius: 20px; }
.status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; color: #506675; font-size: 11pt; margin: 14px 0 8px; }
.status strong { color: #245364; }
.events { display: grid; gap: 8px; }
.event {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: white;
  border: 1px solid #dce7eb;
  border-radius: 10px;
}
.when { align-self: stretch; display: grid; align-content: center; border-inline-end: 1px solid #dbe7eb; padding-inline-end: 8px; }
.when time { font-weight: 700; color: #164e64; }
.when small, .event-copy p, .program-links small { color: #4f6978; font-size: 11pt; }
.tag { display: inline-block; border-radius: 5px; font-size: 10pt; padding: 1px 7px; color: #304957; background: #e8eff2; }
.tag-cinema { color: #673f84; background: #f2e9fa; }
.tag-opera { color: #7c3447; background: #fcecf0; }
.tag-theatre { color: #834817; background: #fff0df; }
.tag-concert { color: #1c597c; background: #e8f5fc; }
.tag-show { color: #126456; background: #e7f6f1; }
.tag-kids { color: #6c5210; background: #fff4cc; }
.event-copy { overflow-wrap: anywhere; }
.event-copy h2 { margin: 2px 0 0; font-size: 16pt; line-height: 1.18; font-weight: 600; }
.event-copy p { margin: 3px 0 0; }
.event-source { font-size: 11pt; text-align: right; }
.programs h2 { font-size: 18pt; margin: 6px 0; }
.program-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.program-links a { display: grid; padding: 10px 12px; border: 1px solid #dce7eb; border-radius: 8px; background: #fff; text-decoration: none; }
.program-links a:hover { border-color: #528999; }
.notes, .cinema-note, .empty { color: #4f6978; font-size: 12pt; }
.empty, .cinema-note { padding: 10px 14px; background: #fff8e9; border-radius: 8px; }
@media (max-width: 650px) {
  .masthead { gap: 10px; flex-wrap: wrap; }
  .masthead-title { display: none; }
  .back { margin-inline-start: auto; }
  main { width: calc(100% - 24px); margin-top: 12px; }
  .hero { padding: 14px; }
  .hero-date { display: none; }
  .event { grid-template-columns: 74px minmax(0, 1fr); column-gap: 10px; row-gap: 4px; padding: 9px; }
  .when { grid-row: span 2; }
  .event-source { grid-column: 2; text-align: left; }
  .program-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
