/* ==========================================================================
   Footer Hub — Direct Internal Links to Top Commercial Verticals
   Clean Code (< 100 lines, Dark & Light Theme Adaptive)
   ========================================================================== */

.footer-hub-card {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}

.footer-hub-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.footer-hub-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(223, 186, 85, 0.16);
    width: 100%;
}

.theme--light .footer-hub-pillars {
    border-top-color: rgba(184, 144, 51, 0.2);
}

.footer-hub-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78) !important;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none !important;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-hub-pill:hover {
    color: #dfba55 !important;
    background: rgba(223, 186, 85, 0.14);
    border-color: rgba(223, 186, 85, 0.42);
    transform: translateY(-1px);
}

.theme--light .footer-hub-pill {
    color: #334155 !important;
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
}

.theme--light .footer-hub-pill:hover {
    color: #926a15 !important;
    background: rgba(184, 144, 51, 0.1);
    border-color: rgba(184, 144, 51, 0.45);
}

@media (max-width: 768px) {
    .footer-hub-card__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-hub-pillars {
        gap: 6px;
    }

    .footer-hub-pill {
        font-size: 0.74rem;
        padding: 4px 10px;
    }
}
