:root{--nunes:#245b3a;--nunes2:#edf5ef;--ink:#26342b}
body{color:var(--ink);background:#fbfcfb}.bg-nunes{background:var(--nunes)!important}
.hero{background:linear-gradient(135deg,#edf5ef,#fff);padding:5rem 0}
.hero h1{font-size:clamp(2.4rem,6vw,5rem);font-weight:800}.tree-mark{font-size:5rem}
.card-person{border:0;border-radius:1rem;box-shadow:0 .3rem 1.2rem rgba(0,0,0,.08)}
.person-photo{width:120px;height:120px;object-fit:cover;border-radius:50%;background:#e9ecef}
.branch{border-left:3px solid #c9ddcf;padding-left:1rem;margin-left:.7rem}
.admin-wrap{min-height:70vh}.required:after{content:" *";color:#b02a37}

.person-thumb{width:52px;height:52px;object-fit:cover;border-radius:50%;display:block;background:#e9ecef}.person-thumb-empty{display:flex;align-items:center;justify-content:center;font-size:1.45rem;color:#6c757d}
.person-thumb {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}/* Módulo Memórias */
.memory-hero{background:linear-gradient(135deg,#edf5ef,#fff);padding:3.5rem 0}
.memory-card{border:0;border-radius:1rem;overflow:hidden;box-shadow:0 .3rem 1.2rem rgba(0,0,0,.08);height:100%}
.memory-cover{width:100%;height:240px;object-fit:cover;background:#e9ecef}
.memory-cover-lg{width:100%;max-height:560px;object-fit:contain;background:#f1f3f2;border-radius:1rem}
.memory-placeholder{height:240px;display:flex;align-items:center;justify-content:center;font-size:4rem;background:#edf5ef}
.album-thumb{width:100%;height:220px;object-fit:cover;border-radius:.75rem;cursor:pointer;background:#e9ecef}
.meme-image{width:100%;height:auto;max-height:650px;object-fit:contain;background:#f4f4f4}
.video-frame{aspect-ratio:16/9;width:100%;border:0;border-radius:.75rem;background:#111}
.memory-person{display:inline-block;padding:.25rem .55rem;margin:.15rem;border-radius:999px;background:#edf5ef;color:#245b3a;font-size:.875rem}
.admin-memory-thumb{width:72px;height:72px;object-fit:cover;border-radius:.5rem;background:#e9ecef}

/* Álbum de eventos - visualização ampliada */
.album-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left}
.album-open:focus-visible{outline:3px solid rgba(36,91,58,.35);outline-offset:3px;border-radius:.75rem}
.album-modal-image{display:block;max-width:100%;max-height:78vh;width:auto;height:auto;margin:0 auto;object-fit:contain}
