.faq_layout_fire {
    background: linear-gradient(to bottom, var(--accent) -300%, var(--dark-bkgd) 25%, var(--dark-bkgd) 75%, var(--dark-bkgd) 100%);
    background-color: var(--dark-bkgd);

}

.faq_layout_fire h2 {
    max-width: 600px;
    text-align: center;
}

.faq_layout_fire .content_div {
    align-items: center;
    justify-content: center;
}

.faq_layout_fire .container_img {
    width: 100%;
    height: 100%;
    background-size: cover;
}

.faq_layout_fire .content_img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 50px;
max-width: calc((100% - 20px));
}

.faq_layout_fire p {
    color: var(--dark-text);
    margin-bottom: 35px;
    max-width: 80%;
}

.faq_layout_fire .primary_button {
    max-width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.faq_layout_fire .faq-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.faq_layout_fire .faq-item {
    width: 100%;
    max-width: 800px;
    background-color: var(--dark-bkgd);
    color: var(--light-text);
    border-radius: 2px;
    margin-bottom: 20px;
    border: 2px solid var(--accent);
    border-radius: var(--button-radius);
}

.faq_layout_fire  .faq-answer a {
    color: var(--light-link);
}

.faq_layout_fire .faq-item:hover {
    background-color: var(--secondary);
    transition: 0.2s;
    cursor: pointer;
}

.faq_layout_fire .faq-question {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.faq_layout_fire .faq-question:hover {
    transition: 0.2s;
    cursor: pointer;
}

.faq_layout_fire .faq-item.faq-opened .faq-question {
    background-color: var(--secondary);
}

.faq_layout_fire .faq-question img {
    filter: invert(5);
    width: 25px;
    transition: 0.1s;
    margin-left: 20px;
}

.faq_layout_fire .faq-item h3 {
    margin-block-start: 0em;
    margin-block-end: 0em;
   padding: 15px;
}

.faq_layout_fire .faq-answer {
    max-height: 0px;
    overflow: hidden;
    background-color: var(--dark-bkgd);
    padding-left: 15px;
    padding-right: 15px;
    transition: 0.2s;
}

.faq_layout_fire .faq-answer p {
    margin-bottom: 0px;
    max-width: 100%;
    color: var(--light-text);
}

.faq_layout_fire .faq-item.faq-opened .faq-answer
{
    max-height: unset;
    padding-bottom: 25px;
    padding-top: 25px;
}

.faq_layout_fire .faq-item.faq-opened img {
    transform: rotate(180deg);
}


@media (max-width: 992px)
{
    .faq_layout_fire .primary_button {
        max-width: 100%;
      
    }

    .faq_layout_fire .faq-item {
        width: 100%;
    }

 
}

@media (max-width: 768px)
{
    .faq_layout_fire .primary_button {
        max-width: 60%;
    }

    .faq_layout_fire .content_div, .faq_layout_fire {
        padding-left: unset;
    }
    .faq_layout_fire .content_div {
        padding-left: 30px;
    }

    .faq_layout_fire .container_img {
        height: 300px;
    }

    .faq_layout_fire p {
        max-width: 100%;
    }
}