/* 
 Theme Name:     Bare bones for Divi
 Author:         Divi theme examples
 Author URI:     http://www.divithemeexamples.com 
 Template:       Divi
 Version:        2.0
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */



/*** Square Service Buttons - Responsive ***/
/* Note: class has typo "serivce" not "service" */
.serivce_button.et_pb_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    line-height: 1.3 !important;
    font-size: clamp(12px, 2.5vw, 16px) !important;
    background-color: rgba(0, 0, 0, 0.55) !important; /* v1.8: was 0.16 — text illegible on desktop (no ::before gradient outside mobile) */
    background-blend-mode: overlay !important;
}


/* Wrapper full width with padding for spacing */
.et_pb_button_module_wrapper:has(.serivce_button) {
    width: 100% !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    margin: 10px 0 0 0 !important; /* Remove side margins causing overflow */
}

/* Mobile: Service buttons - Enhanced Design */
@media only screen and (max-width: 767px) {

    /* === SERVICE BUTTON GRID === */
    /* Match site-wide 94% width with consistent margins */
    .et_pb_section_49 .et_pb_row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        width: 94% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .et_pb_section_49 .et_pb_column {
        width: 50% !important;
        max-width: 50% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Last (5th) column - display as 2-column grid to continue pattern */
    .et_pb_section_49 .et_pb_column.et-last-child {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Fix wrapper margin causing overflow */
    .et_pb_button_module_wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .et_pb_section_49 .et_pb_button_module_wrapper {
        padding: 4px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    /* Ensure buttons don't overflow their wrappers */
    .et_pb_section_49 .serivce_button.et_pb_button {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* === SERVICE BUTTON STYLING === */
    /* Design: Refined Natural Luxury - earthy, premium, trustworthy */
    .serivce_button.et_pb_button {
        /* Layout - elegant card proportions */
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
        min-height: 130px !important;
        width: 100% !important;

        /* Typography - bold, confident, readable */
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.02em !important;
        text-transform: none !important;
        color: #ffffff !important;

        /* Text positioning */
        padding: 0 !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        text-align: center !important;

        /* Card styling - layered depth */
        border-radius: 12px !important;
        overflow: hidden !important;
        position: relative !important;

        /* Rich layered shadow for depth */
        box-shadow:
            0 1px 2px rgba(0,0,0,0.07),
            0 4px 8px rgba(0,0,0,0.07),
            0 8px 16px rgba(0,0,0,0.1),
            inset 0 0 0 1px rgba(255,255,255,0.08) !important;

        /* Smooth interactions */
        transition:
            transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
            box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
            filter 0.25s ease !important;

        /* Image treatment - slight desaturation for consistency */
        filter: saturate(0.95) !important;

        /* Subtle border for definition */
        border: 1px solid rgba(0,0,0,0.06) !important;
    }

    /* Frosted glass text container */
    .serivce_button.et_pb_button::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 55%;
        /* Rich gradient with earthy undertone */
        background: linear-gradient(
            to top,
            rgba(20, 35, 20, 0.92) 0%,
            rgba(25, 40, 25, 0.75) 40%,
            rgba(30, 45, 30, 0.4) 70%,
            transparent 100%
        ) !important;
        pointer-events: none;
        z-index: 1;
    }

    /* Subtle top vignette for polish */
    .serivce_button.et_pb_button::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 40%;
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.15) 0%,
            transparent 100%
        ) !important;
        pointer-events: none;
        z-index: 1;
    }

    /* Text styling - crisp and prominent */
    .serivce_button.et_pb_button {
        position: relative;
        z-index: 2;
    }

    /* Inner text wrapper */
    .et_pb_section_49 .serivce_button.et_pb_button {
        padding: 14px 12px !important;
        /* Refined text shadow - crisp, not blurry */
        text-shadow:
            0 1px 2px rgba(0,0,0,0.8),
            0 2px 8px rgba(0,0,0,0.4) !important;
        word-break: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    /* Hover state - subtle lift */
    .serivce_button.et_pb_button:hover {
        transform: translateY(-2px) scale(1.01) !important;
        filter: saturate(1.05) brightness(1.02) !important;
        box-shadow:
            0 2px 4px rgba(0,0,0,0.08),
            0 8px 16px rgba(0,0,0,0.12),
            0 16px 32px rgba(0,0,0,0.08),
            inset 0 0 0 1px rgba(255,255,255,0.12) !important;
    }

    /* Active/pressed state - satisfying click */
    .serivce_button.et_pb_button:active {
        transform: translateY(0) scale(0.98) !important;
        filter: saturate(1) brightness(0.98) !important;
        box-shadow:
            0 1px 2px rgba(0,0,0,0.1),
            0 2px 4px rgba(0,0,0,0.08),
            inset 0 0 0 1px rgba(0,0,0,0.1) !important;
        transition-duration: 0.1s !important;
    }

    /* Focus state for accessibility */
    .serivce_button.et_pb_button:focus {
        outline: none !important;
        box-shadow:
            0 0 0 3px rgba(64, 120, 50, 0.4),
            0 4px 8px rgba(0,0,0,0.1),
            0 8px 16px rgba(0,0,0,0.08) !important;
    }

    /* === FOOTER SOCIAL ICONS === */
    .et_pb_social_media_follow {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .et_pb_social_media_follow li {
        margin: 4px !important;
    }

    .et_pb_social_media_follow a.icon {
        width: 36px !important;
        height: 36px !important;
    }
}



/*** SITE-WIDE MOBILE WIDTH - Use full screen space ***/
@media only screen and (max-width: 980px) {
    .et_pb_row {
        width: 92% !important;
        max-width: 100% !important;
    }
}

@media only screen and (max-width: 767px) {
    /* Rows - nearly full width with small breathing room */
    .et_pb_row {
        width: 94% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Sections - remove horizontal padding, reduce vertical padding */
    .et_pb_section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* FAQ section - tighter spacing on mobile */
    .et_pb_section_62 {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    /* Full-width sections should be truly full */
    .et_pb_fullwidth_section {
        width: 100% !important;
    }

    /* Columns - use available space */
    .et_pb_column {
        margin-bottom: 0 !important;
    }

    /* Text modules - comfortable reading width */
    .et_pb_text {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Buttons and CTAs - full width on mobile */
    .et_pb_button_module_wrapper {
        width: 100% !important;
    }

    /* Forms - full width */
    .et_pb_contact_form,
    .gform_wrapper {
        width: 100% !important;
    }
}


/* ##### Menu Button STYLES ##### */

#top-menu .sub-menu {
   background-color: #ffffff; /* Background color dropdown */
   border-top: 3px solid #25313a; /* Top border color dropdown */
}

#top-menu .sub-menu li a {
   font-size: 16px; /* Font size dropdown */
   width: 100%;
   color: #000000;
   border-bottom: 1px solid #768792; /* Border bottom menu item color */
}

.sub-menu li:hover {
   background-color: #ed1c24; /* Hover color menu item */
}

.sub-menu .current_page_item {
   background-color: #ed1c24; /* Current menu item color dropdown */
}

#top-menu .sub-menu li {
   padding-left: 0px;
   padding-right: 0px;
   width: 100%;
}

#top-menu li li a {
   padding-top: 10px;
   padding-bottom: 8px;
}

#top-menu .sub-menu {
   padding-top: 0px;
   padding-bottom: 0px;
}

.nav ul li a:hover {
   opacity: 1;
   background-color: rgba(0,0,0,0);
}



/* Divi Engine CTA Button in the Divi Menu */

/* CTA button styles */
.menu_cta a {
    color: #ffffff!important; /* Change button text color here */
    background-color: #ed1c24; /* Change button background color here */
     border-radius: 50px; /* Set this to 0px if you want a square CTA button */
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    text-align: center;
    line-height: 9px;
    font-weight: 600;
    padding: 18px 16px!important;
    text-transform: uppercase;
    display: block;
    padding-left: 32px!important;
    padding-right: 32px!important;
    border: 0px;
}

/* Media query to ensure hover styles are only applied to desktop */
@media (min-width: 981px) {
    
    /* Hover styles for our CTA Button */
    .menu_cta a:hover {
        opacity: 1!important;
        color: #ffffff!important; /* Change hover button text color here */
        background-color: #ed1c24; /* Change hover button background color here */
        transform: scale(1.1); /* If you don't want the button to get bigger when you hover on it, delete this line */
    }
}
    
/* Fix the padding in the primary menu to accomodate the button */
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-top: 0px;
    padding-bottom: 0px;
}
 
/* Make sure that the alignment in the menu is correct */
.et_pb_menu .et_pb_menu__menu>nav>ul>li {
    align-items: center;
}

/*Gravity Forms Spinner*/
.gform_ajax_spinner {
    box-sizing: border-box;
    margin-top: 11px;
    margin-left: 10px;
    border: 6px solid rgba(247,150,33,1);
    border-left: 6px solid rgba(247,150,33,0);
    border-top: 6px solid rgba(247,150,33,.15);
    border-right: 6px solid rgba(247,150,33,.5);
    animation: spinner 1.1s infinite linear;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    position: absolute;
    z-index: 1;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) { /* Adjusts styles for mobile */
    .gform_ajax_spinner {
        margin-left: 0;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 10px;
    }
}

    @keyframes spinner {
        0% {
            transform: translateX(-50%) rotate(0deg);
        }
        100% {
            transform: translateX(-50%) rotate(360deg);
        }
    }



/*Gravity Forms Address Field Full Width*/
#gform_6 #field_6_12 .ginput_complex.ginput_container {
  margin-inline: 0 !important;
}
#gform_6 #field_6_12 .ginput_container_address span {
  padding-inline: 0 !important;
}


/* ===========================
   CUSTOM NAVIGATION
   =========================== */

.ga-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

/* --- MOBILE BAR --- */
.ga-nav__mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0 16px;
}

.ga-nav__phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #ed1c24;
    text-decoration: none;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
}
.ga-nav__phone-btn:active { background: rgba(237,28,36,0.1); }

/* Hamburger */
.ga-nav__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
}
.ga-nav__hb-box {
    width: 22px;
    height: 16px;
    position: relative;
    display: block;
}
.ga-nav__hb-line,
.ga-nav__hb-line::before,
.ga-nav__hb-line::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    position: absolute;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease;
}
.ga-nav__hb-line { top: 7px; }
.ga-nav__hb-line::before { content: ''; top: -7px; }
.ga-nav__hb-line::after { content: ''; top: 7px; }

/* X state */
.ga-nav__hamburger[aria-expanded="true"] .ga-nav__hb-line { transform: rotate(45deg); }
.ga-nav__hamburger[aria-expanded="true"] .ga-nav__hb-line::before { top: 0; transform: rotate(90deg); }
.ga-nav__hamburger[aria-expanded="true"] .ga-nav__hb-line::after { opacity: 0; }

/* Desktop bar hidden on mobile */
.ga-nav__desktop-bar { display: none; }

/* --- MOBILE OVERLAY --- */
.ga-nav__overlay {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease, visibility 0s 0.3s;
}
.ga-nav__overlay[aria-hidden="false"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.ga-nav__overlay-inner {
    padding: 16px 20px 40px;
    max-width: 480px;
    margin: 0 auto;
}

/* Mobile menu items */
.ga-nav__mob-menu { list-style: none; padding: 0; margin: 0; }
.ga-nav__mobile-item { border-bottom: 1px solid rgba(0,0,0,0.06); }

.ga-nav__mobile-link,
.ga-nav__mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-family: 'Ubuntu', -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ga-nav__mobile-link:active,
.ga-nav__mobile-toggle:active { color: #ed1c24; }

.ga-nav__expand-icon {
    color: #999;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    flex-shrink: 0;
}
.ga-nav__mobile-toggle[aria-expanded="true"] .ga-nav__expand-icon { transform: rotate(180deg); }

/* Accordion submenu */
.ga-nav__submenu {
    list-style: none;
    padding: 0 0 0 16px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ga-nav__mobile-item--expandable.is-expanded > .ga-nav__submenu { max-height: 800px; }

.ga-nav__submenu .ga-nav__mobile-link {
    font-size: 15px;
    padding: 12px 0;
    color: #555;
}

/* Mobile CTA */
.ga-nav__mob-cta {
    display: block;
    margin-top: 24px;
    padding: 16px;
    background: #ed1c24;
    color: #fff !important;
    font-family: 'Ubuntu', -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
}
.ga-nav__mob-cta:active { background: #c41620; }

/* Body scroll lock */
body.ga-nav-open { overflow: hidden; position: fixed; width: 100%; }

/* Body padding for fixed nav */
body { padding-top: 56px; }

/* WP Admin Bar compatibility */
.admin-bar .ga-nav { top: 32px; }
.admin-bar .ga-nav__overlay { top: 88px; } /* 56px bar + 32px admin bar */
@media screen and (max-width: 782px) {
    .admin-bar .ga-nav { top: 46px; }
    .admin-bar .ga-nav__overlay { top: 102px; } /* 56px + 46px */
}

/* --- DESKTOP (1024px+) --- */
@media (min-width: 1024px) {
    .ga-nav__mobile-bar,
    .ga-nav__overlay { display: none !important; }

    .ga-nav__desktop-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 24px;
        height: 100px;
        max-width: 1400px;
        margin: 0 auto;
    }
    .ga-nav__logo { flex-shrink: 0; margin-right: 24px; }
    .ga-nav__logo img { height: 80px; width: auto; }
    .ga-nav__desktop-links { flex: 1; display: flex; justify-content: flex-end; min-width: 0; overflow: visible; }

    .ga-nav__menu {
        display: flex;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 2px;
    }
    .ga-nav__item { position: relative; }
    .ga-nav__link {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 10px 10px;
        font-family: 'Ubuntu', -apple-system, sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: #003266;
        text-decoration: none;
        border-radius: 6px;
        transition: background 0.2s, color 0.2s;
        white-space: nowrap;
    }
    .ga-nav__link:hover { background: rgba(237,28,36,0.08); color: #ed1c24; }

    .ga-nav__dd-arrow { transition: transform 0.2s; }
    .ga-nav__item:hover .ga-nav__dd-arrow { transform: rotate(180deg); }

    /* Dropdown - 2-column grid */
    .ga-nav__mega {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-6px);
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
        padding: 16px 20px;
        margin: 4px 0 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
        list-style: none;
        display: grid;
        grid-template-columns: auto auto;
        gap: 2px 24px;
    }
    .ga-nav__item--has-dd:hover > .ga-nav__mega {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        transition-delay: 0s;
    }
    .ga-nav__mega-group {
        min-width: 180px;
        flex: 1;
    }
    .ga-nav__mega-heading {
        font-family: 'Ubuntu', -apple-system, sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: #ed1c24;
        margin: 0 0 8px;
        padding-bottom: 6px;
        border-bottom: 2px solid #ed1c24;
    }
    .ga-nav__mega-heading a {
        color: inherit;
        text-decoration: none;
    }
    .ga-nav__mega-heading a:hover { text-decoration: underline; }
    .ga-nav__mega-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .ga-nav__mega-link {
        display: block;
        padding: 4px 8px;
        font-family: 'Ubuntu', -apple-system, sans-serif;
        font-size: 15px;
        color: #444;
        text-decoration: none;
        border-radius: 4px;
        transition: background 0.15s, color 0.15s;
        line-height: 1.4;
    }
    .ga-nav__mega-link:hover { background: rgba(237,28,36,0.08); color: #ed1c24; }
    .ga-nav__mega-standalone {
        display: block;
        padding: 4px 8px;
        font-family: 'Ubuntu', -apple-system, sans-serif;
        font-size: 15px;
        font-weight: 500;
        color: #444;
        text-decoration: none;
        border-radius: 4px;
        transition: background 0.15s, color 0.15s;
        line-height: 1.4;
        white-space: nowrap;
    }
    .ga-nav__mega-standalone:hover { background: rgba(237,28,36,0.08); color: #ed1c24; }
    .ga-nav__mega-group--single { padding: 2px 0; }

    /* CTA button */
    .ga-nav__cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        padding: 10px 18px;
        margin-left: 16px;
        background: #ed1c24;
        color: #fff !important;
        font-family: 'Ubuntu', -apple-system, sans-serif;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        border-radius: 50px;
        white-space: nowrap;
        transition: background 0.2s, transform 0.2s;
    }
    .ga-nav__cta-btn:hover { background: #c41620; transform: scale(1.03); }

    body { padding-top: 100px; }
}
/* ===== ALL PRO LAWN SERVICE — BRAND TOKENS ===== */
/* Applied: 2026-06-08 — sourced from live allprolawnservice.com */
:root {
  --ap-primary: #ed1c24;
  --ap-primary-hover: #c41620;
  --ap-secondary: #003266;
  --ap-accent: #98a0a8;
  --ap-body: #333333;
  --ap-btn-text: #ffffff;
  --ap-border: #dddddd;
}

.et_pb_button:hover,
.et_pb_button_module_wrapper .et_pb_button:hover,
a.et_pb_button:hover {
  background-color: var(--ap-primary-hover) !important;
  border-color: var(--ap-primary-hover) !important;
  color: var(--ap-btn-text) !important;
}

/* Header/nav background */
#main-header,
.et_pb_section.et_pb_section_first {
  background-color: var(--ap-secondary);
}

/* Body text */
body, p {
  color: var(--ap-body);
  font-family: Arial, sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.et_pb_module h1, .et_pb_module h2 {
  font-family: 'PT Sans', Arial, sans-serif;
}

h1 { color: var(--ap-secondary); }
h2 { color: var(--ap-secondary); } /* v1.9: navy not gray */

/* Display/label fonts */
.et_pb_blurb_title,
.et_pb_slide_title,
.wp-block-heading { 
  font-family: 'Oswald', Arial, sans-serif;
}


/* Brand heading colors — force over Divi inline styles */
h1,
h1.entry-title,
.et_pb_text h1,
.et_pb_text_inner h1 { color: #003266 !important; }

h2, h3, h4,
.et_pb_text h2, .et_pb_text_inner h2,
.et_pb_text h3, .et_pb_text_inner h3,
.et_pb_text h4, .et_pb_text_inner h4 { color: #003266 !important; } /* v1.9: navy headings (was #98a0a8 gray); dark-layout override below keeps hero/form white */


/* Dark-layout Divi sections — headings stay white */
.et_pb_bg_layout_dark h1,
.et_pb_bg_layout_dark h2,
.et_pb_bg_layout_dark .et_pb_text_inner h1,
.et_pb_bg_layout_dark .et_pb_text_inner h2 { color: #ffffff !important; }

/* Hide FAQ accordion section site-wide (Rapid Lawn tenant data — pending All Pro FAQ provisioning) */
.et_pb_section:has(.ll-faq-accordion) { display: none !important; }

/* GatherUp review badge — light variant (moved from Divi-5-stripped code module) */
.ga-badge-light .revbadge-container .revbadge-minimal-title { color: #fff !important; font-weight: 700 !important; }
.ga-badge-light .revbadge-container .revbadge-read-more a { color: #fff !important; text-decoration: underline !important; text-underline-offset: 2px; }
.ga-badge-light .revbadge-container .revbadge-read-more a:hover { color: #ed1c24 !important; }

/* ===== DESKTOP GRID FIX — Gate #27 2026-06-10 v1.6 ===== */
/* Root cause: et_block_row sets display:block, overriding Divi flex layout. */
/* Fix: force display:flex on affected rows + constrain column widths. */
@media (min-width: 981px) {
    /* Service card 5-col row — et_pb_row_5col is a descriptor class (stable) */
    .et_block_row.et_pb_row_5col {
        display: flex !important;
        flex-wrap: nowrap;
    }
    .et_pb_column_110,
    .et_pb_column_111,
    .et_pb_column_112,
    .et_pb_column_113,
    .et_pb_column_114 {
        width: 20% !important;
        max-width: 20% !important;
        flex: 0 0 20% !important;
    }
    /* Owner bio 2-col row — et_pb_section_47 / et_pb_row_54 */
    .et_pb_row_54.et_block_row {
        display: flex !important;
        flex-wrap: nowrap;
    }
    .et_pb_column_103,
    .et_pb_column_104 {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}

/* Reviews section hidden — Elfsight app 9457956f not yet connected to Google account */
/* Remove this rule once Elfsight Google Reviews is configured and rendering (todo #27140) */
.et_pb_section:has(.elfsight-app-9457956f-4541-42b5-936d-af4158fb45b6) {
    display: none !important;
}



/* ============================================================ */
/* ===== v2.0  2026-06-10 — OVERRIDE TEARDOWN ===== */
/* Root cause (found by a329): wp-content/et-cache/ was root-     */
/* owned, so Divi (www-data) could never write                    */
/* et-divi-dynamic-11.css — the entire NATIVE design layer was    */
/* missing at render. The v1.x child-theme rules here were        */
/* hand-rebuilding fragments of that missing file. et-cache is    */
/* now www-data-owned and the native layer renders, so ALL        */
/* design-compensation rules (heading colors, section tints,      */
/* hero/section heights, padding, section-index-keyed rules,      */
/* button centering) were REMOVED in v2.0 — native CSS supplies   */
/* them. Only the content-gated hides below remain.               */
/*                                                                 */
/* LEFT IN PLACE (flagged to a329 for visual check, NOT removed): */
/*   service-card overlay rgba(0,0,0,0.55) near top of file was a */
/*   desktop card-label legibility safety. If the native layer    */
/*   now protects the labels, revert it to the original 0.16.     */
/* ============================================================ */

/* CONTENT-GATED HIDES — keep until Chris connects the sources.   */
/* Hide genuinely unconnected sections, NOT design compensation.  */
/* Targeted by STABLE app-wrapper class, never by et_pb_section_NN */
/* index (which shifts when homepage blocks are added/removed).   */

/* Google Reviews section kept hidden above (Elfsight 9457956f).  */
/* UN-HIDE both: connect the source so the widget renders, then   */
/* DELETE the matching rule. Reviews todo #27140.                 */

/* "Latest Work" = Smash Balloon Instagram feed, not yet          */
/* connected. UN-HIDE: connect the Instagram account in the       */
/* Instagram Feed plugin so .sb_instagram renders, then DELETE.   */
.et_pb_section:has(.sb_instagram) {
    display: none !important;
}

/* v2.0 (item 5): Request-a-Quote form row — row #68 flipped to native et_flex_row (was
   display:block, which stacked the 2 columns). The raw block->flex attr toggle left both
   columns as et_flex_column_24_24 (100% wide => still stacked); Divis UI would reflow them

/* v2.0 (item 5): Request-a-Quote form row — row #68 flipped to native et_flex_row (was
   display:block, which stacked the 2 columns). The raw block->flex attr toggle left both
   columns as et_flex_column_24_24 (100% wide => still stacked); Divi's UI would reflow them
   to 12_24 but a JSON toggle does not. Supply Divi's OWN 12_24 (50%) gap-aware width on
   desktop, scoped by the plugin form class so it survives render-class renumbering. Mobile
   keeps Divi native stacking. */
@media (min-width: 981px) {
  .et_flex_row:has(.ll-form-wrapper) > [class*=et_flex_column] {
    width: calc(50% - var(--horizontal-gap-parent, 5.5%) * 1 / 2) !important;
  }
}

/* v2.0 (item 5, mobile): flipping the row to et_flex_row gave it flex-wrap:nowrap, which
   kills native block-stacking on mobile (cols squeeze side-by-side + overflow viewport).
   Force full-width + wrap at <=980px so the form/guarantee columns stack like before.
   Desktop (min-width:981px) 50% rule above is untouched. */
@media (max-width: 980px) {
  .et_flex_row:has(.ll-form-wrapper) {
    flex-wrap: wrap !important;
  }
  .et_flex_row:has(.ll-form-wrapper) > [class*=et_flex_column] {
    width: 100% !important;
  }
}
