.specialist-photo{
    margin-right: 1rem;
}
.specialist-photo img {
    -webkit-border-radius: 1.143rem;
    -moz-border-radius: 1.143rem;
    border-radius: 1.143rem;
    background-color: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
    width: 15rem;
    height: 15rem;
    object-fit: cover;
}
.specialist-photo a{
width: 100%;
display: block;
margin: 1rem 0;
text-align: center;
}
.specialist-photo button{
    margin-top: 1rem;
width: 100%;
max-width: 15rem;
}
.specialist-info{
    background: var(--white);
    -webkit-border-radius: 1.143rem;
    -moz-border-radius: 1.143rem;
    border-radius: 1.143rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    padding: 1.25rem;
    display: block;
    -webkit-box-shadow: var(--shadow);
    -moz-box-shadow: var(--shadow);
    box-shadow: var(--shadow);
    background: var(--white);
    border: 1px solid var(--grey2);
    width: calc(100% - 16rem);
}
.specialist-info h1{
    margin-bottom: .5rem;
}
.specialist-info p{
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--grey2);
}
#category-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 1rem;
    margin: 2rem auto 0;
}
#category-tags .tag-btn {
    display: inline-flex;
    align-items: center;
    padding: .6rem 1.4rem;
    border: 2px solid var(--blue1);
    border-radius: 2rem;
    background: transparent;
    color: var(--blue1);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    margin: 0;
}
#category-tags .tag-btn:hover {
    border: 2px solid var(--blue2);
    color: var(--blue2);
}
#reviews{
    margin-top:2rem;
}
.star-rating svg{
    display: none;
}
.star-rating svg.active{
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--gold);
}
.reviewlist{
    width: 100%;
    flex-wrap: wrap;
}
.reviewlist .card{
    background: var(--white);
    -webkit-border-radius: 1.143rem;
    -moz-border-radius: 1.143rem;
    border-radius: 1.143rem;
    margin-bottom: 1rem;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    padding: 1rem;
    display: block;
    -webkit-transition: -webkit-box-shadow .2s ease;
    transition: -webkit-box-shadow .2s ease;
    -o-transition: box-shadow .2s ease;
    -moz-transition: box-shadow .2s ease,-moz-box-shadow .2s ease;
    transition: box-shadow .2s ease;
    transition: box-shadow .2s ease,-webkit-box-shadow .2s ease,-moz-box-shadow .2s ease;
    border: .0625rem solid var(--grey1);
    width: calc(20% - 1rem);
    margin-right: 1rem;
}
.reviewlist .card .image{
    -webkit-border-radius: 1.143rem;
    -moz-border-radius: 1.143rem;
    border-radius: 1.143rem;
    background-color: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    background-size: cover;
background-position: center;
background-repeat: no-repeat;
min-width: 5rem;
}
.revhead{
    justify-content: space-between;
    margin-bottom: 1rem;
}

@media only screen and (max-width:1500px) {
.reviewlist .card{
    width: calc(25% - 1rem);
}
}
@media only screen and (max-width:1200px) {
.reviewlist .card{
    width: calc(33.33% - 1rem);
}
}
@media only screen and (max-width:900px) {
.reviewlist .card{
    width: calc(50% - 1rem);
}
}
@media only screen and (max-width:700px) {
.reviewlist .card{
    width: 100%;
    margin-right: 0;
}
}
@media only screen and (max-width:600px){
    .specialist-info{
        width: 100%;
    }
    .specialist-photo img{
        width: 100%;
    }
    .specialist-detail{
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media only screen and (max-width:400px){
    .specialist-photo img{
        width: 100%;
    }
    .specialist-photo {
margin-right: 0;
}
}
