/**
 * Premium Header Styles with x-prefixed classes
 * Comprehensive enhancements for professional appearance
 */

/* ---------- FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Teko:wght@400;600;700&family=Rajdhani:wght@500;600;700&display=swap');

/* ---------- RESET & BASICS ---------- */
.xtop-header *,
.xmain-header *,
.xmobile-overlay *,
.xslogan-bar * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- VARIABLES ---------- */
:root {
    --header-red: #fe0000;
    --header-red-dark: #c00000;
    --header-black: #000000;
    --header-white: #ffffff;
    --header-gray: #cccccc;
    --header-light-gray: #f8f8f8;
    --header-dark-gray: #333333;
    --header-font-title: 'Bebas Neue', sans-serif;
    --header-font-slogan: 'Rajdhani', sans-serif;
    --header-font-nav: 'Teko', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ---------- COMMON CONTAINER ---------- */
.xtop-container,
.xheader-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sticky header styles */
.xtop-header {
    transition: transform 0.3s ease;
}

.xtop-header.xhidden {
    transform: translateY(-100%);
}

.xmain-header {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.xmain-header.xsticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    animation: xSlideDown 0.3s forwards;
    z-index: 999;
}

.xmain-header.xsticky .xlogo img,
.xmain-header.xsticky .xlogo a img {
    max-height: 40px;
}

.xmain-header.xsticky .xnav-menu > li > a {
    padding: 5px 0;
}

@keyframes xSlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ---------- TOP UTILITY MENU ---------- */
.xtop-header {
    background-color: var(--header-black);
    padding: 6px 0;
    border-bottom: 1px solid #1a1a1a;
}

.xtop-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
}

.xtop-menu li {
    position: relative;
}

.xtop-menu a {
    color: var(--header-white);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.xtop-menu a:hover {
    color: var(--header-red);
}

/* Slogan Bar - Professional marketing slogan styling */
.xslogan-bar {
    background: var(--header-red);
    text-align: center;
    padding: 8px 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 0;
}

/* Background elements for the slogan */
.xslogan-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%, 
        transparent 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1) 75%, 
        transparent 75%, transparent);
    background-size: 8px 8px;
    opacity: 0.1;
}

.xslogan-container {
    width: 100%;
    max-width: none;
    padding: 0;
    position: relative;
}

.xslogan-text {
    font-family: var(--header-font-slogan);
    font-size: 19px;
    font-weight: 700;
    color: var(--header-white);
    font-style: italic;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    max-width: none;
    width: 100%;
    position: relative;
    display: inline-block;
    line-height: 1;
}

/* Decorative elements */
.xslogan-text::before,
.xslogan-text::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.7);
    vertical-align: middle;
    margin: 0 15px;
}

/* Word emphasis */
.xslogan-bold {
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
}

.xslogan-bold::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.7);
}

/* CSS for Shop by Club Button */
/* CSS for Shop by Club Button */
.xshop-by-club-btn {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--header-red);
    color: var(--header-white);
    text-decoration: none;
    font-family: var(--header-font-nav);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 16px;
    height: 36px;
    line-height: 36px;
    border: 2px solid var(--header-red);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    text-align: center !important;
}

.xshop-by-club-btn:hover {
    background-color: var(--header-black);
    border-color: var(--header-black);
    color: var(--header-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.xshop-by-club-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 1;
}

.xshop-by-club-btn:hover::after {
    left: 100%;
}

.xshop-by-club-btn span {
    position: relative;
    z-index: 2;
    display: inline-block;
    vertical-align: middle !important;
    line-height: 1 !important;
    padding-top: 1px; /* Fine-tune vertical position */
}

/* Mobile version of the button */
.xmobile-shop-btn {
    display: block;
    width: 100%;
    background-color: var(--header-red);
    color: var(--header-white);
    text-align: center;
    font-family: var(--header-font-nav);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px;
    text-decoration: none;
    margin: 15px 0;
    border: none;
    transition: all var(--transition-fast);
}

.xmobile-shop-btn:hover {
    background-color: var(--header-black);
}

/* Media queries */
@media (max-width: 768px) {
    .xshop-by-club-btn {
        font-size: 16px;
        padding: 6px 12px;
    }
}

/* ---------- MAIN HEADER ---------- */
.xmain-header {
    background: var(--header-white);
    padding: 0;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Updated container to allow for column layout */
.xheader-container {
    display: flex;
    flex-direction: column;
}

/* Brand Row Styles - Now with centered logo */
.xheader-row {
    width: 100%;
}

.xbrand-row {
    position: relative;
    background: var(--header-white);
    margin: 0;
    padding: 10px 0;
}

/* Brand Container with 3-column layout for centered logo */
.xbrand-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Left section with contact info */
.xbrand-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.xcontact-row {
    display: flex;
    gap: 15px;
}

.xcontact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.xcontact-item .xicon {
    color: var(--header-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.xcontact-item svg {
    width: 16px;
    height: 16px;
}

.xcontact-item span {
    font-family: var(--header-font-nav);
    font-size: 14px;
    color: var(--header-dark-gray);
}

.xcontact-item a {
    color: var(--header-black);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.xcontact-item a:hover {
    color: var(--header-red);
}

/* Center section with logo */
.xbrand-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo styling */
.xlogo {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-medium);
    padding: 0;
    max-width: 300px;
}

.xlogo:hover {
    transform: scale(1.02);
}

.xlogo img,
.xlogo a img {
    width: auto;
    height: auto;
    max-height: 60px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: max-height 0.25s ease, filter 0.25s ease;
}

.xlogo:hover img,
.xlogo:hover a img {
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}

/* Right section with search and social icons */
.xbrand-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.xsocial-search-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Search container styles */
.xsearch-container {
    max-width: 200px;
    width: 100%;
}

.xsearch-form {
    display: flex;
    position: relative;
    height: 36px;
}

.xsearch-input {
    width: 100%;
    height: 100%;
    padding: 0 35px 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    font-family: var(--header-font-slogan);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.xsearch-input:focus {
    border-color: var(--header-red);
    box-shadow: 0 0 0 2px rgba(254, 0, 0, 0.1);
    outline: none;
}

.xsearch-submit {
    position: absolute;
    right: 0;
    top: 0;
    width: 36px;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.xsearch-submit:hover {
    color: var(--header-red);
}

.xsearch-submit svg {
    width: 16px;
    height: 16px;
}

/* Social icons */
.xsocial-container {
    display: flex;
    gap: 8px;
}

.xsocial-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f3f3f3;
    color: #333;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.xsocial-icon:hover {
    background-color: var(--header-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(254, 0, 0, 0.2);
}

.xsocial-icon svg {
    width: 16px;
    height: 16px;
}

/* Navigation Row Styles */
.xnav-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: var(--header-light-gray);
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: relative;
}

/* Main Navigation */
.xnav-main {
    flex: 1;
    display: flex;
    justify-content: center;
}

.xnav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 30px;
    padding: 8px 0;
}

.xnav-menu li {
    position: relative;
}

.xnav-menu a {
    display: block;
    color: var(--header-black);
    text-decoration: none;
    font-family: var(--header-font-nav);
    font-size: 17px;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.xnav-menu a:hover {
    color: var(--header-red);
}

/* Underline animation for menu items */
.xnav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--header-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.xnav-menu > li > a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.xnav-menu > li.current-menu-item > a,
.xnav-menu > li.current-menu-parent > a {
    color: var(--header-red);
    font-weight: 700;
}

.xnav-menu > li.current-menu-item > a::after,
.xnav-menu > li.current-menu-parent > a::after {
    transform: scaleX(1);
    height: 3px;
    background-color: var(--header-red);
}

/* Dropdown Menus */
.xnav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--header-white);
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    border-radius: 4px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    border-top: 3px solid var(--header-red);
}

.xnav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.xnav-menu .sub-menu li {
    width: 100%;
}

.xnav-menu .sub-menu a {
    padding: 8px 15px;
    border-left: 3px solid transparent;
    font-size: 15px;
    white-space: nowrap;
    font-weight: normal;
}

.xnav-menu .sub-menu a:hover {
    background: rgba(254, 0, 0, 0.05);
    border-left-color: var(--header-red);
    padding-left: 18px;
}

/* Hamburger Menu */
.xhamburger {
    display: none;
    width: 30px;
    height: 25px;
    position: absolute;
    cursor: pointer;
    z-index: 101;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: transparent;
    padding: 0;
    border-radius: 4px;
}

.xhamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--header-black);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.xhamburger span:nth-child(1) {
    top: 0px;
}

.xhamburger span:nth-child(2) {
    top: 10px;
    width: 80%;
    right: 0;
    left: auto;
}

.xhamburger span:nth-child(3) {
    top: 20px;
}

.xhamburger.active span {
    background: var(--header-red);
}

.xhamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.xhamburger.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.xhamburger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* ---------- MOBILE MENU ---------- */
.xmobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.xmobile-overlay.active {
    display: block;
    opacity: 1;
}

.xmobile-container {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.xmobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.xmobile-logo {
    display: flex;
    align-items: center;
}

.xmobile-logo img,
.xmobile-logo a img {
    height: auto;
    max-height: 50px;
    max-width: 180px;
}

.xmobile-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    background: var(--header-light-gray);
    transition: all 0.3s ease;
}

.xmobile-close:hover {
    background: var(--header-red);
    color: var(--header-white);
    transform: rotate(90deg);
}

/* Mobile contact section */
.xmobile-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.xmobile-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.xmobile-contact-item .xicon {
    color: var(--header-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.xmobile-contact-item svg {
    width: 16px;
    height: 16px;
}

.xmobile-contact-item a {
    color: var(--header-black);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--header-font-nav);
    font-size: 16px;
    transition: color var(--transition-fast);
}

.xmobile-contact-item a:hover {
    color: var(--header-red);
}

/* Mobile search */
.xmobile-search {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.xmobile-search form {
    display: flex;
    position: relative;
}

.xmobile-search input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: var(--header-font-slogan);
    font-size: 14px;
}

.xmobile-search button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xmobile-search button:hover {
    color: var(--header-red);
}

.xmobile-search svg {
    width: 16px;
    height: 16px;
}

/* Mobile content area */
.xmobile-content {
    flex: 1;
    padding: 15px 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.xmobile-menu {
    list-style: none;
    margin-bottom: 20px;
}

.xmobile-menu li {
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: xFadeInUp 0.3s forwards;
}

.xmobile-menu li:nth-child(1) { animation-delay: 0.05s; }
.xmobile-menu li:nth-child(2) { animation-delay: 0.1s; }
.xmobile-menu li:nth-child(3) { animation-delay: 0.15s; }
.xmobile-menu li:nth-child(4) { animation-delay: 0.2s; }
.xmobile-menu li:nth-child(5) { animation-delay: 0.25s; }
.xmobile-menu li:nth-child(6) { animation-delay: 0.3s; }
.xmobile-menu li:nth-child(7) { animation-delay: 0.35s; }
.xmobile-menu li:nth-child(8) { animation-delay: 0.4s; }
.xmobile-menu li:nth-child(9) { animation-delay: 0.45s; }
.xmobile-menu li:nth-child(10) { animation-delay: 0.5s; }
.xmobile-menu li:nth-child(n+11) { animation-delay: 0.55s; }

@keyframes xFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.xmobile-menu a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: var(--header-black);
    text-decoration: none;
    font-family: var(--header-font-nav);
    font-size: 18px;
    position: relative;
    border-bottom: 1px solid #f3f3f3;
    transition: all var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.xmobile-menu a:hover {
    color: var(--header-red);
    padding-left: 10px;
}

.xmobile-menu .current-menu-item > a {
    color: var(--header-red);
    font-weight: 700;
}

/* Mobile Dropdown Toggles */
.xmobile-menu .xdropdown-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    transition: all var(--transition-medium);
}

.xmobile-menu .xdropdown-toggle svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.xmobile-menu .sub-menu {
    display: none;
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-left: 2px solid var(--header-red);
    overflow: hidden;
}

.xmobile-menu .sub-menu a {
    padding: 8px 0;
    font-size: 16px;
    border-bottom: 1px dashed #f3f3f3;
}

.xmobile-menu .xsubmenu-active > .sub-menu {
    display: block;
}

.xmobile-menu .xsubmenu-active > .xdropdown-toggle {
    color: var(--header-red);
}

/* Mobile social icons */
.xmobile-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
}

.xmobile-social .xsocial-icon {
    width: 36px;
    height: 36px;
}

/* Body class when mobile menu is active */
body.xmobile-menu-active {
    overflow: hidden;
}

/* Adjustments for sticky header */
.xmain-header.xsticky .xbrand-row {
    padding: 6px 0;
}

.xmain-header.xsticky .xnav-row {
    padding: 0;
}

.xmain-header.xsticky .xnav-menu {
    padding: 6px 0;
}

/* Sport-specific navigation highlights */
.xnav-menu > li.sport-baseball > a:hover {
    color: #005eb8; /* Baseball blue */
}

.xnav-menu > li.sport-basketball > a:hover {
    color: #E56020; /* Basketball orange */
}

.xnav-menu > li.sport-football > a:hover {
    color: #663300; /* Football brown */
}

.xnav-menu > li.sport-hockey > a:hover {
    color: #0078d4; /* Hockey blue */
}

/* ---------- RESPONSIVE STYLES ---------- */
@media (min-width: 993px) {
    /* Hide mobile elements on desktop */
    .xhamburger,
    .xmobile-overlay {
        display: none !important;
    }
}

@media (max-width: 992px) {
    /* Hide desktop navigation on mobile */
    .xnav-main {
        display: none !important; /* Force hide the main menu on mobile */
    }
    
    /* Hide nav row background - just show hamburger */
    .xnav-row {
        background: transparent;
        border-top: none;
        position: absolute;
        top: 0;
        right: 0;
        width: auto;
        height: 100%;
        padding: 0;
        display: flex;
        align-items: center;
    }
    
    /* Show hamburger */
    .xhamburger {
        display: block;
    }
    
    /* Adjust brand container for tablets */
    .xbrand-container {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    /* Adjust top menu for mobile - smaller font size */
    .xtop-menu {
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding: 3px 0;
        gap: 10px;
    }
    
    .xtop-menu a {
        font-size: 11px; /* Smaller font for mobile */
    }
    
    .xtop-header {
        padding: 2px 0; /* Less padding */
    }
    
    .xtop-menu::-webkit-scrollbar {
        height: 2px;
    }
    
    .xtop-menu::-webkit-scrollbar-track {
        background: #222;
    }
    
    .xtop-menu::-webkit-scrollbar-thumb {
        background: var(--header-red);
    }
    
    .xslogan-text {
        font-size: 16px;
    }
    
    .xslogan-text::before,
    .xslogan-text::after {
        width: 15px;
        margin: 0 5px;
    }
    
    /* Responsive logo size for mobile */
    .xbrand-row {
        padding: 10px 0;
    }
    
    .xlogo img,
    .xlogo a img {
        max-height: 50px;
        max-width: 85%;
    }
    
    /* Mobile header adjustments */
    .xbrand-container {
        grid-template-columns: 1fr;
    }
    
    .xbrand-left,
    .xbrand-right {
        display: none;
    }
    
    .xbrand-center {
        grid-column: 1;
    }
    
    /* Adjust sticky header for mobile */
    .xmain-header.xsticky .xbrand-row {
        padding: 5px 0;
    }
    
    .xmain-header.xsticky .xlogo img,
    .xmain-header.xsticky .xlogo a img {
        max-height: 35px;
    }
    
    .xmain-header.xsticky .xnav-row {
        padding: 0;
    }
}

/* Fix for WordPress admin bar */
body.admin-bar .xmain-header.xsticky {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .xmain-header.xsticky {
        top: 46px;
    }
}
/* Fix blog header spacing issue */
.xmain-header {
    margin-bottom: 0 \!important;
}

.xnav-row {
    margin-bottom: 0 \!important;
    padding-bottom: 0 \!important;
}

.xheader-container {
    margin-bottom: 0 \!important;
}

/* Remove any extra spacing after header */
.site-header + *,
.xmain-header + * {
    margin-top: 0 \!important;
    padding-top: 0 \!important;
}

/* Ensure no extra spacing in header elements */
.xnav-menu {
    margin-bottom: 0 \!important;
}


/* Fix header container height issue */
.xbrand-row {
    padding: 5px 0 \!important; /* Reduced from 10px to 5px */
}

.xnav-row {
    padding: 0 \!important;
    min-height: auto \!important;
}

.xheader-container {
    min-height: auto \!important;
}

.xmain-header {
    min-height: auto \!important;
}

/* Ensure nav menu doesn't add extra height */
.xnav-menu {
    padding: 8px 0 \!important;
    margin: 0 \!important;
    min-height: auto \!important;
}

.xnav-menu > li > a {
    padding: 8px 18px \!important;
    line-height: 1.2 \!important;
}


/* More aggressive header height fix */
.xbrand-row {
    padding: 0 \!important; /* Remove all padding */
    margin: 0 \!important;
}

.xbrand-container {
    padding: 5px 0 \!important; /* Move padding to container level */
}

.xheader-row {
    margin: 0 \!important;
    padding: 0 \!important;
}

/* Make header as compact as possible */
.xmain-header * {
    margin-top: 0 \!important;
    margin-bottom: 0 \!important;
}

