/**
 * Custom CSS for Acwila theme
 * Version: 1.0.4
 */

/* Side-by-side logo and navigation */
.site-header .header-m .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .site-branding {
    float: none;
}

.site-header .main-navigation {
    float: none;
}

/* Header-bottom inside header-m */
.site-header .header-m .header-bottom {
    background: transparent;
}

.site-header .header-m .main-navigation ul {
    display: flex;
    justify-content: flex-end;
}

.site-header .header-m .main-navigation a {
    color: #333;
}

/* Header Four - navigation inside header-m */
.site-header.header-four .header-m {
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

.site-header.header-four .header-m .site-branding {
    flex: 0 0 auto;
    max-width: 350px;
}

.site-header.header-four .header-m .header-bottom {
    flex: 0 0 auto;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.site-header.header-four .header-m .main-navigation {
    float: none;
    width: auto;
}

.site-header.header-four .header-m .main-navigation ul {
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

.site-header.header-four .header-m .main-navigation a {
    color: #fff;
}

body:not(.home) .site-header.header-four .header-m .main-navigation a {
    color: #515151;
}

/* Header Four - force override default header-bottom styles */
.site-header.header-four .header-m .header-bottom {
    background: transparent !important;
    padding: 0 !important;
    position: static !important;
    width: auto !important;
    text-align: right !important;
}

.site-header.header-four .header-m .main-navigation {
    float: none !important;
    width: auto !important;
    display: inline-block !important;
}

.site-header.header-four .header-m .main-navigation ul {
    display: flex !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    text-align: right !important;
}

.site-header.header-four .header-m .main-navigation li {
    float: none !important;
}

/* Homepage - white text on transparent header */
.home .site-header.header-four .header-m .main-navigation a {
    color: #fff !important;
}

/* Header Four - sticky nav bar (just the menu, not logo) */
.site-header.header-four .header-bottom.sticky-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    background: #000 !important;
    z-index: 9999 !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    flex: none !important;
}

.site-header.header-four .header-bottom.sticky-menu .main-navigation {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex !important;
    justify-content: flex-end;
    width: 100%;
    box-sizing: border-box;
}

.site-header.header-four .header-bottom.sticky-menu .main-navigation ul {
    display: flex !important;
    justify-content: flex-end !important;
}

.site-header.header-four .header-bottom.sticky-menu .main-navigation a {
    color: #fff !important;
}

/* Override sticky styles for hero pages - black background */
.has-page-hero .site-header.header-four .header-bottom.sticky-menu {
    background: #000 !important;
}

.has-page-hero .site-header.header-four .header-bottom.sticky-menu .main-navigation a {
    color: #fff !important;
}

/* Hero banner content spacing for non-Elementor pages */
.has-page-hero:not(.elementor-page) .site-content,
.has-page-hero:not(.elementor-page) #content {
    padding-top: 370px !important;
}

/* Tablet */
@media (max-width: 992px) {
    .has-page-hero:not(.elementor-page) .site-content,
    .has-page-hero:not(.elementor-page) #content {
        padding-top: 280px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .has-page-hero:not(.elementor-page) .site-content,
    .has-page-hero:not(.elementor-page) #content {
        padding-top: 200px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .has-page-hero:not(.elementor-page) .site-content,
    .has-page-hero:not(.elementor-page) #content {
        padding-top: 150px !important;
    }
}
