/* Team list page */
.team-list-page,
.team-list-page * {
    box-sizing: border-box;
}

.team-list-page {
    padding-top: 24px;
    padding-bottom: 72px;
}

.team-list-page__breadcrumbs {
    margin: 0 0 18px;
}

.team-list-page__breadcrumbs .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    background: transparent;
}

.team-list-page__breadcrumbs .breadcrumb_unit {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #8a8a8a;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
}

.team-list-page__breadcrumbs .breadcrumb_unit:not(:last-child):after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-top: 2px solid #df0014;
    border-right: 2px solid #df0014;
    transform: rotate(45deg);
}

.team-list-page__breadcrumbs .breadcrumb_unit.active {
    color: #df0014;
    font-weight: 700;
    pointer-events: none;
}

.team-list-page h1 {
    margin: 0 0 6px;
    color: #050505;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
}

.team-list-page__layout {
    align-items: flex-start;
}

.team-list-page .team-list-searchbar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px !important;
}

.team-list-page #showfilters {
    display: none;
    align-items: center;
    gap: 10px;
    width: max-content;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent-red, #d30e17);
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.team-list-page #showfilters svg {
    width: 22px;
    height: 22px;
    margin: 0;
    fill: currentColor;
}

.team-list-page .input_wrapper__4zmC_ .input_input__NcZaT {
    position: relative;
    display: block;
    width: 100%;
}

.team-list-page .input_wrapper__4zmC_ .input_input__NcZaT input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 0 24px 0 66px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(22, 27, 45, .14);
    color: #111111;
    font-size: 16px;
    line-height: 1;
}

.team-list-page .input_wrapper__4zmC_ .input_input__NcZaT input::placeholder {
    color: #8e8e8e;
    opacity: 1;
}

.team-list-page .input_wrapper__4zmC_ .input_input__NcZaT i {
    position: absolute;
    left: 26px;
    top: 50%;
    z-index: 1;
    display: inline-flex;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    color: var(--accent-red, #d30e17);
    pointer-events: none;
}

.team-list-page .input_wrapper__4zmC_ .input_input__NcZaT i svg {
    width: 22px;
    height: 22px;
    margin: 0;
    fill: currentColor;
}

/* Team list filters */
.team-list-page #filtersbody {
    position: relative;
    width: 100%;
    min-width: 0;
    padding: 0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(22, 27, 45, .14);
    overflow: hidden;
}

.team-list-page #filtersbody > .public-prices-container_aside__r1tso {
    width: 100%;
    min-width: 0;
}

.team-list-page .team-filter-mobile-head {
    display: none;
}

.team-list-page .scroll-list_wrapper__oIi1y {
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.team-list-page .scroll-list_header__6AZmT {
    padding: 0;
    border: 0;
}

.team-list-page .scroll-list_header__6AZmT input {
    min-height: 46px !important;
    padding-left: 58px !important;
}

.team-list-page .public-prices-container_aside__r1tso .input_wrapper__4zmC_ .input_input__NcZaT i {
    left: 25px;
}

.team-list-page .scroll-list_list__BsP4B {
    padding: 10px 20px 8px;
}

.team-list-page .scroll-list_scroll__YZDCN {
    max-height: 458px !important;
    padding: 0;
    overflow: hidden;
    transition: max-height .34s ease;
}

.team-list-page #filtersbody.is-expanded .scroll-list_scroll__YZDCN {
    max-height: var(--team-filter-height, 3200px) !important;
}

.team-list-page #expert_param,
.team-list-page #branchlsit {
    margin: 0;
    padding: 0;
    list-style: none;
}

.team-list-page #expert_param {
    padding: 18px 20px 0;
}

.team-list-page .team-filter-separator {
    height: 1px;
    margin: 2px 20px 8px;
    background: var(--accent-red, #d30e17);
    opacity: .85;
}

.team-list-page #expert_param li,
.team-list-page #branchlsit li {
    margin: 0 0 14px;
}

.team-list-page .checkbox_box__z8sxY {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.team-list-page #expert_param .checkbox_box__z8sxY {
    grid-template-columns: 20px minmax(0, 1fr) 22px;
    align-items: center;
}

.team-list-page .checkbox_box__z8sxY input {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    border: 1px solid #aaaaaa;
    border-radius: 4px;
    background-color: #ffffff;
    background-image: none;
    accent-color: var(--accent-red, #d30e17);
    cursor: pointer;
}

.team-list-page .checkbox_box__z8sxY input:checked {
    border-color: var(--accent-red, #d30e17);
    background-color: var(--accent-red, #d30e17);
    background-image: none;
}

.team-list-page .checkbox_box__z8sxY input:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.team-list-page .checkbox_box__z8sxY input:focus {
    outline: none;
    box-shadow: none;
}

.team-list-page .checkbox_box__z8sxY label,
.team-list-page #branchlsit .checkbox_box__z8sxY label {
    min-width: 0 !important;
    margin: 1px 0 0 !important;
    color: #1f1f1f;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
}

.team-list-page #expert_param .checkbox_box__z8sxY label {
    color: var(--accent-red, #d30e17);
    font-weight: 700;
}

.team-list-page .show_exp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin: 0;
    padding-left: 11px;
    border-radius: 999px;
    background: var(--accent-red, #d30e17);
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(211, 14, 23, .22);
}

.team-list-page .show_exp:hover {
    background: #b90c14;
    color: #ffffff;
}

.team-list-page .location_label,
.team-list-page #filial {
    display: none !important;
}

.team-list-page #applyfilter,
.team-list-page .clear_filter {
    display: none;
}

.team-list-page .team-filter-showall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    margin: 2px 0 0;
    padding: 0 16px 16px;
    border: 0;
    background: transparent;
    color: var(--accent-red, #d30e17);
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

.team-list-page .team-filter-showall[hidden] {
    display: none;
}

.team-list-page .team-filter-showall::after {
    content: "";
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform .2s ease;
}

.team-list-page #filtersbody.is-expanded .team-filter-showall::after {
    transform: translateY(3px) rotate(225deg);
}

/* Team list content */
.team-list-page .team_body {
    display: block;
    overflow: visible;
    text-align: left;
}

.team-list-page .team-direction {
    margin: 0 0 14px;
}

.team-list-page .team-direction__toggle {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #050505;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 600;
    text-align: left;
}

.team-list-page .team-direction__toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 999px;
    background: var(--accent-red, #d30e17);
    padding: 11px;
    transition: background-color .2s ease, transform .2s ease;
}

.team-list-page .team-direction__toggle-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.team-list-page .team-direction__toggle-icon path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.team-list-page .team-direction.is-open .team-direction__toggle-icon {
    background-color: #cfcfcf;
    transform: rotate(180deg);
}

.team-list-page .team-direction__panel {
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .36s ease, opacity .24s ease, padding .2s ease;
}

.team-list-page .team-direction.is-open .team-direction__panel {
    max-height: var(--team-direction-height, 2000px);
    padding: 12px 10px 24px;
    opacity: 1;
}

.team-list-page .team-direction__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
}

/* Team list doctor cards */
.team-list-page .slider_doctors_unit.team-doctor-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 18px rgba(22, 27, 45, .14);
    overflow: hidden;
}

.team-list-page .team-doctor-card__photo {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.team-list-page .slider_doctors_foto img,
.team-list-page .team-doctor-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-list-page .team-doctor-card__badges {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 8px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
}

.team-list-page .team-doctor-badge_group {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.team-list-page .team-doctor-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--accent-red, #d30e17);
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.team-list-page .team-doctor-badge--experience {
    gap: 5px;
    min-width: 84px;
    justify-content: flex-start;
    padding: 0 8px 0 0;
    background: rgba(255, 255, 255, .92);
    color: #222222;
}

.team-list-page .team-doctor-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--accent-red, #d30e17);
    color: #ffffff;
}

.team-list-page .team-doctor-badge--icon {
    width: 28px;
    min-width: 28px;
    padding: 6px 7px;
}

.team-list-page .team-doctor-badge--icon img {
    object-fit: contain;
}

.team-list-page .team-doctor-card__content {
    min-height: 78px;
    padding: 10px 14px 4px;
    text-align: center;
}

.team-list-page .team-doctor-card__content a {
    color: inherit;
    text-decoration: none;
}

.team-list-page .slider_doctors_title {
    color: #050505;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
    min-height: unset;
}

.team-list-page .slider_doctors_subtitle {
    margin: 0;
    margin-top: 8px;
    color: #8a8a8a;
    font-size: 12px;
    line-height: 1.2;
}

.team-list-page .team-doctor-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding: 10px 14px 16px;
}

.team-list-page .team-doctor-card__actions--single {
    grid-template-columns: 0.4fr 1fr 0.4fr;
}

.team-list-page .team-doctor-card__actions--single .team-doctor-card__more {
    grid-column: 2;
}

.team-list-page .team-doctor-card__more,
.team-list-page .team-doctor-card__book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 7px;
    border-radius: 999px;
    border: 1px solid var(--accent-red, #d30e17);
    color: var(--accent-red, #d30e17);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.team-list-page .team-doctor-card__more {
    background: var(--accent-red, #d30e17);
    color: #ffffff;
}

.team-list-page .team-doctor-card__more:hover,
.team-list-page .team-doctor-card__book:hover {
    background: #b90c14;
    border-color: #b90c14;
    color: #ffffff;
}

.team-list-page .pagination_pagination__M8bHW,
.team-list-page .public-prices-container_info__9Xfw_ {
    display: none !important;
}

/* Team list filter info modal */
.team-info-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.team-info-modal.is-open {
    display: flex;
}

.team-info-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .28);
    backdrop-filter: blur(10px);
}

.team-info-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(890px, 100%);
    padding: 56px 56px 48px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(22, 27, 45, .22);
    text-align: center;
}

.team-info-modal__close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: #e5e5e5;
}

.team-info-modal__close::before,
.team-info-modal__close::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 14px;
    width: 16px;
    height: 2px;
    background: #111111;
}

.team-info-modal__close::before {
    transform: rotate(45deg);
}

.team-info-modal__close::after {
    transform: rotate(-45deg);
}

.team-info-modal h2 {
    margin: 0 0 40px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.team-info-modal__text {
    max-width: 790px;
    margin: 0 auto 42px;
    padding: 18px 34px;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(22, 27, 45, .12);
    color: #858585;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.team-info-modal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 202px;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    background: var(--accent-red, #d30e17);
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

@media (min-width: 768px) {
    .team-list-page.team-list-page .team-list-page__layout {
        display: grid !important;
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 28px;
        margin-right: 0;
        margin-left: 0;
    }

    .team-list-page.team-list-page .team-list-page__layout::before,
    .team-list-page.team-list-page .team-list-page__layout::after {
        display: none;
        content: none;
    }

    .team-list-page__aside {
        grid-column: 1;
        grid-row: 1;
        width: 250px;
        max-width: none;
        padding: 0;
    }

    .team-list-page__main {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        max-width: none;
        padding: 0;
        overflow: visible;
    }
}

@media (min-width: 1191px) and (max-width: 1280px) {
    .team-list-page.team-list-page .team-list-page__layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 24px;
    }

    .team-list-page__aside {
        width: 240px;
    }

    .team-list-page .team-direction__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px 22px;
    }

}

@media (min-width: 768px) and (max-width: 1190px) {
    .team-list-page.team-list-page .team-list-page__layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 20px;
    }

    .team-list-page__aside {
        width: 230px;
    }

    .team-list-page .team-direction__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 18px;
    }

    .team-list-page .slider_doctors_title {
        font-size: 15px;
    }
}

@media (min-width: 769px) and (max-width: 920px) {
  .team-list-page .team-direction__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
    .team-list-page {
        padding-top: 18px;
        padding-bottom: 48px;
    }

    .team-list-page__breadcrumbs {
        margin-bottom: 14px;
    }

    .team-list-page__breadcrumbs .breadcrumb_unit {
        font-size: 12px;
    }


    .team-list-page h1 {
        margin-bottom: 16px;
        font-size: 22px;
    }

    .team-list-page #showfilters {
        display: inline-flex !important;
        order: 1;
    }

    .team-list-page #price_search {
        order: 2;
    }

    .team-list-page .team-list-searchbar {
        gap: 14px;
        margin-bottom: 22px !important;
    }

    .team-list-page .input_wrapper__4zmC_ .input_input__NcZaT input {
        min-height: 48px;
        padding-left: 58px;
        font-size: 16px;
    }

    .team-list-page .input_wrapper__4zmC_ .input_input__NcZaT i {
        left: 22px;
    }

    .team-list-page #mainbody,
    .team-list-page #filtersbody {
        display: none;
        visibility: hidden;
    }

    .team-list-page #mainbody.visible,
    .team-list-page #filtersbody.visible {
        display: block;
        visibility: visible;
    }

    .team-list-page__aside {
        padding: 0;
    }

    .team-list-page #filtersbody {
        padding: 12px 10px 24px;
        box-shadow: none;
    }

    .team-list-page .team-filter-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 0 18px;
        color: var(--accent-red, #d30e17);
        font-size: 18px;
        line-height: 1;
        font-weight: 700;
    }

    .team-list-page #closefilters {
        position: relative;
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 999px;
        background: var(--accent-red, #d30e17);
    }

    .team-list-page #closefilters::before {
        content: "";
        position: absolute;
        left: 8px;
        top: 10px;
        width: 11px;
        height: 11px;
        border-top: 2px solid #ffffff;
        border-right: 2px solid #ffffff;
        transform: rotate(45deg);
    }

    .team-list-page #expert_param {
        padding: 16px 18px 0;
    }

    .team-list-page .scroll-list_wrapper__oIi1y {
        border-radius: 0;
    }

    .team-list-page .scroll-list_header__6AZmT {
        padding: 0 18px;
    }

    .team-list-page .scroll-list_list__BsP4B {
        padding: 18px 18px 0;
    }

    .team-list-page .team-filter-showall {
        padding-bottom: 0;
    }

    .team-list-page #applyfilter {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        margin: 24px auto 0;
        padding: 6px 16px;
        border: 0;
        border-radius: 999px;
        background: var(--accent-red, #d30e17);
        color: #ffffff;
    }

    .team-list-page .clear_filter {
        display: none;
        margin-top: 16px !important;
    }

    .team-list-page .team-direction {
        margin-bottom: 7px;
    }

    .team-list-page .team-direction__toggle {
        gap: 12px;
        margin-bottom: 14px;
        font-size: 18px;
    }

    .team-list-page .team-direction__toggle-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        padding: 8px 11px;
    }

    .team-list-page .team-direction__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-list-page .team-doctor-card__photo {
        height: 210px;
    }

    .team-list-page .slider_doctors_title {
        font-size: 16px;
    }

    .team-info-modal {
        padding: 18px;
    }

    .team-info-modal__dialog {
        padding: 48px 22px 34px;
    }

    .team-info-modal h2 {
        margin-bottom: 28px;
        font-size: 20px;
    }

    .team-info-modal__text {
        margin-bottom: 32px;
        padding: 16px 18px;
        font-size: 15px;
    }
}

@media (max-width: 540px) {
  .team-list-page .team-direction__grid {
    grid-template-columns: minmax(0, 250px);
    justify-content: center;
    gap: 22px;
  }
}
