/* Complete per-section artwork collections; compensate for the established page zoom. */
body.lyra-site main .section-gallery-link{width:calc(100% - 2rem);max-width:3600px;margin:3rem auto;text-align:center;padding:1.5rem;border:1px solid #d8ba72;box-sizing:border-box}
body.lyra-site main .section-gallery-link a{display:block;font-size:calc(1.1rem / var(--lyra-page-scale,1));line-height:1.5;color:#f6dc91;padding:1rem}
body.art-gallery-page{background:#07101e;color:#f6dc91}
body.art-gallery-page main.section-art-gallery{box-sizing:border-box;width:calc(100% - (48px / var(--lyra-page-scale,1)))!important;max-width:none!important;margin:calc(28px / var(--lyra-page-scale,1)) auto!important;padding:calc(20px / var(--lyra-page-scale,1))!important;border-inline:1px solid #c6a254;background:linear-gradient(#07101ee8,#07101ef5),url('/assets/earth.webp') center/cover fixed;text-align:center}
body.art-gallery-page main.section-art-gallery h1{font:600 calc(32px / var(--lyra-page-scale,1))/1.25 Georgia,serif!important;color:#f6dc91;margin:0 0 calc(16px / var(--lyra-page-scale,1))!important}
body.art-gallery-page main .gallery-intro,body.art-gallery-page main .gallery-back{font:calc(18px / var(--lyra-page-scale,1))/1.6 Arial,sans-serif!important;max-width:none!important;text-align:center;margin:calc(12px / var(--lyra-page-scale,1)) auto!important}
body.art-gallery-page a{color:#f6dc91}
body.art-gallery-page main ol.section-art-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(24px / var(--lyra-page-scale,1));list-style:none!important;padding:0!important;margin:calc(32px / var(--lyra-page-scale,1)) 0!important;width:100%!important;max-width:none!important;text-align:left}
body.art-gallery-page .section-art-grid li{margin:0!important;padding:0!important;min-width:0;list-style:none!important}
body.art-gallery-page .section-art-grid li>a{height:100%;display:flex;flex-direction:column;text-decoration:none;border:2px solid #d8ba72;border-radius:calc(10px / var(--lyra-page-scale,1));overflow:hidden;background:#06101c;box-shadow:0 0 20px #d8ba7212;transition:border-color .2s,box-shadow .2s}
body.art-gallery-page .section-art-grid li>a:hover,body.art-gallery-page .section-art-grid li>a:focus-visible{border-color:#fff0b3;box-shadow:0 0 28px #d8ba7260;outline:2px solid #fff0b3;outline-offset:4px}
body.art-gallery-page .gallery-image{display:flex;align-items:center;justify-content:center;width:100%;height:calc(360px / var(--lyra-page-scale,1));background:#040a14;overflow:hidden}
body.art-gallery-page main .gallery-image img{display:block!important;max-width:100%!important;width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;margin:0!important;border:0!important;transform:none!important}
body.art-gallery-page .gallery-label{display:block;padding:calc(15px / var(--lyra-page-scale,1));font:calc(17px / var(--lyra-page-scale,1))/1.5 Arial,sans-serif!important;text-align:center;overflow-wrap:anywhere}
body.art-gallery-page .gallery-label small{display:block;font:calc(13px / var(--lyra-page-scale,1))/1.5 Arial,sans-serif;color:#cbb271;margin-bottom:calc(6px / var(--lyra-page-scale,1))}
body.art-gallery-page .gallery-crop{position:relative;display:block;overflow:hidden;width:100%;height:100%}
body.art-gallery-page main .gallery-crop img{position:absolute;width:var(--crop-width)!important;max-width:none!important;height:auto!important;max-height:none!important;left:var(--crop-left);top:var(--crop-top)}
body.art-gallery-page .gallery-sections{display:flex;flex-wrap:wrap;justify-content:center;gap:calc(12px / var(--lyra-page-scale,1));padding-top:calc(24px / var(--lyra-page-scale,1));border-top:1px solid #d8ba72}
body.art-gallery-page .gallery-sections a{font:calc(16px / var(--lyra-page-scale,1))/1.5 Arial,sans-serif;border:1px solid #d8ba72;padding:calc(10px / var(--lyra-page-scale,1));text-decoration:none}
body.art-gallery-page .gallery-footer{font:calc(18px / var(--lyra-page-scale,1))/1.5 Georgia,serif!important;text-align:center;padding:calc(30px / var(--lyra-page-scale,1))}
img[id^="gallery-art-"]{scroll-margin-top:calc(160px / var(--lyra-page-scale,1))}
@media(max-width:900px){body.art-gallery-page main ol.section-art-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.art-gallery-page main.section-art-gallery{width:calc(100% - (20px / var(--lyra-page-scale,1)))!important;padding:calc(10px / var(--lyra-page-scale,1))!important}body.art-gallery-page main ol.section-art-grid{grid-template-columns:1fr;gap:calc(18px / var(--lyra-page-scale,1))}body.art-gallery-page main.section-art-gallery h1{font-size:calc(26px / var(--lyra-page-scale,1))!important}}
@media(prefers-reduced-motion:reduce){body.art-gallery-page .section-art-grid li>a{transition:none}}

/* Keep the gallery's ribbons on the same outer edges as the footer. */
body.lyra-site.art-gallery-page main.section-art-gallery{width:100%!important;margin:0 auto!important;border-inline:0;padding:calc(28px / var(--lyra-page-scale,1)) max(calc(24px / var(--lyra-page-scale,1)),var(--ribbon-width,90px))!important}
body.art-gallery-page main.section-art-gallery::before,body.art-gallery-page main.section-art-gallery::after{top:0;bottom:0}
@media(max-width:600px){body.lyra-site.art-gallery-page main.section-art-gallery{padding-inline:calc(20px / var(--lyra-page-scale,1))!important}}
