/* Shared by the slug-based page and the legacy assigned page template. */
/* Artwork and fade only: logo, navigation and header dimensions use theme rules. */
body.page-exhibition #main-header {
    background-image: linear-gradient(to bottom, #005176 0, rgba(0, 81, 118, .94) 95px, rgba(0, 81, 118, .55) 160px, rgba(0, 81, 118, 0) 290px), url('../images/exhibition/hero-collage.jpg') !important;
    background-size: cover;
    background-position: center top !important;
    background-attachment: fixed !important;
}

@media (hover: none) {
    body.page-exhibition #main-header {
        background-attachment: initial !important;
    }
}

.exhibition-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    margin-top: 10px;
}
.exhibition-sidebar h1 { color: #db6962; font-size: 26px; line-height: 1.3; text-transform: uppercase; }
.exhibition-network { display: block; width: 100%; height: auto; margin-top: 50px; opacity: .65; }
.exhibition-content { max-width: 900px; color: #005474; }
.exhibition-content h2 { font-size: 23px; line-height: 1.35; color: #005474; text-transform: uppercase; }
.exhibition-entrance { display: block; width: min(100%, 480px); margin: 40px auto; color: #005474; font-weight: 600; text-align: center; }
.exhibition-entrance__image { position: relative; display: block; margin-top: 20px; border: 4px solid #e1e2e2; box-shadow: 0 2px 8px #0002; overflow: hidden; }
.exhibition-entrance img { display: block; width: 100%; height: auto; aspect-ratio: 1108 / 594; object-fit: contain; }
.exhibition-entrance__play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 0; height: 0; border-top: 30px solid transparent; border-bottom: 30px solid transparent; border-left: 48px solid #f58220; filter: drop-shadow(0 1px 2px #0006); }
.exhibition-entrance:hover .exhibition-entrance__play { border-left-color: #e66b0b; }
.exhibition-copy { font-size: 18px; line-height: 1.6; }
.exhibition-copy p { margin: 0 0 24px; }
.exhibition-downloads { margin-top: 36px; padding: 24px; background: #f3f1f1; }
.exhibition-download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.exhibition-download { display: flex; flex-direction: column; gap: 14px; color: #005474; }
.exhibition-download img { width: 100%; height: 250px; object-fit: contain; }
.exhibition-download__format { display: block; font-size: 14px; margin-top: 4px; }
.exhibition-landing a:focus-visible { outline: 3px solid #005474; outline-offset: 5px; }
@media (max-width: 768px) {
    .exhibition-layout { grid-template-columns: 1fr; gap: 18px; }
    .exhibition-network { display: none; }
    .exhibition-entrance { margin: 28px auto; }
    .exhibition-downloads { padding: 20px; }
    .exhibition-copy { font-size: 17px; }
}

/* Opening photographs, below the existing landing-page content. */
.exhibition-opening { margin-top: 40px; }
.exhibition-opening-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.exhibition-opening-grid a { display: block; }
.exhibition-opening-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 768px) {
    .exhibition-opening-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 420px) {
    .exhibition-opening-grid { grid-template-columns: 1fr; }
}
