/* Mandala Theatre — inner pages (What's on, Plan your visit, News, About).
   Builds on tokens.css and site.css; same type, colour and spacing as the homepage. */

.wrap {
  padding-left: max(var(--margin), calc((100% - var(--max)) / 2 + var(--margin)));
  padding-right: max(var(--margin), calc((100% - var(--max)) / 2 + var(--margin)));
}
.sec { padding-top: var(--section); padding-bottom: var(--section); }
.sec-tight { padding-top: calc(var(--section) * .7); padding-bottom: calc(var(--section) * .7); }
.on-soft { background: var(--soft); }
.nav-links a[aria-current="page"], .menu-main a[aria-current="page"] { color: var(--saffron); }
.sub { margin-top: 18px; color: var(--ink-soft); max-width: 58ch; }

/* ---------- page hero: one homepage slide, shorter ---------- */
.page-hero { height: clamp(460px, 68svh, 720px); }
.page-hero .slide-text { bottom: clamp(48px, 9vh, 96px); width: min(760px, 70%); }
.page-hero .slide-title { font-size: clamp(3.25rem, 1rem + 6vw, 7rem); }
.page-hero .slide-desc { max-width: 48ch; }
@media (max-width: 820px) {
  .page-hero .slide-text { width: auto; bottom: 40px; }
  .page-hero .slide-desc { display: block; }
}

/* ---------- in-page jump links ---------- */
.jump { border-bottom: 1px solid #e6e3e4; background: var(--white); position: sticky; top: var(--head-h); z-index: 20; }
.jump ul { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: block; padding: 18px 0 15px; font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; color: var(--ink-soft); }
.jump a:hover { color: var(--ink); border-bottom-color: var(--saffron); }
[id] { scroll-margin-top: calc(var(--head-h) + 72px); }

/* ======================================================
   WHAT'S ON
   ====================================================== */
.feature {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center;
}
.feature + .feature { margin-top: clamp(64px, 8vw, 120px); }
.feature-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 24px 60px rgba(23,10,13,.16); }
.feature-status { font-weight: 600; color: var(--crimson); font-size: var(--t-lead); }
.feature .head { margin-top: 8px; }
.feature-deva { margin-top: 10px; font-size: var(--t-lead); color: var(--ink-soft); }
.feature-desc { margin-top: 20px; max-width: 54ch; }
.feature-facts { margin: 28px 0 32px; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 14px 44px; }
.feature-facts dt { font-size: var(--t-small); color: var(--ink-soft); }
.feature-facts dd { margin: 2px 0 0; font-weight: 700; font-size: var(--t-lead); line-height: 1.2; }
.feature-facts dd span { display: block; font-size: var(--t-small); font-weight: 400; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature-art { max-width: 360px; }
  .feature-facts { grid-template-columns: 1fr 1fr; }
}

/* agenda: every performance, day by day */
.agenda { margin-top: clamp(32px, 4vw, 48px); border-top: 2px solid var(--ink); }
.agenda-month { padding: 28px 0 10px; font-size: var(--t-lead); font-weight: 750; color: var(--crimson); }
.agenda-month h3 { font: inherit; color: inherit; }
.agenda-day {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px 32px;
  padding: 16px 0; border-bottom: 1px solid #dcd8d9; align-items: baseline;
}
.agenda-date { font-weight: 700; }
.agenda-date span { display: block; font-size: var(--t-small); font-weight: 400; color: var(--ink-soft); }
.agenda-shows { display: grid; gap: 8px; }
.agenda-show { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.agenda-show a { font-weight: 700; text-decoration: none; }
.agenda-show a:hover { color: var(--crimson); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.agenda-times { display: flex; gap: 8px; }
.agenda-times span { font-size: var(--t-small); font-weight: 650; padding: 3px 10px; border-radius: var(--btn-radius); background: var(--white); box-shadow: inset 0 0 0 1px #cfc9cb; }
.agenda-day.is-off .agenda-shows { color: var(--ink-soft); font-size: var(--t-small); }
/* the calendar: months hold their shows; the finder sits on the soft background */
.agenda-group[hidden], .agenda-day[hidden], .cal-finder[hidden] { display: none; }
.agenda-list { list-style: none; margin: 0; padding: 0; }
.agenda-tag { color: var(--crimson); }
.cal-finder { margin-top: clamp(28px, 3vw, 40px); }
.cal-finder .finder-search input { background: var(--white); }
.cal-pickers { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cal-year select {
  min-height: 44px; padding: 0 40px 0 16px; border: 0; border-radius: var(--btn-radius); font: inherit; font-weight: 600;
  color: var(--ink); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23170a0d' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  box-shadow: inset 0 0 0 1.5px #cfc9cb; appearance: none; cursor: pointer;
}
.cal-year select:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; }
@media (max-width: 620px) { .agenda-day { grid-template-columns: 1fr; gap: 8px; } }

/* hire strip */
.strip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.strip p + p { margin-top: 14px; }
.strip .actions { margin-top: 28px; }
@media (max-width: 820px) { .strip { grid-template-columns: 1fr; } }

/* ======================================================
   PLAN YOUR VISIT
   ====================================================== */
.where-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; }
.where-card { background: var(--soft); padding: clamp(24px, 3vw, 40px); }
.where-card h3 { font-size: var(--t-lead); font-weight: 750; }
.where-card dl { margin: 18px 0 0; display: grid; gap: 16px; }
.where-card dt { font-size: var(--t-small); color: var(--ink-soft); }
.where-card dd { margin: 2px 0 0; font-weight: 600; }
.where-card a { text-decoration-color: var(--crimson); text-underline-offset: 4px; }
.hours { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hours span { width: 44px; padding: 6px 0; text-align: center; font-size: .8125rem; font-weight: 700; background: var(--white); border-radius: var(--btn-radius); }
.hours span.closed { background: transparent; color: var(--ink-soft); text-decoration: line-through; }
@media (max-width: 1100px) { .where-grid { grid-template-columns: 1fr; } }

.route { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: r; }
.route li { counter-increment: r; position: relative; padding-top: 56px; }
.route li::before {
  content: counter(r); position: absolute; top: 0; left: 0; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--crimson); color: var(--white); font-weight: 800;
}
.route h3 { font-size: var(--t-lead); font-weight: 750; line-height: 1.2; }
.route p { margin-top: 8px; color: var(--ink-soft); }
.route .stops { margin-top: 10px; font-size: var(--t-small); color: var(--ink-soft); }
.route .stops b { color: var(--ink); }
@media (max-width: 900px) { .route { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .text p + p { margin-top: 14px; }
.split .text p { color: var(--ink-soft); max-width: 52ch; }
.split .text .lead { color: var(--ink); }
.split .text .head + * { margin-top: 24px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.price-row { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.price-row > div { padding-top: 22px; border-top: 2px solid var(--ink); }
.price-row > div.front { border-top: 6px solid var(--saffron); padding-top: 18px; }
.price-row .n { font-weight: 600; color: var(--ink-soft); }
.price-row .a { display: block; margin-top: 4px; font-size: clamp(2.25rem, 1.5rem + 2vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.price-row .d { display: block; margin-top: 8px; font-size: var(--t-small); color: var(--ink-soft); max-width: 32ch; }
.notes { margin-top: 36px; display: grid; gap: 10px; max-width: 72ch; color: var(--ink-soft); }
.notes li { position: relative; padding-left: 22px; }
.notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 3px; background: var(--crimson); }
@media (max-width: 820px) { .price-row { grid-template-columns: 1fr; } }

/* small seat plan on the visit page */
.mini-hall { margin-top: 28px; display: grid; gap: 4px; justify-items: center; max-width: 420px; }
.mini-hall .stg { width: 82%; padding: 6px 0; text-align: center; font-size: .75rem; font-weight: 700; color: var(--white); background: var(--show-ground); clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%); margin-bottom: 10px; }
.mini-hall .r { display: flex; gap: 3px; }
.mini-hall .r i { width: 14px; height: 12px; border-radius: 2px 2px 4px 4px; background: var(--white); box-shadow: inset 0 0 0 1.5px #a9a1a4; }
.mini-hall .r.f i { background: #fff1d1; box-shadow: inset 0 0 0 1.5px var(--saffron); }
.mini-hall .r i.gap { width: 12px; background: none; box-shadow: none; }
.mini-hall .r i.no { visibility: hidden; }
.mini-hall .r.spaced { margin-top: 10px; }

.contacts { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.contacts > div { padding-top: 18px; border-top: 1px solid #cfc9cb; }
.contacts dt { font-weight: 700; }
.contacts dd { margin: 4px 0 0; color: var(--ink-soft); word-break: break-word; }
.contacts a { color: var(--ink); font-weight: 600; text-decoration-color: var(--crimson); text-underline-offset: 4px; }
@media (max-width: 1100px) { .contacts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .contacts { grid-template-columns: 1fr; } }

/* ======================================================
   NEWS
   ====================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filters button {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 22px; cursor: pointer;
  font: inherit; font-weight: 600; background: var(--white); color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px #d4cfd1;
}
.filters button:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }

.lead-story { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; text-decoration: none; margin-top: clamp(36px, 4vw, 56px); }
.lead-story img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s var(--ease); }
.lead-story:hover img { transform: scale(1.015); }
.lead-story h3 a, .news-card h3 a { color: inherit; text-decoration: none; }
/* the title link covers the whole card */
.lead-story h3 a::after, .news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.lead-story h3 { margin-top: 8px; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); font-weight: 750; letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
.lead-story:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--crimson); }
.lead-story p.ex { margin-top: 16px; color: var(--ink-soft); }
.lead-story time { display: block; margin-top: 14px; font-size: var(--t-small); color: var(--ink-soft); }
@media (max-width: 820px) { .lead-story { grid-template-columns: 1fr; } }

.news-grid { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 44px); }
.news-card { position: relative; }
.news-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); transition: transform .4s var(--ease); }
.news-card:hover img { transform: translateY(-4px); }
.news-card h3 { margin-top: 6px; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); font-weight: 750; line-height: 1.15; letter-spacing: -0.01em; }
.news-card:hover h3, .news-card h3 a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--crimson); }
.news-card p.ex { margin-top: 8px; font-size: var(--t-small); color: var(--ink-soft); }
.news-card time { display: block; margin-top: 10px; font-size: var(--t-small); color: var(--ink-soft); }
.news-card[hidden], .lead-story[hidden] { display: none; }
.kind { margin-top: 16px; font-weight: 600; color: var(--crimson); }
.lead-story .kind { margin-top: 0; }
.news-empty { margin-top: 40px; color: var(--ink-soft); }
@media (max-width: 1100px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

.notices { margin-top: clamp(28px, 3vw, 40px); border-top: 2px solid var(--ink); }
.notices li a { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px 28px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid #dcd8d9; text-decoration: none; }
.notices time { font-size: var(--t-small); color: var(--ink-soft); }
.notices strong { font-weight: 700; }
.notices span.go { font-weight: 600; color: var(--crimson); white-space: nowrap; }
.notices li a:hover strong { text-decoration: underline; text-decoration-color: var(--crimson); text-underline-offset: 5px; }
@media (max-width: 620px) { .notices li a { grid-template-columns: 1fr; } }

/* ======================================================
   ABOUT
   ====================================================== */
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: end; }
.intro-grid .big { font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 650; line-height: 1.2; letter-spacing: -0.015em; text-wrap: pretty; }
.intro-grid p + p { margin-top: 14px; color: var(--ink-soft); }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }

.vm { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.vm > div { background: var(--white); padding: clamp(24px, 3vw, 44px); }
.vm h3 { font-size: var(--t-small); font-weight: 700; color: var(--crimson); }
.vm p { margin-top: 10px; }
.vm p.big { font-size: var(--t-lead); font-weight: 650; line-height: 1.3; }
.vm p + p:not(.big) { color: var(--ink-soft); }
@media (max-width: 820px) { .vm { grid-template-columns: 1fr; } }

/* M A N D A L A values: the name read downwards */
.acro { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.acro li { display: grid; align-content: start; gap: 12px; padding: 20px 16px 22px; background: var(--white); border-top: 4px solid var(--crimson); }
.acro li:nth-child(even) { border-top-color: var(--saffron); }
.acro b { font-size: clamp(2.5rem, 1.6rem + 2.4vw, 4rem); font-weight: 800; line-height: .9; letter-spacing: -0.04em; color: var(--crimson); }
.acro span { font-weight: 650; line-height: 1.25; font-size: var(--t-small); }
@media (max-width: 1100px) { .acro { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .acro { grid-template-columns: 1fr; gap: 6px; }
  .acro li { grid-template-columns: 56px 1fr; align-items: center; padding: 12px 16px; border-top: 0; border-left: 4px solid var(--crimson); }
  .acro li:nth-child(even) { border-left-color: var(--saffron); }
  .acro b { font-size: 2.25rem; }
  .acro span { font-size: var(--t-body); }
}

.timeline { margin-top: clamp(36px, 4vw, 56px); display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 340px); gap: 16px clamp(24px, 4vw, 56px); padding: 32px 0; border-top: 1px solid #dcd8d9; align-items: start; }
.timeline .y { font-size: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); font-weight: 800; line-height: .9; letter-spacing: -0.04em; color: var(--crimson); }
.timeline h3 { font-size: var(--t-lead); font-weight: 750; line-height: 1.2; }
.timeline p { margin-top: 8px; color: var(--ink-soft); max-width: 56ch; }
.timeline img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 900px) { .timeline li { grid-template-columns: 1fr; } .timeline img { max-width: 420px; } }

.spaces { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--gap); }
.space img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.space h3 { margin-top: 16px; font-size: var(--t-lead); font-weight: 750; line-height: 1.2; }
.space .cap { margin-top: 2px; font-weight: 600; color: var(--crimson); }
.space p { margin-top: 8px; color: var(--ink-soft); font-size: var(--t-small); }
@media (max-width: 1100px) { .spaces { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .spaces { grid-template-columns: 1fr; } }

.programmes { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); }
.programmes li { padding: 18px 0; border-bottom: 1px solid #dcd8d9; }
.programmes strong { display: block; font-weight: 700; font-size: var(--t-body); }
.programmes span { display: block; margin-top: 4px; font-size: var(--t-small); color: var(--ink-soft); }
@media (max-width: 1100px) { .programmes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .programmes { grid-template-columns: 1fr; } }

.team-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 40%; margin-top: clamp(32px, 4vw, 48px); }
.team { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); }
.team > div { padding: 16px 0; border-bottom: 1px solid #dcd8d9; }
.team dt { font-size: var(--t-small); color: var(--ink-soft); }
.team dd { margin: 3px 0 0; font-weight: 700; line-height: 1.3; }
@media (max-width: 1100px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .team { grid-template-columns: 1fr; } }

details.more { margin-top: 36px; border-top: 2px solid var(--ink); }
details.more summary { cursor: pointer; padding: 18px 0; font-weight: 750; font-size: var(--t-lead); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 1.75rem; font-weight: 500; color: var(--crimson); transition: transform .25s var(--ease); }
details.more[open] summary::after { transform: rotate(45deg); }
details.more ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 10px; color: var(--ink-soft); max-width: 72ch; }
details.more p { color: var(--ink-soft); font-size: var(--t-small); margin-bottom: 20px; }

/* ordered lists used as layouts: no browser numbers or indents */
ol.agenda, ol.route, ol.timeline, ol.acro { list-style: none; margin-left: 0; padding: 0; }
.poster-wall li > div { display: grid; }
.split .price-row .a { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); white-space: nowrap; }
.mini-hall { max-width: none; gap: 5px; }
.mini-hall .r { gap: 4px; }
.mini-hall .r i { width: clamp(10px, 1.3vw, 20px); height: clamp(9px, 1.1vw, 17px); }
.mini-hall .r i.gap { width: clamp(8px, 1.1vw, 18px); }

/* ---------- page blocks: a section that continues the one above ---------- */
/* flow-root keeps the first item's top margin inside the section, on its background;
   without it the margin slips out above the section as a white stripe */
.sec-joined { padding-top: 0; display: flow-root; }
.sec:has(+ .sec-joined) { padding-bottom: clamp(36px, 4vw, 56px); }
.sec-joined .acro, .sec-joined .vm { margin-top: clamp(20px, 2.5vw, 32px); }
@media (max-width: 820px) { .vm[style] { grid-template-columns: 1fr !important; } }

/* ---------- What's on: the month calendar ---------- */
.cal { margin-top: clamp(28px, 3vw, 40px); background: var(--white); border-radius: 10px; padding: clamp(16px, 2.4vw, 32px); box-shadow: 0 1px 0 rgba(23,10,13,.04), 0 12px 40px rgba(23,10,13,.06); }
.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cal-month { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-step {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px #d6d1d3;
}
a.cal-step:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.cal-step.is-off { color: #c4bec0; box-shadow: inset 0 0 0 1.5px #ece9ea; }
.cal-today { padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }

.cal-grid { width: 100%; table-layout: fixed; border-collapse: collapse; }
.cal-grid th { padding: 0 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); text-align: left; }
.cal-grid th abbr { text-decoration: none; }
.cal-grid td { height: 112px; padding: 8px; vertical-align: top; border: 1px solid #ebe7e8; }
.cal-grid td.is-out { background: var(--soft); }
.cal-grid td.has-shows { background: #fdfafb; }
.cal-day { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 4px; border-radius: 14px; font-size: var(--t-small); font-weight: 700; }
.cal-grid td.is-today .cal-day { background: var(--crimson); color: var(--white); }
.cal-shows { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.cal-show {
  display: block; padding: 3px 7px; border-radius: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: .75rem; font-weight: 650; line-height: 1.35; text-decoration: none;
}
.cal-show:hover { text-decoration: underline; }
/* one colour per show in the month */
.c0 { background: var(--crimson); color: var(--white); }
.c1 { background: var(--saffron); color: var(--ink); }
.c2 { background: var(--show-light); color: var(--white); }
.c3 { background: var(--ink); color: var(--white); }
.c4 { background: #ffe3e8; color: var(--crimson-deep); }

.cal-list { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid #ebe7e8; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.cal-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cal-list a { font-weight: 700; text-decoration: none; }
.cal-list a:hover { color: var(--crimson); text-decoration: underline; }
.cal-dot { width: 12px; height: 12px; border-radius: 3px; flex: none; align-self: center; }
.cal-when { font-size: var(--t-small); color: var(--ink-soft); }
.cal-none { margin-top: 18px; color: var(--ink-soft); }
.cal-none a { font-weight: 600; color: var(--ink); }

/* phones: the grid is too small to read, so the month's shows become the calendar */
@media (max-width: 760px) {
  .cal-bar { flex-wrap: wrap; }
  .cal-month { flex: 1 0 100%; }
  .cal-grid { display: none; }
  .cal-list { display: grid; gap: 14px; margin-top: 0; padding-top: 0; border-top: 0; }
  .cal-list li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 2px 12px; }
  .cal-list .cal-when { grid-column: 2; }
}
.cal.is-loading { opacity: .6; transition: opacity .15s; }
.cal-month:focus { outline: none; }
.cal-month:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.timeline h3 a, .space h3 a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--crimson); }
.timeline h3 a:hover, .space h3 a:hover { color: var(--crimson); }
