/* Conteúdo recuperado do WordPress — complemento visual v1.0.0 */
.legacy-documents { margin-top: 3rem; }
.legacy-documents__heading { margin-bottom: 1.75rem; }
.legacy-documents__heading h2 { margin-top: .45rem; }
.legacy-documents__list { display: grid; gap: .85rem; }
.legacy-document {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(30, 35, 33, .14);
    border-radius: 18px;
    background: rgba(255,255,255,.62);
}
.legacy-document__year {
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
    font-weight: 700;
}
.legacy-document__content span {
    display: block;
    margin-bottom: .25rem;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .62;
}
.legacy-document__content h3 { margin: 0; font-size: 1.08rem; }
.legacy-document__content p { margin: .35rem 0 0; font-size: .92rem; }
.legacy-document > a { white-space: nowrap; font-weight: 700; text-decoration: none; }

.program-gallery { margin-top: 3rem; }
.program-gallery__heading { margin-bottom: 1.25rem; }
.program-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}
.program-gallery__grid a {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    background: rgba(0,0,0,.05);
}
.program-gallery__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.program-gallery__grid a:hover img { transform: scale(1.025); }

@media (max-width: 760px) {
    .legacy-document { grid-template-columns: 70px 1fr; }
    .legacy-document > a { grid-column: 2; }
    .program-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
    .legacy-document { grid-template-columns: 1fr; }
    .legacy-document > a { grid-column: 1; }
    .program-gallery__grid { grid-template-columns: 1fr; }
}
