/*
 * footer.css — mediaset-distribution-new
 */

/* ─── WRAPPER ESTERNO ────────────────────────────────────────────────────── */
/* Dal Figma: padding 0px 50px, width 1728px */
.site-footer {
    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
    background: transparent;
}

/* ─── FOOTER BOX ─────────────────────────────────────────────────────────── */
/*
  Dal Figma:
  background: #323E48; border-radius: 20px 20px 0px 0px;
  padding: 25px 50px; gap: 25px;
  display: flex; flex-direction: column; align-items: flex-start;
*/
.site-footer__box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 50px;
    gap: 25px;
    background: #323E48;
    border-radius: 20px 20px 0px 0px;
    box-sizing: border-box;
    width: 100%;
}

/* ─── LOGO ───────────────────────────────────────────────────────────────── */
/* Dal Figma: width 226px, height 50.01px */
.site-footer__logo {
    width: 226px;
    height: 50px;
    flex-shrink: 0;
}

.site-footer__logo a {
    display: block;
}

.site-footer__logo img {
    width: 226px;
    height: 50px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

/* ─── BARRETTA BIANCA SEPARATRICE ────────────────────────────────────────── */
/* Dal Figma: width 1528px (fill), height 14px, background #FFFFFF */
.site-footer__bar {
    width: 100%;
    height: 14px;
    background: #FFFFFF;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ─── SEZIONE TESTO: INFO | NAV | SOCIAL ─────────────────────────────────── */
/*
  Dal Figma — .text:
  display: flex; flex-direction: row; justify-content: space-between;
  align-items: flex-start; padding: 0; gap: 60px;
  width: 1528px; height: 153px;
*/
.site-footer__text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    gap: 60px;
    width: 100%;
}

/* ─── INFO (disclaimer) ──────────────────────────────────────────────────── */
/*
  Dal Figma — .INFO:
  width: 300px; height: 153px;
  font-family: 'Geologica'; font-weight: 300; font-size: 14px; line-height: 17px;
  color: #FFFFFF;
*/
.site-footer__info {
    width: 300px;
    flex-shrink: 0;
}

.site-footer__info p {
    font-family: 'Geologica', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    padding: 0;
}

.site-footer__info p:first-child {
    font-family: 'Geologica', sans-serif;
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 6px;
}

/* ─── NAV FOOTER ─────────────────────────────────────────────────────────── */
/*
  Dal Figma — .Frame 7 (NAV):
  display: flex; flex-direction: column; align-items: flex-start; padding: 0;
  width: 116px; height: 54px;
  font-family: 'Geologica'; font-weight: 700; font-size: 14px; line-height: 18px;
  color: #FFFFFF;
*/
.site-footer__nav {
    flex-shrink: 0;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 0;
}

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

.footer-menu li a {
    font-family: 'Geologica', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
}

.footer-menu li a:hover {
    text-decoration: underline;
}

/* ─── SOCIAL ─────────────────────────────────────────────────────────────── */
/*
  Dal Figma — .SOCIAL:
  display: flex; flex-direction: row; align-items: flex-start;
  padding: 0; gap: 10px; width: 173.43px; height: 27.01px;
  Icone: 27x27px cerchi bianchi con icona #323E48
*/
/* SOCIAL rimosso su richiesta esplicita dell'utente: il blocco icone social
   è stato eliminato dal footer.php. Il menu di navigazione ora occupa
   l'estremità destra grazie a justify-content: space-between su .site-footer__text */

/* ─── BOTTOM: barretta + copyright ──────────────────────────────────────── */
.site-footer__bottom {
    width: 100%;
}

.site-footer__bottom-bar {
    width: 100%;
    height: 2px;
    background: #FFFFFF;
    margin-bottom: 20px;
}

/*
  Dal Figma — .COPY:
  display: flex; flex-direction: row; justify-content: space-between;
  align-items: flex-start; gap: 925px;
  font-family: 'Geologica'; font-weight: 300; font-size: 14px; line-height: 17px;
  color: #FFFFFF;
*/
.site-footer__copy {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-footer__copy-left {
    font-family: 'Geologica', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
}

/*
  Dal Figma — Frame 10 (PRIVACY POLICY + COOKIE POLICY):
  display: flex; flex-direction: row; align-items: center;
  gap: 50px; width: 271px; height: 17px;
*/
.site-footer__copy-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

.site-footer__copy-right a {
    font-family: 'Geologica', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
    text-decoration: none;
}

.site-footer__copy-right a:hover {
    text-decoration: underline;
}

/* ─── MEDIA QUERIES ──────────────────────────────────────────────────────── */

@media screen and (max-width: 1280px) {
    .site-footer {
        padding: 0 20px;
    }

    .site-footer__box {
        padding: 25px 30px;
    }

    .site-footer__text {
        gap: 30px;
    }
}

@media screen and (max-width: 1024px) {
    .site-footer {
        padding: 0;
    }

    .site-footer__box {
        border-radius: 0;
        padding: 30px 24px;
    }

    .site-footer__text {
        flex-direction: column;
        gap: 24px;
    }

    .site-footer__info {
        width: 100%;
    }

    .site-footer__copy {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .site-footer__copy-right {
        gap: 24px;
    }
}

@media screen and (max-width: 768px) {
    .site-footer__box {
        padding: 24px 16px;
    }

    .site-footer__copy-right {
        flex-direction: column;
        gap: 12px;
    }
}
