.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-link:hover {
    text-decoration: none;
    color: inherit;
}

.card-link:hover .arrow {
    transform: rotate(45deg);
    transition: all 0.2s ease-in-out;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: white;
    min-height: 479px;
    max-width: 347px;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    position: relative;
    margin: auto;
    box-shadow: 6px 4px 14px -4px rgba(233, 220, 210, 0.25);
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.card-link:hover .service-card {
    box-shadow: 6px 4px 24px -4px rgba(233, 220, 210, 1);
    transition: all 0.2s ease-in-out;
}

.service-card .image-wrapper {
    overflow: hidden;
    width: 100%;
    height: 254px;
    flex-shrink: 0;
    border-radius: 10px;
}

.service-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    transition: all 0.2s ease-in-out;
}

.card-link:hover .service-card .card-img {
    transform: scale(1.1);
    transition: all 0.2s ease-in-out;
}

.service-card .content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 27px;
    padding: 31px 38px 48px 20px;
}

.service-card .content p {
    margin: 0px;
    font-size: 15px;
}

.service-card .content .title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    line-height: 100%;
}

.service-card .content .text {
    color: var(--secondary) !important;
}

.service-card .arrow {
    object-fit: contain;
    height: 19px;
    width: 19px;
    position: absolute;
    bottom: 18px;
    right: 18px;
    transition: all 0.2s ease-in-out;
}

.card-reason {
    min-height: 288px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    padding: 28px 42px 65px 23px;
    box-shadow: 0px 4px 44px 11px #12315C;
}

.card-reason img {
    width: fit-content;
    height: 100%;
    max-height: 50px;
    object-fit: contain;
    margin-bottom: 21px;
}

.card-reason p {
    margin: 0px;
    font-size: 15px;
    color: var(--secondary);
}

.card-reason .title {
    font-size: 26px;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 27px
}

.card-insight {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 14px -4px rgba(22, 51, 93, 0.06);
}

.card-insight img {
    width: 100%;
    height: 283px;
    object-fit: cover;
    border-radius: 10px;
}

.card-insight .content {
    position: relative;
    padding: 30px 27px 83px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.card-insight .content .title {
    font-size: 24px;
    font-weight: 300;
    line-height: 27px; 
    color: var(--secondary);
}

.card-insight .content .bottom {
    position: absolute;
    bottom: 13px;
    left: 27px;
    width: calc(100% - 54px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-insight .content .bottom .date,
.card-insight .content .bottom .reading-time {
    font-size: 12px;
    font-weight: 400;
    line-height: 27px;
    margin: 0px;
}

.card-review {
    position: relative;
    min-height: 263px;
    width: 364px;
    display: flex;
    flex-direction: column;
    background-color: var(--light-grey);
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    pointer-events: none;
    padding: 32px 22px 25px;
    transition: all 0.2s ease-in-out;
}

.card-review.slick-current {
    width: 364px;
    min-height: 327px;
    padding: 19px 32px 25px;
    height: fit-content;
    transition: all 0.2s ease-in-out;
}

.card-review .rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 18px;
}

.card-review .rating img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.card-review .text {
    font-size: 16px;
    line-height: normal;
    margin-bottom: 64px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.card-review.slick-current .text {
    line-height: 25px;
    margin-bottom: 80px;
    line-clamp: 6;
    -webkit-line-clamp: 6;
    transition: all 0.2s ease-in-out;
}

.card-review .author {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 25px;
    position: absolute;
    bottom: 25px;
    left: 22px;
    transition: all 0.2s ease-in-out;
}

.card-review.slick-current .author {
    left: 32px;
    transition: all 0.2s ease-in-out;
}

.card-review .author img {
    width: 43px;
    height: 43px;
    object-fit: cover;
    border-radius: 50%;
}

.card-review .author p {
    font-size: 20px;
    font-weight: 700;
    line-height: 25px; 
    margin: 0px;
}

@media screen and (max-width: 992px) {
    .service-card {
        min-height: 169px;
        max-width: 100%;
        width: 100%;
        height: fit-content;
        box-shadow: 0px 4px 4px 0px #F3EBE5;
    }

    .service-card .image-wrapper {
        height: 141px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    
    .service-card .content {
        height: fit-content;
        gap: 0px;
        padding: 11px 14px 11px 11px;
    }
    
    .service-card .content .title {
        font-size: 17px;
    }
    
    .service-card .arrow {
        height: 13px;
        width: 13px;
        bottom: 11px;
        right: 14px;
    }

    .card-reason {
        min-height: 66px;
        background: white;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        border-radius: 10px;
        padding: 10px 22px;
        box-shadow: 16px 218px 61px 0px rgba(5, 20, 46, 0.00), 10px 139px 56px 0px rgba(5, 20, 46, 0.01), 6px 78px 47px 0px rgba(5, 20, 46, 0.05), 3px 35px 35px 0px rgba(5, 20, 46, 0.09), 1px 9px 19px 0px rgba(5, 20, 46, 0.10);
    }
    
    .card-reason img {
        height: 40px;
        width: 40px;
        margin-bottom: 0px;
    }
    
    .card-reason p {
        margin: 0px;
        color: var(--secondary);
    }
    
    .card-reason .title {
        font-size: 20px;
        margin-bottom: 0px
    }

    .card-reason .text {
        display: none;
    }

    .card-insight {
        min-height: 346px;
    }
    
    .card-insight img {
        width: 100%;
        height: 184px;
    }
    
    .card-insight .content {
        position: relative;
        padding: 24px 15px;
        flex-grow: 1;
    }
    
    .card-insight .content .bottom {
        position: absolute;
        bottom: 14px;
        left: 15px;
        width: calc(100% - 30px);
    }

    .card-review {
        min-height: 217px;
        width: 291px;
        padding: 22px 17px 25px;
    }
    
    .card-review.slick-current {
        width: 291px;
        min-height: 263px;
        padding: 32px 12px 25px;
    }
    
    .card-review .rating {
        margin-bottom: 9px;
    }
    
    .card-review .text {
        margin-bottom: 20px;
        line-clamp: 3;
        -webkit-line-clamp: 3;
    }
    
    .card-review.slick-current .text {
        line-height: normal;
        margin-bottom: 25px;
        line-clamp: 4;
        -webkit-line-clamp: 4;
    }
    
    .card-review .author {
        gap: 10px;
        left: 18px;
    }
    
    .card-review.slick-current .author {
        left: 12px;
    }
}