.exhibition-details {
  --exhibition-blue: #2b20e9;
  color: #191735;
  padding: 1.5rem 0;
}

.exhibition-details h1,
.exhibition-details h2,
.exhibition-details h3,
.exhibition-details a {
  color: var(--exhibition-blue);
}

.exhibition-details .gform_button {
  background: var(--exhibition-blue);
  border-color: var(--exhibition-blue);
  color: white;
}


.exhibition-poster-page,
.pum-overlay:has(.exhibition-popup-content),
#popmake-3453 {
  --poster-blue: #2b20e9;
  --poster-paper: #fcfcfc;
  --poster-font: Arial, Helvetica, sans-serif;
}

.exhibition-poster-page {
  --poster-gutter: 2%;
  margin: 0;
  background: var(--poster-paper);
}

.exhibition-poster {
  position: relative;
  container-type: inline-size;
  color: var(--poster-blue);
  font-family: var(--poster-font);
  font-weight: 700;
  text-transform: uppercase;
}

.exhibition-poster picture,
.exhibition-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.exhibition-poster__masks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.exhibition-poster__masks span {
  position: absolute;
  background: var(--poster-paper);
  left: var(--left);
  top: var(--top);
  width: var(--width);
  height: var(--height);
}

.poster-mask-date { --left: 1.8%; --top: 2.9%; --width: 13%; --height: 2.5%; }
.poster-mask-title { --left: 1.6%; --top: 13.7%; --width: 55%; --height: 7.7%; }
.poster-mask-show { --left: 1.6%; --top: 21.5%; --width: 32.1%; --height: 7.8%; }
.poster-mask-call { --left: 1.7%; --top: 29.7%; --width: 32%; --height: 13.3%; }
.poster-mask-venue { --left: 1.8%; --top: 50.3%; --width: 14.2%; --height: 6.4%; }
.poster-mask-enter { --left: 2.1%; --top: 90.5%; --width: 14.8%; --height: 6.1%; }
.poster-mask-info { --left: 19.85%; --top: 90.5%; --width: 13.65%; --height: 6.1%; }

.exhibition-poster :is(h1, p, a) {
  position: absolute;
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  text-transform: inherit;
}

.exhibition-poster__date,
.exhibition-poster__venue {
  left: var(--poster-gutter);
  font-size: 1.42cqw;
  line-height: .95;
  letter-spacing: -.035em;
}

.exhibition-poster__date { top: 3.2%; }
.exhibition-poster__venue { top: 50.4%; }

.exhibition-poster .exhibition-poster__title {
  top: 13.1%;
  left: 1.7%;
  font-size: 6.12cqw;
  line-height: .8;
  letter-spacing: -.052em;
}

.exhibition-poster__title span,
.exhibition-poster__call span {
  display: block;
}

.exhibition-poster__call {
  top: 29.8%;
  left: 1.8%;
  font-size: 3.26cqw;
  line-height: .79;
  letter-spacing: -.055em;
}

.exhibition-poster__call span:nth-child(odd) {
  margin-left: 2.9cqw;
}

.exhibition-poster__call b {
  display: inline-block;
  font-weight: inherit;
}

.exhibition-poster__call b::first-letter {
  font-style: normal;
  font-family: "nautica", Georgia, serif;
  font-weight: 400;
}

.exhibition-poster .exhibition-poster__button {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  bottom: 3.6%;
  min-height: 44px;
  height: 5.8%;
  border: max(2px, .18cqw) solid var(--poster-blue);
  background: var(--poster-paper);
  font-size: 2.14cqw;
  line-height: 1;
  letter-spacing: -.04em;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.exhibition-poster .exhibition-poster__entry,
.exhibition-poster .exhibition-poster__info:hover {
  background: var(--poster-blue);
  color: white;
}

.exhibition-poster .exhibition-poster__entry:hover {
  background: #181197;
  border-color: #181197;
  color: white;
}

.exhibition-poster__button:focus-visible {
  outline: 3px solid #17109b;
  outline-offset: 3px;
}

.exhibition-poster__entry { left: 2.2%; width: 14.6%; }
.exhibition-poster__info { left: 20%; width: 13.35%; }

.exhibition-footer-divider {
  height: 8px;
  border-block: 2px solid var(--poster-blue);
  background: repeating-linear-gradient(90deg, transparent 0 5px, var(--poster-blue) 5px 7px);
}

@media (prefers-reduced-motion: reduce) {
  .exhibition-poster .exhibition-poster__button { transition: none; }
}

.exhibition-poster-page > .exhibition-menu-toggle { display: none; }

@media (max-width: 767px) {
  .exhibition-poster-page {
    --poster-gutter: 3.9%;
    --poster-heading-top: clamp(2.25rem, 6svh, 3rem);
    --poster-menu-width: 44px;
  }

  .exhibition-poster-page > .content-info {
    margin-top: 0;
  }

  .exhibition-poster-page.home > .taptap-menu-button-wrapper {
    display: none;
  }

  .exhibition-poster-page > .exhibition-menu-toggle {
    display: flex;
    position: fixed;
    z-index: 1000000;
    top: var(--poster-heading-top);
    right: var(--poster-gutter);
    width: var(--poster-menu-width);
    height: 44px;
    padding: 0 7px;
    background: white;
  }

  .exhibition-poster {
    box-sizing: border-box;
    min-height: 21rem;
    min-height: max(21rem, 100svh);
    padding: var(--poster-heading-top) var(--poster-gutter) 4.25rem;
    isolation: isolate;
  }

  .exhibition-poster picture {
    position: absolute;
    inset: 0;
    z-index: -1;
  }

  .exhibition-poster img {
    height: 100%;
    object-fit: cover;
  }

  .exhibition-poster__masks { display: none; }

  .exhibition-poster__date,
  .exhibition-poster__venue {
    font-size: clamp(12px, 3.6cqw, 19px);
  }

  .exhibition-poster__date {
    top: .7rem;
    background: white;
  }

  .exhibition-poster .exhibition-poster__title,
  .exhibition-poster .exhibition-poster__call,
  .exhibition-poster .exhibition-poster__venue {
    position: relative;
    inset: auto;
  }

  .exhibition-poster .exhibition-poster__title {
    width: calc(100% - var(--poster-menu-width) - .5rem);
    font-size: clamp(27px, 10.4cqw, 66px);
    line-height: .94;
  }

  .exhibition-poster__title span,
  .exhibition-poster__call span,
  .exhibition-poster__venue span {
    width: fit-content;
    background: white;
  }

  .exhibition-poster__title .exhibition-poster__title-first {
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .exhibition-poster .exhibition-poster__call {
    margin-top: .35rem;
    font-size: clamp(17px, 6.2cqw, 36px);
    line-height: 1;
  }

  .exhibition-poster__call span:nth-child(odd) { margin-left: 4.1cqw; }

  .exhibition-poster .exhibition-poster__venue {
    margin-top: clamp(.65rem, 4svh, 2.5rem);
    line-height: 1.05;
  }

  .exhibition-poster__venue span {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .exhibition-poster .exhibition-poster__button {
    bottom: max(.55rem, env(safe-area-inset-bottom));
    width: calc(50% - var(--poster-gutter) - .25rem);
    height: auto;
    padding: .4rem .2rem;
    font-size: clamp(16px, 5.7cqw, 30px);
  }

  .exhibition-poster__entry { left: var(--poster-gutter); }
  .exhibition-poster__info { right: var(--poster-gutter); left: auto; }
}

.exhibition-poster-page > .banner > .container,
.exhibition-poster-page > .content-info > .container {
  max-width: none;
  padding-inline: var(--poster-gutter);
}

.exhibition-poster-page .content-info > .container {
  border-top: 0;
  margin-top: 0;
}

.pum-container:has(.exhibition-popup-content) {
  box-sizing: border-box;
  max-height: calc(100dvh - 20px);
  padding: 1rem;
  background: var(--poster-paper);
  border-top: 4px solid var(--poster-blue);
}

.pum-container:has(.exhibition-popup-content) .pum-title {
  padding-right: 4.5rem;
  color: var(--poster-blue);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
}

.pum-container:has(.exhibition-popup-content) .pum-content {
  max-height: calc(100dvh - 8rem);
  overflow-y: auto;
}

.pum-container:has(.exhibition-popup-content) .pum-close {
  min-height: 44px;
  background: var(--poster-blue);
  color: white;
}

.pum-container:has(.exhibition-popup-content) .pum-close:focus-visible {
  outline: 2px solid var(--poster-blue);
  outline-offset: 3px;
}

/* The archive uses its original Popup Maker trigger and content. */
#popmake-3453 {
  background: var(--poster-paper);
  border: 0;
  border-top: 4px solid var(--poster-blue);
  color: #191735;
  font-family: var(--poster-font);
}

#popmake-3453 .pum-title {
  padding-right: 3rem;
  color: var(--poster-blue);
  font-family: inherit;
  font-weight: 700;
}

#popmake-3453 .pum-content {
  border-color: var(--poster-blue);
  color: inherit;
  font-family: inherit;
}

#popmake-3453 .form-footer {
  width: auto;
}

#popmake-3453 .form-footer a {
  /* The legacy Classic Editor content sets its email link to white inline. */
  color: var(--poster-blue) !important;
  overflow-wrap: anywhere;
}

#popmake-3453 .pum-close {
  min-width: 44px;
  min-height: 44px;
  background: var(--poster-blue);
  color: white;
}

#popmake-3453 .pum-close:focus-visible {
  outline: 2px solid var(--poster-blue);
  outline-offset: 3px;
}

.pum-overlay:has(.exhibition-popup-content) {
  background-color: rgb(25 23 53 / 32%);
}

@media (min-width: 768px) {
  .exhibition-poster {
    max-width: 160svh;
    margin-inline: auto;
  }
}

.featured .exhibition-terms h2 {
  margin: 0 0 1rem;
  transform: none;
}

.exhibition-terms__body > ul:first-child {
  margin-top: 0;
}

@media (min-width: 768px) {
  .exhibition-terms {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .featured .exhibition-terms h2 {
    writing-mode: vertical-rl;
    margin: 0;
  }
}

/* End of Isolation entry form, both in the popup and on the entry page. */
#gform_wrapper_5 #gform_submit_button_5 {
  min-height: 52px;
  padding: .8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: .25rem;
  background: #301bea;
  color: #fff;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
}

#gform_wrapper_5 #gform_submit_button_5:hover:not([aria-busy="true"]) {
  background: #2210be;
}

#gform_wrapper_5 #gform_submit_button_5:focus-visible {
  outline: 2px solid #301bea;
  outline-offset: 3px;
}

#gform_wrapper_5 #gform_submit_button_5[aria-busy="true"] {
  cursor: progress;
}

#gform_wrapper_5 .gform_footer:has(#gform_submit_button_5[aria-busy="true"])::after {
  content: "Submitting…";
  display: block;
  margin-block-start: .5rem;
  font-weight: 700;
}

#gform_wrapper_5 .gform_validation_errors,
#gform_wrapper_5 .validation_error {
  padding: 1rem 1.125rem;
  border: 1px solid #c85460;
  border-inline-start-width: .3rem;
  border-radius: .25rem;
  background: #fff3f4;
  color: #781c29 !important;
  text-align: start;
  overflow-wrap: anywhere;
}

#gform_wrapper_5 .gform_validation_errors :is(h2, h3, a, .gform-icon),
#gform_wrapper_5 .gfield_validation_message,
#gform_wrapper_5 .validation_message {
  color: #781c29 !important;
}

#gform_wrapper_5 .gform_validation_errors :is(h2, h3) {
  margin: 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.5;
  text-align: start;
}

#gform_wrapper_5 .gfield_validation_message,
#gform_wrapper_5 .validation_message {
  background: #fff3f4;
  border-color: #c85460;
}

@media (max-width: 575px) {
  #gform_wrapper_5 #gform_submit_button_5 {
    width: 100%;
  }
}
