
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    flex-direction: row-reverse; /* Change to row-reverse for RTL */
    transition: transform 0.5s ease-in-out;
    width: calc(100% * 6 / 3); /* 6 cards in total, 3 visible at a time */
    width: 70%;
    content: center;
}

.card {
    min-width: calc(100% / 3);
    box-sizing: border-box;
    background-color: white;
    margin: 0 10px;
    padding: 20px;
    width: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card img {
    width: 100%;
    height: auto;
}

.card h3 {
    margin: 10px 0;
    font-size: 1.2em;
}

.card p {
    font-size: 0.9em;
    color: #555;
}

.card .date {
    display: block;
    margin-top: 10px;
    font-size: 0.8em;
    color: #999;
}