.hm-doctors .hm-doctor-track {
    display: block !important;
    overflow: visible !important;
    padding: 0 !important;
}

.hm-doctor-group {
    display: none;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px;
    align-items: stretch;
}

.hm-doctor-group.is-active {
    display: grid;
    animation: doctorGroupAppear .65s ease both;
}

.hm-doctor-group .hm-doctor-card {
    min-width: 0;
    width: 100%;
    height: 100%;
}

.hm-doctors .hm-controls {
    display: none !important;
}

.hm-group-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 32px auto 10px;
}

.hm-group-dot {
    width: 11px;
    height: 11px;
    background: #cbd5df;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    padding: 0;
    transition: width .3s, background .3s;
}

.hm-group-dot.is-active {
    width: 36px;
    background: #081638;
}

.hm-group-pause {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #081638;
    padding: 8px;
    font-size: 13px;
}

.hm-group-counter {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-top: 10px;
}

@keyframes doctorGroupAppear {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:850px) {
    .hm-doctor-group {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 15px;
    }

    .hm-doctors .hm-doctor-photo {
        height: 260px;
    }
}

@media(max-width:480px) {
    .hm-doctors .hm-doctor-photo {
        height: 210px;
    }

    .hm-doctors .hm-doctor-body {
        padding: 14px;
    }

    .hm-doctors .hm-doctor-body h3 {
        font-size: 16px;
    }

    .hm-doctors .hm-doctor-specialty {
        font-size: 11px;
        left: 8px;
        right: 8px;
    }

    .hm-doctors .hm-profile-link {
        font-size: 12px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .hm-doctor-group.is-active {
        animation: none;
    }
}