/* Keep the supplied artwork in the header's existing brand footprint. */
.site-header .brand-logo-link {
    display: flex;
    flex: 0 0 190px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    width: 190px;
    max-width: 190px;
    min-width: 0;
    height: 100%;
}

.brand-logo-art {
    display: block;
    width: 172px;
    height: 46px;
    flex: none;
}

.brand-logo-art svg {
    display: block;
    width: 100%;
    height: 100%;
}

.site-header .brand-logo-link .brand-text {
    display: block;
    width: 100%;
    padding-inline-start: 32px;
}

.site-header .brand-logo-link .brand-tagline {
    display: block;
    font-size: 9.5px;
    line-height: 1;
    white-space: nowrap;
}

@media (min-width: 801px) and (max-width: 1279px) {
    .site-header .header-inner,
    .site-header .desktop-nav {
        gap: 12px;
    }

    .site-header .desktop-nav a {
        font-size: 12px;
    }

    .site-header .header-actions {
        gap: 4px;
    }

    .site-header .header-actions .button.small {
        padding-inline: 9px;
    }

    .site-header .brand-logo-link {
        flex-basis: 160px;
        width: 160px;
        max-width: 160px;
    }

    .brand-logo-art {
        width: 148px;
        height: 40px;
    }

    .site-header .brand-logo-link .brand-tagline {
        font-size: 8px;
    }

    .site-header .brand-logo-link .brand-text {
        padding-inline-start: 27px;
    }
}

@media (max-width: 560px) {
    .site-header .brand-logo-link {
        flex-basis: 138px;
        width: 138px;
        max-width: 138px;
    }

    .brand-logo-art {
        width: 128px;
        height: 34px;
    }

    .site-header .brand-logo-link .brand-tagline {
        font-size: 7.5px;
    }

    .site-header .brand-logo-link .brand-text {
        padding-inline-start: 24px;
    }

    /* Keep primary "ثبت آگهی" visible on mobile and hide secondary "ثبت هوشمند" */
    .site-header .submit-property-btn {
        display: inline-flex !important;
        padding: 7px 11px !important;
        font-size: 12px !important;
    }

    .site-header .smart-submit-btn {
        display: none !important;
    }
}

