/* =========================
   SECTION COLORS
========================= */

.img-text {
    /* padding: 80px 0; */
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    padding-bottom: 55px;
    padding-top: 55px;
}

.img-text.img-text--white {
    background-color: var(--white);
}

.img-text.img-text--green {
    background-color: var(--primario-chiaro);
}

/* =========================
   CONTENT
========================= */

.img-text .row {
    /* --bs-gutter-x: 0;
    --bs-gutter-y: 0; */
}

.img-text .img-text__content {}

.img-text .img-text__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 40px;
    font-family: var(--font-primary-bold);
    color: var(--primario-accessibile);
}

.img-text .img-text__description,
.img-text .img-text__description p {
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    font-family: var(--font-primary);
    color: var(--secondario);
}

.img-text .img-text__description b,
.img-text .img-text__description p b,
.img-text .img-text__description strong,
.img-text .img-text__description p strong {
    font-family: var(--font-primary-bold);
}

.img-text .img-text__media img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    max-height: 375px;
    max-width: 562px;
}

.img-text .img-text__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.img-text .img-text__list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

/* icona a sinistra */
.img-text .img-text__icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* contenuto a destra */
.img-text .img-text__content-item {
    flex: 1;
}

/* titolo sopra */
.img-text .img-text__item-title {
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: 28.5px;
    color: var(--secondario);
    margin: 0;
}

/* testo sotto */
.img-text .img-text__text {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    color: var(--secondario);
    margin-bottom: 10px;
}

.img-text .img-text__text p {
    margin-bottom: 0px;
}

.img-text .img-text__text b,
.img-text .img-text__text p b,
.img-text .img-text__text strong,
.img-text .img-text__text p strong {
    font-family: var(--font-primary-bold);
}

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

@media (max-width: 1180px) {

    .img-text .img-text__title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 16px;
    }
}

@media (max-width: 1024px) {

    .img-text .img-text__title {
        font-size: 32px;
        line-height: 40px;
    }
}


@media (max-width: 992px) {

    .img-text {
        padding-bottom: 30px;
        padding-top: 30px;
        background-position: center bottom;
        /* background-image: none !important; */
    }

    .img-text .img-text__media img {
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        margin-bottom: 32px;
    }

}

@media (max-width: 400px) {

    .img-text .img-text__media img {
        max-height: 224px;
    }
}