/**
 * FAQ block inside the content column of single posts.
 * Mirrors the section.faqBlock styles from the SCSS build.
 */
.faqBlock--inline {
    width: 100%;
}

.faqBlock--inline .faq-wrapper {
    width: 100%;
}

.faqBlock--inline .faq-item {
    width: 100%;
    height: auto;
    background-color: #fff;
    margin-bottom: 20px;
    min-height: 10px;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #80808054;
}

.faqBlock--inline .faq-title {
    cursor: pointer;
    position: relative;
    transition: all .2s;
    padding-right: 50px;
}

.faqBlock--inline .faq-title:hover {
    opacity: .8;
}

.faqBlock--inline .faq-title h3 {
    margin-bottom: 0;
}

.faqBlock--inline .faq-title:after {
    content: '+';
    font-size: 30px;
    position: absolute;
    right: 0;
    top: -20px;
    font-weight: bold;
}

.faqBlock--inline .faq-content {
    overflow: hidden;
    max-height: 0;
    margin: 0;
    padding: 0;
}

.faqBlock--inline .faq-item.active .faq-title {
    margin-bottom: 20px;
}

.faqBlock--inline .faq-item.active .faq-title:after {
    content: '-';
}

.faqBlock--inline .faq-item.active .faq-content {
    max-height: 10000px;
}

.faqBlock--inline .faq-item.active .faq-content p:last-child {
    margin-bottom: 0;
}
