
/* card list design */
.com-list {
    display: flex;
    flex-wrap: wrap;
}

.com-list-items {
    width: 15%;
    margin-bottom: 25px;
    box-shadow: 1px 1px 11px rgba(0, 0, 0, .1);
    border-radius: 14px;
    border: none;
    transition: box-shadow .5s ease;
}

.com-list-items:hover {
    box-shadow: 1px 1px 11px rgb(9 42 73 / 30%);
}

.com-list-items + .com-list-items {
    margin-left: 1.8%;
}


.com-list-items:nth-child(6n + 1) {
    margin-left: 0;
}


@media (max-width:991px) {
    .com-list-items {
        width: 23%;
    }

    .com-list-items:nth-child(6n + 1) {
        margin-left: 1.8%;
    }

    .com-list-items:nth-child(4n + 1) {
        margin-left: 0;
    }
}

@media (max-width:767px) {
    .com-list-items {
        width: 32%;
    }

    .com-list-items:nth-child(6n + 1),
    .com-list-items:nth-child(4n + 1) {
        margin-left: 1.8%;
    }

    .com-list-items:nth-child(3n + 1) {
        margin-left: 0;
    }
}


@media (max-width:575px) {
    .com-list-items {
        width: 48%;
    }

    .com-list-items:nth-child(3n + 1) {
        margin-left: 1.8%;
    }
}

@media (max-width:320px) {
    .com-list-items {
        width: 100%;
        margin-left: 0;
    }
}

/* card design */
.com-card {
    border: none;
    border-radius: 14px;
}

.com-card .card-body {
    display: inline-block;
}

.com-card .card-body .card-title {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    text-transform: capitalize;
    margin: 0;
}

.com-card .card-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}