.zm-footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(12px, 1.5vw, 26px);
}

.zm-footer-copy {
    min-width: 0;
    justify-self: start;
    text-align: left;
}

.zm-footer-copyright-line,
.zm-footer-credit {
    white-space: nowrap;
}

.zm-footer-credit a {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.zm-footer-credit-name {
    text-decoration: underline;
    text-decoration-color: #d99859;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.zm-footer-credit-arrow {
    display: inline-block;
    color: #d99859;
    font-size: .9em;
    transition: transform .2s ease, color .2s ease;
}

.zm-footer-credit a:hover,
.zm-footer-credit a:focus-visible {
    font-weight: 700;
}

.zm-footer-credit a:hover .zm-footer-credit-name,
.zm-footer-credit a:focus-visible .zm-footer-credit-name {
    text-decoration-thickness: 2px;
}

.zm-footer-credit a:hover .zm-footer-credit-arrow,
.zm-footer-credit a:focus-visible .zm-footer-credit-arrow {
    color: #f0ad6a;
    transform: translate(2px, -2px);
}

.zm-footer-portal-wrap {
    justify-self: center;
}

.site-footer.pbmit-footer-style-1 .zm-footer-portal {
    min-height: 50px;
    padding: 0 12px;
    border-color: rgba(233, 150, 72, .38);
    background: #17202b;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 7px 20px rgba(0, 0, 0, .16);
}

.site-footer :is(.zm-footer-portal, .zm-social-tooltip)[data-tooltip]::before {
    top: auto;
    bottom: calc(100% + 12px);
    border-color: rgba(233, 150, 72, .45);
    background: #f7f0e8;
    color: #17263b;
    transform: translate(-50%, 4px);
}

.site-footer :is(.zm-footer-portal, .zm-social-tooltip)[data-tooltip]::after {
    top: auto;
    bottom: 100%;
    border-bottom-color: transparent;
    border-top-color: #f7f0e8;
}

.site-footer :is(.zm-footer-portal, .zm-social-tooltip)[data-tooltip]:focus-visible::before {
    transform: translate(-50%, 0);
}

@media (hover: hover) {
    .site-footer :is(.zm-footer-portal, .zm-social-tooltip)[data-tooltip]:hover::before {
        transform: translate(-50%, 0);
    }
}

.zm-footer-portal-logo {
    position: relative;
    display: block;
    width: 180px;
    flex: 0 0 180px;
}

.zm-footer-portal-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.zm-footer-portal-logo-contrast {
    position: absolute;
    inset: 0;
    filter: brightness(0) invert(1);
    opacity: .78;
    clip-path: inset(69% 18% 8% 37%);
}

.zm-footer-portal .zm-dealer-portal-external {
    color: #d99859;
}

.site-footer.pbmit-footer-style-1 .zm-footer-portal:hover,
.site-footer.pbmit-footer-style-1 .zm-footer-portal:focus-visible {
    border-color: #d99554;
    background: #202d3b;
    color: #fff;
    box-shadow: 0 9px 24px rgba(0, 0, 0, .22);
}

.site-footer.pbmit-footer-style-1 .zm-footer-portal:hover .zm-dealer-portal-external,
.site-footer.pbmit-footer-style-1 .zm-footer-portal:focus-visible .zm-dealer-portal-external {
    color: #f0ad6a;
}

.zm-footer-social {
    justify-self: end;
}

.zm-footer-social .zm-social-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 24px;
}

@media (min-width: 1200px) {
    .pbmit-footer-style-1 .pbmit-footer-text-area > .container {
        width: calc(100% - 48px);
        max-width: 1520px;
        padding: 0;
    }

    .zm-footer-social {
        margin-right: 48px;
    }

    .zm-footer-portal-wrap {
        transform: translateX(24px);
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .zm-footer-copy {
        font-size: 13px;
    }
}

@media (max-width: 1199px) {
    .zm-footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .zm-footer-copy,
    .zm-footer-portal-wrap,
    .zm-footer-social {
        width: 100%;
        text-align: center;
    }

    .zm-footer-copyright-line,
    .zm-footer-credit {
        white-space: normal;
        text-wrap: balance;
    }

    .pbmit-footer-style-1 .zm-footer-social .pbmit-footer-social-area ul {
        text-align: center;
    }
}
