.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 0 solid rgba(229, 231, 235, 0.8);
    padding: 0;
    transition: box-shadow .2s ease, background .2s ease;
}

.header-top {
    height: 45px;
    display: flex;
    align-items: center;
}

.header-bottom {
    height: 45px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 0 solid #f2f4f7;
    transition: height .22s ease, opacity .18s ease, border .18s ease;
}

.header-inner,
.header-bottom-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 56px;
}

.header-inner {
    display: flex;
    align-items: center;
    min-height: 45px;
    justify-content: space-between;
    gap: 24px;
}

.header-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-page-title {
    font-size: 24px;
    line-height: 1.08;
    font-weight: 650;
    color: #000;
    padding-left: 183px;
}

.header-page-subtitle {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #667085;
}

body.header-compact .header-bottom {
    height: 0;
    opacity: 0;
    border-top: 0;
}

body.header-compact .site-header {
    box-shadow: 0 10px 30px rgba(16, 24, 40, .06);
}

.brand,
.brand:hover {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
    padding: 0 56px;
}

.brand-logo {
    display: block;
    height: 38px;
    width: auto;
    background: transparent;
}

.header-search {
    margin-left: auto;
    flex: 0 1 280px;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    flex: 0 0 auto;
    padding-right: 32px;
    font-size: 12px;
    font-weight: 500;
}

.top-nav a {
    color: #3a3c3e;
}

.top-nav a:hover {
    color: var(--accent-green);
    text-decoration: none;
}

.header-search {
    margin-left: auto;
    flex: 0 1 280px;
    max-width: 420px;
}

.header-search input {
    width: 100%;
    height: 26px;
    padding: 0 18px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    background: #fff;
    font-size: 13px;
    color: #172033;
    transition: .18s ease;
}

.header-search input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}



@media (max-width: 1120px) {
    .header-inner,
    .header-bottom-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .brand,
    .brand:hover {
        padding-left: 0;
        padding-right: 0;
    }

    .header-page-title {
        padding-left: 0;
    }
}

@media (max-width: 860px) {
    .header-search {
        display: none;
    }
}

@media (max-width: 640px) {
    .site-header {
        position: sticky;
    }

    .header-top {
        height: auto;
        min-height: 56px;
    }

    .header-inner {
        padding: 12px 16px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .brand-logo {
        height: 48px;
    }

    .top-nav {
        width: 100%;
        gap: 14px;
        font-size: 14px;
        flex-wrap: wrap;
    }

    .header-bottom {
        height: 52px;
    }

    .header-bottom-inner {
        padding: 0 16px;
    }

    .header-page-title {
        font-size: 22px;
        padding-left: 0;
    }
}