/* Marca de agua del footer público. */
html:has(body > #sevenleague-public-footer) {
    min-height: 100%;
}

body:has(> #sevenleague-public-footer) {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

body:has(> #sevenleague-public-footer) > #sevenleague-public-footer {
    flex: 0 0 auto;
    margin-top: auto;
}

#sevenleague-public-footer .site-footer__agency {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

#sevenleague-public-footer .site-footer__agency img {
    display: block;
    width: 162px;
    height: auto;
    max-height: 42px;
    object-fit: contain;
}

#sevenleague-public-footer.site-footer::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    right: 20px;
    width: 440px;
    height: 440px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-image: url('/images/footer/sevenleaguecordoba-logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.5;
    transform: translate(25%, -50%) rotate(30deg);
    pointer-events: none;
}

body.competition-coming-soon--champions #sevenleague-public-footer.site-footer::before {
    background-image: url('/images/footer/sevenleaguecordoba-champions-logo.svg');
}

body.competition-coming-soon--premier #sevenleague-public-footer.site-footer::before {
    background-image: url('/images/footer/sevenleaguecordoba-premier-logo.svg');
}

body.competition-coming-soon--green-cup #sevenleague-public-footer.site-footer::before {
    background-image: url('/images/footer/sevenleaguecordoba-greencup-logo.svg');
}

@media (max-width: 760px) {
    #sevenleague-public-footer .site-footer__agency {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    #sevenleague-public-footer.site-footer::before {
        right: 0;
        width: 340px;
        height: 340px;
        transform: translate(25%, -50%) rotate(30deg);
    }
}
