.vessel-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.vessel-card {
    width: calc(33.33% - 20px);
    border-radius: 30px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease;
    position: relative;
}

.vessel-image-wrapper {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.no-image-text {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: gray;
}

.vessel-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}

.vessel-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: white;
    color: #333;
    font-size: 16px;
    line-height: 100%;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.vessel-action {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #A30101, #FF0000);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.vessel-action:hover {
    background-color: #cc0000;
}

.vessel-details {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 600;
    flex-wrap: wrap;
}

p {
    margin: 0;
    padding: 0;
}

.vessel-name {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #000;
}

.vessel-link {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .vessel-card {
        width: 100%;
    }

    .vessel-cards-container {
        gap: 15px; 
    }
}

