main{
    max-width: 1120px;
    margin: auto;
}
*, p{
    margin: 0;
    padding: 0;
}

h1.hero-text{
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    max-width: 780px;
    margin: auto;
    padding-top: 40px;
}

p.sub-hero-text{
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-top:  10px;
}

.card-wrapper{
    padding: 20px;
    box-shadow: rgba(16, 24, 40, 0.08) 0px 8px 12px, rgba(16, 24, 40, 0.03) 0px -4px 6px -2px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    -webkit-box-pack: justify;
    justify-content: space-between;
    height: 100%;
    transition: 0.3s ease;
}

.card-wrapper:hover{
    transform: translateY(-10px);
    box-shadow: none;
}

.card-wrapper .card-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.card-wrapper .card-header img.top-pro{
    width: 60px;
    height: auto;
    margin-bottom: 5px;
}

.card-wrapper .card-header h6{
    font-size: 20px;
    font-weight: 700;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 30px;
    white-space: nowrap;
    width: 180px;
}

.card-wrapper .card-header,
.card-wrapper .card-footer{
    background: #fff;
    border-bottom: none;
}

.card-wrapper .card-header .profile-wrapper{
    border-radius: 50%;
    width: clamp(72px, 100%, 72px);
    height: clamp(72px, 100%, 72px);
    overflow: hidden;
}

.card-wrapper .card-header .profile-wrapper img{
    height: 72px;
    max-height: 100%;
    width: 72px;
    max-width: 100%;
    transition: 0.3s ease;
}

.card-wrapper .card-body{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-wrapper .card-body .item{
    display: flex;
    flex-direction: row;
}

.card-wrapper .card-body .item img{
    width: 20px;
    height: 24px;
    margin-right: 10px;
}

.card-wrapper .card-body .item{
    font-size: 16px;
}    

.card-wrapper .card-footer{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
}

.card-wrapper .card-footer .review p{
    margin-top: 3px;
    color: #9aa4b2;
    font-size: 14px;
}

.card-wrapper .card-footer p.comment{
    font-size: 14px;
    color: #697586;
    line-height: 1.25rem;   
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical; 
    line-clamp: 4;
    -webkit-line-clamp: 4;
}

.card-wrapper a.cta-button{
    background: rgba(0, 136, 255);
    border: 1px solid rgb(0, 136, 255);
    border-radius: 10px;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 22px;
    color: #ffffff;
    padding: 15px 0px;
    text-align: center;
    text-decoration: none;
    transition: all ease .3s;
}

.card-wrapper a.cta-button:hover{
    background: rgb(0, 102, 190);
    border: 1px solid rgb(0, 83, 155);
}

@media (max-width: 1199.98px) {
    .card-wrapper .card-header h6{
        width: 130px;
    }
}

@media (max-width: 991.98px) {

    .card-wrapper .card-header h6{
        width: 150px;
    }
}

@media (max-width: 767.98px) {
    .card-wrapper .card-header h6{
        width: 100%;
    }

    h1.hero-text{
        font-size: 2rem;
    }

    p.sub-hero-text{
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {

    .business-name-wrapper{
      width: calc(100% - 72px);
    }

    .card-wrapper .card-header h6{
        font-weight: 600;
        font-size: 1.25rem;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 100%;
        overflow: hidden;
        line-height: 30px;
    }

    .card-wrapper .card-header{
        flex-direction: row;
        align-items: center;
    }

    .card-wrapper .card-header .profile-wrapper {
        border-radius: 50%;
        height: auto;
        overflow: hidden;
        width: 72px;
    }

    .card-wrapper .card-header .profile-wrapper img{
        height: auto;
        max-height: 100%;
        width: 72px;
        max-width: 100%;
    }
}