/* =========================
   FAQ CARD
========================= */

.faq-card {
    position: relative;
    width: 100%;
    animation:
        paperDrop .35s ease;
}


/* HEADER */

.faq-card-header {

    position: relative;

    z-index: 2;

    min-height: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 18px 55px;

    color: var(--cream);

    font-family: var(--heading-font);

    text-align: center;

    background:

        linear-gradient(
            rgba(30, 17, 11, .18),
            rgba(30, 17, 11, .18)
        ),

        url("https://i.pinimg.com/736x/33/4a/7c/334a7ce2bb7f6c2e93d2d2d5d7614004.jpg");

    background-size: cover;

    background-position: center;

    border:
        2px solid
        #392217;

    border-radius:
        14px 14px 0 0;
}

.header-title {
    position: relative;
    z-index: 2;
}

.header-title h1 {
    margin: 0;
}


/* PAPER */

.faq-card-paper {
    background: var(--cream);
    padding: 35px 40px 45px;
    border-radius: 0 0 18px 18px;
}


/* SECTIONS */

.faq-section + .faq-section {
    margin-top: 10px;
}

.faq-section h2 {
    margin: 10px 0 18px;
    text-align: center;
}


/* DIVIDER */

.info-divider {
    text-align: center;
    margin: 32px 0 12px;
    opacity: 0;
}


/* FAQ LIST */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


/* QUESTION */

.faq-item {
    border: 1px solid var(--orange-light);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.35);
}

.faq-question {
    width: 100%;
    border: none;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 17px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--brown-dark);

    text-align: left;
    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.faq-question:hover {
    background: var(--orange-light);
}


/* PLUS */

.faq-icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    font-size: 20px;
    font-weight: 400;

    transition: transform 0.25s ease;
}


/* ANSWER */

.faq-answer {
    height: 0;
    overflow: hidden;

    transition: height 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 17px 16px;

    font-size: 14px;
    line-height: 1.7;
    color: var(--brown-dark);
}

.faq-answer > p {
    min-height: 0;
    overflow: hidden;

    margin: 0;
    padding: 9 17px;

    font-size: 14px;
    line-height: 1.7;
    color: var(--brown-dark);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer > p {
    padding-bottom: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}