.doctors-t7 {
    padding: 60px 0;
}

.doctors-t7__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 26px;
}

.doctors-t7__tab {
    padding: 8px 40px;
    flex: 1;
    text-align: center;
    border: 2px solid rgba(221, 221, 221, 1);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
    line-height: 1.4;
}
.doctors-t7 .section-title{
    margin-bottom: 30px;
}

.doctors-t7__tab.is-active,
.doctors-t7__tab:hover {
    background: #1a3652;
    color: #fff !important;
    border-color: #1a3652;
    text-decoration: none;
}


.doctors-t7__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
}

.doctor-card {
    width: calc(25% - 19px);
    background: #fff;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}
.doctor-card__icon-box{
    color: #ffffff;
    background-color: #E3BAD1;
    width: 40px;
    z-index: 3;
    position: absolute;
    bottom: -20px;
    height: 40px;
    right: 26px;
    line-height: 36px;
    font-size: 32px;
    margin: 0 auto;
    text-align: center;
    border-radius: 50%;
    top: auto;
    display: inline-block;
    transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    border: 1px solid #E3BAD1;
}
.doctor-card__icon-box svg{
    width: 100%;
    height: 100%;
    padding: 0;
    position: relative;
    top: -5px;
}
.doctor-card__icon-box .icon svg use {
    fill: #fff;
}

.doctor-card__photo {
    width: 100%;
    height: 270px;
    position: relative;
    background: #f3f3f3;
    flex-shrink: 0;
}

.doctor-card:hover .doctor-card__icon-box svg use{
    fill: #E3BAD1;
}
.doctor-card:hover .doctor-card__icon-box{
    color: #E3BAD1;
    background-color: #ffffff;
}

.doctor-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.doctor-card__body {
    padding: 20px 20px 25px;
    border-radius: 1px;
    border: 1px solid rgba(245, 245, 245, 1);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.doctor-card__name{
    font-weight: 700;
    color: rgba(34, 34, 34, 1);
    font-size: 22px;
    line-height: 25px;
    letter-spacing: -0.4px;
    vertical-align: middle;

}

.doctor-card__rating {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-bottom: 8px;
}

.doctor-card__star {
    font-size: 17px;
    color: #ddd;
    line-height: 1;
}

.doctor-card__star.star--full,
.doctor-card__star.star--half {
    color: #f5a623;
}

.doctor-card__rating-val {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-left: 6px;
}

.doctor-card__spec {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 16px;
    letter-spacing: 0;
    color:  rgba(34, 34, 34, 1);


}

.doctor-card__meta {
    margin: 0 0 16px;
    flex: 1;
}

.doctor-card__meta-row {
    display: flex;
    gap: 4px;
    font-size: 14px;
    color: #555;
    margin-bottom: 3px;
}


.doctor-card__meta-row dt,.doctor-card__meta-row span {
    font-weight: 700;
    color: rgba(34, 34, 34, 1);
    margin-bottom: 0;
    flex-shrink: 0;
}

.doctor-card__meta-row:has(.category){
    display: inline-block;
}


.doctor-card__btn {
    background: rgba(24, 52, 84, 1);

    display: block;
    text-align: center;
    padding: 11px 16px;
    color: #fff !important;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 5px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.4s ease;

    text-decoration: none !important;
    border: none;
}

.doctor-card__btn:hover {
    box-shadow: 0px 5px 6px 0 rgba(0, 0, 0, .1) !important;

}

.doctor-card__more {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color:  rgba(24, 52, 84, 1);
    text-decoration: none;
    padding: 4px;
    transition: color .2s;
}

.doctor-card__more:hover {
    color: #183454;
    text-decoration: none;
}

.doctors-t7__footer {
    text-align: center;
    padding-top: 10px;
}
.doctors-t7__footer .btn{
    border: 1px solid rgba(24, 52, 84, 1)!important;
    border-radius: 5px!important;
    background: none;

    font-weight: 400;
    font-size: 16px;
    line-height: 15.4px;
    text-align: center;
    color: rgba(24, 52, 84, 1);

    vertical-align: middle;
    text-transform: uppercase;

}
@media (max-width: 1440px) {
    .doctors-t7__tab{
        padding: 8px 30px;
    }
}
@media (max-width: 1199px) {
    .doctors-t7__tabs{
        gap: 3px;
    }
    .doctors-t7__tab{
        padding: 8px 20px;
    }
}



@media (max-width: 768px) {
    .doctors-t7 { padding: 40px 0; }
    .doctors-t7__footer .btn{
        width: 100%;
    }
    .doctor-card { width: calc(50% - 10px); }
    .doctors-t7__tab { padding: 6px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
    .doctor-card { width: 100%; }
}

@media (min-width: 992px) {
    .doctors-t7__grid.owl-carousel {
        display: flex !important;
    }
}

@media (max-width: 991px) {
    .doctors-t7__tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .doctors-t7__tabs::-webkit-scrollbar { display: none; }
    .doctors-t7__tab { white-space: nowrap; }

    .doctors-t7__grid.owl-carousel.owl-loaded { display: block !important; }


    .doctors-t7__grid.owl-loaded .owl-stage { display: flex !important; }
    .doctors-t7__grid.owl-loaded .owl-item { display: flex; flex-direction: column; }
    .doctors-t7__grid.owl-loaded .owl-item .doctor-card { flex: 1; width: 100%; }

    .doctors-t7__grid .owl-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 14px;
    }
    .doctors-t7__grid .owl-dot span {
        display: block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #d0d0d0;
        transition: background .2s;
    }
    .doctors-t7__grid .owl-dot.active span {
        background: rgba(227, 186, 209, 1);
    }
}

