/* ============================= */
/* FOOTER – FINAL (CSS ONLY) */
/* ============================= */

#footer {
    background-color: var(--footer-bg) !important;
    font-family: var(--ff-body) !important;
    font-size: var(--fs-body) !important;
    position: relative !important;
}

#footer,
#footer p,
#footer strong,
#footer a,
#footer div,
#footer span {
    color: var(--footer-text) !important;
}

#footer a:hover {
    color: var(--footer-link-hover) !important;
    text-decoration: underline !important;
}

/* hide sitemap */
#footer .footer-sitemap {
    display: none !important;
}

/* top accent line */
#footer::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background-color: var(--clr-accent) !important;
}

/* layout */
#footer .row.seo {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    margin: 0 !important;
    position: relative !important;
}

#footer .row.seo > [class*="col-"] {
    float: none !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
}

/* 40 / 60 columns */
#footer .footer-1.col-xs-12.col-md-4 {
    flex: 0 0 40% !important;
    width: 40% !important;
    max-width: 40% !important;
    padding-right: 28px !important;
    box-sizing: border-box !important;
}

#footer .footer-2.col-xs-12.col-md-4 {
    flex: 0 0 60% !important;
    width: 60% !important;
    max-width: 60% !important;
    padding-left: 28px !important;
    box-sizing: border-box !important;
}

/* vertical divider */
#footer .row.seo::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: calc(40% + 14px) !important;
    width: 2px !important;
    background-color: var(--clr-accent) !important;
}

/* ============================= */
/* DISCOVER US – 2 COLUMNS (CSS ONLY) */
/* ============================= */

#footer .footer-1 .textcontent {
    column-count: 2 !important;
    column-gap: 80px !important;
    line-height: 1.9 !important;
}

/* title */
#footer .footer-1 .textcontent strong {
    display: block !important;
    column-span: all !important;
    font-weight: var(--fw-bold) !important;
    margin-bottom: 18px !important;
}

/* keep line breaks */
#footer .footer-1 .textcontent br {
    display: block !important;
    margin-bottom: 12px !important;
}

/* ============================= */
/* LOCATIONS */
/* ============================= */

#footer .footer-2 .component.footer-2 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
}

#footer .footer-2 .component.footer-2 > .textcontent:first-child {
    width: 100% !important;
    margin-bottom: 18px !important;
}

#footer .footer-2 .component.footer-2 > .textcontent:not(:first-child) {
    width: 50% !important;
    margin-bottom: 26px !important;
    padding-right: 48px !important;
    box-sizing: border-box !important;
}

#footer .footer-2 .location-item {
    margin: 0 !important;
    line-height: 1.55 !important;
}


#footer .footer-1 a {
    text-decoration: none !important;
}

#footer .footer-1 a:hover {
    color: var(--clr-accent) !important;
    text-decoration: none !important;
}



/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 992px) {
    #footer .row.seo {
        flex-wrap: wrap !important;
    }

    #footer .footer-1.col-xs-12.col-md-4,
    #footer .footer-2.col-xs-12.col-md-4 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    .seo .footer-2 {
    padding-left: 0px !important;
}

    #footer .footer-2 {
        margin-top: 32px !important;
    }

    #footer .row.seo::after {
        display: none !important;
    }
}

@media (max-width: 450px) {
    #footer .footer-1 .textcontent {
        column-count: 1 !important;
    }

    #footer .footer-2 .component.footer-2 {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }

    #footer .footer-2 .component.footer-2 > .textcontent:not(:first-child) {
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 16px !important;
    }
}

/* remove extra gap right after title */
#footer .footer-1 .textcontent strong + br {
    margin-bottom: 0 !important;
}
