.customhomezigzag_container {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.chz-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.chz-block.chz-reverse {
    flex-direction: row-reverse;
}

.chz-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Tailles d'images - définit la largeur du conteneur */
.chz-image-small {
    flex: 0 0 25%;
    max-width: 250px;
}

.chz-image-medium {
    flex: 0 0 35%;
    max-width: 400px;
}

.chz-image-large {
    flex: 0 0 45%;
    max-width: 550px;
}

.chz-image-full {
    flex: 1 1 45%;
    max-width: 100%;
}

.chz-image img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    display: block;
}

.chz-content {
    flex: 1 1 45%;
    padding: 20px;
    min-width: 300px;
    max-width: 550px;
}

.chz-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 30px;
}

.chz-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.chz-extra-wrapper {
    text-align: center;
    margin-top: 40px;
}

.chz-btn-toggle {
    background-color: #002d91;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.chz-btn-toggle:hover {
    background-color: #1143af;
}

.chz-extra-content {
    margin-top: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    text-align: left;
}


/* Responsive */
@media (max-width: 768px) {
    .chz-block, .chz-block.chz-reverse {
        flex-direction: column;
    }

    .chz-image-small,
    .chz-image-medium,
    .chz-image-large,
    .chz-image-full {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .chz-content {
        flex: 1 1 100%;
        min-width: auto;
    }

    .chz-image img {
        max-height: 300px;
    }
}
