﻿#mainBody {
    min-height: unset;
}

    #mainBody .wrapper {
        margin: 5rem auto 1rem;
    }

@media (min-width: 768px) {
    #mainBody .wrapper {
        margin: 7rem auto 3rem;
    }
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    padding: 1rem;
}

@media (min-width: 768px) {
    .faq-container {
        width: 75vw;
        max-width: 1440px;
        margin: auto;
    }
}

.faq-header {
    width: 100%;
    border-bottom: 1px solid #DDE1E6;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .faq-header {
        border: none;
    }
}

.faq-container .heading-page-title {
    font-family: "Vend Sans";
    color: #21272A;
    font-size: 1.5rem !important;
    font-weight: 700;
    line-height: 1.5rem;
    letter-spacing: 0;
    text-align: center !important;
    margin: 0 !important;
    padding: 0;
    text-shadow: none;
}

.faq-container .subtitle {
    font-family: "Vend Sans", sans-serif;
    color: #878D96;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    letter-spacing: 0;
    text-align: center;
    margin: 0.5rem 0 0;
    padding-bottom: 1rem;
}

.faq h3 {
    text-align: left;
}

        .faq h3:before {
            content: "○   ";
            display: inline-block;
            width: 16px;
        }

    .faq p:before {
        content: " ";
    }

    .faq > p {
        text-align: left;
        padding-left: 14px;
    }

    li {
        margin-bottom: 10px;
    }

    ol, ul {
        list-style: none;
    }

.faq-container .section__content.faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-container .section__content.faq ul {
    font-family: inherit;
}
.faq-container .section__content.faq li {
    border: 1px solid #DDE1E6;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: none;
}

    .faq-container .section__content.faq li.expanded {
        border: 1px solid #6FDC8C;
    }

.faq-detail a {
    color: #8A3FFC;
    font-weight: 700;
}

.section__content.faq li::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 20px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid #21272A;
    border-bottom: 2px solid #21272A;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform 0.3s ease;
}

.section__content.faq li.expanded::after {
    transform: translateY(-50%) rotate(225deg);
}

.faq-container .join-button {
    margin: 0;
    width: 100%;
}

    .faq-container .join-button button {
        width: 100%;
    }