* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.card-wrapper {
    max-width: 95%;
    margin: auto;
    /* margin-left: -15px; */
    /* margin: 0 60px 35px; */
    padding: 20px 10px;
    overflow: hidden;
}

.card-list {
    position: absolute;
    left: -30px;
}

.card-list .card-item {
    list-style: none;
}
.card-list .card-item .card-link {
    /* width: 400px; */
    user-select: none;
    display: block;
    padding: 18px;
    border-radius: 12px;
    border: 2px solid transparent;
    background-color: white;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
    
    /* text-decoration: none; */
}
.card-list .card-item .card-link:hover {
    border-color: lightblue;
}
.card-list .card-link .card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
}
.card-list .card-link .badge {
    color: #5372F0;
    background: #DDE4FF;
}

.card-list .card-link .card-title {
    font-size: 1.19rem;
    color: black;
    font-weight: 600;
}
.card-link .card-item-content .sub-content {
    height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: height 0.8s ease, opacity 0.5s ease-out;
    
}
.card-list .card-item .card-link:hover .sub-content {
    height: auto;
    opacity: 1;
    display: grid;
    grid-template-columns: auto auto;
}
.card-list .card-link .card-button {
    height: 35px;
    width: 35px;
    color: green;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    margin: 30px 0 5px;
    border: 2px solid green;
    transform: rotate(-45deg);
    transition: 0.2s ease;
}
.card-list .card-link:hover .card-button {
    transform: rotate(0deg);
    color: white;
    background-color: #5372F0;
    border: #5372F0;
    scale: 1.1;
}
.card-wrapper .swiper-pagination-bullet {
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background-color: #5372F0;
}
.card-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
}

.card-wrapper .swiper-slide-button {
    color: #5372F0;
    margin-top: -35px;
}
@media screen and (max-width: 768px) {
    /* .card-wrapper ul li {
        margin-left: -7px;
    } */
     .card-wrapper {
        width: 100%;
        margin-left: 0px;
     }
    .carousel-container {
        width: 100vw;
        left: 0px;
    }
    .card-wrapper {
        left: 0px;
    }
    .card-wrapper .swiper-slide-button {
        display: none;
    }
}