.footer-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: flex-start; */
    gap: 40px;
    padding: 40px 32px 32px 32px;
    border-radius: 18px;
    max-width: 700px;
    margin: 40px auto;
}

.footer-banner-main {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-banner-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-banner-logo img {
    width: 122px;
    height: auto;
}

.footer-banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-banner-content h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.footer-banner-content p {
    margin: 0;
    color: #555;
    font-size: 14px;
    font-weight: 400;
}

.footer-banner-socials {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    width: 100%;
    justify-content: space-between;
}

.footer-social-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 22px 10px 14px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: box-shadow 0.2s, background 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.footer-social-facebook {
    color: #3896D9;
    background-color: #DCECFF;
}

.footer-social-instagram {
    background: #FFDCEE;
    color: #BB38D9;
}

.footer-social-youtube {
    background: #FFDCDC;
    color: #D93838;
}

.footer-social-btn:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    filter: brightness(0.98);
}

@media (max-width: 700px) {
    .footer-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px 10px;
    }

    .footer-banner-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-banner-logo img {
        width: 60px;
    }

    .footer-banner-socials {
        flex-wrap: wrap;
    }
}

.container.footer-rows .row.custom-footer.elements-4 .custom-footer__banner5541.col-sm-6.col-lg-3 {
    width: 50%;
}

@media screen and (max-width: 991px) {
    .container.footer-rows .row.custom-footer.elements-4 .custom-footer__banner5541.col-sm-6.col-lg-3 {
        max-height: 100%;
        width: 100%;
    }
}

.custom-footer__contact .contact-box li {
    flex-direction: column;
}

.custom-footer__contact .contact-box li::after {
    content: "(Každý den : 8:00 - 20:00)";
    display: block;
    color: #eafff7;
    font-size: 19px;
    font-weight: 400;
    margin-top: 12px;
}

@media (max-width: 1030px) {
    .custom-footer__contact .tel a {
        margin-left: 0;
    }
}

@media (max-width: 400px) {
    .custom-footer__contact .tel a {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .video-banner-text {
        padding: 24px 24px 8px 24px;
    }
}

header .navigation-buttons,
header .header-phone>span {
    padding: 0;
}

header .tel.header-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header #formSearchForm {
    margin-right: 2em;
}

@media (min-width: 1030px) {

    footer#footer {
        position: relative;
        padding-top: 6em;
    }

    .custom-footer__contact {
        position: absolute;
        left: 5%;
        bottom: 78%;
    }
}

@media (max-width: 1029px) {
    footer#footer {
        padding-top: 1em;
    }
}