body {
    font-family: "Albert Sans", sans-serif;
    margin: 0;
    padding: 0;
}


.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 70px;
    padding: 20px;
    max-width: 1500px;
    margin: 0 auto;
}

.card {

    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    max-width: 400px;
}

.card:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.card-content {
    padding: 15px;
}

.date {
    color: white;
    background-color: #800080;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
}

.subtitle {
    color: #33A466;
    font-weight: bold;
    margin-bottom: 10px;
}

.title {
    font-size: 1em;
    color: #333;
    margin-bottom: 15px;
    height: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    text-decoration: none;
    color: #800080;
    font-weight: bold;
    display: none;
}

/*  */
.timeline-header {
    background: url('../img/casosExito.png') no-repeat center center !important;
    background-size: cover !important;
}


@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}