/* ==================================================
   PURE MOTION - OUR INSTRUCTORS
   ================================================== */

.instructors-section {
    position: relative;
    background: #faf9f7;
    padding: 75px 0 85px;
    overflow: hidden;
}

/* Heading */

.instructors-heading {
    max-width: 850px;
    margin: 0 auto 25px;
    padding: 0 20px;
}

.instructors-eyebrow {
    display: block;
    margin-bottom: 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 15px !important;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1.4;
    color: #95a682;
    text-transform: uppercase;
}

.instructors-title {
    margin: 0;
    font-family: "Laterlock", sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: none;
    color: #202020;
}

/* Filters */

.instructors-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 42px;
}

.instructor-filter {
    position: relative;
    border: 0;
    background: transparent;
    padding: 9px 20px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #333;
    cursor: pointer;
    transition: all .3s ease;
}

.instructor-filter:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    width: 1px;
    height: 15px;
    background: #bbb5ad;
    transform: translateY(-50%);
}

.instructor-filter.active {
    background: #95a682;
    color: #fff;
}

.instructor-filter:hover {
    color: #95a682;
}

.instructor-filter.active:hover {
    color: #fff;
}

/* Carousel */

.instructors-carousel-shell {
    position: relative;
    width: calc(100% - 90px);
    max-width: 1250px;
    margin: 0 auto;
}

#instructors-carousel {
    position: relative;
}

/* Cards */

.instructor-card {
    width: 100%;
    background: transparent;
}

.instructor-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #eeeae4;
    margin-bottom: 20px;
}

.instructor-photo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform .5s ease;
}

.instructor-card:hover .instructor-photo img {
    transform: scale(1.025);
}

.instructor-info {
    padding: 0 5px;
}

.instructor-name {
    margin: 0 0 2px;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .8px;
    color: #202020;
    text-transform: uppercase;
}

.instructor-role {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: #666;
}

.instructor-location {
    margin: 0 0 14px;
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1.5px;
    color: #7f875e;
    text-transform: uppercase;
}

.instructor-description {
    min-height: 72px;
    margin: 0 0 20px;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: #444;
}

/* View Profile */

.instructor-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    color: #7f875e;
    text-decoration: none;
    transition: all .3s ease;
}

.instructor-profile-link i {
    transition: transform .3s ease;
}

.instructor-profile-link:hover {
    color: #202020;
}

.instructor-profile-link:hover i {
    transform: translateX(4px);
}

/* Carousel arrows */

.instructors-section #instructors-carousel .owl-nav {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: 0 !important;
    margin: 0 !important;
}

.instructors-section #instructors-carousel .owl-prev,
.instructors-section #instructors-carousel .owl-next {
    position: absolute !important;
    top: 37% !important;
    z-index: 20;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d7d3cc !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #202020 !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .07);
    transform: translateY(-50%);
    transition: all .3s ease;
}

.instructors-section #instructors-carousel .owl-prev {
    left: -52px !important;
}

.instructors-section #instructors-carousel .owl-next {
    right: -52px !important;
}

.instructors-section #instructors-carousel .owl-prev:hover,
.instructors-section #instructors-carousel .owl-next:hover {
    background: #95a682 !important;
    border-color: #95a682 !important;
    color: #fff !important;
}

.instructors-section #instructors-carousel .owl-prev i,
.instructors-section #instructors-carousel .owl-next i {
    margin: 0;
    padding: 0;
    font-size: 22px;
}

#instructors-carousel .owl-dots {
    display: none !important;
}

/* Laptop / Nest Hub Max */

@media (max-width: 1200px) {
    .instructors-section {
        padding: 65px 0 75px;
    }
    .instructors-title {
        font-size: 34px;
    }
    .instructors-carousel-shell {
        width: calc(100% - 82px);
    }
    .instructors-section #instructors-carousel .owl-prev {
        left: -42px !important;
    }
    .instructors-section #instructors-carousel .owl-next {
        right: -42px !important;
    }
}

/* Tablet / iPad / Nest Hub */

@media (max-width: 991px) {
    .instructors-section {
        padding: 55px 0 65px;
    }
    .instructors-title {
        font-size: 31px;
    }
    .instructors-carousel-shell {
        width: calc(100% - 74px);
        max-width: 720px;
    }
    .instructor-description {
        min-height: auto;
    }
    .instructors-section #instructors-carousel .owl-prev,
    .instructors-section #instructors-carousel .owl-next {
        width: 38px !important;
        height: 38px !important;
    }
    .instructors-section #instructors-carousel .owl-prev {
        left: -37px !important;
    }
    .instructors-section #instructors-carousel .owl-next {
        right: -37px !important;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .instructors-section {
        padding: 48px 0 58px;
    }
    .instructors-heading {
        margin-bottom: 20px;
    }
    .instructors-eyebrow {
        font-size: 13px !important;
        letter-spacing: 2.5px;
    }
    .instructors-title {
        font-size: 27px;
        line-height: 1.3;
    }
    .instructors-filters {
        margin: 22px 0 30px;
        gap: 2px;
    }
    .instructor-filter {
        padding: 8px 13px;
        font-size: 10px;
        letter-spacing: 1.4px;
    }
    .instructor-filter:not(:last-child)::after {
        right: -2px;
    }
    .instructors-carousel-shell {
        width: calc(100% - 70px);
        max-width: 430px;
    }
    .instructor-photo {
        aspect-ratio: 4 / 5;
    }
    .instructor-name {
        font-size: 16px;
    }
    .instructor-description {
        min-height: auto;
        font-size: 13px;
    }
    .instructors-section #instructors-carousel .owl-prev,
    .instructors-section #instructors-carousel .owl-next {
        width: 36px !important;
        height: 36px !important;
        top: 35% !important;
    }
    .instructors-section #instructors-carousel .owl-prev {
        left: -35px !important;
    }
    .instructors-section #instructors-carousel .owl-next {
        right: -35px !important;
    }
}

/* Very small mobile */

@media (max-width: 380px) {
    .instructors-title {
        font-size: 15px;
    }
    .instructors-carousel-shell {
        width: calc(100% - 62px);
    }
    .instructor-filter {
        padding: 7px 9px;
        font-size: 9px;
    }
    .instructors-section #instructors-carousel .owl-prev {
        left: -31px !important;
    }
    .instructors-section #instructors-carousel .owl-next {
        right: -31px !important;
    }
}