/* M00-01: edge-to-edge landscape image. */
.museum-full-hero{position:relative;width:100%;aspect-ratio:16/9;margin-top:80px;overflow:hidden;color:white;padding:0}
.museum-full-hero .category-cinema{position:absolute;inset:0;width:100%;height:100%;margin:0;aspect-ratio:auto}
.museum-full-hero .category-cinema:after{display:none}
.museum-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0002,transparent 40%,#0006);pointer-events:none}
.museum-full-hero .category-identity{position:absolute;top:9%;left:0;right:0;height:auto;padding:0;gap:14px}
.museum-full-hero .category-identity .xu-mark{filter:brightness(0) invert(1)}
.museum-full-hero .category-identity .identity b{color:#e5d5b9}
.museum-full-hero>.category-identity>small{color:#fff;font-size:9px;letter-spacing:4px}
.museum-full-hero>h1{position:absolute;bottom:24%;left:0;right:0;padding:0 24px;max-width:1000px;margin:0 auto;font-size:48px;line-height:1.25;text-align:center;text-shadow:0 2px 18px #0006}
.museum-full-hero>.museum-cinema-link{bottom:12%;font-size:14px;text-shadow:0 1px 10px #0007}
@media(min-width:768px){
 /* Let the portrait and long translated copy define their actual height. */
 .museum-page .museum-feature .cb-editorial{height:auto;min-height:51.47vw}
 .museum-page .museum-gallery{margin-top:220px}
}
@media(max-width:767px){
 .museum-full-hero{margin-top:64px;aspect-ratio:3/4;min-height:540px}
 .museum-full-hero .category-identity{top:10%;gap:12px}
 .museum-full-hero>.category-identity>small{font-size:8px;letter-spacing:3px}
 .museum-full-hero>h1{bottom:24%;max-width:360px;font-size:31px;line-height:1.4}
 .museum-full-hero>.museum-cinema-link{bottom:11%;font-size:11px}
}

/* M00-04: all four destinations remain visible in a centered grid. */
.museum-page .museum-gallery{overflow:visible}
.museum-collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin:0 auto;padding:0 var(--gutter);max-width:1680px}
.museum-collection-grid .gallery-card{min-width:0;user-select:auto}
.museum-collection-grid .news-image{aspect-ratio:3/4}
.museum-page .museum-collection-grid .gallery-card h3{font-size:25px;line-height:1.3}
.museum-page .museum-collection-grid .gallery-card small{font-size:11px;min-height:34px}
.museum-page .museum-collection-grid .gallery-card>p{font-size:11px;line-height:1.8}
.museum-collection-grid .line-link{font-size:12px}
@media(min-width:1024px){
 /* Use the same inner width as the editorial blocks, without a second width cap. */
 .museum-collection-grid{width:calc(100% - var(--gutter)*2);max-width:none;padding:0}
}
@media(max-width:1023px){.museum-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 26px}}
@media(max-width:767px){
 .museum-collection-grid{gap:34px 18px;padding:0 24px}
 .museum-page .museum-collection-grid .gallery-card h3{font-size:22px;margin-bottom:12px}
 .museum-page .museum-collection-grid .gallery-card small{font-size:10px;min-height:32px;margin-top:15px}
 .museum-page .museum-collection-grid .gallery-card>p{font-size:10px;margin-bottom:18px}
 .museum-collection-grid .line-link{font-size:11px}
}

.museum-image-credit{margin:12px var(--gutter) 0;font-size:10px;line-height:1.6;color:#8c8178;text-align:right}.museum-image-credit a{color:inherit;text-decoration:none}

/* M00-07: reversible classical photo treatment, scoped to this section. */
.museum-pause>img{filter:sepia(.24) saturate(.68) contrast(.84) brightness(1.16) blur(.35px);object-position:center 53%;transform:scale(1.003)}
.museum-pause::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(244,231,209,.13),rgba(238,220,190,.1) 65%,rgba(34,27,20,.2));pointer-events:none}
.museum-pause>span{z-index:1;text-shadow:0 2px 16px rgba(30,22,15,.45)}
.museum-pause-credit{position:absolute;z-index:2;right:16px;bottom:12px;color:#fff;font:9px/1.4 Manrope,sans-serif;text-decoration:none;text-shadow:0 1px 5px #29231b}
@media(max-width:767px){.museum-pause-credit{right:12px;bottom:10px;font-size:8px}}

.footer-photo-rights{font-size:10px;max-width:320px}.footer-photo-rights summary{cursor:pointer;list-style:none}.footer-photo-rights p{line-height:1.7}.footer-photo-rights a{color:inherit}

/* M00-03 / 05 / 06 / 08: center content within its existing text column. */
.museum-feature .editorial-copy{text-align:center}
.museum-feature .museum-chapter-preview{text-align:center}
.museum-feature .museum-chapter-preview>span{justify-content:center}

/* M00-04: align each card's text within its own column. */
.museum-collection-grid .gallery-card{text-align:center}

/* Overview introductions face the neighboring image within their text column. */
@media(min-width:768px){
 .museum-page .museum-intro .editorial-copy,.museum-page .museum-feature .editorial-copy{text-align:left}
 .museum-page .museum-intro .reversed .editorial-copy,.museum-page .museum-feature .reversed .editorial-copy{text-align:right}
 .museum-page .museum-feature .museum-chapter-preview{text-align:inherit}
 .museum-page .museum-feature .museum-chapter-preview>span{justify-content:flex-start}
 .museum-page .museum-feature .reversed .museum-chapter-preview>span{justify-content:flex-end}
}

/* Museum landing: the image extends behind the transparent masthead. */
.museum-page .museum-full-hero{margin-top:0}
.museum-page:not(.scrolled) header{background:transparent;color:#fff;border-bottom-color:transparent}
.museum-page:not(.scrolled) header .brand .header-mark{filter:brightness(0) invert(1)}
.museum-page .museum-hero-shade{background:linear-gradient(180deg,#0006,transparent 40%,#0006)}
.museum-page .museum-full-hero .category-identity{top:max(112px,14%)}

/* One shared gap prevents margins from accumulating between modules. */
.museum-page{--museum-section-gap:160px}
.museum-page #main{display:flex;flex-direction:column;gap:var(--museum-section-gap);padding-bottom:var(--museum-section-gap)}
.museum-page #main>.museum-mast,.museum-page #main>.museum-intro,.museum-page #main>.museum-feature,.museum-page #main>.museum-gallery,.museum-page #main>.museum-plan,.museum-page #main>.museum-pause{margin:0}
.museum-page #main .museum-intro .cb-editorial,.museum-page #main .museum-feature .cb-editorial{margin:0;min-height:0;height:auto}
.museum-page #main>.museum-plan{width:100%;max-width:750px;align-self:center}
.museum-page #main>.museum-gallery{width:100%}
.museum-page #main>.museum-pause{flex-shrink:0}
.museum-page #main>.collection-future{margin:0;padding:0 24px;text-align:center;max-width:720px;align-self:center}
.collection-future h2{font-size:36px;margin:20px 0 24px}.collection-future>p:not(.kicker){margin-bottom:28px}
@media(min-width:1024px){.museum-collection-grid.collection-three{grid-template-columns:repeat(3,minmax(0,1fr))}}
.footer-photo-rights{margin-left:auto;align-self:flex-end;text-align:right;max-width:420px}
.footer-photo-rights p{text-align:left;margin-top:12px}
@media(max-width:767px){
 .museum-page{--museum-section-gap:80px}
 .museum-page .museum-full-hero .category-identity{top:100px}
 .footer-photo-rights{max-width:100%}
}

/* Six France regions share the collection layout without horizontal scrolling. */
@media(min-width:1024px){.museum-collection-grid.collection-six{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:64px}}
@media(max-width:600px){.museum-collection-grid.collection-six{grid-template-columns:1fr;max-width:520px;gap:42px;padding:0 24px}.collection-six .news-image{aspect-ratio:4/3}}
.museum-feature[id^="france-region-"]{scroll-margin-top:100px}
