.staff-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 65px;
}

.staff-slider .swiper-wrapper {
    align-items: stretch;
}

.staff-slider .swiper-slide {
    height: auto;
}

.staff-slide-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    background: #f0f2f1;
}

.staff-slide-card__media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    max-height: 308px;
    height: 100%;
}

.staff-slide-card__image {
    display: block;
    width: 100%;
    height: 100%;
}

.staff-slide-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-slide-card__bottom {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(3px);
}

.staff-slide-card__rating {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.staff-slide-card__bottom:hover {
    border: 1px solid #006a46;
    text-decoration: none;
}
.staff-slide-card__bottom:hover .staff-slide-card__rating {
    color: #006a46;

}
.staff-slide-card__rating-star {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.staff-slide-card__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px 15px;
    min-height: 210px;
    position: relative;
}
.staff-slide-card a{
    text-decoration: none !important;
    text-align: left;
}
.staff-slide-card__name {
    display: block;
    color: #1a1a1a;
    /*font-family: Geometria;*/
    font-weight: 700;
    font-size: 24px;
    line-height: 125%;
    margin-bottom: 4px;
}

.staff-slide-card__post {
    color: #5f6661;
    /*font-family: Geometria;*/
    font-weight: 400;
    font-size: 18px;
    line-height: 125%;
    margin-bottom: auto;
    margin-top: 4px;
    text-align: left !important;
}

.staff-slide-card__meta {
    display: grid;
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.staff-slide-card__meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.staff-slide-card__meta-label {
    color: #909690;
    /*font-family: Geometria;*/
    font-weight: 300;
    font-size: 14px;
    line-height: 125%;
    white-space: nowrap;
}

.staff-slide-card__meta-value {
    color: #20251f;
    /*font-family: Geometria;*/
    font-weight: 700;
    font-size: 16px;
    line-height: 125%;
}

.staff-slide-card__actions {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.staff-slide-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border-radius: 999px;
    text-decoration: none;
    box-sizing: border-box;
    /*font-family: Geometria;*/
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
}

button.staff-slide-card__btn {
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.staff-slide-card__btn--primary {
    background: #005b33;
    color: #fff;
    border: 1px solid #fff;
    justify-content: space-between;
    padding: 12px 24px;
}
.staff-slide-card__btn--primary:hover {
    background: #ffffff00;
    color: #005b33 ;
    border: 1px solid #005b33;
    text-decoration: none;
}
.staff-slide-card__btn--primary:hover .staff-slide-card__btn-icon path{
    fill: #005b33;
}
.staff-slide-card__btn-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.staff-slide-card__btn--secondary {
    border: 1px solid #005b33;
    color: #005b33;
    background: #005b3300;
}
.staff-slide-card__btn--secondary:hover {
    color: #ffffff;
    background: #005b33;
    text-decoration: none;
}
.staff-slide-card__btn-icon {
    width: 15px;
    height: 15px;
    margin-bottom: 5px;
}
.staff-slide-card__btn-icon path{
    fill: #fff;
}
.staff-slide-card__btn-icon--date {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    height: auto;
    min-width: 44px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

.staff-slider-pagination {
    position: static;
    margin-top: 16px;
}

.staff-slide-card__schedule {
    display: none;
}

.staff-schedule-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
}

.staff-schedule-backdrop.is-visible {
    display: flex;
}

.staff-slide-card__schedule.is-open {
    display: block !important;
    position: relative;
    margin: 0;
    top: auto;
    left: auto;
    transform: none;
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
    z-index: 1001;
}

.staff-schedule-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    margin-left: auto;
    display: block;
    border-radius: 999px;
    background: #ffffff;
    color: #1f2a22;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    z-index: 0;
}

.staff-schedule-modal-close:hover {
    background: #f3f5f3;
}

body.staff-schedule-modal-open {
    overflow: hidden;
}

.staff-list__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.staff-slider-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.staff-slider-nav__btn {
    width: 38px;
    height: 38px;
    border: 1px solid #005b33;
    border-radius: 999px;
    background: #005b3300;
    color: #005b33;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.staff-slider-nav__btn:hover {
    background: #005b3300;
    border-color: #005b33;
    color: #005b33;
}

.staff-slider-nav__btn.swiper-button-disabled {
    background: #8fb9aa00;
    border-color: #8fb9aa;
    color: #005b33;
    opacity: .8;
    cursor: default;
}

.swiper-pagination {
    display: none;
}
.staff-slide-card__btn--primary.wf_callback-form {
    justify-content: center;
    cursor: pointer;
}
.button.online {
    display: block;
    position: absolute;
    bottom: 10px;
    right: 10px;
    height: 30px;
    background-color: #005b33;
    color: #fff;
    font-size: 15px;
    text-align: center;
    align-content: center;
}
.button.online-mob {
    display: none;
    background-color: #005b33;
    color: #fff;
    text-align: center;
    align-content: center;
    font-size: 15px;
}
@media (max-width: 1023px) {
    .staff-list__head {
        align-items: flex-start;
    }
    .button.online {
        display: none;
    }
    .button.online-mob {
        display: block;
    }
    .staff-slider-nav__btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .staff-slide-card__media {
        aspect-ratio: 4 / 5;
    }

    .staff-slide-card__content {
        padding: 14px 12px;
    }

    .staff-slide-card__schedule {
        position: static;
    }

    .staff-slide-card__schedule.is-open {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        padding: 14px;
        border-radius: 12px;
    }

    .staff-slide-card__name {
        font-size: 22px;
        line-height: 120%;
    }

    .staff-slide-card__post {
        font-size: 16px;
        line-height: 130%;
    }

    .staff-slide-card__meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .staff-slide-card__meta-label {
        font-size: 11px;
        white-space: normal;
    }

    .staff-slide-card__meta-value {
        font-size: 14px;
    }

    .staff-slide-card__btn {
        min-height: 46px;
        font-size: 15px;
    }

    .staff-slide-card__btn--primary {
        padding: 14px 16px;
    }

    .staff-slide-card__btn-icon--date {
        min-width: 38px;
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .staff-slider .swiper-slide {
        height: fit-content;
    }
    .staff-slide-card__post {
        margin-bottom: 8px;
    }
    .staff-list__head {
        flex-direction: column;
        align-items: stretch;
    }
    .staff-slide-card__btn--primary {
        justify-content: space-evenly;
    }
    .staff-slider-nav {
        justify-content: center;
        width: 100%;
        margin-top: 0px;
        margin-bottom: 10px;
    }
    .staff-slider {
        margin-bottom: 15px;
    }
    .staff-slide-card__meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .staff-slide-card__actions {
        gap: 10px;
    }

    .swiper-pagination {
        display: block;
        position: static !important;
    }

    .staff-slide-card__image img {
        object-position: center 25%;
    }

}
@media (hover: none) and (pointer: coarse) {
    .staff-slider-nav__btn:hover {
        background: #005b3300;
        border-color: #005b33;
        color: #005b33;
    }

    .staff-slider-nav__btn:active {
        background: #005b33;
        border-color: #005b33;
        color: #ffffff00;
    }
}