/* ======================================================
   1. GLOBAL OVERFLOW & STICKY SETTINGS
====================================================== */
#masthead {
    position: sticky !important;
    top: 0 !important;
    z-index: 9998 !important;
    overflow: visible !important;
}

/* Strip hidden overflow clipping across all Astra header containers */
#masthead,
#masthead *,
.site-header,
.site-header *,
.ast-primary-header-bar,
.ast-above-header-bar,
.ast-below-header-bar,
.ast-builder-grid-row-container,
.ast-builder-grid-row,
.site-header-section,
.ast-builder-layout-element,
.ast-builder-menu {
    overflow: visible !important;
    clip-path: none !important;
}
/*
 *  ======================================================
   MOBILE POPUP OVERLAY: SEMI-TRANSPARENT WHITE + BLACK FONT
====================================================== */

/* 1. Make the menu overlay background semi-transparent white */
#ast-mobile-popup,
#ast-mobile-popup .ast-mobile-popup-inner,
#ast-mobile-popup .ast-mobile-popup-content {
    background-color: rgba(255, 255, 255, 0.92) !important; /* 92% white opacity */
    background: rgba(255, 255, 255, 0.92) !important;
}

/* 2. Change all popup menu links & text to black */
#ast-mobile-popup,
#ast-mobile-popup .menu-item a,
#ast-mobile-popup .ast-builder-menu-mobile a,
#ast-mobile-popup a {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Optional: Slight color change when tapping links */
#ast-mobile-popup .menu-item a:hover,
#ast-mobile-popup a:hover {
    color: #666666 !important;
}

/* 3. Make the close 'X' icon black so it stands out against the white */
#ast-mobile-popup .ast-mobile-popup-close,
#ast-mobile-popup .ast-mobile-popup-close *,
#ast-mobile-popup .menu-toggle-close,
#ast-mobile-popup .ast-mobile-svg {
    color: #000000 !important;
    fill: #000000 !important;
}

.site-content {
    padding-top: 0px !important;
}

/* ======================================================
   2. ROW 1: ANNOUNCEMENT BANNER (FULL VIEWPORT CENTERING)
====================================================== */
#masthead .ast-above-header-bar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.15) 100%), #d4fd42 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    clear: both !important;
}

/* Neutralize Astra's left/center/right column split so text spans 100% screen width */
#masthead .ast-above-header-bar .ast-builder-grid-row-container,
#masthead .ast-above-header-bar .ast-container,
#masthead .ast-above-header-bar .ast-builder-grid-row,
#masthead .ast-above-header-bar .site-header-section,
#masthead .ast-above-header-bar .site-header-section-left,
#masthead .ast-above-header-bar .site-header-section-center,
#masthead .ast-above-header-bar .site-header-section-right,
#masthead .ast-above-header-bar .ast-grid-col,
#masthead .ast-above-header-bar .ast-builder-layout-element {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    float: none !important;
}

/* Force the text itself to align dead center horizontally */
.occ-top-banner,
#masthead .ast-above-header-bar *,
#masthead .ast-above-header-bar p,
#masthead .ast-above-header-bar span,
#masthead .ast-above-header-bar div {
    color: #0b1f3a !important;          /* Dark Blue Font */
    text-align: center !important;
    line-height: 1.3 !important;
    margin: 0 auto !important;
    width: 100% !important;
    white-space: nowrap !important;     /* Keeps text strictly on one single line */
    display: block !important;

    /* Font Settings */
    font-family: inherit !important;     
    font-size: 14px !important;          
    font-weight: 700 !important;         
    letter-spacing: 0.4px !important;
    text-transform: none !important;
}

/* ======================================================
   3. ROW 2 & 3: NAVIGATION & SOCIAL ROWS (PREVENT OVERLAP)
====================================================== */
/* Primary Header Row */
#masthead .ast-primary-header-bar {
    background-color: #000000 !important;
    background: #000000 !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    min-height: 0 !important;
    position: relative !important;
    z-index: 20 !important;
    margin-top: 0 !important;           /* Stops black bar from pulling up into top banner */
    top: 0 !important;
    clear: both !important;
}

/* Below Header Row (Social Icons) */
#masthead .ast-below-header-bar {
    background-color: #000000 !important;
    background: #000000 !important;
    padding-top: 0px !important;
    padding-bottom: 6px !important;
    min-height: 0 !important;
    position: relative !important;
    z-index: 5 !important;
    margin-top: 0 !important;
}

/* Clear inner grid backgrounds */
#masthead .ast-primary-header-bar *,
#masthead .ast-below-header-bar *,
#masthead .ast-builder-grid-row,
#masthead .site-header-section,
#masthead .ast-builder-menu,
#masthead .main-navigation,
#masthead .ast-grid-col {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    min-height: 0 !important;
}

/* ======================================================
   4. SYMMETRIC LEFT / RIGHT MENU ALIGNMENT & CLEARANCE
====================================================== */
#masthead .ast-primary-header-bar .site-header-section-left,
#masthead .ast-primary-header-bar .site-header-section-right {
    flex: 1 1 50% !important;
    display: flex !important;
    align-items: center !important;
}

/* Left Column clearance */
#masthead .ast-primary-header-bar .site-header-section-left {
    justify-content: flex-end !important;
    padding-right: 128px !important; 
}

/* Right Column clearance */
#masthead .ast-primary-header-bar .site-header-section-right {
    justify-content: flex-start !important;
    padding-left: 128px !important;  
}

/* Force menu containers horizontal */
#masthead .main-header-menu,
#masthead .ast-builder-menu .main-header-menu,
#masthead .site-navigation ul,
#masthead .ast-builder-menu-1 ul,
#masthead .ast-builder-menu-2 ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: auto !important;
}

#masthead .main-header-menu > .menu-item,
#masthead .ast-builder-menu .menu-item {
    display: inline-block !important;
    white-space: nowrap !important;
}

#masthead .main-header-menu > .menu-item > .menu-link,
#masthead .ast-builder-menu .menu-item > .menu-link {
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    padding-top: 12px !important;
    padding-bottom: 2px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

/* ======================================================
   5. RIGHT-JUSTIFY SOCIAL ICONS
====================================================== */
#masthead .ast-below-header-bar .ast-builder-grid-row,
#masthead .ast-below-header-bar .site-header-section,
#masthead .ast-below-header-bar .ast-grid-col {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
}

#masthead .ast-header-social-wrap,
#masthead .ast-header-social-1,
#masthead .ast-social-stack-desktop {
    margin-left: auto !important;
    margin-right: 20px !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

#masthead .ast-header-social-wrap *,
#masthead .ast-below-header-bar * {
    color: #ffffff !important;
}

#masthead .ast-builder-grid-row *,
#masthead .site-header-section * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ======================================================
   6. LOGO (EXACT 225px DISPLAY & POSITIONING)
====================================================== */
#masthead .ast-primary-header-bar .site-branding,
#masthead .ast-primary-header-bar .ast-site-identity,
#masthead .site-branding,
#masthead .ast-site-identity {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -15%) !important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 180px !important;
    max-width: 180px !important;
    height: auto !important;
    display: block !important;
}

#masthead .site-branding a,
#masthead .ast-site-identity a,
#masthead .site-branding img,
#masthead .ast-site-identity img,
#masthead .custom-logo-link img {
    position: relative !important;
    z-index: 99999 !important;
    width: 180px !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    background: transparent !important;
}

/* 1. Constrain form container & align input + button side-by-side */
.site-footer form,
#colophon form,
.site-footer .mc4wp-form-fields,
.site-footer .wpforms-container {
    max-width: 380px !important;         /* Controls maximum form width */
    margin-left: auto !important;        /* Pulls form to the right */
    display: flex !important;
    flex-direction: row !important;      /* Places field and button side-by-side */
    gap: 8px !important;                 /* Space between input and button */
    align-items: center !important;
}

/* 2. Email Input Field */
.site-footer input[type="email"],
.site-footer input[type="text"],
#colophon input[type="email"],
#colophon input[type="text"] {
    flex: 1 !important;                  /* Fills remaining available width */
    height: 40px !important;             /* Slimmer height */
    padding: 0 12px !important;
    font-size: 13px !important;
    border-radius: 4px !important;
    border: 1px solid #333333 !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;                /* Strips default margins */
}

/* 3. Subscribe Button (Styled with Lime Accent) */
.site-footer input[type="submit"],
.site-footer button[type="submit"],
#colophon input[type="submit"],
#colophon button[type="submit"] {
    height: 40px !important;             /* Matches input field height exactly */
    padding: 0 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    background-color: #d4fd42 !important; /* Uses your lime banner accent color */
    color: #0b1f3a !important;           /* Dark blue text */
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    margin: 0 !important;                /* Strips default margins */
    transition: all 0.2s ease !important;
}

/* Button Hover State */
.site-footer input[type="submit"]:hover,
.site-footer button[type="submit"]:hover,
#colophon input[type="submit"]:hover,
#colophon button[type="submit"]:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}
/* ======================================================
   FOOTER MENU EVEN SPACING & ALIGNMENT
====================================================== */

/* 1. Stretch menu list across 100% width with equal spacing */
.site-footer .footer-navigation ul,
.site-footer .ast-builder-menu ul,
.site-footer .widget_nav_menu ul,
#colophon .main-header-menu {
    display: flex !important;
    justify-content: space-between !important; /* Pushes first item left, last item right, spaces rest evenly */
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 2. Clear default item margins so flexbox controls the layout */
.site-footer .footer-navigation li,
.site-footer .ast-builder-menu li,
.site-footer .widget_nav_menu li {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
}

/* 3. Strip link padding for exact edge-to-edge alignment */
.site-footer .footer-navigation a,
.site-footer .ast-builder-menu a,
.site-footer .widget_nav_menu a {
    padding-left: 0 !important;
    padding-right: 0 !important;
 padding-top: 10 !important;

	white-space: nowrap !important;
}
/* ======================================================
   MOVE FOOTER MENU DOWN
====================================================== */
.site-footer .footer-navigation ul,
.site-footer .ast-builder-menu ul,
.site-footer .widget_nav_menu ul {
    margin-top: 18px !important; /* Adjust this number to nudge it higher or lower */
}
/* ======================================================
   FOOTER MENU FONT STYLING (Cormorant Garamond)
====================================================== */
.site-footer .footer-navigation a,
.site-footer .ast-builder-menu a,
.site-footer .widget_nav_menu a {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 20px !important;       /* Adjust size if needed (e.g., 15px - 18px) */
    font-weight: 600 !important;      /* Options: 400 (Regular), 600 (Semi-Bold), 700 (Bold) */
    letter-spacing: 0.5px !important;  /* Gives serif fonts subtle breathing room */
}
/* ======================================================
   ALIGN SOCIAL ICONS & SUBSCRIBE BOX TO FAR RIGHT
====================================================== */

/* 1. Force the right-hand footer column to align all items to the right */
.site-footer .site-footer-section-2,
.site-footer .site-footer-section-3,
.site-footer .ast-footer-widget-2,
.site-footer .ast-footer-widget-3,
.site-footer .ast-builder-grid-row-cell:last-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;   /* Pushes all stacked items inside to the right */
    text-align: right !important;
}

/* 2. Push social icons to the far right edge */
.site-footer .ast-header-social-wrap,
.site-footer .ast-footer-social-wrap,
.site-footer .ast-footer-social-1,
.site-footer .ast-social-stack-desktop {
    margin-left: auto !important;
    margin-right: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
}

/* 3. Ensure subscribe form sits flush against the right edge */
.site-footer form,
#colophon form,
.site-footer .mc4wp-form-fields,
.site-footer .wpforms-container {
    margin-left: auto !important;
    margin-right: 0 !important;
}
/* ======================================================
   PULL SUBSCRIBE FORM UPWARD & TRIM VERTICAL SPACING
====================================================== */

/* 1. Pull the form up (adjust negative margin as needed) */
.site-footer form,
#colophon form,
.site-footer .mc4wp-form-fields,
.site-footer .wpforms-container {
    margin-top: -90px !important;  /* Make more negative (e.g., -20px) to pull HIGHER */
    margin-bottom: 0 !important;
}

/* 2. Strip default top margins & padding from Astra footer widgets */
.site-footer .ast-footer-widget-2,
.site-footer .ast-footer-widget-3,
.site-footer .widget,
.site-footer .ast-builder-layout-element {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* 1. Prevent horizontal scrollbars */
html, body {
    overflow-x: hidden;
}

/* 2. FULL-WIDTH BREAKOUT + HEIGHT CONTROL (Eliminates side gaps & limits height) */
.ast-single-entry-banner,
.ast-page-header-wrap {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
    
    /* Height Control */
    max-height: 280px !important; /* Change this number to adjust height */
    min-height: auto !important;
    overflow: hidden !important;
    
    /* Forces CSS Background Images to pin to the top edge */
    background-position: top center !important;
    background-size: cover !important;
}

/* 3. REMOVE INNER PADDING & STRETCH CONTAINERS */
.ast-single-entry-banner .ast-container,
.ast-page-header-wrap .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* 4. PIN IMAGE TAGS TO THE TOP (Trims strictly off the bottom) */
.ast-single-entry-banner img,
.ast-page-header-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 280px !important; /* Match your height above */
    object-fit: cover !important;
    object-position: top center !important; /* Anchors top edge, clips bottom */
    display: block !important;
}

/* 1. Prevent horizontal scrolling without breaking sticky elements */
html, body {
    overflow-x: clip !important;
}

/* 2. STICKY HEADER (Desktop Only) - Preserves layout height & announcement bar */
@media (min-width: 922px) {
    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
    }
}

/* 3. FULL-WIDTH BREAKOUT & HEIGHT CONTROL FOR BANNER */
.ast-single-entry-banner,
.ast-page-header-wrap {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 280px !important;
    min-height: auto !important;
    overflow: hidden !important;
    background-position: top center !important;
    background-size: cover !important;
}

/* 4. REMOVE INNER PADDING */
.ast-single-entry-banner .ast-container,
.ast-page-header-wrap .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 5. BANNER IMAGE CROPPING (Pins to top, trims off bottom) */
.ast-single-entry-banner img,
.ast-page-header-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 280px !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
}
/* Reduce font size for Latest Posts sidebar items */
#secondary .wp-block-latest-posts li a,
#secondary .wp-block-latest-posts li {
    font-size: 16px !important; /* Adjust this number to change text size */
    line-height: 1.4 !important; /* Controls spacing between lines */
}
/* ======================================================
   7. HOMEPAGE TRANSPARENCY, SLIM HEIGHT & LOGO OVERRIDES
====================================================== */

/* 1. Make inner row backgrounds transparent so main container tint shows */
.home #masthead .ast-primary-header-bar,
.home #masthead .ast-below-header-bar {
    background: transparent !important;
    background-color: transparent !important;
}

/* 2. Lock Header to top with tinted background */
.home #masthead {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

/* 3. TRIM VERTICAL HEIGHT / PADDING ACROSS ALL 3 ROWS */
/* Row 1: Yellow Announcement Banner */
.home #masthead .ast-above-header-bar {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

/* Row 2: Menu Row (Shrunk from 24px down to 6px) */
.home #masthead .ast-primary-header-bar {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Row 3: Social Icons Row */
.home #masthead .ast-below-header-bar {
    padding-top: 0px !important;
    padding-bottom: 2px !important;
}

/* Tighten link vertical padding inside menu */
.home #masthead .main-header-menu > .menu-item > .menu-link,
.home #masthead .ast-builder-menu .menu-item > .menu-link {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

/* 4. Hide logo image exclusively on Homepage */
.home #masthead .site-branding,
.home #masthead .ast-site-identity,
.home #masthead .custom-logo-link img,
.home #masthead .custom-logo {
    display: none !important;
}
/* 5. Force Mobile Hamburger Menu Icon to display in white on Homepage */
.home #masthead .ast-mobile-menu-trigger-wrapper,
.home #masthead .ast-button-wrap {
    display: flex !important;
}

.home #masthead .ast-mobile-menu-trigger-element,
.home #masthead .mobile-menu-toggle-icon,
.home #masthead .ast-mobile-svg,
.home #masthead .ast-mobile-menu-trigger-element * {
    fill: #ffffff !important;
    color: #ffffff !important;
}
/* ======================================================
   MOBILE HAMBURGER MENU VISIBILITY & Z-INDEX OVERRIDE
====================================================== */
@media (max-width: 921px) {
    /* 1. Clear desktop 128px padding so button isn't pushed off-screen */
    .home #masthead .ast-primary-header-bar .site-header-section-left,
    .home #masthead .ast-primary-header-bar .site-header-section-right {
        padding-left: 10px !important;
        padding-right: 10px !important;
        flex: auto !important;
        justify-content: flex-end !important;
    }

    /* 2. Force mobile button to display and bring to top layer (z-index) */
    .home #masthead .ast-mobile-menu-trigger-wrapper,
    .home #masthead .ast-button-wrap,
    .home #masthead .ast-mobile-menu-toggle-button {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 999999 !important; /* Forces button above all hero & header layers */
    }

    /* 3. Make hamburger lines pure white */
    .home #masthead .ast-mobile-menu-trigger-element,
    .home #masthead .mobile-menu-toggle-icon,
    .home #masthead .ast-mobile-svg,
    .home #masthead .ast-mobile-menu-trigger-element * {
        fill: #ffffff !important;
        color: #ffffff !important;
    }
}
/* ======================================================
   FORCE ASTRA MOBILE HEADER & TOGGLE BUTTON VISIBLE
====================================================== */
@media (max-width: 921px) {
    /* 1. Unhide Astra mobile header containers on Homepage */
    .home #masthead .ast-mobile-header-wrap,
    .home #masthead .ast-mobile-header-content,
    .home #masthead .ast-primary-header-bar,
    .home #masthead .site-header-primary-section-right {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* 2. Target all Astra mobile button wrapper variations */
    .home #masthead .ast-mobile-menu-trigger-wrapper,
    .home #masthead .ast-builder-menu-mobile-trigger-wrap,
    .home #masthead .ast-button-wrap,
    .home #masthead .ast-mobile-menu-buttons,
    .home #masthead [class*="ast-mobile-menu-trigger"] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 999999 !important;
        position: relative !important;
        margin-left: auto !important; /* Pushes button to right edge */
    }

    /* 3. Force icon lines/SVG to render in crisp white */
    .home #masthead button.ast-mobile-menu-trigger-1,
    .home #masthead .ast-mobile-menu-trigger-element,
    .home #masthead .mobile-menu-toggle-icon,
    .home #masthead .ast-mobile-svg,
    .home #masthead .ast-mobile-menu-trigger-element *,
    .home #masthead .ast-button-wrap .ast-mobile-menu-trigger-element {
        fill: #ffffff !important;
        color: #ffffff !important;
        border-color: #ffffff !important;
    }
}
/* ======================================================
   HOMEPAGE MOBILE: SHOW HAMBURGER ONLY & HIDE TEXT MENU
====================================================== */
@media (max-width: 921px) {
    /* 1. Hide the crowded desktop text menu links on mobile screens */
    .home #masthead .main-header-menu,
    .home #masthead .ast-builder-menu,
    .home #masthead .main-navigation,
    .home #masthead .site-navigation {
        display: none !important;
    }

    /* 2. Force the Hamburger Toggle Button to show on the right */
    .home #masthead .ast-mobile-menu-trigger-wrapper,
    .home #masthead .ast-builder-menu-mobile-trigger-wrap,
    .home #masthead .ast-button-wrap,
    .home #masthead .ast-mobile-menu-buttons,
    .home #masthead [class*="ast-mobile-menu-trigger"] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: auto !important;
        z-index: 999999 !important;
    }

    /* 3. Make hamburger lines pure white */
    .home #masthead .ast-mobile-menu-trigger-element,
    .home #masthead .mobile-menu-toggle-icon,
    .home #masthead .ast-mobile-svg,
    .home #masthead .ast-mobile-menu-trigger-element * {
        fill: #ffffff !important;
       /* color: #ffffff !important;*/
    }

    /* 4. Strip the black bar background on mobile homepage */
    .home #masthead .ast-primary-header-bar,
    .home #masthead .ast-below-header-bar {
        background: transparent !important;
        background-color: transparent !important;
    }
}
/* ======================================================
   MOBILE POPUP OVERLAY: SEMI-TRANSPARENT WHITE + BLACK FONT
====================================================== */

/* 1. Make the menu overlay background semi-transparent white */
#ast-mobile-popup,
#ast-mobile-popup .ast-mobile-popup-inner,
#ast-mobile-popup .ast-mobile-popup-content {
    background-color: rgba(255, 255, 255, 0.92) !important; /* 92% white opacity */
    background: rgba(255, 255, 255, 0.92) !important;
}

/* 2. Change all popup menu links & text to black */
#ast-mobile-popup,
#ast-mobile-popup .menu-item a,
#ast-mobile-popup .ast-builder-menu-mobile a,
#ast-mobile-popup a {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Optional: Slight color change when tapping links */
#ast-mobile-popup .menu-item a:hover,
#ast-mobile-popup a:hover {
    color: #666666 !important;
}

/* 3. Make the close 'X' icon black so it stands out against the white */
#ast-mobile-popup .ast-mobile-popup-close,
#ast-mobile-popup .ast-mobile-popup-close *,
#ast-mobile-popup .menu-toggle-close,
#ast-mobile-popup .ast-mobile-svg {
    color: #000000 !important;
    fill: #000000 !important;
}
/* ======================================================
   LOCK HAMBURGER ICON TO TOP-RIGHT CORNER (MOBILE)
====================================================== */
@media (max-width: 921px) {
    /* 1. Force icon to top-right viewport corner */
    .home #masthead .ast-mobile-menu-trigger-wrapper,
    .home #masthead .ast-builder-menu-mobile-trigger-wrap,
    .home #masthead .ast-button-wrap,
    .home #masthead [class*="ast-mobile-menu-trigger"] {
        position: fixed !important;
        top: 15px !important;       /* Space from top edge */
        right: 15px !important;     /* Space from right edge */
        left: auto !important;     /* Overrides any left alignment rules */
        bottom: auto !important;
        transform: none !important; /* Removes translateY shift */
        margin: 0 !important;
        z-index: 9999999 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* 2. Ensure healthy icon sizing and bright white color */
    .home #masthead .ast-mobile-menu-trigger-element,
    .home #masthead .mobile-menu-toggle-icon,
    .home #masthead .ast-mobile-svg,
    .home #masthead .ast-mobile-menu-trigger-element * {
        fill: #ffffff !important;
        color: #ffffff !important;
        width: 28px !important;
        height: 28px !important;
    }
}
/* ======================================================
   REMOVE TOP DARK STRIP ON MOBILE HOMEPAGE
====================================================== */
@media (max-width: 921px) {
    /* 1. Hide top announcement/above-header bar completely on mobile */
    .home #masthead .ast-above-header-bar,
    .home #masthead .ast-above-header-bar-wrap {
        display: none !important;
        background: transparent !important;
        border: none !important;
    }

    /* 2. Reset top spacing and remove top borders on masthead and body */
    body.home,
    html.home,
    .home #masthead {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
        box-shadow: none !important;
    }

    /* 3. Strip pseudo-element lines/borders top of header */
    .home #masthead::before,
    .home #masthead::after {
        display: none !important;
    }
}
/* ======================================================
   COMPLETE TOP STRIP & MARGIN REMOVAL (MOBILE)
====================================================== */
@media (max-width: 921px) {

    /* 1. Override WP Admin Bar margin/background (if testing while logged in) */
    html {
        margin-top: 0 !important;
    }
    #wpadminbar {
        display: none !important;
    }

    /* 2. Strip background and borders from outer Astra site containers */
    .home,
    .home body,
    .home #page,
    .home #masthead,
    .home .site-header,
    .home .main-header-bar-wrap,
    .home .main-header-bar,
    .home .ast-primary-header-bar,
    .home .ast-below-header-bar,
    .home .ast-above-header-bar,
    .home .ast-mobile-header-wrap,
    .home .ast-mobile-header-stack,
    .home .ast-theme-transparent-header .main-header-bar {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* 3. Pull page content/hero image flush to the very top edge */
    .home #content,
    .home .site-content,
    .home .entry-content,
    .home article {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}