/* ZA TI FIRM Pro additions and legacy compatibility. */
:root { --za-site-width: 1200px; }
.container { max-width: var(--za-site-width); }

.za-footer-logo { max-height: 64px; width: auto; object-fit: contain; }
.za-footer-logo-link { display: inline-block; }
.site-footer--modern .za-footer-logo,
.site-footer--magazine .za-footer-logo,
.site-footer--centered .za-footer-logo { max-height: 54px; }

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.site-footer__bottom p { margin: 0; }
.za-footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.za-footer-credit a:hover { color: var(--m-primary); }
.za-footer-extra { flex: 0 0 100%; margin-top: 8px; }
.za-footer-extra > :last-child { margin-bottom: 0; }

.magnova-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

/* Keep long content, tables, embeds, and code from breaking layouts. */
.post-content,
.page-article,
.single-article { min-width: 0; }
.post-content iframe,
.post-content video,
.post-content embed,
.post-content object { max-width: 100%; }
.post-content table { display: block; max-width: 100%; overflow-x: auto; }
.post-content pre { max-width: 100%; overflow-x: auto; }

/* Full-width page template. */
.za-full-width-page .page-article { max-width: none; }
.za-full-width-page .container { max-width: var(--za-site-width); }

@media (max-width: 782px) {
    .site-footer__bottom { flex-direction: column; gap: 6px; }
    .za-footer-extra { margin-top: 6px; }
}
