:root {
    --header-height: 64px;
}

body {
    padding-top: var(--header-height);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    background: var(--client-header, #ffffff);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    z-index: 100;
    font-family: var(--client-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
}

.site-header-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.site-header .client-logo {
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-header-name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--client-text, #1a1a1a);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header-actions {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-header-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #1a1a1a;
    text-decoration: none;
    flex-shrink: 0;
    transition: border-color 0.2s ease, color 0.2s ease;
}

a.site-header-social-link:hover {
    border-color: #1a1a1a;
}

.site-header-social-link.is-inactive {
    color: #c4c4c4;
    border-color: rgba(0, 0, 0, 0.06);
    cursor: default;
}

.site-header-social-link svg {
    width: 16px;
    height: 16px;
    display: block;
}

.site-header-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.site-header-icon-button:hover {
    background: #000000;
}

.site-header-icon-button svg {
    width: 18px;
    height: 18px;
    display: block;
}

@media (max-width: 480px) {
    :root {
        --header-height: 52px;
    }

    .site-header {
        gap: 10px;
        padding: 0 16px;
    }

    .site-header .client-logo {
        height: 28px;
    }

    .site-header-name {
        font-size: 15px;
    }

    .site-header-icon-button {
        width: 32px;
        height: 32px;
    }

    .site-header-icon-button svg {
        width: 16px;
        height: 16px;
    }

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

    .site-header-socials {
        gap: 6px;
    }

    .site-header-social-link {
        width: 28px;
        height: 28px;
    }

    .site-header-social-link svg {
        width: 14px;
        height: 14px;
    }
}
