/* Exhibition pages (/exhibitions/...). Loaded only there. Colours are the site palette:
   ink #1c1a18, text #333232, gold #b99b5f / #c8ab68, cream #ece8e1, grey #f6f6f6, muted #6d6a66.
   Gold as small text uses the darker #7a6438 so it stays readable on white.
   styles.css forces Montserrat on * with !important, so the serif needs !important too.
   Photos are never cropped by CSS: width 100%, height auto. */

.xi h1, .xi h2, .xi h2 a, .xv h1, .xv h2, .xh h1, .xh h2, .xt h1,
.xi-year, .xh-num, .xv-quote p, .xh-quote p, .xh-years span {
  font-family: "Cormorant Garamond", Georgia, serif !important;
}
.xi img, .xv img, .xh img, .xt img { display: block; width: 100%; height: auto; }
.xi figure, .xv figure, .xh figure, .xt figure { margin: 0; }
.xi a, .xv a, .xh a, .xt a { color: #1c1a18; text-decoration: underline; text-decoration-color: #b99b5f; text-underline-offset: 3px; }
.xi a:hover, .xv a:hover, .xh a:hover, .xt a:hover { color: #7a6438; }
.xv figcaption, .xh figcaption, .xt figcaption { font-size: 14px; color: #6d6a66; margin-top: 8px; line-height: 1.5; }

/* /exhibitions/ : a dated line, year numerals in the margin */
.xi { max-width: 1180px; margin: 0 auto; padding: 0 20px 60px; }
.xi-head { max-width: 760px; margin: 18px 0 44px; }
.xi-head h1 { font-size: 48px; line-height: 1.1; color: #1c1a18; margin: 0 0 18px; font-weight: 600; }
.xi-head p { font-size: 18px; line-height: 1.75; color: #333232; margin: 0; }
.xi-line { list-style: none; margin: 0; padding: 0; border-left: 1px solid #c8ab68; margin-left: 120px; }
.xi-item { position: relative; display: grid; grid-template-columns: 1fr 260px; gap: 28px; padding: 26px 0 26px 34px; border-bottom: 1px solid #ece8e1; }
.xi-item--text { grid-template-columns: 1fr; }
.xi-item::before { content: ""; position: absolute; left: -6px; top: 34px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid #b99b5f; }
.xi-year { position: absolute; left: -120px; top: 16px; width: 96px; text-align: right; margin: 0; font-size: 40px; font-weight: 600; color: #7a6438; line-height: 1; }
.xi-when { margin: 0 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6d6a66; }
.xi-now { display: inline-block; margin-left: 8px; padding: 2px 8px; background: #1c1a18; color: #fff; letter-spacing: .06em; font-size: 11px; vertical-align: 1px; }
.xi-entry h2 { font-size: 30px; line-height: 1.15; margin: 0 0 10px; font-weight: 600; }
.xi-entry h2 a { text-decoration: none; }
.xi-entry h2 a:hover { text-decoration: underline; text-decoration-color: #b99b5f; }
.xi-note { margin: 0; font-size: 16px; line-height: 1.7; color: #333232; max-width: 560px; }
.xi-thumb { display: block; align-self: start; background: #f6f6f6; box-shadow: 0 1px 2px rgba(28, 26, 24, .08), 0 8px 22px rgba(28, 26, 24, .08); }
.xi-studio { margin: 50px 0 0 154px; max-width: 640px; padding: 26px 30px; background: #f6f6f6; border-top: 2px solid #b99b5f; }
.xi-studio h2 { font-size: 28px; margin: 0 0 10px; font-weight: 600; }
.xi-studio p { margin: 0; font-size: 16px; line-height: 1.7; }

@media (max-width: 900px) {
  .xi-head h1 { font-size: 36px; }
  .xi-line { margin-left: 8px; }
  .xi-item { grid-template-columns: 1fr; gap: 16px; padding-left: 26px; }
  .xi-year { position: static; width: auto; text-align: left; font-size: 34px; margin: 0 0 4px; }
  .xi-year:empty { display: none; }
  .xi-thumb { max-width: 420px; }
  .xi-studio { margin-left: 0; padding: 22px 20px; }
}

/* Vivid Passion: photo first, a white card laid over its lower edge */
.xv { padding-bottom: 60px; }
.xv-hero { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.xv .xv-hero-photo { max-width: 1000px; margin: 10px auto 0; }
.xv-hero-card { position: relative; max-width: 760px; margin: -60px auto 0; background: #fff; padding: 34px 40px 30px; box-shadow: 0 10px 40px rgba(28, 26, 24, .12); border-top: 3px solid #b99b5f; }
.xv-kicker { margin: 0 0 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #7a6438; }
.xv-hero-card h1 { font-size: 46px; line-height: 1.08; margin: 0 0 14px; color: #1c1a18; font-weight: 600; }
.xv-lede { margin: 0; font-size: 18px; line-height: 1.7; color: #333232; }
.xv-onview { max-width: 760px; margin: 26px auto 0; padding: 18px 24px; background: #1c1a18; color: #fff; }
.xv .xv-onview-title { margin: 0 0 6px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #c8ab68; }
.xv .xv-onview ul { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 17px; }
.xv-onview li strong { font-weight: 600; }
.xv .xv-onview-where { margin: 0; font-size: 14px; line-height: 1.6; color: #ece8e1; }
.xv-facts { max-width: 1000px; margin: 40px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.xv-facts div { padding: 14px 18px 4px 0; border-top: 1px solid #c8ab68; margin-right: 18px; }
.xv-facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #7a6438; margin: 0 0 6px; }
.xv-facts dd { margin: 0; font-size: 15px; line-height: 1.55; color: #333232; }
.xv-wall { max-width: 1180px; margin: 60px auto 0; padding: 0 20px; display: grid; grid-template-columns: 5fr 7fr; gap: 44px; align-items: start; }
.xv h2 { font-size: 34px; line-height: 1.15; margin: 0 0 16px; color: #1c1a18; font-weight: 600; }
.xv p { font-size: 17px; line-height: 1.75; color: #333232; }
.xv-wall-text p { margin: 0 0 16px; }
.xv-opening { max-width: 1180px; margin: 64px auto 0; padding: 48px 20px 10px; background: linear-gradient(#f6f6f6, #f6f6f6) no-repeat center top / 100% 260px; }
.xv-opening > h2, .xv-opening-intro { max-width: 760px; margin-left: auto; margin-right: auto; }
.xv-opening-intro { margin-top: 0; margin-bottom: 30px; }
.xv-mosaic { column-count: 3; column-gap: 18px; }
.xv .xv-mosaic figure { break-inside: avoid; margin: 0 0 22px; background: #fff; padding: 8px 8px 10px; box-shadow: 0 1px 3px rgba(28, 26, 24, .1); }
.xv-mosaic figcaption { margin: 8px 2px 0; }
.xv-quote { max-width: 700px; margin: 30px auto 0; padding: 0 0 0 26px; border-left: 3px solid #b99b5f; }
.xv-quote p { font-size: 28px !important; line-height: 1.35 !important; font-style: italic; color: #1c1a18 !important; margin: 0 0 8px; }
.xv-quote cite { font-style: normal; font-size: 14px; color: #6d6a66; }
.xv-before { max-width: 760px; margin: 60px auto 0; padding: 0 20px; }
.xv-before p { margin: 0 0 14px; }
.xv-works { max-width: 1180px; margin: 50px auto 0; padding: 0 20px; }
.xv-works .related-grid { grid-template-columns: repeat(3, 1fr); }
.xv-next { max-width: 760px; margin: 40px auto 0; padding: 22px 20px 0; border-top: 1px solid #ece8e1; }
.xv-next p { margin: 0; }

@media (max-width: 900px) {
  .xv-hero { padding: 0; }
  .xv-hero-card { margin: -16px 16px 0; padding: 24px 20px 22px; }
  .xv-hero-card h1 { font-size: 34px; }
  .xv-onview { margin: 20px 16px 0; padding: 16px 18px; }
  .xv-facts { grid-template-columns: 1fr 1fr; padding: 0 16px; }
  .xv-wall { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; margin-top: 44px; }
  .xv-opening { padding: 36px 16px 0; }
  .xv-mosaic { column-count: 2; column-gap: 12px; }
  .xv h2 { font-size: 28px; }
  .xv-quote p { font-size: 23px !important; }
  .xv-before, .xv-works, .xv-next { padding-left: 16px; padding-right: 16px; }
  .xv-works .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .xv-facts { grid-template-columns: 1fr; }
  .xv-facts div { margin-right: 0; }
  .xv-mosaic { column-count: 1; }
  .xv-works .related-grid { grid-template-columns: 1fr; }
}

/* Heintzman House: a house note beside the title, then one band per year */
.xh { max-width: 1180px; margin: 0 auto; padding: 0 20px 60px; }
.xh-head { display: grid; grid-template-columns: 7fr 4fr; gap: 40px; align-items: end; margin: 20px 0 30px; }
.xh-years { display: flex; gap: 14px; margin: 0 0 10px; }
.xh-years span { font-size: 22px; color: #7a6438; font-weight: 600; }
.xh-years span + span::before { content: "\00b7"; margin-right: 14px; color: #c8ab68; }
.xh-head h1 { font-size: 50px; line-height: 1.05; margin: 0 0 16px; color: #1c1a18; font-weight: 600; }
.xh-lede { margin: 0; font-size: 18px; line-height: 1.75; color: #333232; }
.xh-house { background: #ece8e1; padding: 24px 26px; }
.xh-house h2 { font-size: 24px; margin: 0 0 8px; font-weight: 600; }
.xh-house p { margin: 0; font-size: 15px; line-height: 1.7; color: #333232; }
.xh-jump { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; margin: 0 0 10px; background: #fff; border-bottom: 1px solid #ece8e1; }
.xh-jump a { padding: 8px 16px; border: 1px solid #c8ab68; text-decoration: none; font-size: 14px; letter-spacing: .04em; }
.xh-jump a:hover { background: #1c1a18; color: #fff; }
.xh-year { padding: 46px 0; border-bottom: 1px solid #ece8e1; scroll-margin-top: 110px; }
.xh-year-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-bottom: 22px; }
.xh-year-head h2 { margin: 0; font-size: 30px; font-weight: 600; color: #1c1a18; }
.xh-num { font-size: 60px; color: #7a6438; margin-right: 12px; vertical-align: -6px; }
.xh-hours { margin: 0; font-size: 14px; color: #6d6a66; letter-spacing: .03em; }
.xh-year-body { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: start; }
.xh-year--flip .xh-year-body { grid-template-columns: 6fr 5fr; }
.xh-year-text p { font-size: 17px; line-height: 1.75; color: #333232; margin: 0 0 16px; }
.xh-source { font-size: 14px !important; color: #6d6a66 !important; }
.xh-stills { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.xh-still-main { grid-column: 1 / -1; }
.xh-photo { background: #f6f6f6; padding: 10px; }
.xh-quote { margin: 0 0 18px; padding: 16px 22px; background: #f6f6f6; border-left: 3px solid #b99b5f; }
.xh-quote p { margin: 0 !important; font-size: 22px !important; line-height: 1.4 !important; font-style: italic; color: #1c1a18 !important; }
.xh .xh-poster { max-width: 240px; margin-top: 10px; }
.xh-poster img { box-shadow: 0 1px 3px rgba(28, 26, 24, .15); }
.xh-works { margin-top: 50px; }
.xh-works h2 { font-size: 34px; margin: 0 0 18px; font-weight: 600; }
.xh-next { max-width: 760px; margin-top: 36px; padding-top: 22px; border-top: 1px solid #ece8e1; }
.xh-next p { font-size: 17px; line-height: 1.75; margin: 0; }

@media (max-width: 900px) {
  .xh { padding: 0 16px 50px; }
  .xh-head { grid-template-columns: 1fr; gap: 22px; }
  .xh-head h1 { font-size: 36px; }
  .xh-year-body, .xh-year--flip .xh-year-body { grid-template-columns: 1fr; gap: 22px; }
  .xh-year--flip .xh-photo { order: -1; }
  .xh-num { font-size: 46px; }
  .xh-year-head h2 { font-size: 25px; }
  .xh-jump a { padding: 8px 10px; font-size: 13px; }
}

/* Toronto Botanical Garden 2022: one centred card, like a postcard from the market */
.xt { max-width: 1180px; margin: 0 auto; padding: 0 20px 60px; }
.xt-card { max-width: 860px; margin: 20px auto 0; background: #fff; border: 1px solid #ece8e1; padding: 40px 48px 34px; box-shadow: 0 12px 36px rgba(28, 26, 24, .07); }
.xt-head { text-align: center; margin-bottom: 26px; }
.xt-date { margin: 0 0 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #7a6438; }
.xt-head h1 { font-size: 44px; line-height: 1.1; margin: 0 0 8px; color: #1c1a18; font-weight: 600; }
.xt-where { margin: 0; font-size: 15px; color: #6d6a66; }
.xt .xt-wide { margin: 0 -48px 26px; }
.xt-wide figcaption { padding: 0 48px; }
.xt-text { max-width: 640px; margin: 0 auto; }
.xt-text p { font-size: 17px; line-height: 1.8; color: #333232; margin: 0 0 16px; }
.xt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; margin: 18px 0 26px; }
.xt-back { max-width: 860px; margin: 22px auto 0; font-size: 15px; }

@media (max-width: 900px) {
  .xt { padding: 0 12px 50px; }
  .xt-card { padding: 28px 18px 24px; }
  .xt-head h1 { font-size: 32px; }
  .xt .xt-wide { margin: 0 -18px 22px; }
  .xt-wide figcaption { padding: 0 18px; }
}
@media (max-width: 520px) {
  .xt-pair { grid-template-columns: 1fr; }
}
