/* London Art Exchange: stand-alone Exhibitions page.
   The few rules this page needs on top of the site's own stylesheet (assets/site.css, unchanged). */

/* Pictures for the two tiles that have one.
   Awakening shows Blind Faith, a tall canvas in a wide tile: 20% keeps the blindfold, the scales and the hand in view. */
.im-awakening{background-image:url(images/blind-faith-mr-phantom-800.jpg);background-size:cover;background-position:center 20%;background-repeat:no-repeat}
/* Cancel This shows the Pick 'n' Mix wall, which is the same shape as the tile */
.im-cancel-this{background-image:url(images/todd-goldman-cancel-this-800.jpg);background-size:cover;background-position:center;background-repeat:no-repeat}
@media (min-width: 900px) and (min-resolution: 1.5dppx) {
  /* large, sharp screens get the full-size files; phones never load them */
  .im-awakening{background-image:url(images/blind-faith-mr-phantom.jpg)}
  .im-cancel-this{background-image:url(images/todd-goldman-cancel-this.jpg)}
}

/* A tile with no page of its own is not a link */
.ex-still{cursor:default}

/* Past exhibitions: a list by year. Used until each past show has its picture. */
.ex-archive{display:flex;flex-direction:column}
.ex-year{display:grid;grid-template-columns:150px minmax(0,1fr);gap:0 36px;padding:38px 0 14px;border-top:1px solid #191919}
/* the year is set like the day number in the diary below; a title like the titles on the site's exhibition tiles */
.ex-year-name{font-family:Poppins,Arial,sans-serif;letter-spacing:-.03em;font-weight:600;font-size:36px;line-height:.9}
.ex-row{display:flex;justify-content:space-between;align-items:baseline;gap:6px 36px;padding:20px 0;border-bottom:1px solid #dcdde0}
.ex-row:first-child{padding-top:2px}
.ex-row:last-child{border-bottom:0}
.ex-row-title{font-family:Poppins,Arial,sans-serif;letter-spacing:-.02em;font-weight:600;font-size:20px;line-height:1.25}
.ex-row-dates{flex:0 0 auto;font-size:13px;color:#5c5d61;text-align:right}

@media (max-width: 900px) {
  /* the site's own rule for this button still looks for the old ".html" address */
  header > div:nth-child(2) > a.enquire-btn{margin-left:auto;padding:12px 12px !important;letter-spacing:.12em !important}
}
@media (max-width: 720px) {
  /* the same side margin as the rest of the page (the site's pattern rule misses "0 40px") */
  section[style*="padding: 0 40px"]{padding-left:20px !important;padding-right:20px !important}
  .ex-also{grid-template-columns:minmax(0,1fr) !important}
  /* diary: date, wording and button one under the other */
  .ex-diary-row{grid-template-columns:minmax(0,1fr) !important;gap:14px !important;padding:26px 0 !important}
  .ex-diary-row > a{justify-self:start}
  .ex-year{grid-template-columns:minmax(0,1fr);padding:28px 0 8px}
  .ex-year-name{font-size:30px;margin-bottom:18px}
  .ex-row{flex-direction:column;gap:4px;padding:16px 0}
  .ex-row-title{font-size:18px}
  .ex-row-dates{text-align:left}
}
