.faq_blocks{
    padding: 5rem 0;
    background: #FCDE00;
}
.faq_blocks h2 strong,
.faq_blocks h3 strong,
.faq_blocks h4 strong,
.faq_blocks h5 strong,
.faq_blocks h6 strong{
    color: var(--main_colour)!important;
}
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin:auto;
    height: auto;
    box-sizing: border-box;
    margin: 2rem auto;
}
.accordion .a-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.accordion .a-container .a-btn {
    margin: 0;
    position: relative;
    padding: 1.6rem;
    color: var(--main_colour);
    display: block;
    font-weight: 700;
    font-size: 24px;
    background-color: var(--white_tone);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: .75rem;
}
.accordion .a-container .a-btn:hover{
    color:var(--main_colour);
}
.accordion .a-container .a-btn span {
    display: block;
    position: absolute;
    height: 14px;
    width: 14px;
    right: 20px;
    top: 18px;
}
.accordion .a-container .a-btn span {
    display: inline-block;
    width: 19px;
    height: 44px;
    right: 2rem;
    top: 0;
    bottom: 0;
    margin: auto;
    background-image: url("data:image/svg+xml,%3Csvg width='19' height='44' viewBox='0 0 13 31' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.0216675 17.427L9.57343 0.867676L7.80093 14.1151H12.9707L3.46819 30.6743L5.48686 17.427H0.0216675Z' fill='%23F7E30A'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    transition: all 0.3s ease-in-out;
    transform: rotate(30deg);
}
.accordion .a-container .a-btn span:before,
.accordion .a-container .a-btn span:after {
    content: none;
}
.accordion .a-container.active .a-btn span {
    filter: brightness(1.2);
    transform: rotate(0deg);
}
.accordion .a-container .a-panel {
    background: #f8f8f8;
    width: 100%;
    color: #484848;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    height: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0px 10px;
    border-width: 1px;
    border-color: #f0f0f0;
}
.accordion .a-container.active .a-btn {
    color: var(--secondary_colour);
    background: var(--main_colour);
}
.accordion .a-container.active .a-btn span::before {
    transform: rotate(0deg);
}
.accordion .a-container.active .a-panel {
    padding: 1.6rem;
    opacity: 1;
    box-sizing: border-box;
    max-height: 500px;
}
.faq_text{
    margin: auto;
    width: 70vw;
    justify-self: center;
}
.faq_text h2{
    font-size: 60px;
    font-weight: 800;
    color:var(--black_tone);
}
.faq_text p{
    font-size: 24px;
}
.accordion .a-container:nth-child(n+8) {
    display: none;
}
/* Style the Show More button */
#show-more-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: var(--main_colour);
    color: var(--white_tone);
    border: none;
    cursor: pointer;
    border-radius: 10rem;
}
#show-more-btn.show-less {
    background-color: var(--main_colour);
    color: var(--white_tone);
}
@media(orientation: portrait){
    .accordion{
        width: 100%;
    }
}