.vertical-image-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    margin: auto;
}

.image-slice {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-slice img {
    width: 25rem;
    height: 200px;
    object-fit: cover;
}

.slice0 img {
    object-position: top;
}

.slice1 img {
    object-position: center;
}

.slice2 img {
    object-position: bottom;
}

.image-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: stretch;
}

.card-content-slice {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;

}

/* Responsivo */
@media screen and (max-width: 768px) {
    .image-card {
        flex-direction: column;
    }

    .image-slice {
        width: 100%;
        height: 180px;
    }
}

.flex-gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: 150px;
    height: 150px;
    flex-direction: row;
}

.gallery-item {
    flex: 1 1 calc(20% - 10px); /* 5 imágenes por fila */
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}