/* Use a transparent PNG so the logo blends into the navigation and footer. */
.brand-logo {
    display: inline-block;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav-logo {
    width: 210px;
    height: 74px;
    margin: 0;
    transform: none;
}

.brand-logo.nav-logo-img {
    width: 210px;
    height: 74px;
    flex-shrink: 0;
}

.brand-logo.footer-logo {
    width: 282px;
    height: 100px;
}

.announcement-downloads {
    max-width: 760px;
    margin: 2.5rem auto 0;
    display: grid;
    gap: 1rem;
}

.announcement-download {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 2rem;
    background: #fff;
    border: 1px solid #dce3f4;
    border-radius: 12px;
    color: #243e92;
    text-decoration: none;
}

.announcement-download:hover {
    border-color: #243e92;
    box-shadow: 0 4px 16px rgba(36, 62, 146, 0.08);
}

.announcement-download strong {
    font-size: 1.3rem;
}

.announcement-download span {
    margin-top: 0.35rem;
    color: #65718c;
    font-size: 1rem;
}

/* Keep the longer team names readable within the existing organization chart. */
#orgChart .chart-row.spread {
    gap: 4rem;
}

#orgChart .team-box {
    width: 165px;
    min-width: 165px;
}

#orgChart .team-label,
#orgChart .tm-role {
    overflow-wrap: break-word;
}

.chart-hint {
    display: none;
}

@media (max-width: 900px) {
    #orgChart .chart-row.spread {
        min-width: 960px;
        width: max-content;
    }

    .chart-hint {
        display: block;
        margin: -2.5rem 0 1.5rem;
        color: #65718c;
        text-align: center;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-links.active {
        max-height: calc(100dvh - 110px);
        overflow-x: hidden;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .nav-logo,
    .brand-logo.nav-logo-img {
        width: 178px;
        height: 63px;
        transform: none;
    }

    .announcement-download {
        padding: 1.25rem;
    }
}
