/* ===== CROCI FOOTER v1.3.0 ===== */

.csf-footer,
.csf-footer * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.elementor-widget-shortcode .elementor-widget-container:has(.csf-footer),
.e-con:has(.csf-footer),
.e-con-inner:has(.csf-footer) {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.csf-footer {
    background: #080808;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.csf-top-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,.3), transparent);
}

.csf-bottom-line {
    height: 1px;
    background: rgba(255,255,255,.05);
}

/* ── DESKTOP — identico all'originale ── */
.csf-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 32px 48px !important;
    gap: 32px !important;
}

.csf-logo {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    width: 220px !important;
    height: 68px !important;
    overflow: hidden !important;
}

.csf-logo img {
    display: block !important;
    width: 220px !important;
    height: 68px !important;
    max-width: 220px !important;
    max-height: 68px !important;
    min-width: unset !important;
    min-height: unset !important;
    object-fit: contain !important;
    object-position: left center !important;
    opacity: .85 !important;
    transition: opacity .25s !important;
}
.csf-logo:hover img { opacity: 1 !important; }

.csf-divider { display: none; }

.csf-credits {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 6px !important;
}

.csf-credits__photo {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #C8102E !important;
    letter-spacing: .02em !important;
    text-align: right !important;
    display: block !important;
}

.csf-credits__copy {
    font-family: 'Poppins', sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,.3) !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    text-align: right !important;
    display: block !important;
}

/* =============================================
   MOBILE — max 600px
============================================= */
@media (max-width: 600px) {

    .csf-footer {
        background: #000000 !important;
    }

    .csf-inner {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 36px 24px 32px !important;
        gap: 20px !important;
    }

    .csf-logo {
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .csf-logo img {
        width: auto !important;
        height: 80px !important;
        max-width: 260px !important;
        max-height: 80px !important;
        object-position: center center !important;
        opacity: .92 !important;
    }

    .csf-credits {
        align-items: center !important;
        width: 100% !important;
    }

    .csf-credits__photo {
        text-align: center !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    .csf-credits__copy {
        text-align: center !important;
    }
}
/* ===== END CROCI FOOTER ===== */
