.refinar-busca { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.refinar-busca label { flex: 1 1 220px; }
.refinar-busca input, .refinar-busca select { display: block; width: 100%; padding: 10px; margin-top: 6px; font: inherit; border: 1px solid var(--borda-clara); border-radius: 4px; background: white; color: var(--texto); }
.ajuda-busca { font-size: .88rem; margin: 12px 0; }
.grupo-resultados { grid-column: 1 / -1; margin: 10px 0 0; font-size: 1rem; }
.obra-midia { height: 230px; background: #f0eeea; display: flex; align-items: center; justify-content: center; color: #605a50; }
.ampliar-obra { width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.obra h3, .obra-resumo, .obra-autor, .instituicao-obra { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.obra h3 { -webkit-line-clamp: 3; }
.obra-resumo { -webkit-line-clamp: 3; }
.obra-autor, .instituicao-obra { -webkit-line-clamp: 2; }
.tipo-obra { align-self: flex-start; font-size: .75rem; background: #f0eeea; padding: 3px 8px; margin: 0 0 10px; border-radius: 4px; }
.obra .direitos { margin-top: auto; padding-top: 12px; overflow-wrap: anywhere; }
.obra .tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acoes button, .menu-atividades summary { font: inherit; font-size: .76rem; border: 1px solid var(--texto); color: var(--texto); padding: 7px 10px; border-radius: 4px; background: white; cursor: pointer; }
.acoes .acao-principal { background: var(--texto); color: white; }
.acoes a[hidden] { display: none; }
.menu-atividades { width: 100%; }
.menu-atividades summary { display: list-item; width: fit-content; }
.menu-atividades button, .menu-atividades a { display: inline-block; margin: 6px 6px 0 0; }
.imagem-detalhe { display: block; width: 100%; max-height: 65vh; object-fit: contain; background: #f0eeea; }
.modal-detalhes dt { font-weight: 700; margin-top: 18px; }
.modal-detalhes dd { margin: 4px 0 0; overflow-wrap: anywhere; white-space: pre-line; }
.link-detalhes { display: inline-block; margin: 14px 20px 0 0; }
:focus-visible { outline: 3px solid #8c692e; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .obra { transition: none; } .obra:hover { transform: none; } }
