/* =========================================
   LOGO
   ========================================= */

.base-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.5px;
    color: var(--color-headline);
    text-decoration: none;
}

.base-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    grid-column: 1;
    justify-self: start;
    min-width: 0;
}

.base-nav-logo:hover {
    filter: brightness(1.06);
}

.base-header-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.375rem;
    height: 2.375rem;
    border-radius: 0.5625rem;
    overflow: hidden;
    box-shadow: var(--shadow-logo-mark);
    flex-shrink: 0;
}

.base-header-logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.base-header-logo-text {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--color-header-logo-text);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: var(--color-header-logo-text);
    text-transform: none;
    white-space: nowrap;
    hyphens: none;
    word-break: normal;
}

.base-logo-icon {
    color: var(--color-headline-accent);
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.base-logo-text {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    white-space: nowrap;
}

.base-footer-logo .base-logo-text {
    color: var(--color-headline);
    -webkit-text-fill-color: var(--color-headline);
}

@media (max-width: 575px) {
    .base-nav-logo {
        max-width: calc(100vw - 100px);
        min-width: 0;
        gap: 0.5rem;
    }

    .base-header-logo-mark {
        width: 2rem;
        height: 2rem;
        border-radius: 0.5rem;
    }

    .base-header-logo-text {
        font-size: var(--font-size-xl);
        letter-spacing: -0.03em;
    }
}
