:root { --sticky-header-height: 144px; }
html { scroll-padding-top: calc(var(--sticky-header-height) + 20px); }
.site-header { position: sticky; top: 0; z-index: 100; }
.primary-nav--open { max-height: calc(100dvh - var(--sticky-header-height)); overflow-y: auto; }
.skip-link:focus { z-index: 200; }
[data-gallery-original] { display: none !important; }
.gallery-collage { position: relative; min-width: 0; min-height: 520px; padding: 30px; border-radius: 24px; background: linear-gradient(135deg,#e0e9ec,#d9e3d9); isolation: isolate; }
.gallery-print { margin: 0; padding: 10px 10px 0; background: white; box-shadow: 0 10px 25px #16342926; }
.gallery-print img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 0; background: #080b0c; }
.gallery-print figcaption { padding: 10px 2px; color: #18352d; font-size: 16px; line-height: 1.4; font-weight: 700; text-align: center; }
.gallery-collage .gallery-print { position: absolute; display: grid; grid-template-rows: minmax(0,1fr) auto; width: 57%; height: 300px; }
.gallery-collage .gallery-print:nth-child(1) { top: 25px; left: 20px; transform: rotate(-6deg); }
.gallery-collage .gallery-print:nth-child(2) { top: 180px; right: 20px; transform: rotate(6deg); }
.gallery-collage--alternate .gallery-print:nth-child(1) { transform: rotate(5deg); }
.gallery-collage--alternate .gallery-print:nth-child(2) { transform: rotate(-5deg); }
.gallery-year { position: absolute; bottom: 10px; left: 20px; margin: 0; color: #334b42; font-size: 14px; }
.gallery-collage .gallery-print:first-child { grid-template-rows: auto minmax(0,1fr); padding: 0 10px 10px; }
.gallery-collage .gallery-print:first-child figcaption { grid-row: 1; }
.gallery-collage .gallery-print:first-child img { grid-row: 2; }
.hero-gallery:has(.gallery-collage) { min-height: 520px; }
.hero-gallery:has(.gallery-collage)::before { display: none; }
.gallery-photo { max-width: 780px; margin: 28px auto; }
.gallery-photo img { width: 100%; height: auto; object-fit: contain; border: 10px solid white; box-shadow: var(--shadow); }
.gallery-photo figcaption { padding: 12px; font-size: 17px; color: #18352d; background: white; }
.winner-gallery { padding: 32px; background: #edf3f5; border-radius: 18px; margin-block: 28px; }
.winner-gallery button { min-width: 48px; min-height: 48px; margin: 8px; padding: 10px 18px; font: inherit; }
.winner-gallery figure { margin: 0; }
.winner-gallery img { width: 100%; max-height: 550px; object-fit: contain; }
@media(max-width:600px) { .gallery-collage { min-height: 470px; padding: 18px; } .gallery-collage .gallery-print { width: 68%; height: 265px; } .gallery-collage .gallery-print:nth-child(1) { left: 15px; top: 20px; } .gallery-collage .gallery-print:nth-child(2) { right: 15px; top: 165px; } .hero-gallery:has(.gallery-collage) { min-height: 470px; } .winner-gallery { padding: 20px; } }
@media print { .site-header { position: static; } }
.hero-gallery:has(.gallery-inset) { padding-bottom: 120px; }
.gallery-inset { position: absolute; left: 0; bottom: 0; width: 190px; margin: 0; padding: 8px; background: white; box-shadow: var(--shadow); border-radius: 100px 100px 10px 10px; }
.gallery-inset img { width: 174px; height: 174px; object-fit: contain; border-radius: 50%; background: #101416; }
.gallery-inset figcaption { font-size: 14px; font-weight: 700; color: #18352d; text-align: center; padding-top: 8px; }
.winner-gallery figcaption { color: #18352d; background: white; padding: 16px; font-weight: 700; }
.art-feature-grid .dalke-artwork { width: 100%; min-width: 0; margin: 0; }
.art-feature-grid .dalke-artwork img { height: auto; max-height: 550px; object-fit: contain; }
.classes-teaching-hero { width: 100%; min-width: 0; margin: 0; }
.classes-teaching-hero img { display: block; height: auto; object-fit: contain; }
