.stu-photo-catalogue .location-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 24px}
.stu-photo-catalogue .location-card{display:block;min-width:0;position:relative}
.stu-photo-catalogue .location-image{aspect-ratio:4/3;object-fit:cover;width:100%;height:auto;background:var(--ink);transition:filter .35s}
.stu-photo-catalogue .location-info{margin-top:14px;align-items:center}
.stu-photo-catalogue .location-info h3{font-size:clamp(23px,2.1vw,34px);line-height:1.2;letter-spacing:-.035em}
.stu-photo-catalogue .location-meta:empty{display:none}
.stu-photo-catalogue .stu-photo-count{display:block;font-size:10px;letter-spacing:.09em;color:var(--muted);text-transform:uppercase;margin-top:13px}
.stu-photo-catalogue .location-card:hover .location-image{filter:brightness(1.07)}
.stu-cover-fuentesecas{object-position:50% 28%!important}
.single-stu_location .location-header{padding:55px var(--pad) 36px;max-width:1600px;margin:auto}
.single-stu_location .location-header h1{font-size:clamp(44px,6.2vw,92px);line-height:1.05;margin:25px 0 18px}
.single-stu_location .location-header .location-meta:empty,.single-stu_location .location-facts:empty{display:none}
.stu-gallery-summary{font-size:12px;color:var(--muted);letter-spacing:.025em}
.single-stu_location .stu-cover-link{display:block;background:var(--ink);cursor:zoom-in}
.single-stu_location .location-cover{width:100%;height:auto;max-height:80svh;object-fit:contain;background:var(--ink);margin:0 auto}
.single-stu_location .editor-content:has(.stu-location-gallery){max-width:1600px;padding:45px var(--pad) 90px}
.stu-location-gallery.wp-block-gallery{display:block!important;columns:3;column-gap:16px;margin:0!important}
.stu-location-gallery.wp-block-gallery>figure.wp-block-image{display:block!important;break-inside:avoid;margin:0 0 16px!important;width:100%!important;height:auto!important}
.stu-location-gallery.wp-block-gallery>figure.wp-block-image[hidden]{display:none!important}
.stu-location-gallery.wp-block-gallery img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;display:block}
.stu-location-gallery a{display:block;cursor:zoom-in;background:var(--ink)}
.stu-location-gallery:has(>figure:first-child:last-child){columns:1!important;max-width:1050px;margin-left:auto!important;margin-right:auto!important}
.stu-location-gallery:has(>figure:first-child:last-child) a{background:transparent}
.stu-location-gallery:has(>figure:first-child:last-child) img{width:auto!important;max-width:100%;max-height:85svh!important;margin:auto}
.stu-gallery-more{display:block;margin:35px auto 0;background:transparent;color:var(--ink);border:1px solid #a1a797;padding:16px 24px;font-size:12px;min-height:48px}
.stu-gallery-more:hover{background:var(--ink);color:var(--paper)}
.stu-gallery-more[hidden]{display:none!important}
.stu-lightbox{position:fixed;inset:0;margin:auto;width:100vw;max-width:100vw;height:100svh;max-height:100svh;padding:0;border:0;background:#101612;color:var(--white);overflow:hidden}
.stu-lightbox::backdrop{background:#101612}
.stu-lightbox-top{height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 28px;font-size:12px}
.stu-lightbox-title{font-family:var(--serif);font-size:23px;line-height:1.2}
.stu-lightbox-close,.stu-lightbox-prev,.stu-lightbox-next{border:1px solid #667266;background:transparent;color:inherit;display:grid;place-items:center;min-width:46px;min-height:46px;padding:8px;font-size:22px}
.stu-lightbox-stage{display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;padding:0 20px;gap:16px;height:calc(100svh - 125px)}
.stu-lightbox-image{max-width:100%;width:auto;max-height:calc(100svh - 125px);height:auto;object-fit:contain;margin:auto}
.stu-lightbox-bottom{text-align:center;font-size:11px;height:55px;padding:18px;letter-spacing:.06em}
body.stu-gallery-open{overflow:hidden}
@media(max-width:1050px){.stu-photo-catalogue .location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stu-location-gallery.wp-block-gallery{columns:2}}
@media(max-width:600px){.stu-photo-catalogue .location-grid{grid-template-columns:1fr;gap:34px}.stu-photo-catalogue .location-info h3{font-size:30px}.single-stu_location .location-header{padding-top:36px}.single-stu_location .editor-content:has(.stu-location-gallery){padding:24px 16px 60px}.stu-location-gallery.wp-block-gallery{columns:2;column-gap:8px}.stu-location-gallery.wp-block-gallery>figure.wp-block-image{margin-bottom:8px!important}.stu-lightbox-top{padding:12px 16px;gap:12px}.stu-lightbox-title{font-size:20px}.stu-lightbox-stage{display:flex;padding:0 8px;position:relative;justify-content:center}.stu-lightbox-prev,.stu-lightbox-next{position:absolute;bottom:0;z-index:2;background:#101612dd}.stu-lightbox-prev{left:16px}.stu-lightbox-next{right:16px}.stu-lightbox-image{max-height:calc(100svh - 135px)}.single-stu_location .site-header{flex-wrap:wrap}.single-stu_location .site-nav{flex-wrap:wrap;gap:12px}}
@media(prefers-reduced-motion:reduce){.stu-photo-catalogue .location-image{transition:none}}
