:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5c6066;
  --rule: #dcdfe2;
  --blue: #154fca;
  --artopia-green: #6f783f;
  --artopia-red: #8f2f35;
}
@font-face {
  font-family: 'ABC Areal';
  src: url('https://art-opia.com/fonts/abc-areal-superfamily-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'ABC Areal';
  src: url('https://art-opia.com/fonts/abc-areal-superfamily-variable.woff2') format('woff2');
  font-style: oblique -12deg 0deg;
  font-weight: 400 700;
  font-display: swap;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'ABC Areal', Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.5; }
a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #a8bde8; }
a:hover { color: #002f93; text-decoration-color: currentColor; }
a:focus-visible, summary:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.masthead, main, footer { margin-inline: 32px; }
.masthead { padding-top: 25px; border-bottom: 2px solid var(--ink); }
.edition { display: flex; justify-content: space-between; font-size: .875rem; color: var(--muted); }
.title-line { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 0 17px; text-align: center; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.4rem, 4.2vw, 4.4rem); font-weight: 400; line-height: 1.05; letter-spacing: -.045em; margin: 0; }
.title-period { color: var(--blue); }
.week { font-size: 1.375rem; line-height: 1.35; margin: 0; white-space: nowrap; }
.site-title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.4rem, 4.2vw, 4.4rem); font-weight: 400; line-height: 1.05; letter-spacing: -.045em; margin: 0; }
.site-title a { color: inherit; text-decoration: none; }
.site-nav { display: flex; justify-content: center; gap: 28px; }
.site-nav a { display: block; padding: 10px 0 12px; border-bottom: 3px solid transparent; color: var(--muted); text-decoration: none; font-size: .9375rem; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.page-heading { padding-top: 15px; }
.page-heading h1 { font-family: 'ABC Areal', Arial, Helvetica, sans-serif; font-size: 1.125rem; font-weight: 500; line-height: 1.4; letter-spacing: normal; }
.page-heading p { margin: 9px 0 0; color: var(--muted); font-size: .875rem; }
.page-intro { max-width: 850px; margin: 16px 0 24px; font-size: .9375rem; }
.venue-location-column { width: 56%; }
.venue-table { border-top: 1px solid var(--rule); }
.venue-table thead th, .venue-table tbody th, .venue-table tbody td { padding: 16px 12px; }
.venue-table h2 { font-size: .9375rem; font-weight: 500; margin: 0; }
.venue-table .venue-address { font-size: .875rem; }
.venue-entry { display: flex; gap: 18px; align-items: flex-start; }
.venue-photo { display: flex; width: 120px; height: 80px; flex: 0 0 120px; align-items: flex-start; justify-content: center; }
.venue-photo img { display: block; max-width: 120px; max-height: 80px; width: auto; height: auto; object-fit: contain; border-radius: 0; }
.venue-copy { min-width: 0; }
.image-credits { margin-top: 20px; font-size: .8125rem; }
.image-credits ul { padding-left: 18px; }
.image-credits li + li { margin-top: 5px; }
.venue-programme { list-style: none; padding: 0; margin: 0; }
.venue-programme li + li { margin-top: 10px; }
.venue-event-type { display: inline-block; margin-left: 10px; color: var(--muted); font-size: .8125rem; }
.event-row[id] { scroll-margin-top: 20px; }
.event-row:target > * { background: #f5f6f7; }
.guide-sections { max-width: 1040px; border-top: 1px solid var(--rule); }
.guide-sections section { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 22px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.guide-sections h2 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.guide-sections p { margin: 0 0 12px; }
.guide-sections p:last-child { margin-bottom: 0; }
.source-link { font-size: .8125rem; }
.dot-key { list-style: none; padding: 0; margin: 14px 0; }
.dot-key li { display: flex; align-items: center; gap: 10px; margin: 7px 0; }
.dot-key .day-marker { flex: 0 0 12px; }
.table-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 15px 0 13px; font-size: .875rem; color: var(--muted); }
.table-intro h2 { margin: 0; color: var(--ink); font-size: 1.125rem; font-weight: 500; line-height: 1.4; }
.table-intro p { margin: 0; }
.overview-intro { margin: 20px 0 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.public-date-summary { margin: 7px 0 0; font-size: .8125rem; line-height: 1.4; color: var(--ink); }
.public-date-note { margin: 2px 0 0; font-size: .75rem; line-height: 1.4; color: var(--muted); }
.table-scroll { border-top: 1px solid var(--rule); }
table { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: 100%; font-size: .9375rem; line-height: 1.4; }
.col-type { width: 110px; }
.col-name { width: auto; }
.col-dates { width: 23%; }
.col-venue { width: 26%; }
.col-information { width: 7%; }
thead th { text-align: left; padding: 11px 6px; font-weight: 500; font-size: .875rem; background: #f5f6f7; border-bottom: 1px solid var(--rule); }
tbody td, tbody th { text-align: left; vertical-align: top; padding: 12px 6px; border-bottom: 1px solid var(--rule); overflow-wrap: break-word; font-weight: 400; }
thead th:nth-child(2), tbody .name { padding-right: 40px; }
thead th:nth-child(3), tbody .venue { padding-left: 14px; }
.cell-content { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.4; }
th:first-child, td:first-child { padding-left: 6px; padding-right: 6px; }
tbody tr.type-start:not(:first-child) > * { border-top: 2px solid var(--ink); }
tbody tr.venue-start > * { border-top: 1px solid #bfc3c9; }
tbody .name { font-size: .9375rem; }
tbody .name h2 { margin: 0; font-size: inherit; line-height: inherit; font-weight: 600; }
.event-entry { display: flex; align-items: flex-start; gap: 9px; }
.event-copy { flex: 1; min-width: 0; }
.mobile-event-type { display: none; }
.event-thumbnail { position: relative; display: flex; flex: 0 0 66px; width: 66px; height: 44px; align-items: flex-start; justify-content: center; color: #a1a7af; }
.event-thumbnail svg { width: 44px; height: 44px; padding: 9px; border: 1px solid #e2e4e7; border-radius: 0; background: #f3f4f5; }
.event-thumbnail:has(img) svg { display: none; }
.event-thumbnail img { display: block; width: auto; height: auto; max-width: 66px; max-height: 44px; object-fit: contain; border-radius: 0; background: #fff; }
.event-title { display: flex; align-items: flex-start; gap: 6px; }
.event-title > .cell-content { flex: 0 1 auto; min-width: 0; }
.event-description { margin: 3px 0 0; font-size: .875rem; font-weight: 400; line-height: 1.3; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.exhibition-description { -webkit-line-clamp: 2; }
.event-site-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; padding: 2px; border-radius: 3px; color: var(--muted); text-decoration: none; }
.event-site-link:hover { color: var(--blue); background: #f0f4fc; }
.site-favicon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; flex: none; background: #eef0f3; border-radius: 2px; overflow: hidden; }
.favicon-fallback { font-size: .75rem; font-weight: 600; color: #545b66; line-height: 1; }
.site-favicon img { position: absolute; inset: 0; width: 14px; height: 14px; background: #fff; object-fit: contain; }
.new-tab-icon { display: block; width: 16px; height: 16px; }
.venue-category { margin: 3px 0 0; font-size: .875rem; font-weight: 400; line-height: 1.3; color: var(--muted); }
.venue-address { margin: 3px 0 0; font-size: .8125rem; line-height: 1.3; color: var(--muted); }
.venue-address a { color: inherit; text-decoration-color: #c7cbd1; }
.venue-address a:hover { color: var(--blue); }
.type-label { display: inline-flex; align-items: center; white-space: nowrap; border: 1px solid transparent; border-radius: 999px; padding: 3px 8px; font-size: .8125rem; line-height: 1.3; font-weight: 500; color: #fff; background: #454b55; }
.badge-art-fair, .badge-design-fair, .badge-gallery-night, .badge-auction-week { background: #151515; }
.badge-event { background: #8a4d0b; }
.badge-exhibition { background: #596526; }
.badge-public-art { background: #2456a6; }
.opening-badge { display: inline-block; margin-top: 5px; padding: 2px 7px; border: 1px solid #e8b66e; border-radius: 3px; background: #fff0db; color: #8a4d0b; font-size: .6875rem; line-height: 1.4; font-weight: 500; }
.event-time { margin: 9px 0 0; font-size: .8125rem; line-height: 1.3; }
.event-access { margin: 3px 0 0; font-size: .75rem; line-height: 1.3; color: #8a4d0b; }
.dates strong { font-weight: 600; }
.week-days { display: grid; grid-template-columns: repeat(7, 22px); gap: 5px; }
.day-marker { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.weekday-label { font-size: .6875rem; line-height: 1; color: var(--muted); font-weight: 400; }
.day-dot { width: 9px; height: 9px; border-radius: 50%; background: #e4e6e9; border: 1px solid #d1d5db; }
.day-marker.is-active .day-dot { background: #000; border-color: #000; }
.day-marker.is-preview .day-dot { background: linear-gradient(90deg, #000 0 50%, #fff 50% 100%); border-color: #000; }
.exhibition-range { margin: 9px 0 0; font-size: .8125rem; line-height: 1.3; color: var(--muted); }
.venue a, .venue strong { font-weight: 400; }
summary { cursor: pointer; color: var(--blue); font-size: .875rem; text-decoration: underline; text-decoration-color: #a8bde8; text-underline-offset: 3px; }
summary::marker { font-size: .7rem; }
.information details { position: relative; }
.visitor-copy { position: absolute; top: 100%; right: 0; z-index: 3; width: 360px; max-width: calc(100vw - 40px); margin-top: 8px; padding: 14px; border: 1px solid var(--rule); border-radius: 5px; background: #fff; box-shadow: 0 6px 22px #15151515; font-size: .875rem; line-height: 1.5; }
.opening-schedule { margin: 0 0 10px; }
.programme-section { margin: 0 0 10px; }
.visitor-copy { max-height: min(600px, 70vh); overflow-y: auto; }
footer { display: flex; justify-content: space-between; gap: 40px; padding: 25px 0 32px; color: var(--muted); font-size: .8125rem; }
footer p { margin: 0; }
footer p:first-child { max-width: 780px; }
footer p:last-child { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 12px; background: #fff; z-index: 5; }
.skip-link:focus { top: 12px; }
@media (max-width: 900px) {
  .masthead, main, footer { margin-inline: 20px; }
  .masthead { padding-top: 20px; }
  .title-line { display: block; padding-top: 23px; }
  h1, .site-title { font-size: clamp(2.65rem, 8vw, 4rem); }
  .week { font-size: 1.125rem; margin-top: 13px; }
  .table-intro { display: block; padding-block: 15px; }
  .table-intro h2 + p { margin-top: 4px; }
  .table-intro p + p { margin-top: 3px; font-size: .8125rem; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-right: -20px; }
  table { width: 1100px; }
  .overview-table { width: calc(clamp(240px, calc(100vw - 100px), 320px) + 540px); }
  .overview-table .col-name { width: clamp(240px, calc(100vw - 100px), 320px); }
  .overview-table .col-venue { width: 240px; }
  .overview-table .col-dates { width: 220px; }
  .overview-table .col-information { width: 80px; }
  .overview-table thead th:nth-child(2), .overview-table tbody .name { padding-right: 12px; }
  .overview-table thead th:nth-child(3), .overview-table tbody .venue { padding-left: 8px; }
  .overview-table .event-entry { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 8px; }
  .overview-table .event-copy { display: contents; }
  .overview-table .event-thumbnail { grid-column: 1; grid-row: 1; align-self: center; }
  .overview-table .event-title, .overview-table .event-description { grid-column: 1 / -1; }
  .overview-table .event-description { margin-top: 0; }
  .overview-table .event-thumbnail { flex: 0 0 auto; width: 44px; height: auto; }
  .overview-table .event-thumbnail img { max-width: 44px; max-height: 30px; }
  .overview-table .event-thumbnail svg { width: 30px; height: 30px; padding: 5px; }
  .overview-table .col-type, .overview-table thead th:first-child, .overview-table td.type { display: none; }
  .mobile-event-type { display: flex; align-items: center; grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .overview-table .opening-badge { grid-column: 1 / -1; justify-self: start; white-space: nowrap; margin-top: 0; }
  .site-nav { gap: 24px; }
  .site-nav a { font-size: .875rem; }
  .venue-table { width: 100%; }
  .guide-sections section { grid-template-columns: 1fr; gap: 12px; }
  footer { display: block; padding-block: 20px 30px; }
  footer p:last-child { margin-top: 12px; }
}
@media (max-width: 600px) {
  .venue-table, .venue-table tbody, .venue-table tr, .venue-table th, .venue-table td { display: block; width: 100%; }
  .venue-table colgroup, .venue-table thead { display: none; }
  .venue-table tbody th { border-bottom: 0; padding: 16px 0 10px; }
  .venue-table tbody td { padding: 0 0 16px; }
  .venue-event-type { display: block; margin: 3px 0 0; }
  .venue-entry { gap: 14px; }
  .venue-photo { width: 96px; height: 64px; flex-basis: 96px; }
  .venue-photo img { max-width: 96px; max-height: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
