/* RateScene brand wordmark and responsive logo sizing. */

.ratescene-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: #ffffff !important;
    font-family: Inter, Poppins, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.ratescene-brand:hover,
.ratescene-brand:focus {
    color: #ffffff !important;
}

.ratescene-logo {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 42px;
    overflow: hidden;
}

.ratescene-logo picture {
    width: 100%;
    height: 100%;
    display: block;
}

.ratescene-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ratescene-word {
    display: inline-flex;
    align-items: baseline;
    color: #ffffff;
}

.ratescene-word strong {
    color: #f25a00;
    font-weight: 800;
}

@media (min-width: 768px) {
    .ratescene-logo {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}

@media (max-width: 991.98px) {
    .ratescene-brand {
        position: absolute;
        left: 50%;
        z-index: 1;
        gap: 7px;
        transform: translateX(-50%);
    }

    .ratescene-logo {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
}
