.custom-staggered-module {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
}

.staggered-row {
    display: flex;
    align-items: flex-start; /* Modifica per gestire l'altezza */
    gap: 20px;
}

.staggered-row__image {
  
    max-width: 50%;
}

.staggered-row__image img {
    width: 600px;
    height: auto;
    border-radius: 20px;
}

.staggered-row__text {
    flex: 1;
    padding: 20px;
    background-color: white;
}

.staggered-row__text h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.staggered-row__text p {
    font-size: 16px;
    color: #555;
}

.staggered-row--first .staggered-row__image {
    margin-top: -40px; /* Immagine più alta rispetto al testo */
}

.staggered-row--first .staggered-row__text {
    margin-top: 110px; /* Testo leggermente in alto */
}

.staggered-row--second .staggered-row__image {
    margin-top: -15px; /* Immagine leggermente più bassa */
}

.staggered-row--second .staggered-row__text {
    margin-top: -60px; /* Testo più alto rispetto all'immagine */
}

.custom-button {
    padding: 10px 20px;
    background-color: #6c63ff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
}

.custom-button:hover {
    background-color: #5846c3;
}

@media (max-width: 768px) {
  .custom-staggered-module {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}
    .staggered-row {
        flex-direction: column; /* Dispone gli elementi uno sotto l'altro */
        gap: 20px;
    }

    .staggered-row__image {
        max-width: 100%; /* L'immagine occupa tutta la larghezza */
        margin-top: 0; /* Rimuove margini verticali */
    }

    .staggered-row__text {
        margin-top: 0; /* Rimuove margini verticali */
    }

    .staggered-row--first .staggered-row__image,
    .staggered-row--second .staggered-row__image,
    .staggered-row--first .staggered-row__text,
    .staggered-row--second .staggered-row__text {
        margin-top: 0; /* Reset dei margini specifici */
    }
.staggered-row__image img {
    width: 600px;
    height: auto;
    border-radius: 20px;
  padding-left: 0px !important;
  padding-right: 0px !important;
}
    /* Cambia l'ordine nella seconda riga */
    .staggered-row--second {
        display: flex;
        flex-direction: column;
    }

    .staggered-row--second .staggered-row__image {
        order: -1; /* Porta l'immagine sopra il testo */
    }
}

.custom-button {
    padding: 10px 20px;
    background-color: #6c63ff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
}


.custom-button:hover {
    background-color: #5846c3;
}
}