/* 
 Theme Name:     Fuse
 Author:         Webstract
 Author URI:     https://www.webstract.com/
 Template:       Divi
 Version:        5.0
*/ 

/* ------------------------------------------------------------------------- 
    This CSS is "mobile first"
------------------------------------------------------------------------- */

/* ------------------------------------------------------------------------- 
    CUSTOM VARIABLES
    Named values we define once and reuse anywhere.

    Example:
    :root {
        --variable-name: red;
    }
    color: var(--variable-name);
------------------------------------------------------------------------- */

:root {
    /* General transition effect */
    --transition-base: 0.5s ease;
    
    /* Based on header (adjust per client site) */
    --header-height: 54px;
    --header-height-sticky: 42px;
    --header-height-tablet: 55px;

    /* FORM VARIABLES */
    --form-column-gap: 10px;
    --form-error-color: #d00;
    /* Icon color is baked into the SVG. Keep in sync with --form-error-color. #d00 = %23d00 */
    --form-error-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23d00'/%3E%3Crect x='10.75' y='5' width='2.5' height='9' rx='1.25' fill='white'/%3E%3Ccircle cx='12' cy='18' r='1.5' fill='white'/%3E%3C/svg%3E");
    --form-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------------- 
    BUTTONS AND LINKS

    We want ALL links to be underlined upon hover.
    We do NOT want buttons or menu items to be underlined upon hover.
------------------------------------------------------------------------- */

a:hover {
    text-decoration: underline;
}
.et_pb_button:hover, .et_pb_menu a:hover {
    text-decoration: none;
}

/* ------------------------------------------------------------------------- 
    HEADER / LOGO

    Shrink the logo upon scroll.
------------------------------------------------------------------------- */

#et-boc header.et-l .et_pb_section--with-menu .et_pb_row {
    transition: padding var(--transition-base);
}
#et-boc header.et-l .et_pb_section--with-menu .et_pb_menu__logo img {
    transition: width var(--transition-base), height var(--transition-base);
}
#et-boc header.et-l .has_et_pb_sticky .et_pb_section--with-menu .et_pb_row {
    padding: 0 !important;
}
#et-boc header.et-l .has_et_pb_sticky .et_pb_section--with-menu .et_pb_menu__logo img {
    width: 140px;
    height: auto;
}

/* ------------------------------------------------------------------------- 
    MOBILE MENU

    Adjust as needed.
------------------------------------------------------------------------- */

.et_pb_menu .et_mobile_menu {
    padding: 0;
    top: var(--header-height);
}
.has_et_pb_sticky .et_pb_menu .et_mobile_menu {
    top: var(--header-height-sticky);
}
.et_pb_menu .et_mobile_menu li a {
    padding: 10px 20px;
}
.et_pb_menu .et_mobile_menu .menu-item-has-children .sub-menu li {
    padding-left: 10px;
}
.et_pb_menu .et_mobile_menu .menu-item-has-children .sub-menu li a {
    padding: 10px 20px;
}

/* ------------------------------------------------------------------------- 
    PAGE TITLE BANNER

    Hide the excerpt if empty.
------------------------------------------------------------------------- */

.page-excerpt:empty {
    display: none !important;
}

/* Divi adds padding-bottom: 10px to headings. Remove it from the page title so the
   space between the title and the excerpt is controlled only by the column gap
   in the Divi template. */
.page-title h1, .page-title h2 {
    padding-bottom: 0;
}

/* ------------------------------------------------------------------------- 
    BASIC PAGE

    Typography for basic WordPress pages.
    Try to match Divi/Fuse typography if possible.
------------------------------------------------------------------------- */

.fuse-divi-off #main-content h2 {
    font-size: 36px;
    line-height: 1.2em;
}
.fuse-divi-off #main-content h3 {
    font-size: 28px;
    line-height: 1.2em;
}
.fuse-divi-off #main-content h4 {
    font-size: 23px;
    line-height: 1.2em;
}
.fuse-divi-off #main-content h5 {
    font-size: 18px;
    line-height: 1.2em;
}
.fuse-divi-off #main-content h6 {
    font-size: 16px;
    line-height: 1.2em;
}
.fuse-divi-off #main-content h1,
.fuse-divi-off #main-content h2,
.fuse-divi-off #main-content h3,
.fuse-divi-off #main-content h4,
.fuse-divi-off #main-content h5,
.fuse-divi-off #main-content h6 {
    font-weight: bold;
}
.fuse-divi-off #main-content p {
    font-size: 16px;
    line-height: 1.4em;
}
.fuse-divi-off #main-content ul,
.fuse-divi-off #main-content ol {
    padding-bottom: 1em;
}
.fuse-divi-off #main-content ul li,
.fuse-divi-off #main-content ol li {
    font-size: 14px;
    line-height: 1.6em;
}

/* -------------------------------------------------------------------------
    BASIC PAGE - SIDEBAR

    Styles below are for menus, lists, text and forms (within sidebar).
    Adjust as needed depending what you want to include in the sidebar.
------------------------------------------------------------------------- */

#main-content #sidebar {
    padding-top: 30px;
    padding-bottom: 0;
}
#main-content #sidebar .et_pb_widget {
    margin-bottom: 20px;
}
#main-content #sidebar h4.widgettitle {
    font-size: 20px;
    line-height: 1.2em;
    font-weight: bold;
}
#main-content #sidebar ol,
#main-content #sidebar ul {
    padding-bottom: 0;
}
#main-content #sidebar ol {
    list-style-type: decimal;
    list-style-position: inside;
    line-height: 26px;
}
#main-content #sidebar ul li,
#main-content #sidebar ol li {
    font-size: 14px;
    line-height: 1.6em;
}
#main-content #sidebar .menu-item-has-children > a {
    display: inline-block;
    margin-bottom: .5em;
}
#main-content #sidebar .menu-item-has-children .sub-menu {
    padding-bottom: 0;
}
#main-content #sidebar p {
    font-size: 14px;
    line-height: 1.4em;
}

/* SEARCH WIDGET */

.widget_search #searchform > div {
    display: flex;
    align-items: stretch;
}
.widget_search #searchform input#s {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: auto !important;
    padding: 8px;
    border: 2px solid #949494;
    border-right: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2em !important;
    color: #000;
}
.widget_search #searchform input#s:focus {
    outline: none;
    border-color: blue;
}
.widget_search #searchform input#searchsubmit {
    position: static;
    float: none;
    width: auto;
    height: auto !important;
    margin: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: #555;
    color: #fff;
    font-size: 14px;
    line-height: 1.2em !important;
    cursor: pointer;
    transition: background var(--transition-base);
}
.widget_search #searchform input#searchsubmit:hover {
    background: #000;
}

/* ------------------------------------------------------------------------- 
    FORMS

    We have 3 form styles:
    1. Default (mobile): Form fields are 100%
    2. Form One - fuse-form-100-50-100: Name = 100%, Email and Phone = 50%, Message = 100%
    3. Form Two - fuse-form-33-100: Name, Email, Phone = 33.33%, Message = 100%
------------------------------------------------------------------------- */

/* This removes the unnecessary max-width from the form. */
.fuse-form .fsBody form.fsForm {
    max-width: 100%;
}

/* This removes unnecessary padding that originally wrapped the form. */
.fuse-form .fsBody [class*='InnerFormBody'] {
    padding: 0 !important;
}

/* Form Label */

.fuse-form .fsBody form.fsForm .fsLabel {
    /* To hide the labels visually (but keep them for screen readers), uncomment these lines:
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    */
    margin-bottom: 2px;
}
.fuse-form .fsBody form.fsForm .fsLabel > span {
    color: #000;
    font-size: 14px;
    font-weight: 600;
}
.fuse-form .fsBody form.fsForm .fsLabel .fsRequiredMarker {
    color: var(--form-error-color);
}
.fuse-form .fsBody form.fsForm .fsFieldCell {
    width: 100%;
    flex-direction: column;
}

/* Form Validation Warnings */

.fuse-form .fsBody form.fsForm .fsValidationError {
    margin-bottom: 5px;
    border: 2px solid var(--form-error-color);
    border-radius: 0;
    padding: 10px;
    line-height: normal;
}
.fuse-form .fsBody form.fsForm .fsValidationError [class*='StyledErrorBannerText'] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #000;
}
.fuse-form .fsBody form.fsForm .fsValidationError > div [class*='StyledErrorBannerIcon'] {
    width: 12px;
    height: 12px;
    min-width: 12px;
    background: var(--form-error-icon) no-repeat center / contain;
}

/* Form Validation Summary (hidden) */

.fuse-form .fsBody form.fsForm [class*='StyledErrorBanner-sc']:not(.fsValidationError) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Form Input Fields */

.fuse-form .fsBody form.fsForm .fsPage .fsSection {
    row-gap: 15px !important;
}

.fuse-form .fsBody form.fsForm .fsFieldCell input::placeholder,
.fuse-form .fsBody form.fsForm .fsFieldCell textarea::placeholder {
    color: #757575;
    opacity: 1;
}

.fuse-form .fsBody form.fsForm .fsFieldCell input[type=email],
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=password],
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=tel],
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=text],
.fuse-form .fsBody form.fsForm .fsFieldCell textarea,
.fuse-form .fsBody form.fsForm .fsFieldCell select {
    width: 100%;
    padding: 8px;
    border: 2px solid #949494;
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2em;
    color: #000;
}
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=email]:focus,
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=password]:focus,
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=tel]:focus,
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=text]:focus,
.fuse-form .fsBody form.fsForm .fsFieldCell textarea:focus,
.fuse-form .fsBody form.fsForm .fsFieldCell select:focus {
    outline: none;
    border-color: blue;
}

.fuse-form .fsBody form.fsForm .fsFieldCell select {
    background-color: #fff;
    padding-right: 36px;
    appearance: none;
    background-image: var(--form-select-arrow);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
    height: auto;
}

/* Form Radios and Checkboxes */

/* Formstack marks some text as visually hidden (like the fieldset legend
   "Radio Button Required field"). Hide it, but keep it for screen readers. */
.fuse-form .fsBody form.fsForm [class*='VisuallyHidden'] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* The group of options: stacked, with even spacing */
.fuse-form .fsBody form.fsForm .fsFieldCell fieldset {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.fuse-form .fsBody form.fsForm .fsFieldCell fieldset > div {
    margin: 0;
    padding: 0;
}

/* Each option row: control + text */
.fuse-form .fsBody form.fsForm .fsOptionLabel {
    display: flex;
    width: fit-content;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #000;
    overflow-wrap: anywhere;
    cursor: pointer;
}

/* The radio/checkbox itself
   margin-top = (line-height 20px - control 16px) / 2, which centers it on the first line of text */
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=checkbox],
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=radio] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #555;
}
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=checkbox]:focus-visible,
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=radio]:focus-visible {
    outline: 2px solid blue;
    outline-offset: 2px;
}

/* Form Validation Warnings - Within Input Fields */

.fuse-form .fsBody form.fsForm .fsFieldCell input.fsInvalidInput,
.fuse-form .fsBody form.fsForm .fsFieldCell textarea.fsInvalidInput {
    padding-right: 36px;
    background-image: var(--form-error-icon);
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: right 10px center;
}
.fuse-form .fsBody form.fsForm .fsFieldCell textarea.fsInvalidInput {
    background-position: right 10px top 12px;
}

/* Form Button */

.fuse-form .fsBody form.fsForm .fsSubmit {
    margin-top: 25px !important;
}
.fuse-form .fsBody form.fsForm .fsSubmit div[role="navigation"] {
    display: flex;
    justify-content: center;
}
.fuse-form .fsBody form.fsForm .fsSubmit .fsSubmitButton {
    font-size: 16px;
    padding: 15px 20px;
    border: 0;
    border-radius: 0;
    transition: background var(--transition-base);
    background: #555;
    color: #fff;
    margin: 0;
    width: 100%;
    cursor: pointer;
}
.fuse-form .fsBody form.fsForm .fsSubmit .fsSubmitButton:hover {
    background: #000;
}

/* Hide the referrer URL field (visitors do not need to see it). It still submits with the form.
   Keep it AFTER Name, Email, Phone and Message (etc) in Formstack, because the layout rules below count fields by position.
*/

.fuse-form .fsBody form.fsForm .fsFieldCell.fsHiddenField {
    display: none;
}

/* Hide this graphic which appears under the form (visitors do not need to see it). */

.stacklock {
    display: none;
}

/* ------------------------------------------------------------------------- 
    BREADCRUMBS
------------------------------------------------------------------------- */

/* 

Fuse uses Yoast breadcrumbs via the [wpseo_breadcrumb] shortcode.
This shortcode has been added to the "Global Footer" within a Code Module.
The code module has the class .breadcrumbs so that we can target the breadcrumbs.
This is an SEO-friendly way to hide the breadcrumbs on the homepage.

 */

.home .breadcrumbs {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ------------------------------------------------------------------------- 
    SITE-SPECIFIC: BERNELL HYDRAULICS
    Only styles that Divi presets can't handle go here.
    Organized by area. Each rule is scoped to a bh- class set in Divi
    (Advanced → CSS Class), so it only affects the element that has it.

    Contents:
    1. Header & main menu        (.bh-nav, .bh-main-menu, .bh-phone-blurb)
    2. Homepage hero video       (.bh-video-row)
    3. Page title banner         (.page-title)
    4. Cards & logos             (.bh-cards, .bh-logos)
    5. CTA bands                 (.bh-cta)
    6. FAQ accordion             (.bh-faq)
    7. Our Work gallery          (lightbox)
    8. Forms (Formstack)         (.fuse-form)
    9. Blog sidebar              (#sidebar, .bh-sidebar-cta)
    10. Service Locations pages  (.bh-sl-content)
    11. Footer                   (.bh-footer-menu)
    12. Tablet & phone overrides

    Why section 12 uses max-width queries: Divi presets are set for desktop
    first, so these are phone/tablet exceptions layered on top of them.
------------------------------------------------------------------------- */

/* 1. HEADER & MAIN MENU
------------------------------------------------------------------------- */

/* Underline the current page (::before, because Divi uses ::after for the dropdown arrow) */
.bh-main-menu .et-menu > li > a { position: relative; }
.bh-main-menu .et-menu > li.current-menu-item > a::before,
.bh-main-menu .et-menu > li.current-menu-ancestor > a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #D70D09;
}
.bh-main-menu .et-menu > li.menu-item-has-children > a::before { right: 18px; }

/* Dropdown items */
.bh-main-menu .et-menu .sub-menu { width: 280px; }
.bh-main-menu .et-menu .sub-menu li,
.bh-main-menu .et-menu .sub-menu li a { width: 100%; }
.bh-main-menu .et-menu .sub-menu li a {
    line-height: 1.4;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Header contact blurbs: icon left, centered with the text */
.bh-contact-blurb .et_pb_blurb_content{display:flex;flex-direction:row;align-items:center;gap:14px;max-width:none}
.bh-contact-blurb .et_pb_main_blurb_image{flex-shrink:0;width:auto;margin:0;line-height:1}
.bh-contact-blurb .et_pb_blurb_container{padding-left:0;text-align:left}
.bh-contact-blurb .et_pb_module_header{padding-bottom:0;margin-bottom:2px}

/* 2. HOMEPAGE HERO VIDEO
   Row (CSS class: bh-video-row) is set to Position: Absolute in Divi.
   The Code module holds the Vimeo iframe + overlay.
------------------------------------------------------------------------- */

.bh-video-row,
.bh-video-row .et_pb_column,
.bh-video-row .et_pb_code,
.bh-video-row .et_pb_code_inner {
    height: 100%;
    margin: 0 !important;
}
.bh-video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.bh-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}
.bh-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,25,74,.92) 0%, rgba(8,25,74,.55) 60%, rgba(8,25,74,.2) 100%);
}

/* 3. PAGE TITLE BANNER (Theme Builder banners, e.g. blog single / Service Locations)
------------------------------------------------------------------------- */

.page-title p {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
}

/* 4. CARDS & LOGOS (and Products)
------------------------------------------------------------------------- */

/* Service cards: consistent image crop */
.bh-cards .et_pb_image,
.bh-cards .et_pb_image_wrap { width: 100%; display: block; }
.bh-cards .et_pb_image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Line Card logos: even sizes, never cropped */
.bh-logos .et_pb_image img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

/* Products grid: each item keeps its natural height (no stretching to match the intro) */
.bh-products > .et_pb_module,
.bh-products > .et_pb_group { align-self: flex-end; height: auto !important; }

/* 5. CTA BANDS
------------------------------------------------------------------------- */

.bh-cta h2 { padding-bottom: 0; margin-bottom: 20px; }
.bh-cta p { margin-bottom: 0; padding-bottom: 0; text-wrap: pretty; }

/* 6. FAQ ACCORDION
------------------------------------------------------------------------- */

.bh-faq .et_pb_toggle { transition: border-color .2s ease, box-shadow .2s ease; }
.bh-faq .et_pb_toggle_close:hover { border-color: #D70D09; }
.bh-faq .et_pb_toggle_close:hover .et_pb_toggle_title { color: #D70D09; }
.bh-faq .et_pb_toggle_open { border-left: 4px solid #D70D09; box-shadow: 0 4px 16px rgba(8,25,74,.08); }
.bh-faq .et_pb_toggle_open .et_pb_toggle_title { color: #D70D09 !important; }

/* 7. OUR WORK GALLERY
------------------------------------------------------------------------- */

/* Lightbox: hide the image title (keeps the "19 of 20" counter) */
.mfp-gallery .mfp-title { display: none; }

/* 8. FORMS (FORMSTACK)
------------------------------------------------------------------------- */

/* Single checkbox border: use the browser's native checkbox */
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=checkbox],
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=radio] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
    accent-color: #D70D09;
}
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=checkbox]::before,
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=checkbox]::after,
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=radio]::before,
.fuse-form .fsBody form.fsForm .fsFieldCell input[type=radio]::after {
    content: none !important;
    display: none !important;
}

/* Formstack submit button = site Primary button */
.fuse-form .fsBody .fsSubmitButton{background:var(--gcid-primary-color,#D70D09)!important;color:#fff!important;border:0!important;border-radius:6px;padding:14px 32px;font-family:'Poppins',sans-serif;font-size:16px;font-weight:600;line-height:1.2;cursor:pointer;transition:background .2s}
.fuse-form .fsBody .fsSubmitButton:hover{background:var(--gcid-ocdvavcal1,#B00B08)!important}

/* 9. BLOG SIDEBAR
------------------------------------------------------------------------- */

/* Quote box (Custom HTML widget) */
.bh-sidebar-cta { background: #f5f5f5; padding: 30px; border-radius: 8px; margin-bottom: 40px; }
#sidebar .bh-sidebar-cta h3 { font-size: 24px; line-height: 1.2; color: #08194A; padding-bottom: 10px; }
.bh-sidebar-phone a { font-size: 18px; font-weight: 600; color: #D70D09; }
.bh-sidebar-btn { display: inline-block; margin-top: 10px; padding: 12px 24px; background: #D70D09; color: #fff !important; font-weight: 600; border-radius: 4px; }
.bh-sidebar-btn:hover { background: #B00B07; }

/* Latest Posts: dates below titles */
#sidebar .widget_recent_entries li { margin-bottom: 16px; }
#sidebar .widget_recent_entries li a { color: #08194A; }
#sidebar .widget_recent_entries li a:hover { color: #D70D09; }
#sidebar .widget_recent_entries .post-date { display: block; margin-top: 4px; font-size: 13px; color: #595D64; }

/* Sidebar width 70/30 (desktop only; on smaller screens the sidebar stacks below) */
@media only screen and (min-width: 981px) {
    .et_right_sidebar #left-area { width: 70%; padding-right: 4%; }
    .et_right_sidebar #sidebar { width: 30%; }
    .et_right_sidebar #main-content .container:before { right: 30% !important; }
}

/* 10. SERVICE LOCATIONS PAGES (Post Content module in the template)
------------------------------------------------------------------------- */

.bh-sl-content { max-width: 900px; }
.bh-sl-content h1 { padding-bottom: 0; margin-bottom: 16px; }
.bh-sl-content h2 { margin-top: 36px; padding-bottom: 12px; }
.bh-sl-content p + ul { margin-top: 20px; }
.bh-sl-content ul li { padding-bottom: 8px; }

/* 11. FOOTER
------------------------------------------------------------------------- */

/* Footer menu: vertical, two equal columns, left aligned, no hamburger */
.bh-footer-menu .et_pb_menu__menu,
.bh-footer-menu .et_pb_menu__menu > nav { display: block !important; }
.bh-footer-menu .et_pb_menu__wrap,
.bh-footer-menu .et_pb_menu__menu,
.bh-footer-menu .et_pb_menu__menu > nav { justify-content: flex-start !important; width: 100%; }
.bh-footer-menu .et_mobile_nav_menu { display: none !important; }
.bh-footer-menu ul.et-menu {
    display: block !important;
    width: 100%;
    columns: 2;
    column-gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
.bh-footer-menu ul.et-menu > li {
    display: block !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    break-inside: avoid;
    text-align: left !important;
}
.bh-footer-menu ul.et-menu > li > a { padding: 0 !important; }

/* 12. TABLET & PHONE OVERRIDES
------------------------------------------------------------------------- */

/* Tablet + phone (up to 980px) */
@media only screen and (max-width: 980px) {

    /* Mobile menu: full-width dropdown even though the menu column is 50% */
    .bh-nav .et_pb_row,
    .bh-nav .et_pb_column,
    .bh-nav .et_pb_menu,
    .bh-nav .et_pb_menu_inner_container,
    .bh-nav .et_pb_menu__wrap,
    .bh-nav .et_mobile_nav_menu,
    .bh-nav .mobile_nav { position: static !important; }
    .bh-nav .et_mobile_menu { left: 0; right: 0; width: 100% !important; top: 100% !important; }
}

/* Phone (up to 767px) */
@media only screen and (max-width: 767px) {

    /* Header: hide the "Call Headquarters" label */
    .bh-phone-blurb .et_pb_module_header { display: none; }

    /* Stack all multi-column rows (except the nav bar) */
    .et_pb_row:not(.bh-nav .et_pb_row) { flex-wrap: wrap; row-gap: 32px; }
    .et_pb_row:not(.bh-nav .et_pb_row) > .et_pb_column { width: 100% !important; }

    /* Heading sizes (!important: overrides preset/variable sizes on phones) */
    h1 { font-size: 30px !important; line-height: 1.2 !important; }
    h2 { font-size: 24px !important; line-height: 1.25 !important; }
    h3 { font-size: 20px !important; line-height: 1.3 !important; }
}

/* Small desktop / tablet landscape (981–1199px): header breathing room */
@media only screen and (min-width: 981px) and (max-width: 1199px) {
    .bh-hide-small { display: none !important; }
    .bh-header-logos img { width: auto !important; max-height: 56px; }
    .bh-main-menu .et-menu > li { padding-left: 0 !important; padding-right: 0 !important; }
    .bh-main-menu .et-menu > li > a { font-size: 12px !important; padding-left: 6px !important; padding-right: 6px !important; }
    .bh-nav .et_pb_button { white-space: nowrap; }
}

/* ------------------------------------------------------------------------- 
    
    RESPONSIVE STYLING

    Phone: Up to 767px
    Tablet: 768px – 980px
    Desktop: 981px and above

------------------------------------------------------------------------- */

/* PHONE: Up to 767px 

480 and 576 are not Divi breakpoints.
These are included to provide additional fine-tuning (if necessary).
Adjust as needed.

*/

@media only screen and (min-width: 481px) {
    
}
@media only screen and (min-width: 577px) {
    
}

/* TABLET: 768px – 980px */

@media only screen and (min-width: 768px) {

    .et_pb_menu .et_mobile_menu {
        top: var(--header-height-tablet);
    }

    /* ------------------------------------------------------------------------- 
        FORMS
    ------------------------------------------------------------------------- */

    .fuse-form .fsBody form.fsForm .fsSubmit .fsSubmitButton {
        width: auto;
    }

    .fuse-form-100-50-100 .fuse-form .fsBody form.fsForm .fsPage .fsSection,
    .fuse-form-33-100 .fuse-form .fsBody form.fsForm .fsPage .fsSection {
        display: flex !important;
        flex-wrap: wrap;
        column-gap: var(--form-column-gap) !important;
    }

    /* NOTE: These rules target fields by position (:nth-child), so the field order in Formstack matters.
       Hidden fields (like the Referrer URL field) count too. Keep hidden fields at the end. */

    /* FORM ONE: fuse-form-100-50-100 / Name = 100%, Email and Phone = 50%, Message = 100%
       [ Field 1 ] <-- gap --> [ Field 2 ]
       Available width = 100% - 1 gap (10px) = 100% - 10px
       Each field = (100% - 10px) ÷ 2 = 50% - 5px
    */

    .fuse-form-100-50-100 .fuse-form .fsBody form.fsForm .fsFieldCell:nth-child(2),
    .fuse-form-100-50-100 .fuse-form .fsBody form.fsForm .fsFieldCell:nth-child(3) {
        width: calc((100% - var(--form-column-gap)) / 2);
    }

    /* FORM TWO: fuse-form-33-100 / Name, Email, Phone = 33.33%, Message = 100%
       [ Field 1 ] <-- gap --> [ Field 2 ] <-- gap --> [ Field 3 ]
       Available width = 100% - 2 gaps (2 × 10px) = 100% - 20px
       Each field = (100% - 20px) ÷ 3 = 33.33% - 6.67px
    */

    .fuse-form-33-100 .fuse-form .fsBody form.fsForm .fsFieldCell:nth-child(1),
    .fuse-form-33-100 .fuse-form .fsBody form.fsForm .fsFieldCell:nth-child(2),
    .fuse-form-33-100 .fuse-form .fsBody form.fsForm .fsFieldCell:nth-child(3) {
        width: calc((100% - 2 * var(--form-column-gap)) / 3);
    }

}

/* DESKTOP: 981px and above */

@media only screen and (min-width: 981px) {

    /* ------------------------------------------------------------------------- 
        HEADER (Logo and Menu)
    ------------------------------------------------------------------------- */

    .et_pb_menu--with-logo .et_pb_menu__logo {
        margin-right: 0;
    }
    .et_pb_menu--with-logo .et_pb_menu__menu,
    .et_pb_menu--with-logo .et_pb_menu__menu > nav {
        align-items: center;
    }
    .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul {
        align-items: center;
        margin: 0;
    }
    .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li {
        padding: 0;
        align-items: center;
    }
    .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li > a {
        padding: 10px;
    }
    .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li.menu-item-has-children > a {
        padding-right: 10px;
    }
    .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li.menu-item-has-children > a:first-child:after {
        position: relative;
        transform: none;
        margin-left: 5px;
    }

    /* Dropdown Menu */

    .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul ul {
        padding: 0;
    }
    .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li li {
        padding: 0;
        display: block;
    }
    .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li li a {
        width: 100%;
        padding: 10px 20px;
    }
    
}

/* ADDITIONAL: For Lambdatesting (matches their breakpoints) */

@media only screen and (min-width: 1025px) {
    

    
}
@media only screen and (min-width: 1281px) {
    

    
}
@media only screen and (min-width: 1441px) {
    

    
}
@media only screen and (min-width: 1601px) {
    

    
}
@media only screen and (min-width: 1921px) {
    

    
}

/* do not put anything below the media queries */