/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 25px 0;
    color: #fff;
}

.site-footer__inner {
    padding: 35px 32px 45px;
    background-color: #3d3d3d;
    border-radius: 10px;
}


/* =========================================================
   GRIGLIA
   ========================================================= */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
}

.footer-grid--top {
    row-gap: 40px;
}


/* =========================================================
   TESTI
   ========================================================= */

.footer-block h3,
.footer-supporters h3,
.footer-social h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
}

.footer-block .footer-title-blue {
    color: #7EE5FF;
}

.footer-block p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
}

.footer-block strong {
    font-weight: 700;
}

.footer-block p a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}


/* =========================================================
   LOGO
   ========================================================= */

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    display: block;
    width: 55px;
    height: auto;
}


/* =========================================================
   BOTTONI
   ========================================================= */

.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 7px;
    padding: 9px 18px;

    color: #62B8D6;
    background-color: #fff;

    border-radius: 25px;

    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;

    transition:
        color .2s ease,
        background-color .2s ease;
}

.footer-button:hover {
background: #5CB2D0;
  color: #fff;
}


/* =========================================================
   GUIDA AI SERVIZI
   ========================================================= */

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin: 0 0 5px;
}

.footer-links a {
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    text-decoration: underline;
}


/* =========================================================
   PARTE INFERIORE
   ========================================================= */

.footer-grid--bottom {
    margin-top: 65px;
    align-items: end;
}

.footer-supporters {
    margin-bottom: 42px;
}

.footer-supporters__logos {
    display: flex;
    align-items:flex-start;
    gap: 25px;
    margin-top: 18px;
}

.footer-supporters__logos img {
    display: block;
    max-width: 150px;
    width: auto;
    height: auto;
}


/* =========================================================
   SOCIAL
   ========================================================= */

.footer-social {
    margin-bottom: 42px;
}

.footer-social__links {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 18px;
}

.footer-social__links a {
    display: block;
}

.footer-social__links img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}


/* =========================================================
   INDIRIZZO
   ========================================================= */

.footer-address {
    font-size: 13px;
    line-height: 1.5;
}

.footer-address strong {
    display: block;
    text-transform: uppercase;
}

.footer-address address {
    margin: 0;
    font-style: normal;
}


/* =========================================================
   LEGAL
   ========================================================= */

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-legal__first-row {
    display: flex;
    gap: 18px;
}

.footer-legal a {
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: underline;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .site-footer__inner {
        padding: 32px 25px 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 50px;
    }

    .footer-grid--top {
        row-gap: 45px;
    }

    .footer-grid--bottom {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom-center {
        display: none;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .site-footer .container {
        padding:0;
    }

    .site-footer__inner {
        padding: 30px 20px;
        border-radius: 0px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid--top {
        row-gap: 35px;
    }

    .footer-grid--bottom {
        grid-template-columns: 1fr;
        margin-top: 50px;
        row-gap: 40px;
    }

    .footer-supporters {
        margin-bottom: 35px;
    }

    .footer-supporters__logos {
        flex-wrap: wrap;
    }

    .footer-social {
        margin-bottom: 35px;
    }

    .footer-legal {
        align-items: flex-start;
    }

    .footer-legal__first-row {
        flex-direction: column;
        gap: 9px;
    }

}

/* =========================================================
   ALLINEAMENTO PRIMA RIGA
   ========================================================= */

.footer-logo {
    height: 55px;
    margin-bottom: 20px;
}

.footer-block--top {
    padding-top: 75px;
}

@media (max-width: 991px) {
    .footer-block--top {
        padding-top: 0;
    }
}
