.task-site-header {
    min-height: 68px;
    flex-wrap: nowrap;
    gap: 24px;
    padding: 10px 24px;
}

.task-site-header__brand {
    flex: 0 0 auto;
}

.task-site-header__nav {
    flex: 1 1 auto;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 4px;
}

.task-site-header__nav a,
.task-site-header__account a {
    padding: 9px 11px;
    border-radius: 9px;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.task-site-header__nav a:hover,
.task-site-header__account a:hover,
.task-site-header__nav .task-site-header__active {
    background: var(--color-accent-light);
    color: var(--color-accent-active);
}

.task-site-header__account {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .task-site-header {
        align-items: center;
        flex-direction: row;
    }

    .task-site-header__nav a:not(.task-site-header__active) {
        display: none;
    }

    .task-site-header__nav {
        width: auto;
        justify-content: flex-end;
    }
}

@media (max-width: 600px) {
    .task-site-header {
        min-height: 60px;
        padding: 8px 14px;
    }

    .task-site-header .brand__wordmark {
        font-size: 19px;
    }

    .task-site-header__nav a,
    .task-site-header__account a {
        padding: 7px 8px;
        font-size: 12px;
    }
}
