/**
 * WABXPART - Modular Footer Architecture & Responsive Grid (Strict Left-Aligned)
 * File Path: assets/css/footer.css
 * Strict Brand Palette: #BFD730 / #3B3B3A / #757673 / #FFFFFF
 */

/* 1. Main Footer Shell */
.site-footer.wx-modular-footer {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    border-top: 3.5px solid var(--wx-footer-accent, #BFD730);
    background-color: var(--wx-footer-bg, #3B3B3A);
    color: var(--wx-footer-text, #E5E7EB);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 2. Four Columns Master Container */
.wx-footer-main-row {
    max-width: 1240px;
    margin: 0 auto;
    padding: 55px 20px 45px;
    box-sizing: border-box;
}

.wx-footer-columns-grid {
    display: grid !important;
    grid-template-columns: 1.4fr 1.15fr 0.95fr 1.25fr !important;
    gap: 36px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

/* 3. Global Strict Left-Alignment for all Columns */
.wx-footer-col {
    box-sizing: border-box;
    text-align: left !important;
}

.wx-footer-col h4,
.wx-footer-col h3,
.wx-footer-col p,
.wx-footer-col span,
.wx-footer-col a,
.wx-footer-col ul,
.wx-footer-col li,
.wx-footer-col form {
    text-align: left !important;
    justify-content: flex-start !important;
}

/* 4. Column Headings */
.wx-footer-heading {
    margin: 0 0 16px 0 !important;
    font-size: var(--wx-footer-h-size, 15px) !important;
    font-weight: 800 !important;
    color: var(--wx-footer-heading-color, #FFFFFF) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    position: relative !important;
    display: table !important;
    text-align: left !important;
}

.wx-footer-heading::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 26px;
    height: 2.5px;
    background: var(--wx-footer-accent, #BFD730);
    border-radius: 2px;
}

/* 5. Links Hover */
.wx-footer-col a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wx-footer-col a:hover {
    color: var(--wx-footer-accent, #BFD730) !important;
}

/* 6. Newsletter Box */
.wx-footer-news-input {
    width: 100%;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid #757673;
    border-radius: 5px;
    padding: 0 14px;
    color: #FFFFFF;
    font-size: 13.5px;
    outline: none;
    box-sizing: border-box;
    text-align: left !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.wx-footer-news-input:focus {
    border-color: var(--wx-footer-accent, #BFD730);
    background: rgba(255, 255, 255, 0.12);
}

.wx-footer-news-btn {
    height: 42px;
    width: 100%;
    background: var(--wx-footer-accent, #BFD730);
    color: #3B3B3A;
    border: 1px solid var(--wx-footer-accent, #BFD730);
    border-radius: 5px;
    font-weight: 900;
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wx-footer-news-btn:hover {
    background: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: #3B3B3A !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(191, 215, 48, 0.3);
}

/* 7. Bottom Bar (Untouched Layout: Copyright Left, Social Right) */
.wx-footer-bottom-bar {
    width: 100% !important;
    background: #2A2A29 !important;
    border-top: 2px solid var(--wx-footer-accent, #BFD730) !important;
    border-bottom: 2px solid var(--wx-footer-accent, #BFD730) !important;
    padding: 18px 20px !important;
    box-sizing: border-box !important;
}

.wx-footer-bottom-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.wx-footer-copy-text {
    font-size: 14.5px !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    text-align: left !important;
}

.wx-footer-social-cluster {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wx-social-circle-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #3B3B3A;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wx-social-circle-link:hover {
    background: var(--wx-footer-accent, #BFD730) !important;
    border-color: var(--wx-footer-accent, #BFD730) !important;
    color: #3B3B3A !important;
    transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .wx-footer-columns-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px !important;
    }
}

@media (max-width: 640px) {
    .wx-footer-columns-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .wx-footer-main-row {
        padding: 40px 16px 30px !important;
    }
    .wx-footer-bottom-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }
    .wx-footer-copy-text {
        text-align: center !important;
    }
}