.footer_3 {
    position: relative;
    width: 100vw;
    height: fit-content;
    background-color: var(--color4);
    display: block;
    margin: 0;
    color: white;
    padding-bottom: 3vw;
    overflow: hidden;
}

.footer_3::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://condolenciasflorales.cl/static/images/logos/logo_sad2.svg");
    background-repeat: repeat;
    background-size: 5vw 5vw;
    z-index: 0;
    opacity: 0.02;
    filter: brightness(0) invert(1);
}

.footer_3 * {
    position: relative;
    z-index: 1;
}

.footer_3 .h_div {
    width: 80vw;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}


.footer_3 .v_div {
    width: 23%;
    height: fit-content;
    display: block;
    margin: 0 auto;
    border-radius: 1vw;
}

.footer_3 .v_div_comunas {
    width: 80%;
    margin: 0 auto;
    column-width: 15vw;
    column-gap: 1vw;
    row-gap: 1vw;
    height: fit-content;
    margin-left: 10%;
}

.footer_3 .footer_logo_img {
    width: 50%;
    aspect-ratio: 1 / 1;
    margin: 1vw auto;
    display: block;
}

.footer_3 h4 {
    color: #ede7ff;
    font-size: 1.7vw;
    font-family: var(--font9);
    margin: 3vw 0 1vw 0;
    column-span: all;
}

.footer_3 .direction_link {
    text-decoration: none;
    font-family: var(--font6);
    font-size: 1.5vw;
    color: #efecf8;
    display: block;
}

.footer_3 .contact_link,
.footer_3 .category_link,
.footer_3 .comnune_link,
.footer_3 .time_link {
    font-family: var(--font6);
    font-size: 1.5vw;
    color: #efecf8;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.4vw;
    text-decoration: none;
    line-height: 1.2;
    margin-bottom: 0.4vw;
    break-inside: avoid;
}

.footer_3 .contact_link:hover,
.footer_3 .category_link:hover,
.footer_3 .comnune_link:hover,
.footer_3 .time_link {
    text-decoration: underline;
}

.footer_3 .contact_link::before {
    content: "";
    width: 1.5vw;
    height: 1.5vw;
    background-color: #ffffff;
    mask: url("https://condolenciasflorales.cl/static/images/logos/info.svg") no-repeat center / 100%;
    -webkit-mask: url("https://condolenciasflorales.cl/static/images/logos/info.svg") no-repeat center / 100%;
    flex-shrink: 0;
}

.footer_3 .category_link::before {
    content: "";
    width: 1.5vw;
    height: 1.5vw;
    background-color: #ffffff;
    mask: url("https://condolenciasflorales.cl/static/images/logos/cartegory_link.svg") no-repeat center / 100%;
    -webkit-mask: url("https://condolenciasflorales.cl/static/images/logos/cartegory_link.svg") no-repeat center / 100%;
    flex-shrink: 0;
}

.footer_3 .comnune_link::before {
    content: "";
    width: 1.5vw;
    height: 1.5vw;
    background-color: #ffffff;
    mask: url("https://condolenciasflorales.cl/static/images/logos/location.svg") no-repeat center / 100%;
    -webkit-mask: url("https://condolenciasflorales.cl/static/images/logos/location.svg") no-repeat center / 100%;
    flex-shrink: 0;
}

.footer_3 .time_link::before {
    content: "";
    width: 1.5vw;
    height: 1.5vw;
    background-color: #ffffff;
    mask: url("https://condolenciasflorales.cl/static/images/logos/time-left.svg") no-repeat center / 100%;
    -webkit-mask: url("https://condolenciasflorales.cl/static/images/logos/time-left.svg") no-repeat center / 100%;
    flex-shrink: 0;
}


@media screen and (max-width: 62.438em) {
    .footer_3::before {
        background-size: 10vw 10vw;
    }

    .footer_3 .h_div {
        width: 90vw;
        margin: 0 auto;
        display: block;
    }

    .footer_3 .v_div {
        width: 100%;
        border-radius: 3vw;
    }

    .footer_3 .v_div_comunas {
        width: 90%;
        column-width: 50vw;
        column-gap: 3vw;
        row-gap: 3vw;
        margin-left: 5%;
    }

    .footer_3 .footer_logo_img {
        width: 50%;
        aspect-ratio: 1 / 1;
        margin: 3vw auto;
    }

    .footer_3 h4 {
        font-size: 7vw;
    }

    .footer_3 .direction_link {
        font-size: 6vw;
    }

    .footer_3 .contact_link,
    .footer_3 .category_link,
    .footer_3 .comnune_link,
    .footer_3 .time_link {
        font-family: var(--font6);
        font-size: 6vw;
        gap: 1vw;
        margin-bottom: 0.8vw;
        margin-left: 7vw;
    }

    .footer_3 .contact_link:hover,
    .footer_3 .category_link:hover,
    .footer_3 .comnune_link:hover,
    .footer_3 .time_link {
        text-decoration: none;
    }

    .footer_3 .contact_link::before {
        content: "";
        width: 6vw;
        height: 6vw;
    }

    .footer_3 .category_link::before {
        width: 6vw;
        height: 6vw;
    }

    .footer_3 .comnune_link::before {
        width: 6vw;
        height: 6vw;
    }

    .footer_3 .time_link::before {
        width: 6vw;
        height: 6vw;
    }
}