.workshops-container {
   
    margin-bottom: 20px auto;
    padding: 20px;
    background: #ffffff;
   
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.workshops-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #000000;
}

.workshops-subtitle {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #000000;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Ajusta las columnas según el ancho */
    gap: 20px; /* Espacio entre las tarjetas */
}

.workshops-item {
    background-size: cover; /* Hace que la imagen cubra todo el contenedor */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita repeticiones */
    height: 300px; /* Fija una altura uniforme para todas las tarjetas */
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Mantén el texto al fondo */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshops-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}

.workshops-item img {
    width: 100%;
    height: 200px; /* Ajusta la altura según tus necesidades */
    object-fit: cover;
    display: block; /* Elimina espacios blancos no deseados */
}

.workshops-content {
    padding: 110px;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro para que el texto sea legible */
    border-radius: 0 0 10px 10px; /* Redondea la parte inferior */
    color: white; /* Asegura que el texto sea visible */
}

.workshops-text {
    font-size: 16px;
    margin: 0;
}

.workshops-date {
    font-size: 14px;
    color: #ffffff;
    margin-top: 10px;
}