/* Footer styles */

.site-footer {
    border-bottom: 1rem solid var(--color-orange, #F26B53);

    a { @apply text-white transition-colors duration-300 hover:text-secondary-400 focus-visible:text-secondary-400; }

    .widget {
        li { @apply text-16px my-1 mb-2 leading-4; }

        h4 { @apply font-bold text-18px text-secondary mb-2; }
    }

    .menu-footer-menu-container { @apply grow; }

    .copyright {
        p { @apply text-white leading-none m-0 p-0; }

        a { @apply text-white hover:text-primary-500 underline underline-offset-2; }
    }

    .contact__item {
        @apply flex justify-start items-start font-light text-white text-14px mb-2;

        p { @apply m-0 p-0; }

        a { @apply text-white hover:text-secondary-400 focus-visible:text-secondary-400; }

        &::before {
            @apply inline-block mr-2;

            content: "";
            height: 1.5rem;
            width: 1.5rem;
        }

        &.contact__phone::before {
            background: url("../../static/img/footer-phone.svg") no-repeat center center;
        }
        &.contact__email::before {
            background: url("../../static/img/footer-email.svg") no-repeat center center;
        }
        &.contact__address::before {
            background: url("../../static/img/footer-map.svg") no-repeat center center;
            padding-top: 2rem;
        }
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-block: 2.25rem 1.25rem;
    }

    .site-footer > .container {
        gap: 1.5rem 1rem;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding-inline: 1rem;
    }

    .site-footer .site-footer__logo {
        max-width: 6rem;
    }

    .site-footer .widget li {
        font-size: var(--text-14px);
        line-height: 1.1;
        margin-bottom: 0.4rem;
    }

    .site-footer .widget h4 {
        font-size: var(--text-16px);
        margin-bottom: 0.5rem;
    }

    .site-footer .text-right {
        align-items: flex-start;
        text-align: left;
    }
}
