﻿section.faq{
    padding: 40px 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 30px;
}
.faq h3 {
    color: var(--blue);
    font-size: 1.5rem; /* Temporary fix until base font sizes are updated */
    text-transform: none;
    font-weight: 600;
    margin: 0;
}
.faq p {
    font-size: 1.375rem; /* Temporary fix until base font sizes are updated */
}

.faq button {
    display: flex; /* Makes button fit contained SVG exactly */
    background: none;
    cursor: pointer;
}
.faq button > svg {
    transition: transform 200ms;
    fill: var(--blue);
}
.faq .open button > svg {
    transform: rotateX(180deg);
}

.faq ul {
    list-style: none;
}
.faq ul > li {
    border: 2px solid #a9a9a9;
    border-left: none;
    border-right: none;
}
.faq ul > li + li {
    border-top: none;
}

    .faq ul > li ul li {
        border: none;
    }

    .faq ul > li ul {
        list-style: disc;
    }

    .faq ul > li ol,
    .faq ul > li ul {
        padding-left: 30px;
    }

.faq .question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.faq .answer {
    transition: max-height 200ms;
    overflow: hidden;
}
.faq .answer > div {
    border-top: 2px solid var(--blue);
    padding: 30px 0;
}

.faq .stretch-container {
    position: relative;
}
.faq .stretched::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1;
}

@media only screen and (max-width: 768px) {
    section.faq {
        padding: 30px 0;
    }

    .faq h3 {
        font-size: 1.33rem; 
    }

    .faq p {
        font-size: 1.15rem; /* Temporary fix until base font sizes are updated */
    }

}
