.footer,
.compact-footer {
    width: 100%;
    background-color: #fafafa;
    border-top: 1px solid rgba(40, 40, 40, 0.12);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0 10px 0;
    /* min-height: 150px !important; */
    /* height: 150px !important; */
}

.footer-container {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: row;
    align-items: center !important;
    justify-content: space-between;
}

.footer-container,
.compact-footer-stack,
.footer-right,
.footer-left {
    /* align-items: center !important; */
}

.compact-footer-left {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.footer-logo-img {
    width: 119px !important;
    height: 65px !important;
    object-fit: fill !important;
    margin-bottom: 0 !important;
    max-width: unset !important;
    max-height: unset !important;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 0;
}

.footer-title {
    font-size: 2em;
    font-weight: 600;
    color: #222;
    line-height: 1;
    font-family: 'Montserrat', Arial, sans-serif;
}

.footer-hub {
    font-size: 0.5em;
    font-weight: 400;
    color: #888;
    margin-left: 2px;
}

.footer-linkedin {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

.footer-linkedin svg {
    width: 22px;
    height: 22px;
}

.compact-footer-tagline {
    font-family: 'League Spartan', Arial, sans-serif !important;
    font-weight: 300 !important;
    font-size: 19.76px !important;
    line-height: 90% !important;
    letter-spacing: -4% !important;
    color: #218c3a;
    margin: 0;
    padding: 0;
    text-align: left;
    white-space: pre-line;
}

.compact-footer-right {
    text-align: right;
    color: #444;
    font-size: 0.95em;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 2px;
}

.footer-location {
    font-family: 'League Spartan', Arial, sans-serif !important;
    font-weight: 300 !important;
    font-size: 14.83px !important;
    line-height: 95% !important;
    letter-spacing: -2% !important;
    text-align: right !important;
    vertical-align: middle !important;
    color: #444;
    margin-bottom: 0;
    max-width: 180px !important;
}

.footer-copyright {
    font-family: 'League Spartan', Arial, sans-serif !important;
    font-weight: 300 !important;
    font-size: 14.83px !important;
    line-height: 95% !important;
    letter-spacing: -2% !important;
    vertical-align: middle !important;
    color: #888;
    margin-top: 20px !important;
    max-width: 179px !important;
    width: 100%;
    text-align: right !important;
}

.compact-footer-left-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 2px;
}

.footer-brand-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.footer-linkedin {
    display: inline-block;
    margin-left: 0;
    vertical-align: middle;
}

.compact-footer-inline {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0;
}

.footer-linkedin {
    display: inline-block;
    margin-left: 0;
    vertical-align: middle;
}

.footer-vertical-divider {
    display: inline-block;
    width: 2px;
    height: 70px;
    background: #d1d1d1;
    margin-left: 20px !important;
    margin-right: 6px !important;
    vertical-align: middle;
    border-radius: 1px;
}

@media (max-width: 800px) {
    .footer-container,
    .compact-footer-stack,
    .footer-brand-row,
    .compact-footer-inline {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    .compact-footer-left,
    .compact-footer-right,
    .compact-footer-left-vertical {
        align-items: center !important;
        text-align: center !important;
        margin: 0 !important;
        width: 100%;
    }
    .footer-linkedin-slogan-block {
        align-items: center !important;
        min-height: unset;
        width: 100%;
    }
    .footer-vertical-divider {
        display: none !important;
    }
    .compact-footer-tagline,
    .footer-location,
    .footer-copyright {
        text-align: center !important;
        font-size: 1em !important;
        width: 100%;
    }
    .footer-logo-img {
        width: 80px !important;
        height: 45px !important;
        margin-bottom: 8px !important;
    }
    .footer-linkedin svg {
        width: 28px !important;
        height: 28px !important;
    }
    .footer-brand-row {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100%;
    }
    .footer-linkedin {
        margin-left: 0 !important;
        margin-bottom: 0 !important;
        display: inline-block !important;
    }
}


/* Override any .footer-logo img rules from style.css */

.footer-logo img.footer-logo-img {
    width: 119px !important;
    height: 55px !important;
    object-fit: contain !important;
    max-width: unset !important;
    max-height: unset !important;
}

.compact-footer-stack {
    display: flex;
    flex-direction: row;
    align-items: start;
}

.footer-linkedin-slogan-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    min-height: 70px;
    align-items: flex-start !important;
}

.footer-linkedin {
    display: inline-block;
    margin-left: 0;
    margin-bottom: 0;
    vertical-align: top;
}

.footer-linkedin svg {
    width: 32px;
    height: 32px;
}

.footer-vertical-divider {
    display: inline-block;
    width: 2px;
    height: 70px;
    background: #d1d1d1;
    margin: 0 32px 0 32px;
    vertical-align: middle;
    border-radius: 1px;
}

.compact-footer-tagline {
    color: #218c3a;
    font-size: 2em;
    line-height: 1.1;
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: left;
    white-space: pre-line;
}

@media (max-width: 800px) {
    .compact-footer-stack {
        flex-direction: column;
        align-items: center !important;
        gap: 16px;
    }
    .footer-vertical-divider {
        display: none;
    }
    .footer-linkedin-slogan-block {
        align-items: center;
        min-height: unset;
    }
    .compact-footer-tagline {
        text-align: center;
    }
}

@media (max-width: 991px) {
    .footer-container {
        flex-direction: column;
        width: 100% !important;
        height: auto !important;
        align-items: center !important;
        padding: 20px 0 !important;
    }
    .footer-logo-img {
        width: 119px !important;
        height: 55px !important;
        object-fit: contain !important;
        max-width: unset !important;
        max-height: unset !important;
    }
    .footer-brand {
        margin-left: 0 !important;
    }
    .footer-title {
        font-size: 1.2rem !important;
    }
    .footer-hub {
        font-size: 0.2rem !important;
    }
}


/* Mobile Footer Styles */

.mobile-footer {
    display: none;
    width: 100%;
    background-color: #fafafa;
    border-top: 1px solid rgba(40, 40, 40, 0.12);
    padding: 20px 0;
}

.mobile-footer-container {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.mobile-footer-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 8px;
}

.mobile-footer-logo {
    width: 80px !important;
    height: 45px !important;
    object-fit: contain;
}

.mobile-footer-linkedin svg {
    width: 24px;
    height: 24px;
}

.mobile-footer-tagline {
    font-family: 'League Spartan', Arial, sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    line-height: 120% !important;
    letter-spacing: -2% !important;
    color: #218c3a;
    text-align: left;
    width: 100%;
}

.mobile-footer-location {
    font-family: 'League Spartan', Arial, sans-serif !important;
    font-weight: 300 !important;
    font-size: 14px !important;
    line-height: 120% !important;
    letter-spacing: -2% !important;
    color: #444;
    text-align: left;
    width: 100%;
}

.mobile-footer-copyright {
    font-family: 'League Spartan', Arial, sans-serif !important;
    font-weight: 300 !important;
    font-size: 14px !important;
    line-height: 120% !important;
    letter-spacing: -2% !important;
    color: #888;
    text-align: left;
    width: 100%;
    margin-top: 4px;
}

@media (max-width: 800px) {
    .footer {
        display: none;
    }
    .mobile-footer {
        display: flex;
    }
}