/* Visual compartilhado entre a galeria inicial e a página completa. */
.gallery,.gallery-page{background-color:#eee0c7;background-image:radial-gradient(rgba(82,49,33,.11) .6px,transparent .8px),linear-gradient(110deg,rgba(255,250,237,.35),transparent 65%);background-size:9px 9px,auto;color:#4e0a1b}
.gallery:before,.gallery:after{display:none}
.gallery .section-no,.gallery .section-no:before,.gallery .section-head h2,.gallery-page h1{color:#5b0015}
.gallery .section-head p,.gallery-page .gallery-intro p{color:#6b4138}
.gallery .section-head{position:relative;padding-right:185px}
.gallery-camera{width:160px;height:auto;object-fit:contain;filter:drop-shadow(5px 6px 0 rgba(91,0,21,.16));transform:rotate(-5deg)}
.gallery .gallery-camera{position:absolute;right:12px;top:0}
.gallery-film{height:20px;border-top:5px solid #641124;border-bottom:5px solid #641124;background-color:#641124;background-image:repeating-linear-gradient(90deg,#f5e7d0 0 10px,transparent 10px 21px);margin:0 0 22px}
.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.gallery-item,.gallery-item.wide,.gallery-item.half,.gallery-item.tall{grid-column:auto;border:2px solid #8b3847;background:#fff7e9;box-shadow:5px 6px 0 rgba(91,0,21,.13)}
.gallery-item img,.gallery-item.wide img,.gallery-item.half img,.gallery-item.tall img{width:100%;height:320px;max-height:none;object-fit:contain;background:#e8dac5}
.gallery-item figcaption{border-top:5px solid #b95a6d;color:#5b0015}
.gallery-page .wrap{position:relative}.gallery-page .gallery-intro{position:relative;padding-right:180px}.gallery-page .gallery-camera{position:absolute;right:8px;top:0}
.gallery-page .gallery-intro .eyebrow{color:#8b253b!important}.gallery-page .grid{margin:0 0 35px}
.gallery-page figure{background:#fff7e9;border-color:#8b3847;color:#5b0015;box-shadow:5px 6px 0 rgba(91,0,21,.13)}
.gallery-page figure button{background:#e8dac5}.gallery-page .gallery-manage{color:#5b0015!important;border-color:#5b0015!important}
@media(max-width:850px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery .section-head{padding-right:160px}}
@media(max-width:700px){.gallery .section-head,.gallery-page .gallery-intro{padding-right:100px}.gallery-camera{width:90px}.gallery .gallery-camera,.gallery-page .gallery-camera{right:0;top:5px}.gallery-item img,.gallery-item.wide img,.gallery-item.half img,.gallery-item.tall img{height:280px}}
@media(max-width:600px){.gallery-grid{grid-template-columns:1fr}.gallery-item img,.gallery-item.wide img,.gallery-item.half img,.gallery-item.tall img{height:auto;max-height:520px;object-fit:contain}.gallery .section-head{padding-right:0;padding-top:68px}.gallery .gallery-camera{top:0;right:2px;width:95px}.gallery-page .gallery-intro{padding-right:0;padding-top:72px}.gallery-page .gallery-camera{top:0;right:2px;width:100px}}
@media (min-width:851px){.gallery-camera{width:clamp(230px,22vw,390px)}.gallery .section-head,.gallery-page .gallery-intro{padding-right:clamp(260px,23vw,410px);min-height:clamp(175px,16vw,260px)}}
/* Galeria em bordô, com contraste claro para os textos e a câmera. */
.gallery,.gallery-page{background-color:#5b1022;background-image:radial-gradient(rgba(255,244,227,.10) .65px,transparent .9px),linear-gradient(115deg,rgba(28,0,7,.10),transparent 65%);background-size:9px 9px,auto;color:#fff3df}
.gallery .section-no,.gallery .section-no:before,.gallery .section-head h2,.gallery-page h1{color:#fff3df}
.gallery .section-head p,.gallery-page .gallery-intro p{color:#f1d3cf}
.gallery-page .gallery-intro .eyebrow{color:#f1d3cf!important}
.gallery .section-head:after,.gallery-page .gallery-intro:after{content:'';position:absolute;right:0;top:0;width:clamp(230px,22vw,390px);height:clamp(150px,15vw,250px);background:#f1dfca;opacity:.95;transform:rotate(-4deg);box-shadow:5px 7px 0 rgba(30,0,8,.2);z-index:0;pointer-events:none}
.gallery .gallery-camera,.gallery-page .gallery-camera{z-index:1}
.gallery-film{border-top-color:#f2d5cb;border-bottom-color:#f2d5cb}
.gallery-page .gallery-manage{color:#fff3df!important;border-color:#fff3df!important}
@media(max-width:850px){.gallery .section-head:after,.gallery-page .gallery-intro:after{width:160px;height:105px}}
@media(max-width:700px){.gallery .section-head:after,.gallery-page .gallery-intro:after{width:90px;height:60px}}
@media(max-width:600px){.gallery .section-head:after{width:95px;height:62px}.gallery-page .gallery-intro:after{width:100px;height:65px}}
