/* Keep the brand readable over the hero, sticky navigation and light footer. */
.fmc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    font-family: "Nunito", system-ui, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    text-align: start;
    white-space: normal;
}

.navbar .navbar-brand.fmc-brand {
    display: inline-flex;
    width: 280px;
    max-width: calc(100% - 60px);
    color: #fff;
    font-size: 20px;
}

.sticky .navbar .navbar-brand.fmc-brand,
.footer .fmc-brand {
    color: #313450;
}

.fmc-brand img.fmc-brand-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer .fmc-brand img.fmc-brand-icon {
    width: 48px;
    height: 48px;
}

.fmc-brand-name {
    min-width: 0;
    overflow-wrap: break-word;
}

.fmc-brand:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 5px;
    border-radius: 4px;
}

@media (max-width: 1199px) {
    .navbar .navbar-brand.fmc-brand {
        width: 240px;
    }
}

@media (max-width: 575px) {
    .navbar .navbar-brand.fmc-brand {
        font-size: 18px;
    }

    .navbar .fmc-brand img.fmc-brand-icon {
        width: 32px;
        height: 32px;
    }

    .footer .fmc-brand {
        font-size: 24px;
    }
}
