footer {
    margin-top: 170px;
    position: relative;
    overflow: hidden;
}

footer::before,
footer::after {
    content: url('/wp-content/uploads/2025/03/round-footer.png');
    width: 100px;
    height: auto;
    position: absolute;
}

footer::before {
    top: 0;
    left: 5%;
}

footer::after {
    bottom: 0;
    right: 5%;
    transform: rotate(180deg);
}


footer img {
    aspect-ratio: auto!important;
    height: auto!important;
}

footer .image-block {
    height: auto!important;
}

footer .sub-title::after {
    content: "";
    display: block;
    width: 63px;
    height: 1px;
    background-color: var(--color-light);
    margin-top: 15px;
}

footer div[style*="background:#213A8F"] a:not(.block-hyperlink) {
    display: block;
    color: var(--color-light)!important;
    margin-bottom: 10px!important;
    margin-left: 0;
    transition: margin-left ease 0.3s;
}

footer div[style*="background:#213A8F"] a:not(.block-hyperlink):hover {
    color: var(--color-light)!important;
    text-decoration: underline!important;
    margin-left: 15px;
}

footer a:not(.block-hyperlink)::before {
    content: url('/wp-content/uploads/2025/03/double-chevron-svg.svg');
    width: 10px;
    height: 10px;
    margin-right: 10px;
}

footer div[style*="background:#213A8F"] .link-base a:not(.block-hyperlink),
footer div[style*="background:#213A8F"] .icon-block-footer a:not(.block-hyperlink) {
    display: initial;
}

footer div[style*="background:#213A8F"] .link-base a:not(.block-hyperlink):hover {
    text-decoration: underline!important;
    margin-left: 0;
}

footer .link-base a:not(.block-hyperlink)::before,
footer .icon-block-footer a:not(.block-hyperlink)::before {
    content: none;
}

footer .icon-block-footer {
    margin-top: 10px;
}

footer .icon-block-footer a {
    margin: 0 10px;
    font-size: 20px;
    transition: color ease 0.2s;
}

footer .icon-block-footer a:hover {
    color: var(--color-tertiary)!important;
}

@media screen and (max-width: 768px) {
    footer {
        margin-top: 80px;
    }
    footer p{
        text-align: center!important;
    }
    footer .image-block {
        width: fit-content;
        margin: auto;
    }
    footer img {
        max-width: 200px;
    }
    footer .sub-title::after {
        width: 8%;
        left: 46%;
        position: relative;
    }
    footer .icon-block-footer {
        display: flex;
        justify-content: center;
    }
    footer .link-base {
        margin-top: 30px;
    }
}