/* SECTION FAQS */

.grey-dark-bg .the-faq {
    /* background-color: var(--black); */
}
.black-bg .the-faq {
    /* background-color: var(--grey-dark); */
}

.faqs-container {
    display: flex;
    flex-direction: column;
    gap: calc(var(--column-gap) / 1.5);
}

.the-faq {
    padding-block: calc(var(--column-gap) * 0.75);
    overflow: hidden;
}

.the-question {
    cursor: pointer;
    padding-left: calc(38px + var(--column-gap));
    position: relative;
}

.the-question::before {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border:1px solid var(--primary-regular);
    border-radius:30px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-regular);
    transition: var(--smooth);
    font-size: var(--h5-size);
    font-weight: 300;
}

.the-question:hover::before {
    background-color: var(--primary-regular);
    color: var(--white);
    border-color: var(--primary-regular);
}

.open .the-question::before {
    transform: translateY(-50%) rotate(45deg);
    border-color: var(--grey-medium);
    color: var(--grey-medium);
}

.the-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: calc(38px + var(--column-gap));
}
.the-faq {
    border-bottom: 1px solid var(--grey-medium);
}
.the-faq:first-child {
    border-top: 1px solid var(--grey-medium);
    padding-top: 30px;
}
.the-faq.open .the-answer {
    max-height: 500px; /* Adjust based on expected content height */
}

@media screen and (max-width:520px) and (orientation:portrait) {
    .the-question {
        padding-left: calc(50px + var(--column-gap));
    }
}