
/**
 * File: footer-legal.css
 * Purpose: Styles for the legal footer bar, including copyright text and legal navigation (e.g., Terms, Privacy).
 * Usage: Used within the footer.php template as the bottom-most section beneath the primary footer columns.
 * Dependencies: Divi (for base layout and structure)
 *
 * Notes:
 * - Uses CSS variables for full control over colors and underline styling
 * - Responsive design for mobile and tablet layout adjustments
 * - Navigation links are styled with modern underline and hover effects
 */
 


 /* -------------------------- */
/* ---- Scoped Variables ---- */
/* -------------------------- */

.footer-legal {
    --footer-legal-bg-color: var(--brown-medium);
    --footer-legal-font-color: var(--tan-lightest);
    --footer-legal-link-color: var(--tan-lightest);
    --footer-legal-link-hover-color: var(--brand-orange-light);
}



/* Container for bottom legal bar */
.footer-legal {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    font-size: 10px;
    padding: 5px 20px 35px 20px;
    background-color: var(--footer-legal-bg-color);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--footer-legal-font-color);
}

/* Responsive adjustments for tablet and below */
@media all and (max-width: 820px){
    .footer-legal {
        font-size: 10px;
        padding: 5px 0px 35px 0px;
        flex-direction: column;
        justify-content: center;
        text-align:center;
    }

    .footer-menu a, .footer-menu a:hover {
        text-decoration:none;
    }

    .footer-menu{
        margin: 0 10px;
    }
}

/* Copyright */
#footer-info {
    font-size: 1em;
    font-weight: 700;
    margin-right: 10px;
    letter-spacing: 1px;
}


/* Legal navigation links: terms, privacy, etc. */
.footer-menu {
    display: flex;
    justify-content: center;
}

.footer-menu a {
    display: inline-block;
    color: var(--footer-legal-link-color);
    margin: 0 10px;
    transition: all 300ms ease-in-out;
    text-decoration: none;
}

.footer-menu a:hover {
    font-weight: 800;
    color: var(--footer-legal-link-hover-color);
    text-decoration: none;
}

/* Additional tweak for mobile layout spacing */
@media all and (max-width: 768px) {
    #footer-info {
        margin-top: 1vh;
    }
    
}