﻿.header {
    background-image: linear-gradient(45deg, #2563EB 100%, #0F172A 0%);
    color: white;
    height: 4.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-radius: 0.5rem;
}

    .header a {
        color: white;
        font-weight: 600;
    }

    .header form button {
        color: white;
        font-weight: 600;
        margin-top: -5px;
    }

        .header a:hover,
        .header button:hover {
            color: black !important;
            text-decoration: underline;
        }

    .header button {
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        color: var(--toprow-text);
        font: inherit;
        cursor: pointer;
        text-decoration: none;
    }

        .header button:hover {
            color: var(--side-accent);
            text-decoration: underline;
        }

    .header form {
        display: inline-block;
    }

.breadcrumb {
    --bs-breadcrumb-divider-color: var(--toprow-text);
}

@media (max-width: 641px) {
    .header {
        justify-content: space-between;
    }

        .header ::deep a, .header ::deep .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 3;
    }

        .header.auth ::deep a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .header, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
