/* ==========================================================================
   Fidia Featured Contents Widget – Stili
   Adattato dal file featured.css originale.
   Prefisso classi: ffw- (Fidia Featured Widget)
   ========================================================================== */

/* ---- Sezione contenitore ----------------------------------------------- */

.ffw-section {
    background: #fff;
    padding: 10px 0;
    margin: 0 auto;
    max-width: 1920px;
    box-sizing: border-box;
}

/* ---- Header: titolo + pulsante ----------------------------------------- */

.ffw-header {
    margin: 0 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ---- Titolo -------------------------------------------------------------- */

.ffw-heading {
    font-weight: 700;
    font-size: 45px;
    color: var(--second-color, #1a73b8);
    padding-left: 0px;
    line-height: 1.2;
}

/* ---- Testo descrittivo --------------------------------------------------- */

.ffw-description {
    margin: 32px 20px 0;
    color: rgba(15, 39, 57, 1);
    font-size: 28px;
    line-height: 1.4;
}

/* ---- Pulsante CTA -------------------------------------------------------- */

.ffw-btn {
    background: var(--second-color, #1a73b8);
    color: #fff;
    font-weight: 400;
    padding: 6px 0 6px 18px;
    border-radius: 60.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    width: 243px;
    height: auto;
    text-align: center;
    margin-top: 10px;
    margin-bottom: -10px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.ffw-btn:focus,
.ffw-btn:hover {
    color: #fff;
    background-color: #5AA1D7;
    text-decoration: none;
}

/* ---- Cerchio icona nel pulsante ----------------------------------------- */

.ffw-btn-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--second-color, #1a73b8);
    border-radius: 30px;
    padding: 14px 17px;
    margin-left: 19px;
    flex-shrink: 0;
}

.ffw-btn-icon-img {
    width: 16px;
    height: 16px;
    display: block;
}

.ffw-btn-circle svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ---- Monitor / Laptop (800px – 1024px) --------------------------------- */
@media (min-width: 800px) and (max-width: 1024px) {

    .ffw-heading {
        font-size: 36px;
    }

p.ffw-description {
        font-size: 27px;
        text-align: justify;
    }

    .ffw-btn {
        margin: 10% 0;
    }

    .ffw-btn-circle {
        padding: 5px 10px;
        margin-left: 30px;
    }
}

/* ---- Tablet (600px – 800px) ------------------------------------------- */
@media (min-width: 600px) and (max-width: 800px) {

    .ffw-header {
        display: block;
        justify-content: center;
        margin-bottom: 4%;
        text-align: center;
    }

    .ffw-heading {
        font-size: 36px;
        /*width: 100%;*/
        text-align: center;
    }

    p.ffw-description {
        font-size: 20px;
        text-align: justify;
    }

    .ffw-btn {
        width: 265px;
        max-width: 270px;
        margin: 10% auto;
        display: flex;
        box-sizing: border-box;
    }

    .ffw-btn-circle {
        padding: 14px 17px;
        margin-left: 56px;
    }
}

/* ---- Mobile (≤ 600px) ------------------------------------------------- */
@media (max-width: 600px) {

    .ffw-section {
        padding: 10px 0;
    }

    .ffw-header {
        display: block;
        margin-bottom: 5%;
        text-align: center;
    }

    .ffw-heading {
        font-size: 24px;
        text-align: center;
padding-bottom:10px;
    }

    p.ffw-description {
        font-size: 16px !important;
        text-align: justify;
    }

    .ffw-btn {
        background: var(--second-color, #1a73b8);
        color: #fff;
        font-weight: 400;
        padding: 6px 0 6px 19px;
        border-radius: 60.5px;
        text-decoration: none;
        display: flex;
        height: auto;
        width: 220px;
        align-items: center;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }

    .ffw-btn-circle {
        padding: 5px 10px;
        margin-left: auto;
    }
}
