/*
 * Vikkie Hair Lab footer compatibility layer.
 *
 * Glamr owns the footer grid, borders, typography, social presentation,
 * timelist and responsive layout through .site-footer /
 * .pbmit-footer-style-1. Keep only managed-branding and custom contact rules
 * here.
 */

.vhl-shared-footer .pbmit-footer-logo {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: center;
}

.vhl-shared-footer .vhl-shared-footer__logo {
    display: block;
    width: auto;
    max-width: min(280px, 100%);
    max-height: 112px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.vhl-shared-footer .pbmit-timelist-address {
    white-space: pre-line;
}

.vhl-shared-footer .vhl-footer-contact-link {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin: 0 0 8px;
    color: rgba(var(--pbmit-white-color-rgb), 0.8);
}

.vhl-shared-footer .vhl-footer-contact-link > span {
    color: var(--pbmit-white-color);
    font-weight: 500;
}

.vhl-shared-footer .vhl-footer-contact-link a {
    overflow-wrap: anywhere;
}

.vhl-shared-footer .pbmit-timelist-list {
    margin-top: 22px;
}

@media (max-width: 991px) {
    .vhl-shared-footer .pbmit-footer-logo {
        justify-content: flex-start;
    }

    .vhl-shared-footer .vhl-shared-footer__logo {
        max-width: min(250px, 100%);
        margin-left: 0;
        object-position: left center;
    }
}

@media (max-width: 575px) {
    .vhl-shared-footer .vhl-shared-footer__logo {
        max-width: min(220px, 100%);
        max-height: 96px;
    }

    .vhl-shared-footer .vhl-footer-contact-link {
        display: block;
    }

    .vhl-shared-footer .vhl-footer-contact-link > span {
        display: block;
        margin-bottom: 2px;
    }
}

/* T9G.8: keep shared footer columns aligned consistently on inner pages. */
.vhl-shared-footer .pbmit-footer-widget-area .row {
    align-items: flex-start !important;
}

.vhl-shared-footer .pbmit-footer-widget {
    align-self: flex-start !important;
}
