/* ── EWT Site Footer ─────────────────────────────────────────────────────── */

.wp-block-ewt-custom-footer {
    background: var(--ewt-footer-bg, #0B1426);
    color: rgba(255, 255, 255, 0.6);
}

/* 4-column grid */
.ewt-footer__grid {
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

/* Brand column */
.ewt-footer__logo-link {
    display: inline-block;
    margin-bottom: 1.1rem;
    text-decoration: none;
}

.ewt-footer__logo-link img {
    height: 40px;
    width: auto;
    display: block;
}

.ewt-footer__wordmark {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.ewt-footer__tagline {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.85rem;
    line-height: 1.75;
    margin: 0 0 1.5rem;
    max-width: 300px;
}

/* Social icons */
.ewt-footer__socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ewt-footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.ewt-footer__socials a:hover {
    background: #0049CA;
    color: #fff;
    transform: translateY(-2px);
}

.ewt-footer__socials svg {
    width: 16px;
    height: 16px;
}

/* Link columns */
.ewt-footer__col-heading {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: rgba(255, 255, 255, 0.35);
    margin: 0 0 1rem;
}

.ewt-footer__link {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.35rem 0;
    transition: color 0.18s;
}

.ewt-footer__link:hover { color: #fff; }

/* Contact column */
.ewt-footer__contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.35rem 0;
    transition: color 0.18s;
    line-height: 1.5;
}

.ewt-footer__contact-row:hover { color: #fff; }

.ewt-footer__contact-row svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.65;
}

.ewt-footer__contact-row span { line-height: 1.5; }

.ewt-footer__badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    background: #25D366;
    color: #fff;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
    letter-spacing: 0.04em;
}

/* Bottom bar — full-width last row inside the grid */
.ewt-footer__bar {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.125rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ewt-footer__bar p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
    margin: 0;
}

.ewt-footer__legal {
    display: flex;
    gap: 1.5rem;
}

.ewt-footer__legal a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
    text-decoration: none;
    transition: color 0.18s;
}

.ewt-footer__legal a:hover { color: rgba(255, 255, 255, 0.65); }

/* Responsive */
@media (max-width: 1024px) {
    .ewt-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .ewt-footer__brand { grid-column: 1 / -1; }
    .ewt-footer__tagline { max-width: none; }
}

@media (max-width: 540px) {
    .ewt-footer__grid {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.25rem 2rem;
        gap: 2rem;
    }
    .ewt-footer__bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

