/* Álbum com destaque aprovado. Fotografias originais preservadas. */
.rg-gallery { --rg-ink:#171412; --rg-orange:#ff6e2f; --rg-paper:#f2ebe1; background:var(--rg-ink); color:#fff; }
.rg-gallery, .rg-gallery * { box-sizing:border-box; }
.rg-gallery [hidden] { display:none!important; }
.rg-gallery .rg-wrap { width:min(1160px,calc(100% - 64px)); margin-inline:auto; }
.rg-gallery .rg-album-layout { display:grid; grid-template-columns:minmax(0,1fr) 492px; align-items:center; gap:90px; padding-block:44px 30px; }
.rg-gallery .rg-album-copy { min-width:0; padding-bottom:12px; }
.rg-gallery .rg-album-copy h1 { margin:0 0 28px; color:#fff; font-size:clamp(56px,5.6vw,82px); font-weight:700; line-height:1.03; letter-spacing:-4px; }
.rg-gallery .rg-album-copy h1 em { font-family:'Playfair Display',Georgia,serif; font-weight:500; color:var(--rg-orange); }
.rg-gallery .rg-album-copy p { max-width:360px; margin:0; color:#ece4db; font-size:18px; line-height:1.65; }
.rg-gallery .rg-album-copy p.rg-support { margin:16px 0 28px; color:#bcb1a6; font-size:14px; line-height:1.8; }
.rg-gallery .rg-consultoria { display:inline-flex; align-items:center; justify-content:space-between; gap:40px; padding:17px 22px; border:1px solid var(--rg-orange); border-radius:5px; background:var(--rg-orange); color:var(--rg-ink); font-size:13px; font-weight:700; line-height:1.5; text-decoration:none; }
.rg-gallery .rg-consultoria>span { font-size:20px; line-height:1; }
.rg-gallery .rg-copy-line { display:flex; align-items:center; gap:20px; margin-top:44px; }
.rg-gallery .rg-copy-line>span { width:44px; height:1px; background:var(--rg-orange); }
.rg-gallery .rg-copy-line p { color:#bcb1a6; font-size:12px; line-height:1.7; }
.rg-gallery .rg-album-exhibit { min-width:0; }
.rg-gallery .rg-album-stage { padding:16px 18px 10px; border-radius:18px; background:var(--rg-paper); color:var(--rg-ink); }
.rg-gallery .rg-pair-labels { display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:432px; margin:auto; padding:0 12px 11px; font-size:12px; font-weight:700; letter-spacing:.025em; }
.rg-gallery .rg-pair-labels>span:last-child { color:#9b411b; text-align:right; }
.rg-gallery .rg-open { display:block; max-width:432px; margin:auto; border-radius:12px; color:inherit; text-decoration:none; cursor:zoom-in; }
.rg-gallery .rg-photo { display:block; position:relative; width:100%; aspect-ratio:var(--rg-ratio); overflow:hidden; border-radius:12px; background:#dbd1c5; isolation:isolate; }
.rg-gallery .rg-image { display:block; position:absolute; max-width:none; max-height:none; width:var(--rg-image-width); height:auto; left:var(--rg-image-left); top:var(--rg-image-top); margin:0; border:0; border-radius:0; }
.rg-gallery .rg-album-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; max-width:432px; margin:12px auto 0; }
.rg-gallery .rg-round-control { display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #b3a18d; border-radius:50%; background:transparent; color:var(--rg-ink); font:inherit; font-size:18px; cursor:pointer; }
.rg-gallery .rg-round-control:last-child { border-color:var(--rg-orange); background:var(--rg-orange); }
.rg-gallery .rg-album-position { margin:0; color:var(--rg-ink); font-size:13px; font-weight:700; letter-spacing:1px; line-height:1.5; }
.rg-gallery .rg-album-position>span { color:#746357; font-weight:400; }
.rg-gallery .rg-thumbs { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; margin-top:15px; }
.rg-gallery .rg-thumb { display:block; align-self:start; min-height:44px; padding:4px; border:1px solid #75675b; border-radius:7px; color:inherit; text-decoration:none; opacity:.7; }
.rg-gallery .rg-thumb[aria-current="true"] { border-color:var(--rg-orange); opacity:1; box-shadow:0 0 0 1px var(--rg-orange); }
.rg-gallery .rg-thumb .rg-photo { border-radius:3px; }
.rg-gallery .rg-note-wrap { padding-bottom:24px; }
.rg-gallery .rg-note { margin:0; color:#bcb1a6; font-size:11px; line-height:1.6; }
.rg-gallery .rg-source { color:inherit; font-size:14px; line-height:1.6; text-underline-offset:4px; }
.rg-gallery .rg-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.rg-gallery :is(a,button):focus-visible { outline:3px solid var(--rg-orange); outline-offset:5px; }
.rg-gallery .rg-consultoria:focus-visible, .rg-gallery .rg-round-control:focus-visible { outline-color:#171412; }
.rg-gallery .rg-dialog { width:min(1100px,calc(100% - 32px)); height:92vh; height:92dvh; max-width:none; max-height:calc(100% - 24px); margin:auto; padding:20px; border:1px solid #ffffff40; border-radius:18px; background:var(--rg-ink); color:#fff; overflow:auto; }
.rg-gallery .rg-dialog:not([open]) { display:none; }
.rg-gallery .rg-dialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto auto; gap:14px; }
.rg-gallery .rg-dialog::backdrop { background:#000d; }
.rg-gallery .rg-dialog-head, .rg-gallery .rg-dialog-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.rg-gallery .rg-dialog-title { margin:0; font:inherit; font-size:18px; font-weight:700; line-height:1.4; letter-spacing:0; }
.rg-gallery .rg-dialog-stage { min-height:0; container-type:size; display:grid; place-items:center; }
.rg-gallery .rg-dialog-photo { width:min(100%,calc(100cqh * var(--rg-ratio))); border-radius:10px; }
.rg-gallery .rg-control { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; gap:8px; min-height:44px; padding:10px 14px; border:1px solid #ffffff70; border-radius:6px; background:var(--rg-ink); color:#fff; font:inherit; font-size:14px; line-height:1.4; cursor:pointer; }
.rg-gallery .rg-position { margin:0; color:#fff; text-align:center; font-size:13px; line-height:1.5; }
.rg-gallery .rg-dialog-source { justify-self:center; padding:4px; }
@media(hover:hover) and (pointer:fine) { .rg-gallery .rg-thumb:hover { opacity:1; } .rg-gallery .rg-round-control:hover { border-color:#171412; } }
@media(max-width:1050px) {
  .rg-gallery .rg-wrap { width:calc(100% - 48px); }
  .rg-gallery .rg-album-layout { grid-template-columns:minmax(0,1fr) 430px; gap:40px; }
  .rg-gallery .rg-album-copy h1 { font-size:62px; }
  .rg-gallery .rg-album-copy p { font-size:16px; }
}
@media(max-width:800px) {
  .rg-gallery .rg-album-layout { grid-template-columns:minmax(0,1fr) 350px; gap:24px; }
  .rg-gallery .rg-album-copy h1 { font-size:50px; letter-spacing:-2px; }
  .rg-gallery .rg-copy-line { display:none; }
  .rg-gallery .rg-album-copy p { font-size:14px; }
  .rg-gallery .rg-album-copy p.rg-support { font-size:12px; }
  .rg-gallery .rg-consultoria { gap:20px; padding:15px 17px; font-size:12px; }
}
@media(max-width:750px) {
  .rg-gallery .rg-wrap { width:calc(100% - 32px); }
  .rg-gallery .rg-album-layout { display:flex; flex-direction:column; gap:30px; padding-top:32px; }
  .rg-gallery .rg-album-copy { width:100%; }
  .rg-gallery .rg-album-copy h1 { margin-bottom:20px; }
  .rg-gallery .rg-album-copy p { max-width:none; font-size:15px; }
  .rg-gallery .rg-album-copy p.rg-support { max-width:none; margin-bottom:23px; font-size:13px; }
  .rg-gallery .rg-consultoria { width:100%; }
  .rg-gallery .rg-album-exhibit { width:100%; max-width:430px; }
  .rg-gallery .rg-album-stage { padding:12px; }
  .rg-gallery .rg-thumbs { gap:7px; }
  .rg-gallery .rg-thumb { padding:3px; }
  .rg-gallery .rg-note-wrap { padding-bottom:20px; }
  .rg-gallery .rg-dialog { width:calc(100% - 16px); padding:12px; }
  .rg-gallery .rg-dialog[open] { gap:10px; }
  .rg-gallery .rg-dialog-title { font-size:16px; }
  .rg-gallery .rg-control { padding-inline:10px; font-size:13px; }
  .rg-gallery .rg-dialog-controls { flex-wrap:wrap; gap:8px; }
  .rg-gallery .rg-position { flex-basis:100%; order:1; }
}
