#main-section .page-title {
    width: 500px;
}

/*
Speaking List Section
*/

#speaking-list {
    padding: 30px 0;
    background-color: var(--light-yellow);
}

.speaking-list-container {
    display: flex;
    justify-content: center;
}

.speaking-wrapper {
    width: 20%;
    flex-basis: 20%;
    padding: 10px 70px;
    border-right: 1px solid var(--yellow-color);
    text-align: center;
}

.speaking-wrapper:last-of-type {
    border: none;
}

.speaking-icon {
    height: 50px;
    margin-bottom: 15px;
}

.speaking-wrapper p {
    color: var(--dark-blue);
    line-height: 22px;
}

/*
Cover Speaking
*/

#cover-speaking {
    background-size: cover;
    height: 700px;
    background-position: center 35%;
    background-repeat: no-repeat;
}

/*
FAQ section
*/

.faq-container {
    position: relative;
    z-index: 20;
}

.faq-question {
    background-color: var(--light-yellow);
    padding: 40px 50px;
    transition: 0.3s all ease-in;
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(33,51,75,.10);
    border-left: 5px solid rgba(255,255,255,.0);
}

.faq-question p {
    color: var(--dark-blue);
    width: calc(100% - 25px);
    font-weight: 500;
}

.faq-question span {
    -webkit-mask: url('/wp-content/uploads/2025/01/dropdown-arrow.svg');
    width: 26px;
    height: 15px;
    background-color: var(--dark-blue);
    transition: 0.3s all ease-in;
	-webkit-mask-repeat: no-repeat;
	display: block;
	position: absolute;
	right: 20px;
	top: 50%;
}

.faq-question .faq-note {
font-size: 16px;
color: #5a5a5a;
font-weight: 400;
}

#speaking-faq {
    padding: 65px 0 120px;
    border-top: 1px solid rgba(0,0,0,.10);
}

#speaking-faq h2 {
    margin-bottom: 70px;
    text-align: center;
    font-weight: 600;
}


.faq-block:first-of-type .faq-question {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    border-top: none;
}

.faq-block:last-of-type .faq-question {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.faq-block:last-of-type.active .faq-question {
    border-radius: 0;
}

.faq-block {
    position: relative;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff4df;
}

.faq-answer p {
    padding: 0 50px 40px;
}



.faq-block.active .faq-answer {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
    top:0;
    max-height: 2000px;
}

.faq-block.active .faq-question span {
    rotate: 180deg;
}

.faq-block.active .faq-question {
    border-left: 5px solid var(--yellow-color);
}

.faq-block.active, .faq-block.active .faq-question {
    background-color: #fff4df;
}

.faq-question:hover {
    background-color: #fff4df;
    border-left: 5px solid var(--yellow-color);
}

.faq-block:first-of-type.active {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.faq-block:last-of-type.active, .faq-block:last-of-type.active .faq-answer, .faq-block:last-of-type, .faq-block:last-of-type .faq-answer {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

@media(max-width: 1200px) {
    .speaking-wrapper {
        padding: 10px 40px;
    }
}

@media(max-width: 991.9px) {
    .speaking-list-container {
        flex-direction: column;
    }

    .speaking-wrapper {
        width: 100%;
        flex-basis: 100%;
        border-right: none;
        border-bottom: 1px solid var(--yellow-color);
        padding: 15px;
    }

    .speaking-wrapper .speaking-inner {
        display: flex;
        align-items: center;
    }

    .speaking-wrapper .speaking-icon {
        width: 30px;
        margin-bottom: 0;
        height: auto;
    }

    .speaking-wrapper .speaking-icon img {
        height: 30px;
    }

    .speaking-wrapper p {
        width: calc(100% - 20px);
        text-align: left;
        padding-left: 30px;
    }

    #speaking-list {
        padding: 0 15px;
    }

    #cover-speaking {
        height: 300px;
    }

    #speaking-faq {
        padding: 60px 0;
    }

    .faq-answer p {
        padding: 20px 60px;
    }
}

@media(max-width: 575px) {
    .faq-question {
        padding: 25px;
    }

    #speaking-faq {
        padding: 20px 0;
    }

    #speaking-faq h2 {
        margin-bottom: 20px;
    }

    .faq-answer p {
        padding: 20px;
    }

    .faq-block:first-of-type .faq-question {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .faq-block:last-of-type .faq-question {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
}
