/*
Theme Name: BDRE Theme
Theme URI: https://bestdamrideever.com/
Author: Best Dam Ride Ever
Description: Lightweight Elementor-first theme for Best Dam Ride Ever.
Version: 1.0.1
Text Domain: bdre
*/

/* =========================================================
   GLOBAL
   ========================================================= */

:root {
    --bdre-red: #ef1717;
    --bdre-dark: #181b20;
    --bdre-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.bd-re-site-header {
    position: relative;
    z-index: 20;
    width: 100%;
    background: #181b20;
    color: #ffffff;
}

.bd-re-header-inner {
    width: 100%;
    min-height: 164px;

    margin: 0;
    padding: 0 30px 0 28px;

    display: grid;
    grid-template-columns: minmax(430px, 44vw) 1fr auto;
    align-items: center;
    gap: 18px;

    position: relative;

    background-image: url("https://1283621.us12.myftpupload.com/wp-content/uploads/2026/06/american-flag-dark-background-scaled.jpg");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
}

/* Remove old generated stripe layer */
.bd-re-header-inner::before {
    content: none;
    display: none;
}


/* =========================================================
   HEADER BRAND / LOGO
   ========================================================= */

.bd-re-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 100%;
    position: relative;
    z-index: 2;
}

.bd-re-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.bd-re-brand img,
.bd-re-brand img.custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 182px;
    max-height: 126px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.35));
}

.bd-re-brand-name {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}


/* =========================================================
   HEADER NAVIGATION
   ========================================================= */

.bd-re-nav {
    justify-self: end;
    min-width: 0;
}

.bd-re-menu,
.bd-re-nav > div > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 20px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.bd-re-menu li,
.bd-re-nav > div > ul li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bd-re-menu a,
.bd-re-nav > div > ul a {
    display: block;

    padding: 12px 0;

    color: #ffffff;
    text-decoration: none;

    font-family: "Arial Narrow", Arial, sans-serif;
    font-weight: 900;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: .45px;

    text-shadow: 0 2px 2px rgba(0,0,0,.9);
    white-space: nowrap;
}

.bd-re-menu a:hover,
.bd-re-nav > div > ul a:hover,
.bd-re-menu .current-menu-item > a,
.bd-re-menu .current_page_item > a,
.bd-re-menu .current-menu-ancestor > a,
.bd-re-menu .current_page_ancestor > a,
.bd-re-nav > div > ul .current_page_item > a,
.bd-re-nav > div > ul .current_page_ancestor > a {
    color: var(--bdre-red);
}


/* =========================================================
   HEADER DROPDOWNS
   ========================================================= */

.bd-re-menu .menu-item-has-children > a::after,
.bd-re-nav > div > ul .page_item_has_children > a::after {
    content: "⌄";
    margin-left: 5px;
    color: #ffffff;
    font-size: 13px;
}

.bd-re-menu .sub-menu,
.bd-re-nav > div > ul .children {
    display: none;

    position: absolute;
    z-index: 50;

    top: calc(100% - 2px);
    left: -16px;

    min-width: 230px;

    margin: 0;
    padding: 7px 0;

    background: #171a1f;
    border-top: 3px solid var(--bdre-red);
    border-radius: 0 0 4px 4px;

    list-style: none;

    box-shadow: 0 10px 28px rgba(0,0,0,.38);
}

.bd-re-menu li:hover > .sub-menu,
.bd-re-menu li:focus-within > .sub-menu,
.bd-re-nav > div > ul li:hover > .children,
.bd-re-nav > div > ul li:focus-within > .children {
    display: block;
}

.bd-re-menu .sub-menu a,
.bd-re-nav > div > ul .children a {
    padding: 10px 16px;

    color: #ffffff;
    font-size: 15px;
    letter-spacing: .25px;
    text-shadow: none;
}

.bd-re-menu .sub-menu a:hover,
.bd-re-nav > div > ul .children a:hover {
    background: #24282e;
    color: #ffffff;
}


/* =========================================================
   HEADER SOCIAL ICONS
   ========================================================= */

.bd-re-social {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-left: 2px;
    white-space: nowrap;
}

.bd-re-social a {
    display: grid;
    place-items: center;

    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
}

.bd-re-social .facebook {
    width: 42px;
    height: 42px;

    background: #4267a9;
    border-radius: 50%;

    font-size: 28px;
}

.bd-re-social .youtube {
    width: 44px;
    height: 38px;

    background: #f10f18;
    border-radius: 10px;

    font-size: 19px;
}

.bd-re-mobile-toggle {
    display: none;

    padding: 7px 11px;

    background: transparent;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 4px;

    color: #ffffff;
    font-size: 26px;
}


/* =========================================================
   MAIN / ELEMENTOR CONTENT
   ========================================================= */

.bd-re-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.bd-re-content > .entry-content {
    margin: 0;
    padding: 0;
}

.bd-re-content .entry-content > *:first-child {
    margin-top: 0;
}

body.elementor-page .bd-re-content,
body.elementor-page .entry-content {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;
}

.bd-re-default-wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
}


/* =========================================================
   FOOTER
   Recreates production Solace footer
   ========================================================= */

.bdre-footer {
    width: 100%;
    margin: 0;
    padding: 0;

    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   FOOTER MAIN ROW

   Production Solace settings:
   Full width
   3 columns
   25% / 50% / 25%
   Vertical alignment: TOP
   Padding: 96px 0 96px 0
   Margin: 0
   Overlay opacity: 50%
   ========================================================= */

.bdre-footer-main {
    width: 100%;

    margin: 0;
    padding: 96px 0;

    display: grid;
    grid-template-columns: 25% 50% 25%;
    align-items: start;

    background-image:
        linear-gradient(
            rgba(0,0,0,.50),
            rgba(0,0,0,.50)
        ),
        url("https://1283621.us12.myftpupload.com/wp-content/uploads/2026/06/american-flag-dark-background-ud-bw-scaled.jpg");

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

.bdre-footer-column {
    min-width: 0;
}


/* =========================================================
   FOOTER — HTML 2
   Visit Mercer County

   Production:
   Padding 0
   Margin 0
   ========================================================= */

.bdre-footer-left {
    margin: 0;
    padding: 0;
}

.bdre-mercer-logo {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}


/* =========================================================
   FOOTER — HTML 1
   Organization text

   Production:
   Padding: 0 200px 0 0
   Margin: 24px 0 0 0
   ========================================================= */

.bdre-footer-center {
    margin: 24px 0 0 0;
    padding: 0 100px;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;

    text-align: left;
}

.bdre-footer-center p {
    margin: 0 0 24px 0;
    padding: 0;
}

.bdre-footer-center p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FOOTER — HTML 4
   Fire Department Logos

   Production:
   Padding 0
   Margin 0
   ========================================================= */

.bdre-footer-right {
    margin: 0;
    padding: 0;
}

.bdre-fire-logos {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}


/* =========================================================
   FOOTER BOTTOM ROW
   ========================================================= */

.bdre-footer-bottom {
    width: 100%;

    margin: 0;
    padding: 0;

    background: #dfe5ec;
    color: #111111;
}

.bdre-footer-bottom-inner {
    width: 100%;
    max-width: 1280px;
    min-height: 56px;

    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 14px;
}

.bdre-footer-copyright {
    margin: 0;
    padding: 0;
}


/* =========================================================
   FOOTER SOCIAL
   ========================================================= */

.bdre-footer-social {
    display: flex;
    align-items: center;

    gap: 22px;
}

.bdre-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #62676c;
    text-decoration: none;
    font-weight: 900;
}

.bdre-social-facebook {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
}

.bdre-social-youtube {
    font-size: 17px;
}


/* =========================================================
   HEADER RESPONSIVE
   ========================================================= */

@media (max-width: 1400px) {

    .bd-re-header-inner {
        grid-template-columns: minmax(320px,34vw) 1fr auto;
    }

    .bd-re-menu,
    .bd-re-nav > div > ul {
        gap: 14px;
    }

    .bd-re-menu a,
    .bd-re-nav > div > ul a {
        font-size: 15px;
    }

    .bd-re-brand img,
    .bd-re-brand img.custom-logo {
        max-height: 116px;
        max-width: 166px;
    }
}


@media (max-width: 1120px) {

    .bd-re-header-inner {
        grid-template-columns: minmax(260px,29vw) 1fr auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    .bd-re-menu,
    .bd-re-nav > div > ul {
        gap: 10px;
    }

    .bd-re-menu a,
    .bd-re-nav > div > ul a {
        font-size: 14px;
    }
}


@media (max-width: 980px) {

    .bd-re-header-inner {
        grid-template-columns: 1fr auto;
        min-height: 116px;
        padding: 0 18px;
    }

    .bd-re-brand img,
    .bd-re-brand img.custom-logo {
        max-height: 94px;
        max-width: 140px;
    }

    .bd-re-mobile-toggle {
        display: block;
        justify-self: end;
    }

    .bd-re-nav {
        display: none;

        grid-column: 1 / -1;

        width: 100%;
        padding: 0 0 14px;
    }

    .bd-re-nav.is-open {
        display: block;
    }

    .bd-re-menu,
    .bd-re-nav > div > ul {
        display: block;

        margin: 0;
        padding: 6px 0;

        background: #1d2025;
    }

    .bd-re-menu a,
    .bd-re-nav > div > ul a {
        padding: 11px 15px;
        font-size: 16px;
    }

    .bd-re-menu .sub-menu,
    .bd-re-nav > div > ul .children {
        position: static;
        display: block;

        padding-left: 14px;

        background: #272b31;
        border-top: 0;
        box-shadow: none;
    }

    .bd-re-social {
        position: absolute;
        right: 74px;
        top: 37px;
    }
}


@media (max-width: 560px) {

    .bd-re-header-inner {
        min-height: 100px;
        padding: 0 12px;
    }

    .bd-re-brand img,
    .bd-re-brand img.custom-logo {
        max-height: 80px;
        max-width: 120px;
    }

    .bd-re-social {
        display: none;
    }
}


/* =========================================================
   FOOTER RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .bdre-footer-main {
        grid-template-columns: 1fr;

        padding: 60px 30px;
        gap: 40px;
    }

    .bdre-footer-center {
        margin: 0;
        padding: 0;
    }

    .bdre-footer-left,
    .bdre-footer-right {
        display: flex;
        justify-content: center;
    }

    .bdre-mercer-logo,
    .bdre-fire-logos {
        width: auto;
        max-width: 500px;
    }

    .bdre-footer-bottom-inner {
        padding-left: 30px;
        padding-right: 30px;
    }
}


@media (max-width: 600px) {

    .bdre-footer-main {
        padding: 40px 20px;
        gap: 30px;
    }

    .bdre-mercer-logo,
    .bdre-fire-logos {
        width: 100%;
        max-width: 400px;
    }

    .bdre-footer-bottom-inner {
        min-height: 76px;

        padding: 12px 20px;

        flex-direction: column;
        justify-content: center;

        gap: 8px;

        text-align: center;
    }
}
/* =========================================================
   BDRE HEADER MENU READABILITY
   ========================================================= */

@media (min-width: 981px) {

    .bd-re-menu a,
    .bd-re-nav > div > ul a {
        font-size: 20px !important;
    }

}