.entry-content .amelia-v2-booking #amelia-container.am-fs__wrapper {
    margin: 0 auto;
}


/* --------MEET THE TEAM-------- */

h2.team-head {
    text-align: center;
    font-size: 2.5rem;
}

.team-section h2 {
    text-align: center;
    font-size: 3rem;
}

.container-teacher {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    padding-bottom: 1rem;
}

.teacher {
    position: relative;
    max-width: 1200px;
    width: 100%;
    padding-top: 20px;
    overflow: hidden;
}

.slide {
    margin-block: 1rem;
}

.slide h3.instructor {
    font-size: 2rem;
}

.slide .slide-content {
    max-width: 900px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* column-gap: 2rem; */
}

.slide .slide-content .text-wrap {
    background-color: var(--ast-global-color-0);
    padding: 1rem;
    text-align: justify;
    border-radius: 1rem;
    background: var(--gradient);
    box-shadow: 1px 1px 4px var(--ast-global-color-1);
    border-bottom: 2px solid var(--ast-global-color-2);
    border-right: 2px solid var(--ast-global-color-2);
    padding-left: 60px;
    position: relative;
    right: 40px;
}

.slide .slide-content img {
    max-width: 200px;
    margin-left: 40px;
    border-radius: 0.5rem;
    border: 2px solid var(--ast-global-color-0);
    z-index: 9;
}

.nav-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    font-size: 1.5rem;
    border-radius: 0.25rem;
    /* transform: translateY(30px); */
    background-color: rgba(0, 0, 0, 0.1);
    transition: 0.2s;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    z-index: 999;
    background-color: var(--ast-global-color-0);
}

.swiper-button-next {
    right: 0;
}

.nav-btn:hover {
    background-color: #ccd7c582;
}

.nav-btn::after,
.nav-btn::before {
    font-size: 20px;
    color: var(--secondary);
    ;
}

.swiper-pagination-bullet {
    background-color: rgba(0, 0, 0, 0.8);
}

.swiper-pagination-bullet-active {
    background-color: #4070f4;
}

@media only screen and (max-width: 650px) {

    .slide .slide-content {
        flex-direction: column;
    }

    .slide .slide-content .text-wrap {
        right: unset;
        bottom: 30px;
        padding-left: 1rem;
        padding-top: 40px;
        margin: 0.5rem;
    }

    .slide .slide-content img {
        margin-left: unset;
    }

    .slide h3.instructor {
        text-align: center;
    }

    .swiper-button-next, .swiper-button-prev {
        top: 225px;
    }

}


/* Accordion */

.slide .contain-question {
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.slide .question-wrapper {
    max-height: 3rem;
    margin-top: 0.5rem;
    overflow: hidden;
    /* background-color: var(--ast-global-color-0); */
    border: 1px solid var(--ast-global-color-0);
    border-radius: 0.25rem;
    transition: max-height 0.5s ease-in-out;
}

.slide p.bio {
    margin-block: 1rem;
}

.slide .question-wrapper p {
    padding: 1rem;
    padding-top: 0;
    margin-bottom: 0;
}

@media only screen and (max-width: 400px) {

.slide .question-wrapper h3{
    font-size: 16px;
    line-height: inherit;
}

}

.slide .question-wrapper.open {
    max-height: 500px;
    /* border: 1px solid var(--ast-global-color-1); */
}

.slide .contain-question .toggle-button {
    position: relative;
    display: block;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide .contain-question .toggle-button::before,
.slide .contain-question .toggle-button::after {
    content: '';
    position: absolute;
    background: var(--ast-global-color-1);
    border-radius: 0.5rem;
    width: 80%;
    height: 2px;
    transition: all 0.3s ease-in;
}

.slide .contain-question .toggle-button::before {
    transform: rotate(90deg);
}

.slide .contain-question .toggle-button::after {
    transform: rotate(0deg);
}

.slide .contain-question .toggle-button.open::before {
    transform: rotate(360deg);
}

.slide .contain-question .toggle-button.open::after {
    transform: rotate(-180deg);
}



 /* ------FAQs----- */

.faq-section {
    max-width: 900px;
    margin-inline: auto;
    margin-block: 1rem;
}


.faq-section a{
    color: var(--ast-global-color-1);
}

.faq-section .contain-faqs h4 {
    background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-6);
    font-size: 1.5rem;
    padding: 1rem;
}

h6 {
    font-size: 1rem;
}

.question-wrapper {
    border-bottom: 1px solid var(--ast-global-color-0);
    max-height: 3.8rem;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.question-wrapper h6{
    margin-bottom: 0;
    font-size: 1rem;
}

.question-wrapper p{
    padding: 0 1rem 1rem;
}

.question-wrapper.open {
    max-height: 500px;
}

.contain-question {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.contain-question .toggle-button {
    position: relative;
    display: block;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contain-question .toggle-button::before,
.contain-question .toggle-button::after {
    content: '';
    position: absolute;
    background: var(--ast-global-color-0);
    border-radius: 0.5rem;
    width: 80%;
    height: 2px;
    transition: all 0.3s ease-in;
}

.contain-question .toggle-button::before {
    transform: rotate(90deg);
}

.contain-question .toggle-button::after {
    transform: rotate(0deg);
}

.contain-question .toggle-button.open::before {
    transform: rotate(360deg);
}

.contain-question .toggle-button.open::after {
    transform: rotate(-180deg);
}