.card-list-container {
    display: flex;
    flex-direction: column;
    height: 300px; /* Adjust as needed */
}

.card-list {
    flex-grow: 1;
    overflow-y: auto; /* Enables vertical scrolling */
    display: flex;
    flex-direction: column;
    padding-right: 10px; /* Space for scrollbar */
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Full width */
    padding: 10px;
    margin-bottom: 20px; /* Space between cards */
    display: flex;
    align-items: center;
}

.card-image {
    width: 25%; /* Image takes up 25% of the card width */
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 75%; /* Content takes up the remaining 75% of the card width */
    padding-left: 20px;
}

.card-title {
    font-weight: 500;
    margin-bottom: 10px;
    color: #333333;
}

.card-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777777;
}

.card-info span {
    margin-right: 15px; /* Space between info sections */
}
