/* =========================================================
   H2H HEADER GLOBAL CSS
   Same header CSS everywhere.
   This does NOT redesign the header; it only makes all pages
   read the same header sizing/rules that Home already uses.
========================================================= */

/* keep header/dropdowns/search above page content */
.h2h-header,
.h2h-nav,
.h2h-nav-dropdown,
.h2h-nav-dropdown-menu,
.h2h-header-actions,
.h2h-live-search {
    overflow: visible !important;
}

.h2h-header {
    position: relative;
    z-index: 99999;
}

.h2h-live-search-panel {
    z-index: 999999 !important;
}

/* =========================================================
   SAME COMPACT HEADER RULES AS HOME / h2h-pages.css
========================================================= */
@media (max-width: 1500px) {
    .h2h-header {
        min-height: 64px !important;
        padding: 0 18px !important;
    }

    .h2h-logo img,
    .h2h-brand-logo img {
        max-height: 42px !important;
    }

    .h2h-brand-title,
    .h2h-logo-title {
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .h2h-brand-subtitle,
    .h2h-logo-subtitle {
        font-size: 9px !important;
        letter-spacing: 2px !important;
    }

    .h2h-nav {
        gap: 16px !important;
    }

    .h2h-nav a,
    .h2h-nav-link,
    .h2h-nav-dropbtn {
        font-size: 12px !important;
        line-height: 1.1 !important;
        padding: 20px 0 !important;
        white-space: nowrap !important;
    }

    .h2h-nav-dropdown-menu a {
        font-size: 12px !important;
        padding: 10px 12px !important;
    }

    .h2h-header-actions {
        gap: 8px !important;
    }

    .h2h-search,
    .h2h-header-search input {
        width: 210px !important;
        height: 42px !important;
        font-size: 13px !important;
    }

    .h2h-telegram-btn,
    .h2h-header-btn,
    .h2h-icon-btn {
        height: 42px !important;
        min-width: 42px !important;
        font-size: 13px !important;
        padding: 0 13px !important;
    }
}

@media (max-width: 1350px) {
    .h2h-nav {
        gap: 12px !important;
    }

    .h2h-nav a,
    .h2h-nav-link,
    .h2h-nav-dropbtn {
        font-size: 11px !important;
    }

    .h2h-header-search,
    .h2h-search {
        width: 170px !important;
    }
}