/* Keep the existing search, navigation, and home link. */
#site-header.medium-header .top-header-wrap:has(.bitaon-publisher-wordmark) {
    --bitaon-mark-size: 68px;
    --bitaon-name-size: 30px;
    --bitaon-description-size: 15px;
    --bitaon-wordmark-gap: 14px;
    padding-block: 16px;
}

#site-header.medium-header #site-logo-inner:has(.bitaon-publisher-wordmark) {
    line-height: 0;
}

#site-header.medium-header #site-logo-inner a.custom-logo-link:has(.bitaon-publisher-wordmark) {
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    direction: rtl;
    gap: var(--bitaon-wordmark-gap);
    text-decoration: none;
}

#site-header.medium-header #site-logo-inner a:has(.bitaon-publisher-wordmark) img.custom-logo {
    display: block;
    width: var(--bitaon-mark-size);
    max-width: var(--bitaon-mark-size);
    height: auto;
}

#site-header.medium-header #site-logo-inner .bitaon-publisher-wordmark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    text-align: right;
    white-space: nowrap;
    font-family: Arial, sans-serif;
}

.bitaon-publisher-name {
    color: #202827;
    font-size: var(--bitaon-name-size);
    font-weight: 700;
    line-height: 1.05;
}

.bitaon-publisher-description {
    color: #4e615e;
    font-size: var(--bitaon-description-size);
    font-weight: 400;
    line-height: 1.25;
}

@media (max-width: 767px) {
    #site-header.medium-header .top-header-wrap:has(.bitaon-publisher-wordmark) {
        --bitaon-mark-size: 46px;
        --bitaon-name-size: 23px;
        --bitaon-description-size: 13px;
        --bitaon-wordmark-gap: 10px;
        padding-block: 12px;
    }
}
