.tax_faqs {
    margin-top: 6rem;
    margin-bottom: 3rem;
    background: #f3f6f8;
    width: 100%;
}
.tax_faqs_sub {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-block: 2rem;
    margin-inline: auto;
}
.FAQ_question {
    display: flex;
    align-items: center;
    color: var(--primaryColor);
    justify-content: space-between;
}
.FAQ_question i {
    cursor: pointer;
}
.tax_faqs h1 {
    font-size: 1.4rem;
    color: var(--headingColor);
}
.tax_faqs p {
    color: var(--textColor);
    width: 90%;
}
.faqs_image_container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    margin-block: 1.5rem;
}
.faqs_image_container .faqs_Image {
    width: 32%;
}
.faqs_Image img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.all_FAQs {
    display: flex;
    flex-direction: column;
    width: 64%;
    gap: 1rem;
    flex: 1;
    margin-right: 2.5rem;
}
.FAQ {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    padding-inline: 0rem;
    transition: all 0.5s ease-in-out;
}

.FAQ.open {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background: #ffffff;
    padding: 1rem;
    margin-block: 0.7rem;
    transition: all 0.5s ease-in-out;
}

.FAQ:first-child.open {
    margin-block: 0 0.7rem;
}

.FAQ.open .FAQ_question i {
    transform: rotate(180deg);
}

.FAQ.hide .FAQ_question i {
    transform: rotate(0);
}

.FAQ.open h2 {
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--primaryColor);
    justify-content: space-between;
}

.FAQ.hide h2 {
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #545858;
    margin-bottom: 6px !important;
}


.FAQ.open p, .FAQ.open span {
    font-size: 0.875rem;
    width: 90%;
    min-height: 10px;
    height: auto;
    /* a smaller value */
    position: relative;
    z-index: 1;
    pointer-events: all;
    opacity: 1;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    overflow: hidden;
    /* shorter duration and different timing function */
}
.FAQ.hide p, .FAQ.hide span {
    max-height: 0;
    position: absolute;
    z-index: -10;
    pointer-events: none;
    opacity: 0;
    transition: max-height 0.5s ease-in-out;
    overflow: hidden;
    /* shorter duration and different timing function */
}
.FAQ p>a, .FAQ span>a {
    text-decoration: none;
    color: var(--primaryColor);
}
.FAQ p>a:hover, .FAQ span>a:hover {
    text-decoration: underline;
}


.showMore {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primaryColor);
}

.showMore:hover {
    text-decoration: underline;
}

.moreFaqs:hover {
    text-decoration: underline;
}

@media (min-width: 1443px) {
    .sp_page_faqs .FAQ.open {
        /* min-width: 842px; */
        min-width: 755px;
        min-height: 117px;
    }
}

@media (max-width: 904px) {
    .faqs_image_container .faqs_Image {
        display: none;
    }

    .faqs_image_container .faqs_Image {
        width: 0%;
    }

    .all_FAQs {
        width: 100%;
        margin-right: 0rem;
    }

    .FAQ {
        width: 100%;
    }

    .FAQ.hide .FAQ_question {
        display: flex;
        gap: 1rem;
    }
}

/* @media (max-width: 500px) {
    .tax_faqs_sub {
        padding-inline: 5.33vw;
    }
} */