/* ── Resident Theatre Companies section ──────────────────────────────────── */

.gh-residents-wrap {
    padding: 3.5rem 1rem 4rem;
    max-width: 1140px;
    margin: 0 auto;
}

.gh-residents-heading {
    margin: 0 0 1rem;
    padding: 0;
    text-align: center;
    line-height: 1;
}

.gh-residents-wrap .gh-residents-logo {
    display: block;
    width: 420px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
}

.gh-residents-sub {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--gh-text, #1a1a1a);
    margin: 0 auto 1.75rem;
    max-width: 60ch;
    text-align: center;
}

.gh-residents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: center;
}

.gh-resident-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    padding: 1.5rem;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.25s ease, background-color 0.25s ease;
    text-decoration: none;
}

.gh-resident-tile:hover,
.gh-resident-tile:focus {
    transform: translateY(-2px);
    background: #000;
}

.gh-resident-tile img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .gh-residents-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .gh-resident-tile {
        aspect-ratio: 2 / 1;
        padding: 1rem 3rem;
    }
    .gh-residents-wrap {
        padding: 2rem 1rem;
    }
    .gh-residents-wrap .gh-residents-logo {
        width: 240px !important;
    }
}
