/* ==========================================================================
   1. GLOBAL HIDDEN ELEMENTS & OVERFLOW FIXES
   ========================================================================== */
.entry-meta, 
.post-meta, 
.meta-wrapper,
.relatedposts,
.related-posts,
div[class*="related-posts"],
div[class*="relatedposts"] { 
    display: none !important; 
}

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* ==========================================================================
   2. MOBILE VIEWPORT ADJUSTMENTS (768px and down)
   ========================================================================== */
@media screen and (max-width: 768px) {

    /* --- FULL-WIDTH BACKGROUND CONTAINERS ---
       Forces your background columns, groups, sections, and structural 
       theme panels to stretch completely edge-to-edge across the phone display. */
    div[class*="layout-"],
    div[class*="container"],
    article, 
    .inside-article,
    .wp-block-group,
    .entry-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* --- FLEXBOX BLOCK COLUMN STACKING --- */
    .wp-block-columns .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* --- SAFE TEXT BOUNDARIES (THE FIX) ---
       Applies clean padding specifically to typography blocks. 
       Using width: auto instead of 100% lets sentences wrap beautifully 
       before they hit the right safety margin. */
    .entry-content p, 
    .entry-content h1, 
    .entry-content h2, 
    .entry-content h3, 
    .entry-content h4, 
    .entry-content h5, 
    .entry-content h6,
    .wp-block-paragraph,
    .wp-block-heading,
    .wp-block-column, 
    p, h2, h3 {
        box-sizing: border-box !important;
        width: auto !important; 
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* --- MOBILE BUTTONS --- */
    .wp-block-buttons, 
    div[class*="wp-block-button"] {
        justify-content: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 90% !important;
    }
    
    .wp-block-button__link {
        display: inline-block !important;
    }
}
/* --- Related Posts Display & Spacing Patch --- */
.relatedposts,
.related-posts,
div[class*="related-posts"],
div[class*="relatedposts"] {
    display: block !important; /* Forces the section to show up */
}

/* --- Similar Posts Text Alignment Reset --- */
/* --- Similar Posts Section Alignment Override --- */
@media screen and (max-width: 768px) {
    /* Targets the actual wrapper sections holding the title and the list grids */
    div[id*="similar"], 
    section[class*="similar"],
    div[class*="similar-posts"],
    .wp-block-jetpack-related-posts,
    .sharedaddy {
        padding-left: 20px !important;
        padding-right: 30px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* Prevents inner images from breaking out of the new safe padded zone */
    div[class*="similar"] img,
    div[class*="similar-posts"] img,
    .wp-block-jetpack-related-posts img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* --- Force Hide Related Posts --- */
.relatedposts,
.related-posts,
div[class*="related-posts"],
div[class*="relatedposts"] {
    display: none !important;
}

/* --- Similar Posts Padding Fix --- */
@media screen and (max-width: 768px) {
    [class*="similar"] h2, 
    [class*="similar"] h3, 
    [class*="similar"] p,
    [class*="similar"] a,
    .site-main > [class*="similar"] h2 {
        box-sizing: border-box !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
}
/* --- Absolute Hamburger Alignment Fix (Enlarged) --- */
@media screen and (max-width: 768px) {
    /* 1. Ensure the header container acts as the anchor point */
    #masthead, 
    #mobile-header,
    .site-header {
        position: relative !important;
    }

    /* 2. Lock and scale up the hamburger button precisely to the right edge */
    .menu-toggle,
    button.menu-toggle,
    #mobile-header .menu-toggle,
    .main-navigation .menu-toggle {
        position: absolute !important;
        right: 20px !important; /* Locks it exactly 20px from the right screen edge */
        top: 50% !important;    /* Pulls it down to the middle */
        transform: translateY(-50%) !important; /* Centers it perfectly vertically */
        margin: 0 !important;
        width: auto !important;
        
        /* Icon Sizing Controls */
        font-size: 28px !important;  /* Significantly scales up the 3 horizontal lines */
        padding: 10px !important;     /* Expands the finger touch area for easier tapping */
    }

    /* 3. Forces custom theme font icons or SVG paths inside the button to match the new size */
    .menu-toggle svg,
    .menu-toggle i,
    .menu-toggle .gp-icon {
        width: 32px !important;
        height: auto !important;
        font-size: 32px !important;
    }
}
/* --- Visual Logo Shift Patch --- */
@media screen and (max-width: 768px) {
    /* Physically shifts the graphic image file 20px to the right */
    .site-logo img,
    .mobile-header-logo img,
    .inside-header img,
    header img {
        transform: translateX(20px) !important;
    }
}
/* --- Footer Mobile Logo Scaling Fix --- */
@media screen and (max-width: 768px) {
    /* Targets the image element specifically within your website's footer block */
    footer img,
    .site-footer img,
    div[class*="footer"] img {
        max-width: 180px !important; /* Adjust this number to make it your perfect size */
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
}
/* --- Universal Form Mobile Alignment Fix --- */
@media screen and (max-width: 768px) {
    /* 1. Targets every single element nested inside your forms to force a clean side margin */
    form *, 
    .wp-block-form *, 
    div[class*="form"] * {
        box-sizing: border-box !important;
    }

    /* 2. Pads only text elements, labels, and header titles inside the form */
    form h1, form h2, form h3, form h4, form h5, form h6,
    form label, 
    form p, 
    form span:not([class*="error"]):not([id*="error"]) {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* 3. Safely pads input wrappers or columns containing the input boxes */
    div[class*="input-"], 
    div[class*="field-"], 
    .wp-block-input {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
/* --- Form Submit Button Mobile Spacing Fix --- */
@media screen and (max-width: 768px) {
    /* Targets the submit button and its container block inside the form area */
    form button,
    form input[type="submit"],
    .wp-block-button:has(form),
    div[class*="button-wrap"] {
        margin-left: 20px !important;
        margin-right: 20px !important;
        box-sizing: border-box !important;
        /* If your button stretches 100% wide, this ensures it leaves 20px room on each side */
        width: calc(100% - 40px) !important; 
    }
}
/* --- Form Dropdown Text Visibility Fix --- */
select,
form select,
.wpcf7-select,
.gfield_select {
    height: 48px !important;       /* Forces a standard comfortable vertical block height */
    line-height: 1.4 !important;    /* Relieves vertical squeezing on font baselines */
    padding-top: 8px !important;    /* Generous breathing space inside the top */
    padding-bottom: 8px !important; /* Generous breathing space inside the bottom */
    font-size: 16px !important;     /* Prevents iOS from forcing an auto-zoom on click */
    box-sizing: border-box !important;
}
/* --- Homepage Full-Bleed Hero Header Extension --- */
@media screen and (max-width: 768px) {
    /* 1. Force the home page header containers to be completely see-through */
    .home .site-header,
    .home #masthead,
    .home #mobile-header,
    .home .main-navigation {
        background: transparent !important;
        background-color: transparent !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 999 !important; /* Floats the menu options safely on top of your background image */
    }

    /* 2. Pull the main page content block up to the very top edge of the screen */
    .home #page,
    .home .site-content,
    .home #content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* 3. Reset the logo and hamburger back to their native white styles so they contrast against the image */
    .home .menu-toggle,
    .home .menu-toggle svg,
    .home .site-logo img,
    .home .mobile-header-logo img {
        color: #ffffff !important;
        fill: #ffffff !important;
        filter: none !important;
        mix-blend-mode: normal !important;
        background: transparent !important;
    }
}

/* ==========================================================================
   DESKTOP HOMEPAGE HERO - HEALTH HOPE HAPPINESS
   ========================================================================== */

/* 1. HERO BACKGROUND */
.home .home-hero {
    position: relative !important;
    width: 100% !important;
    min-height: clamp(432px, 42.2vw, 610px) !important;
    overflow: hidden !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* 2. HERO CONTENT WRAPPER */
.home .home-hero-inner {
    position: relative !important;
    width: 100% !important;
    max-width: 1600px !important;
    min-height: inherit !important;
    margin: 0 auto !important;
    padding: 85px clamp(24px, 4vw, 60px) 40px
             clamp(70px, 9.2vw, 140px) !important;

    box-sizing: border-box !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 310px !important;
    align-items: center !important;
    column-gap: clamp(25px, 4vw, 65px) !important;
}

/* 3. MAIN HEADING */
.home .home-hero-title {
    position: relative !important;
    z-index: 2 !important;

    width: 100% !important;
    max-width: 600px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;
    font-size: clamp(58px, 7vw, 92px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* 4. MAGENTA ACCENT BAR */
.home .home-hero-accent {
    position: absolute !important;
    z-index: 1 !important;

    left: 0 !important;
    top: 85px !important;

    width: clamp(45px, 5.8vw, 60px) !important;
    height: 295px !important;

    background-color: #a00058 !important;
}

/* 5. WELCOME CARD */
.home .home-hero-card {
    position: relative !important;
    z-index: 3 !important;

    width: 100% !important;
    max-width: 310px !important;

    justify-self: end !important;

    box-sizing: border-box !important;
    padding: 22px !important;

    background: #ffffff !important;
    border-top: 9px solid #008c91 !important;
}

/* 6. WELCOME CARD HEADING */
.home .home-hero-card h2,
.home .home-hero-card h3 {
    color: #940052 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 0 12px !important;
}

/* 7. WELCOME CARD TEXT */
.home .home-hero-card p {
    color: #666666 !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    padding: 0 !important;
    margin: 0 0 15px !important;
}

/* 8. DESKTOP HEADER OVER HERO */
@media screen and (min-width: 769px) {

    .home #masthead {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 20 !important;

        background: transparent !important;
        box-shadow: none !important;
    }

    .home .site-header,
    .home .main-navigation {
        background: transparent !important;
    }

}

/* 9. MEDIUM DESKTOP SCREENS */
@media screen and (min-width: 769px) and (max-width: 1100px) {

    .home .home-hero-inner {
        grid-template-columns: minmax(0, 1fr) 290px !important;
        column-gap: 25px !important;
    }

    .home .home-hero-title {
        font-size: 58px !important;
    }

    .home .home-hero-card {
        max-width: 290px !important;
    }

    .home .home-hero-accent {
        height: 295px !important;
    }

}

/* 10. LARGE DESKTOP SCREENS */
@media screen and (min-width: 1600px) {

    .home .home-hero-inner {
        grid-template-columns: minmax(0, 1fr) 360px !important;
    }

    .home .home-hero-card {
        max-width: 360px !important;
        padding: 28px !important;
    }

}

/* 11. KEEP YOUR EXISTING MOBILE DESIGN */
@media screen and (max-width: 768px) {

    .home .home-hero-inner {
        display: flex !important;
        flex-direction: column !important;
    }

}
/* ==========================================================================
   12. FULL-WIDTH EDGE-TO-EDGE HERO CONTAINERS (DESKTOP ONLY, ALL PAGES)
   ========================================================================== */
@media screen and (min-width: 769px) {

    /* 1. Keep outer hero wrappers flush to the left edge (0px) */
    .wp-block-cover.alignfull .wp-block-cover__inner-container,
    .wp-block-cover.alignfull .wp-block-cover__inner-container > .wp-block-group.is-layout-constrained,
    .wp-block-cover.alignfull .is-layout-constrained > .alignwide {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* 2. Add breathing room between the 70px purple border and the white heading text */
    .wp-block-cover.alignfull .wp-block-columns.alignwide {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 45px !important;
        padding-right: 40px !important;
        box-sizing: border-box !important;
    }

    /* 3. Fluidly shrink ONLY the main hero heading in the left column (leaves the white welcome card untouched) */
    .wp-block-cover.alignfull .wp-block-columns.alignwide > .wp-block-column:first-child h1,
    .wp-block-cover.alignfull .wp-block-columns.alignwide > .wp-block-column:first-child h2,
    .wp-block-cover.alignfull .wp-block-columns.alignwide > .wp-block-column:first-child .wp-block-heading {
        font-size: clamp(2.4rem, 5vw, 5.5rem) !important;
        line-height: 1.08 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
}
/* ==========================================================================
   13. FULL-WIDTH FLUID NAVIGATION BAR (DESKTOP ONLY, ALL PAGES)
   ========================================================================== */
@media screen and (min-width: 769px) {

    /* 1. Stretch Astra's outer desktop header container edge-to-edge */
    #masthead #ast-desktop-header .site-primary-header-wrap.ast-container {
        display: block !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        box-sizing: border-box !important;
    }

    /* 2. Replace Astra's 50/50 CSS Grid with Flexbox so logo hugs left and menu claims all remaining width */
    #masthead #ast-desktop-header .ast-builder-grid-row.ast-builder-grid-row-has-sides {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 30px !important;
        width: 100% !important;
    }

    /* 3. Lock logo box strictly to the width of the logo image */
    #masthead #ast-desktop-header .site-header-primary-section-left {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    /* 4. Stretch EVERY nested Astra menu wrapper (including .ast-inline-flex) to 100% width */
    #masthead #ast-desktop-header .site-header-primary-section-right,
    #masthead #ast-desktop-header .ast-builder-menu-1,
    #masthead #ast-desktop-header .ast-main-header-bar-alignment,
    #masthead #ast-desktop-header .main-header-bar-navigation,
    #masthead #ast-desktop-header #primary-site-navigation,
    #masthead #ast-desktop-header .main-navigation.ast-inline-flex {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    /* 5. Keep tabs neatly grouped together at full font size on one single line */
    #masthead #ast-desktop-header #ast-hf-menu-1 {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end !important;
        width: 100% !important;
        margin: 0 !important;
    }

    #masthead #ast-desktop-header #ast-hf-menu-1 .menu-link {
        font-size: clamp(14px, 1.15vw, 17px) !important;
        padding-left: clamp(10px, 1.1vw, 18px) !important;
        padding-right: clamp(10px, 1.1vw, 18px) !important;
        white-space: nowrap !important;
    }
/* ==========================================================================
   14. DESKTOP FOOTER LAYOUT & LOGO SCALING (DESKTOP ONLY, ALL PAGES)
   ========================================================================== */
@media screen and (min-width: 769px) {

    /* 1. Arrange the 4 footer sections into 3 compact left-aligned columns (Logo + Social stacked in Col 1) */
    #colophon .ast-builder-footer-grid-columns.ast-builder-grid-row {
        display: grid !important;
        grid-template-columns: auto auto auto !important;
        grid-template-rows: auto auto !important;
        grid-template-areas:
            "logo nav address"
            "social nav address" !important;
        justify-content: start !important;
        align-items: start !important;
        column-gap: 80px !important; /* Space between the 3 main footer columns */
        row-gap: 20px !important;    /* Space between Logo and Follow Our Social */
    }

    /* 2. Assign each Astra footer section to its grid area */
    #colophon .site-footer-primary-section-1 {
        grid-area: logo !important;
    }

    #colophon .site-footer-primary-section-2 {
        grid-area: social !important;
    }

    #colophon .site-footer-primary-section-3 {
        grid-area: nav !important;
    }

    #colophon .site-footer-primary-section-4 {
        grid-area: address !important;
    }

    /* 3. Split the footer navigation into 2 columns (First 4 items in Col 1, rest in Col 2) */
    #colophon .site-footer-primary-section-3 ul.menu,
    #colophon .site-footer-primary-section-3 .footer-nav-wrap ul {
        display: grid !important;
        grid-template-rows: repeat(4, auto) !important; /* Forces items 1-4 into Column 1 */
        grid-auto-flow: column !important;             /* Automatically wraps item 5+ into Column 2 */
        column-gap: 45px !important;                   /* Space between the two nav columns */
        row-gap: 12px !important;                      /* Vertical space between links */
        align-items: start !important;
    }

    /* Enlarge the footer navigation text */
    #colophon .site-footer-primary-section-3 ul.menu li a,
    #colophon .site-footer-primary-section-3 .footer-nav-wrap ul li a {
        font-size: 17px !important; /* Adjust up or down to taste */
        line-height: 1.4 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    /* 4. Scale down the footer logo cleanly on desktop */
    #colophon img,
    footer img,
    .site-footer img {
        max-width: 190px !important;
        width: auto !important;
        height: auto !important;
        display: block !important;
    }

    /* 5. Tighten spacing between "FOLLOW OUR SOCIAL" and the icons below it */
    #colophon .site-footer-primary-section-2 .footer-widget-area,
    #colophon #block-15,
    #colophon #block-15 p {
        margin-bottom: 6px !important;
        padding-bottom: 0 !important;
    }

    #colophon .site-footer-primary-section-2 [data-section="section-fb-social-icons-1"] {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* ==========================================================================
   14. DESKTOP FOOTER LAYOUT & LOGO SCALING (DESKTOP ONLY, ALL PAGES)
   ========================================================================== */
@media screen and (min-width: 769px) {

    /* 1. Arrange the 4 footer sections side-by-side in 4 evenly spaced columns */
    #colophon .ast-builder-footer-grid-columns.ast-builder-grid-row {
        display: grid !important;
        grid-template-columns: auto auto auto auto !important;
        grid-template-areas: "logo social nav address" !important;
        justify-content: space-between !important;
        align-items: start !important;
        column-gap: 40px !important;
    }

    /* 2. Assign each Astra footer section to its column */
    #colophon .site-footer-primary-section-1 {
        grid-area: logo !important;
    }

    #colophon .site-footer-primary-section-2 {
        grid-area: social !important;
    }

    #colophon .site-footer-primary-section-3 {
        grid-area: nav !important;
    }

    #colophon .site-footer-primary-section-4 {
        grid-area: address !important;
    }

    /* 3. Split the footer navigation into 2 columns (Items 1-4 in Col 1, rest in Col 2) */
    #colophon .site-footer-primary-section-3 ul.menu,
    #colophon .site-footer-primary-section-3 .footer-nav-wrap ul,
    #colophon .site-footer-primary-section-3 .wp-block-navigation__container,
    #colophon .site-footer-primary-section-3 ul {
        display: grid !important;
        grid-template-rows: repeat(4, auto) !important; /* First 4 links in Column 1 */
        grid-auto-flow: column !important;             /* Remaining links wrap to Column 2 */
        column-gap: 50px !important;                   /* Wider space between the two nav columns */
        row-gap: 16px !important;                      /* More vertical space between links */
        align-items: start !important;
        justify-content: start !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    /* Reset list item margins so grid gaps control spacing cleanly */
    #colophon .site-footer-primary-section-3 li {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Enlarge the footer navigation links */
    #colophon .site-footer-primary-section-3 a {
        font-size: 19px !important; /* Larger link text to fill the space */
        line-height: 1.4 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }

    /* 4. Enlarge the headings and text in the Social & Address columns to match */
    #colophon .site-footer-primary-section-2 p,
    #colophon .site-footer-primary-section-4 p,
    #colophon .site-footer-primary-section-4 div {
        font-size: 17px !important;
        line-height: 1.55 !important;
    }

    /* Make bold headings ("FOLLOW OUR SOCIAL", "CAMP HE HO HA ADDRESS", "MAILING ADDRESS") stand out */
    #colophon .site-footer-primary-section-2 strong,
    #colophon .site-footer-primary-section-4 strong,
    #colophon .site-footer-primary-section-2 h2,
    #colophon .site-footer-primary-section-2 h3,
    #colophon .site-footer-primary-section-4 h2,
    #colophon .site-footer-primary-section-4 h3 {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    /* 5. Scale the footer logo cleanly on desktop */
    #colophon img,
    footer img,
    .site-footer img {
        max-width: 210px !important; /* Slightly larger to balance the bigger text */
        width: auto !important;
        height: auto !important;
        display: block !important;
    }

    /* 6. Tighten spacing between "FOLLOW OUR SOCIAL" and the icons below it */
    #colophon .site-footer-primary-section-2 .footer-widget-area,
    #colophon #block-15,
    #colophon #block-15 p {
        margin-bottom: 10px !important;
        padding-bottom: 0 !important;
    }

    #colophon .site-footer-primary-section-2 [data-section="section-fb-social-icons-1"] {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* ==========================================================================
   14. DESKTOP FOOTER LAYOUT & LOGO SCALING (DESKTOP ONLY, ALL PAGES)
   ========================================================================== */
@media screen and (min-width: 769px) {

    /* 0. Trim excessive top/bottom padding on the footer bar */
    #colophon .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    /* 1. Arrange the footer sections evenly across the bar */
    #colophon .ast-builder-footer-grid-columns.ast-builder-grid-row {
        display: grid !important;
        grid-template-columns: auto auto auto auto !important;
        grid-template-areas: "logo social nav address" !important;
        justify-content: center !important;
        align-items: start !important;
        column-gap: 65px !important; /* Slightly tighter gap to fit all 5 columns cleanly */
    }

    /* 2. Assign each Astra footer section to its column */
    #colophon .site-footer-primary-section-1 {
        grid-area: logo !important;
    }

    #colophon .site-footer-primary-section-2 {
        grid-area: social !important;
    }

    #colophon .site-footer-primary-section-3 {
        grid-area: nav !important;
    }

    #colophon .site-footer-primary-section-4 {
        grid-area: address !important;
    }

    /* 3. Split the footer navigation into 2 balanced columns */
    #colophon .site-footer-primary-section-3 ul.menu,
    #colophon .site-footer-primary-section-3 .footer-nav-wrap ul,
    #colophon .site-footer-primary-section-3 .wp-block-navigation__container,
    #colophon .site-footer-primary-section-3 ul {
        display: grid !important;
        grid-template-rows: repeat(4, auto) !important;
        grid-auto-flow: column !important;
        column-gap: 45px !important;
        row-gap: 16px !important;
        align-items: start !important;
        justify-content: start !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    #colophon .site-footer-primary-section-3 li {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Force larger font size on Astra's .menu-link class */
    #colophon .site-footer-primary-section-3 a,
    #colophon .site-footer-primary-section-3 a.menu-link,
    #colophon .site-footer-primary-section-3 .wp-block-navigation-item__content {
        font-size: 18px !important;
        line-height: 1.4 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }

    /* 4. Split Section 4 into 2 side-by-side columns (Camp Address | Mailing Address) */
    #colophon .site-footer-primary-section-4 .footer-widget-area-inner,
    #colophon .site-footer-primary-section-4 .ast-builder-layout-element {
        display: grid !important;
        grid-template-columns: auto auto !important;
        column-gap: 55px !important; /* Space between Camp Address and Mailing Address */
        align-items: start !important;
    }

    /* Remove any stacked top/bottom margins between the two address blocks */
    #colophon .site-footer-primary-section-4 .widget,
    #colophon .site-footer-primary-section-4 .wp-block-group,
    #colophon .site-footer-primary-section-4 aside {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* 5. Force larger font size on Social & Address text and headings */
    #colophon .site-footer-primary-section-2 *,
    #colophon .site-footer-primary-section-4 * {
        font-size: 16px !important;
        line-height: 1.55 !important;
        white-space: nowrap !important; /* Prevents address lines from wrapping awkwardly */
    }

    #colophon .site-footer-primary-section-2 strong,
    #colophon .site-footer-primary-section-4 strong,
    #colophon .site-footer-primary-section-2 .widget-title,
    #colophon .site-footer-primary-section-4 .widget-title {
        font-size: 17px !important;
        letter-spacing: 0.5px !important;
    }

    /* 6. Scale the footer logo cleanly on desktop */
    #colophon img,
    footer img,
    .site-footer img {
        max-width: 205px !important;
        width: auto !important;
        height: auto !important;
        display: block !important;
    }

    /* 7. Tighten spacing between "FOLLOW OUR SOCIAL" and the icons below it */
    #colophon .site-footer-primary-section-2 .footer-widget-area,
    #colophon #block-15,
    #colophon #block-15 p {
        margin-bottom: 10px !important;
        padding-bottom: 0 !important;
    }

    #colophon .site-footer-primary-section-2 [data-section="section-fb-social-icons-1"] {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* ==========================================================================
   14. DESKTOP FOOTER LAYOUT & LOGO SCALING (DESKTOP ONLY, ALL PAGES)
   ========================================================================== */
@media screen and (min-width: 769px) {

    /* 0. Trim excessive top/bottom padding on the footer bar */
    #colophon .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    /* 1. Arrange the main footer sections with wider breathing room */
    #colophon .ast-builder-footer-grid-columns.ast-builder-grid-row {
        display: grid !important;
        grid-template-columns: auto auto auto auto !important;
        grid-template-areas: "logo social nav address" !important;
        justify-content: center !important;
        align-items: start !important;
        column-gap: 95px !important; /* Extra space between Logo, Social, Nav, and Camp Address */
    }

    /* 2. Assign each Astra footer section to its column */
    #colophon .site-footer-primary-section-1 {
        grid-area: logo !important;
    }

    #colophon .site-footer-primary-section-2 {
        grid-area: social !important;
    }

    #colophon .site-footer-primary-section-3 {
        grid-area: nav !important;
    }

    #colophon .site-footer-primary-section-4 {
        grid-area: address !important;
    }

    /* 3. Split the footer navigation into 2 balanced columns */
    #colophon .site-footer-primary-section-3 ul.menu,
    #colophon .site-footer-primary-section-3 .footer-nav-wrap ul,
    #colophon .site-footer-primary-section-3 .wp-block-navigation__container,
    #colophon .site-footer-primary-section-3 ul {
        display: grid !important;
        grid-template-rows: repeat(4, auto) !important;
        grid-auto-flow: column !important;
        column-gap: 45px !important; /* Keeps the two nav columns grouped together */
        row-gap: 16px !important;
        align-items: start !important;
        justify-content: start !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    #colophon .site-footer-primary-section-3 li {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Force larger font size on Astra's .menu-link class */
    #colophon .site-footer-primary-section-3 a,
    #colophon .site-footer-primary-section-3 a.menu-link,
    #colophon .site-footer-primary-section-3 .wp-block-navigation-item__content {
        font-size: 18px !important;
        line-height: 1.4 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }

    /* 4. Split Section 4 into 2 columns with extra space between the two addresses */
    #colophon .site-footer-primary-section-4 .footer-widget-area-inner,
    #colophon .site-footer-primary-section-4 .ast-builder-layout-element {
        display: grid !important;
        grid-template-columns: auto auto !important;
        column-gap: 75px !important; /* Extra space between Camp Address and Mailing Address */
        align-items: start !important;
    }

    /* Remove any stacked top/bottom margins between the two address blocks */
    #colophon .site-footer-primary-section-4 .widget,
    #colophon .site-footer-primary-section-4 .wp-block-group,
    #colophon .site-footer-primary-section-4 aside {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* 5. Force larger font size on Social & Address text and headings */
    #colophon .site-footer-primary-section-2 *,
    #colophon .site-footer-primary-section-4 * {
        font-size: 16px !important;
        line-height: 1.55 !important;
        white-space: nowrap !important;
    }

    #colophon .site-footer-primary-section-2 strong,
    #colophon .site-footer-primary-section-4 strong,
    #colophon .site-footer-primary-section-2 .widget-title,
    #colophon .site-footer-primary-section-4 .widget-title {
        font-size: 17px !important;
        letter-spacing: 0.5px !important;
    }

    /* 6. Scale the footer logo cleanly on desktop */
    #colophon img,
    footer img,
    .site-footer img {
        max-width: 205px !important;
        width: auto !important;
        height: auto !important;
        display: block !important;
    }

    /* 7. Tighten spacing between "FOLLOW OUR SOCIAL" and the icons below it */
    #colophon .site-footer-primary-section-2 .footer-widget-area,
    #colophon #block-15,
    #colophon #block-15 p {
        margin-bottom: 10px !important;
        padding-bottom: 0 !important;
    }

    #colophon .site-footer-primary-section-2 [data-section="section-fb-social-icons-1"] {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* ==========================================================================
   14. DESKTOP FOOTER LAYOUT & LOGO SCALING (DESKTOP ONLY, ALL PAGES)
   ========================================================================== */
@media screen and (min-width: 769px) {

    /* 0. Trim excessive top/bottom padding on the footer bar */
    #colophon .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    /* 1. Arrange the main footer sections with wider breathing room */
    #colophon .ast-builder-footer-grid-columns.ast-builder-grid-row {
        display: grid !important;
        grid-template-columns: auto auto auto auto !important;
        grid-template-areas: "logo social nav address" !important;
        justify-content: center !important;
        align-items: start !important;
        column-gap: 95px !important; /* Extra space between Logo, Social, Nav, and Camp Address */
    }

    /* 2. Assign each Astra footer section to its column */
    #colophon .site-footer-primary-section-1 {
        grid-area: logo !important;
    }

    #colophon .site-footer-primary-section-2 {
        grid-area: social !important;
    }

    #colophon .site-footer-primary-section-3 {
        grid-area: nav !important;
    }

    #colophon .site-footer-primary-section-4 {
        grid-area: address !important;
    }

    /* 3. Split the footer navigation into 2 balanced columns */
    #colophon .site-footer-primary-section-3 ul.menu,
    #colophon .site-footer-primary-section-3 .footer-nav-wrap ul,
    #colophon .site-footer-primary-section-3 .wp-block-navigation__container,
    #colophon .site-footer-primary-section-3 ul {
        display: grid !important;
        grid-template-rows: repeat(4, auto) !important;
        grid-auto-flow: column !important;
        column-gap: 45px !important; /* Keeps the two nav columns grouped together */
        row-gap: 16px !important;
        align-items: start !important;
        justify-content: start !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    #colophon .site-footer-primary-section-3 li {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Force larger font size on Astra's .menu-link class */
    #colophon .site-footer-primary-section-3 a,
    #colophon .site-footer-primary-section-3 a.menu-link,
    #colophon .site-footer-primary-section-3 .wp-block-navigation-item__content {
        font-size: 18px !important;
        line-height: 1.4 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }

    /* 4. Split Section 4 into 2 columns with extra space between the two addresses */
    #colophon .site-footer-primary-section-4 .footer-widget-area-inner,
    #colophon .site-footer-primary-section-4 .ast-builder-layout-element {
        display: grid !important;
        grid-template-columns: auto auto !important;
        column-gap: 75px !important; /* Extra space between Camp Address and Mailing Address */
        align-items: start !important;
    }

    /* Remove any stacked top/bottom margins between the two address blocks */
    #colophon .site-footer-primary-section-4 .widget,
    #colophon .site-footer-primary-section-4 .wp-block-group,
    #colophon .site-footer-primary-section-4 aside {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* 5. Force larger font size on Social & Address text and headings */
    #colophon .site-footer-primary-section-2 *,
    #colophon .site-footer-primary-section-4 * {
        font-size: 16px !important;
        line-height: 1.55 !important;
        white-space: nowrap !important;
    }

    #colophon .site-footer-primary-section-2 strong,
    #colophon .site-footer-primary-section-4 strong,
    #colophon .site-footer-primary-section-2 .widget-title,
    #colophon .site-footer-primary-section-4 .widget-title {
        font-size: 17px !important;
        letter-spacing: 0.5px !important;
    }

    /* 6. Scale the footer logo cleanly on desktop */
    #colophon img,
    footer img,
    .site-footer img {
        max-width: 205px !important;
        width: auto !important;
        height: auto !important;
        display: block !important;
    }

    /* 7. Tighten spacing between "FOLLOW OUR SOCIAL" and the icons below it */
    #colophon .site-footer-primary-section-2 .footer-widget-area,
    #colophon #block-15,
    #colophon #block-15 p {
        margin-bottom: 10px !important;
        padding-bottom: 0 !important;
    }

    #colophon .site-footer-primary-section-2 [data-section="section-fb-social-icons-1"] {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* ==========================================================================
   14B. SMALLER LAPTOP & TABLET FOOTER ADJUSTMENTS (769px – 1150px)
   ========================================================================== */
@media screen and (min-width: 769px) and (max-width: 1150px) {

    /* Tighten main column gaps so nothing overflows horizontally */
    #colophon .ast-builder-footer-grid-columns.ast-builder-grid-row {
        column-gap: 35px !important;
    }

    /* Tighten internal navigation column gap */
    #colophon .site-footer-primary-section-3 ul.menu,
    #colophon .site-footer-primary-section-3 .footer-nav-wrap ul,
    #colophon .site-footer-primary-section-3 .wp-block-navigation__container,
    #colophon .site-footer-primary-section-3 ul {
        column-gap: 25px !important;
        row-gap: 12px !important;
    }

    /* Tighten gap between Camp Address and Mailing Address */
    #colophon .site-footer-primary-section-4 .footer-widget-area-inner,
    #colophon .site-footer-primary-section-4 .ast-builder-layout-element {
        column-gap: 30px !important;
    }

    /* Slightly reduce text and logo sizes for narrower viewports */
    #colophon .site-footer-primary-section-3 a,
    #colophon .site-footer-primary-section-3 a.menu-link,
    #colophon .site-footer-primary-section-3 .wp-block-navigation-item__content {
        font-size: 15px !important;
    }

    #colophon .site-footer-primary-section-2 *,
    #colophon .site-footer-primary-section-4 * {
        font-size: 14px !important;
    }

    #colophon .site-footer-primary-section-2 strong,
    #colophon .site-footer-primary-section-4 strong,
    #colophon .site-footer-primary-section-2 .widget-title,
    #colophon .site-footer-primary-section-4 .widget-title {
        font-size: 15px !important;
    }

    #colophon img,
    footer img,
    .site-footer img {
        max-width: 160px !important;
    }
}

}
/* ==========================================================================
   15. MOBILE FOOTER 2x2 COLUMN GRID (MOBILE ONLY, ALL PAGES)
   ========================================================================== */
@media screen and (max-width: 768px) {

    /* 1. Turn the 4 footer sections into a clean 2-column x 2-row grid on mobile */
    #colophon .ast-builder-footer-grid-columns.ast-builder-grid-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        column-gap: 20px !important;
        row-gap: 32px !important;
        align-items: start !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* 2. Reset section widths inside the 2x2 grid */
    #colophon .site-footer-section {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 0 !important;
    }

    /* 3. Scale the footer logo to fit comfortably in the top-left mobile column */
    #colophon img {
        max-width: 130px !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

    /* 4. Remove the large bottom margin on the "FOLLOW OUR SOCIAL" widget and paragraph */
    #colophon .site-footer-primary-section-2 .footer-widget-area,
    #colophon #block-15,
    #colophon #block-15 p {
        margin-bottom: 4px !important;
        padding-bottom: 0 !important;
    }

    /* 5. Remove top spacing above Astra's social icons container so icons sit snugly under the title */
    #colophon .site-footer-primary-section-2 [data-section="section-fb-social-icons-1"],
    #colophon .ast-footer-social-1-wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* 6. Enlarge address paragraphs & headings to match the navigation column's visual weight */
    #colophon p {
        font-size: 15px !important;
        line-height: 1.55 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #colophon strong {
        font-size: 15px !important;
        line-height: 1.4 !important;
        display: inline-block !important;
        margin-top: 10px !important;
        margin-bottom: 4px !important;
    }

    /* 7. Keep the navigation links under the logo balanced at 16px */
    #colophon .site-footer-primary-section-3 a,
    #colophon .site-footer-primary-section-3 li,
    #colophon .site-footer-primary-section-3 p {
        font-size: 16px !important;
        line-height: 1.95 !important;
        letter-spacing: 0.5px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* ========================================================================
   16. LARGE SCREEN TEXT SCALING ONLY (1600px and up)
   ======================================================================== */
@media screen and (min-width: 1600px) {

    /* 1. Navigation Menu Links */
    #masthead #ast-desktop-header #ast-hf-menu-1 .menu-link {
        font-size: 20px !important;
    }

    /* 2. Homepage Hero Heading & Welcome Card */
    .home .home-hero-title {
        font-size: 105px !important;
    }

    .home .home-hero-card h2,
    .home .home-hero-card h3 {
        font-size: 22px !important;
    }

    .home .home-hero-card p {
        font-size: 15px !important;
    }

    /* 3. Main Page Body Text & Headings */
    .entry-content p,
    .entry-content li,
    .wp-block-paragraph {
        font-size: 20px !important;
        line-height: 1.65 !important;
    }

    .entry-content h1 {
        font-size: 54px !important;
    }

    .entry-content h2 {
        font-size: 40px !important;
    }

    .entry-content h3 {
        font-size: 28px !important;
    }

    /* 4. Footer Links, Headings & Addresses */
    #colophon .site-footer-primary-section-3 a,
    #colophon .site-footer-primary-section-3 a.menu-link,
    #colophon .site-footer-primary-section-3 .wp-block-navigation-item__content {
        font-size: 20px !important;
    }

    #colophon .site-footer-primary-section-2 *,
    #colophon .site-footer-primary-section-4 * {
        font-size: 18px !important;
    }

    #colophon .site-footer-primary-section-2 strong,
    #colophon .site-footer-primary-section-4 strong,
    #colophon .site-footer-primary-section-2 .widget-title,
    #colophon .site-footer-primary-section-4 .widget-title {
        font-size: 20px !important;
    }
}
