/* AZsvadba branding 0.9.9.24b */
.az-brand {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    text-decoration: none !important;
    line-height: 0 !important;
}

.az-brand > span,
.az-brand > small {
    display: none !important;
}

.az-brand.az-brand--image {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    background: none !important;
}

/*
 * Header: exact supplied logo, only visually scaled by CSS.
 * No crop, no redraw, no image modification.
 */
header .az-brand__logo-img,
.az-header .az-brand__logo-img {
    display: block !important;
    width: auto !important;
    height: 76px !important;
    max-width: none !important;
    object-fit: contain !important;
}

/* Footer remains on the larger footer artwork. */
footer .az-brand {
    width: 272px !important;
    min-width: 0 !important;
    height: 132px !important;
    background-image: url('./azsvadba-logo-footer.png') !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: contain !important;
}

footer .az-brand.az-brand--image {
    width: auto !important;
    height: auto !important;
    background: none !important;
}

footer .az-brand__logo-img,
.az-branding-footer-logo {
    display: block;
    width: 272px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.az-branding-footer-link {
    display: inline-block;
    margin: 0 0 12px;
    line-height: 0;
}

@media (max-width: 1100px) {
    header .az-brand__logo-img,
    .az-header .az-brand__logo-img {
        width: auto !important;
        height: 64px !important;
        max-width: none !important;
    }
}

@media (max-width: 760px) {
    header .az-brand__logo-img,
    .az-header .az-brand__logo-img {
        width: auto !important;
        height: 54px !important;
        max-width: none !important;
    }

    footer .az-brand,
    footer .az-brand__logo-img,
    .az-branding-footer-logo {
        width: 220px !important;
        min-width: 0 !important;
        height: auto !important;
    }
}
