.internas .topo { display: flow-root; min-height: 479px; }
.internas .pagina-fotos { margin-top: 0; padding: 36px 0 64px; }
.albuns-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.album-card { border: 1px solid #e2e8df; border-radius: 12px; overflow: hidden; }
.album-card a { display: block; color: #204d2e; }
.album-capa { aspect-ratio: 4 / 3; background: #eef3e9; display: grid; place-items: center; }
.album-capa img { width: 100%; height: 100%; object-fit: cover; }
.album-capa .album-placeholder { width: 64px; height: 64px; }
.album-card h2 { font-size: 22px; line-height: 1.3; margin: 20px 20px 12px; }
.album-card a > span { display: block; margin: 0 20px 20px; font-size: 14px; color: #007d2c; }
.album-card a:hover h2 { text-decoration: underline; }
.fotos-instrucao { color: #58645b; margin: 0 0 24px; }
.pagina-fotos .album-conteudo .wp-block-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 0; }
.pagina-fotos .album-conteudo .wp-block-gallery > figure.wp-block-image { width: 100% !important; margin: 0 !important; display: block; }
.pagina-fotos .album-conteudo .wp-block-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.foto-ampliar { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.foto-ampliar:focus-visible { outline: 3px solid #008f2e; outline-offset: 4px; border-radius: 10px; }
.albuns-voltar { display: inline-block; margin-top: 32px; color: #007d2c; }
dialog.fotos-dialog:not([open]) { display: none !important; }
dialog.fotos-dialog[open] { display: block; position: fixed; margin: auto; padding: 0; border: 0; border-radius: 10px; max-width: 92vw; max-height: 90vh; overflow: auto; background: white; }
.fotos-dialog::backdrop { background: #000b; }
.fotos-dialog img { display: block; max-width: 90vw; max-height: 85vh; object-fit: contain; }
.fotos-dialog button { position: absolute; right: 10px; top: 10px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #204d2e; font: 400 30px/1 Arial,sans-serif; cursor: pointer; }
@media(max-width:991px) { .albuns-grid,.pagina-fotos .album-conteudo .wp-block-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:575px) { .albuns-grid,.pagina-fotos .album-conteudo .wp-block-gallery { grid-template-columns: 1fr; } .internas .pagina-fotos { padding: 24px 0 40px; } }
