
.history-card {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: 0.3s ease;
    margin-bottom: 20px;
}

.history-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}

.card-image {
    width: 35%;
    min-width: 180px;
    flex-shrink: 0;
    overflow: hidden;
}

.card-image img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    flex: 1;
    min-width: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card-content p {
    color: #666;
    line-height: 1.6;
}

.view-more {
    display: inline-block;
    align-self: flex-start;
    background: #174a70;
    color: white;
    padding: 9px 18px;
    border-radius: 5px;
    text-decoration: none;
}

@media (max-width: 767px) {
    .history-card {
        flex-direction: column;
    }

    .card-image {
        width: 100%;
        min-width: 0;
    }

    .card-image img {
        width: 100%;
        height: 200px;
    }
}
