/* Unified header shared across web pages */

:root {
    --sportt-layout-max-width: 1200px;
    --sportt-header-max-width: var(--sportt-layout-max-width);
    --sportt-header-side-padding: 24px;
}

html {
    scrollbar-gutter: stable;
}

.sportt-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.sportt-header__container {
    width: 100%;
    max-width: var(--sportt-header-max-width);
    margin: 0 auto;
    padding: 0 var(--sportt-header-side-padding);
}

.sportt-header__content {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sportt-header__logo {
    flex: 0 0 150px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.sportt-header__logo img {
    display: block;
    width: 140px;
    height: 40px;
    object-fit: contain;
}

.sportt-header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.sportt-header__link {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
}

.sportt-header__link:hover {
    color: #2563eb;
    background: #eff6ff;
}

.sportt-header__link.is-active,
.sportt-header__link[aria-current="page"] {
    color: #2563eb;
    background: #eff6ff;
    font-weight: 600;
}

@media (max-width: 900px) {
    .sportt-header__content {
        align-items: flex-start;
        padding: 10px 0;
    }

    .sportt-header__nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

