.block-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    gap: 4rem;
}

.image-container {
    flex: 1;
    min-width: 0;
    background-color: #e5e7eb;
    position: relative;
    overflow: hidden;
    min-height: 400px;


}

.container-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container-list a{
    color: #fc6084;
    text-decoration: none;
    font-weight: 600;
    text-transform: capitalize;
}

.skeleton img {
    visibility: hidden;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.image-container.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 2s infinite;
    z-index: 1;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    max-height: 600px;
}

.content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    
}

.title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.buttons-container {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
/* Añade espacio entre los bloques */
.block-cta:not(:last-child) {
    display: block;
    margin-bottom: 4rem;
}

.cta-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--button-color, cc2b32);
    color: var(--button-text-color, white);
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    opacity: 0.9;
    background-color: #f0718f;
    color: #fff;
    transition: all 0.3s ease;
}

.primary-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--button-color, #fc6084);
    color: var(--button-text-color, white);
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.primary-button:hover {
    opacity: 0.9;
    background-color: #f0718f;
    color: #fff;
    transition: all 0.3s ease;
}

.secondary-button {
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: #fc6084;
    border: 2px solid #fc6084;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    border: 2px solid #fc6084;

    color: #fc6084;
}



@media (max-width: 768px) {
    .block-container, .block-container.reverse {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
        margin-bottom: 40px;
    }

    .title {
        font-size: 2rem;
    }

    .block-container, 
    .block-container.reverse {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }

    .image-container {
        order: -1; /* Esto siempre pone la imagen arriba en móvil */
    }
    
}

@media (max-width: 768px) {
    .block-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .title {
        font-size: 2rem;
    }
    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        max-height: auto;
    }
    .image-container {
        min-height: 100px;
    
    
    }

    .block-container, 
    .block-container.reverse {
        padding: 0!important;
    }
    
}