/* Header specific styles for homepage header bar */

/* WHM mobile behavior:
   <750px => keep Sign in/Sign up visible, move remaining links into hamburger dropdown */
.whm-menu-toggle {
    border: 0;
    padding: 6px 8px;
    box-shadow: none;
}

.whm-hamburger {
    display: inline-block;
    width: 22px;
    height: 16px;
    position: relative;
}

.whm-hamburger::before,
.whm-hamburger::after,
.whm-hamburger {
    background: transparent;
}

.whm-hamburger::before,
.whm-hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
}

.whm-hamburger::before { top: 2px; box-shadow: 0 6px 0 #ffffff; }
.whm-hamburger::after { top: 14px; }

.whm-auth-btn {
    white-space: nowrap;
    display: inline-block;
}

/* Non-home pages: keep auth button text white (home Sign in uses .bg-white and should stay dark) */
.whm-auth-btn:not(.bg-white) {
    color: #ffffff !important;
}

/* Bootstrap-like navbar expand breakpoint at 750px */
@media (min-width: 750px) {
    .navbar-expand-750 {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-750 .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-750 .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .navbar-expand-750 .navbar-nav .nav-link {
        padding-right: var(--bs-navbar-nav-link-padding-x);
        padding-left: var(--bs-navbar-nav-link-padding-x);
    }

    .navbar-expand-750 .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-750 .navbar-toggler {
        display: none;
    }
}

/* Utility display helpers for the same 750px breakpoint */
@media (min-width: 750px) {
    .d-whm-750-block { display: block !important; }
    .d-whm-750-none { display: none !important; }
}

@media (max-width: 749.98px) {
    .d-whm-750-block { display: none !important; }
    .d-whm-750-none { display: block !important; }
}

@media (max-width: 749.98px) {
    /* Below 750px: keep Sign in/Sign up visible; move remaining links into hamburger */
    .whm-header-actions {
        margin-left: auto;
    }

    /* Default: allow collapse to take a new row */
    .navbar {
        flex-wrap: wrap;
    }

    .whm-header-actions {
        flex: 0 0 auto;
        order: 1;
    }

    #navbarSupportedContent {
        order: 2;
        width: 100%;
    }

    /* Home page overlay behavior is handled below 450px only */

    /* Make collapsed menu look like dropdown list */
    #navbarSupportedContent {
        background: #ffffff;
        padding: 10px 12px;
        border-radius: 8px;
        margin-top: 10px;
        border: 1px solid rgba(0, 0, 0, 0.12);
    }

    .whm-main-nav {
        align-items: flex-start !important;
    }

    .whm-main-nav .nav-link {
        padding: 10px 6px;
        display: block;
        color: #000000 !important;
    }
}

/* Auth items should stay in header only */
.whm-auth-in-menu { display: none !important; }

/* Home page only:
   <450px => hide logo so Sign in + hamburger stay on one line */
@media (max-width: 449.98px) {
    .whm-home-header .povo-mobile-nav { display: none !important; }
    .whm-home-header .navbar-brand { display: none !important; }

    .whm-home-nav {
        position: relative;
        flex-wrap: nowrap;
        align-items: center;
    }

    /* <450px: keep Sign in + hamburger pinned on line 1,
       and show the dropdown as an overlay so it does not push the header down */
    .whm-home-nav .whm-header-actions {
        order: initial;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .whm-home-nav #navbarSupportedContent {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1050;
        margin-top: 10px;
        order: initial;
        width: auto;
    }
}

/* Inner (non-home) header:
   <750px => hamburger on left; ALL menu items (including auth) inside dropdown */
@media (max-width: 749.98px) {
    .whm-inner-nav {
        position: relative;
        flex-wrap: nowrap;
    }

    /* Non-home: hamburger icon should be black */
    .whm-inner-nav .whm-hamburger::before { background: #000000; box-shadow: 0 6px 0 #000000; }
    .whm-inner-nav .whm-hamburger::after { background: #000000; }

    .whm-inner-nav #navbarSupportedContent {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1050;
        margin-top: 10px;
    }
}

/* Gradient bar for header */
/*.header-sticky#innerhead,
.povo-nav .container-fluid {
    background-image: linear-gradient(90deg,#6f1b56 0%, #b81c59 40%, #e80c3c 100%);
}*/

/* When header becomes sticky (class is-sticky) ensure links remain white */
/*.header-sticky#innerhead .innr-head a,
.header-sticky#innerhead .nav-link,
.is-sticky#innerhead .innr-head a,
.is-sticky#innerhead .nav-link,
.is-sticky .nav-item a,
.header-sticky .nav-item a {
    color: #ffffff !important;
}*/

/* Set header height and align items vertically */
/*.header-sticky#innerhead {
    height: 80px;
}

.povo-nav .navbar {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
}*/

/* Container max width to keep content centered */
/*.povo-nav .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}*/

/* Logo sizing and ensure it sits above background graphics */
/*.povo-nav .navbar-brand img,
.povo-mobile-nav .logo img {
    height: 48px;
    width: auto;
    display: block;
    position: relative;
    z-index: 60;
}

.navbar-brand.d-none.d-md-block {
    margin-right: 18px;
    margin-left: 8px;
}*/

/* Force the collapsed area to align items to the right */
/*.collapse.navbar-collapse {
    display: flex !important;
    margin-left: auto;*/ /* push menu to right */
    /*justify-content: flex-end;
}*/

/* Navigation links on the right, white text */
/*.povo-nav .navbar .navbar-nav {
    align-items: center;*/ /* vertical center */
    /*display: flex;
    gap: 36px;
}

.header-sticky#innerhead .nav-link,
.header-sticky#innerhead .innr-head a,
.povo-nav .navbar .navbar-nav .nav-item.innr-head > a {
    color: #ffffff !important;
    font-size: 18px;
    padding: 8px 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.header-sticky#innerhead .nav-link:hover,
.header-sticky#innerhead .nav-link:focus {
    color: rgba(255,255,255,0.95) !important;
    text-decoration: none;
}*/

/* Make the Sign in button a white rectangle with dark text */
/*.readMM2 a.hvr-bounce-to-right2 {
    background: #ffffff !important;
    color: #111111 !important;
    padding: 10px 22px !important;
    border-radius: 2px !important;
    width: auto !important;
    display: inline-block !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    border: none !important;
}*/

/* Add subtle border to match reference box look */
/*.readMM2 a.hvr-bounce-to-right2 {
    border: 1px solid rgba(0,0,0,0.08) !important;
}*/

/* Spacing between sign in and other items */
/*.readMM2.me-md-2 { margin-right: 12px; }*/

/* Sign Up: colored gradient button */
/*.readMM2 + .readMM2 a.hvr-bounce-to-right2 {
    background-image: linear-gradient(to right,#80124f,#e80c3c) !important;
    color: #fff !important;
}*/

/* Ensure dropdown menus don't block header look */
/*.povo-nav .navbar .navbar-nav .dropdown-menu {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}*/

/* Increase z-index so header stays on top of hero graphics */
/*.header-sticky#innerhead { z-index: 9999; }*/

/* Responsive adjustments */
/*@media (max-width: 767px) {
    .header-sticky#innerhead {
        height: auto;
        padding: 10px 0;
    }

    .povo-nav .container-fluid {
        padding: 0 12px;
        background-image: linear-gradient(90deg,#f7e9ef 0%, #ffdfe2 100%);
    }

    .povo-nav .navbar .nav-link {
        color: #333 !important;
        padding: 10px 8px;
        font-size: 16px;
    }

    .readMM2 a.hvr-bounce-to-right2 {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 8px;
    }
}*/
