/* =========================================================
   ENGINE FINDERS FAQ ACCORDION
   ========================================================= */

.enginefinders-faq {
    width: 100%;
    margin: 50px 0;
}


/* ---------------------------------------------------------
   FAQ heading
   --------------------------------------------------------- */

.enginefinders-faq > h2 {
    margin: 0 0 25px;
}


/* ---------------------------------------------------------
   FAQ list
   --------------------------------------------------------- */

.enginefinders-faq-list {
    width: 100%;
}


/* ---------------------------------------------------------
   Individual FAQ item
   --------------------------------------------------------- */

.enginefinders-faq-item {
    margin: 0;
    padding: 0;

    border-top: 1px solid #e5e5e5;
}

.enginefinders-faq-item:last-child {
    border-bottom: 1px solid #e5e5e5;
}


/* ---------------------------------------------------------
   Question
   --------------------------------------------------------- */

.enginefinders-faq-question {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;

    padding: 22px 60px 22px 0;

    cursor: pointer;

    list-style: none;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;

    color: #1a1a1a;

    transition:
        opacity 0.2s ease,
        color 0.2s ease;
}


/*
 * Remove native marker.
 */

.enginefinders-faq-question::-webkit-details-marker {
    display: none;
}

.enginefinders-faq-question::marker {
    display: none;
    content: "";
}


/*
 * Hover.
 */

.enginefinders-faq-question:hover {
    color: #555;
}


/* ---------------------------------------------------------
   Keyboard focus
   --------------------------------------------------------- */

.enginefinders-faq-question:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}


/* ---------------------------------------------------------
   Icon
   --------------------------------------------------------- */

.enginefinders-faq-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 0;
    height: 0;
    transform: translateY(-50%);
    
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid #1E3A8A;

    transition: transform 0.2s ease;
}

/* Rotate arrow upward when FAQ is open */
.enginefinders-faq-item[open] .enginefinders-faq-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* ---------------------------------------------------------
   Answer
   --------------------------------------------------------- */

.enginefinders-faq-answer {
    padding: 0 60px 25px 0;

    font-size: 16px;
    line-height: 1.7;

    color: #555;
}


/* ---------------------------------------------------------
   Answer typography
   --------------------------------------------------------- */

.enginefinders-faq-answer p {
    margin-top: 0;
    margin-bottom: 16px;
}

.enginefinders-faq-answer p:last-child {
    margin-bottom: 0;
}


.enginefinders-faq-answer ul,
.enginefinders-faq-answer ol {
    margin-top: 0;
    margin-bottom: 16px;
}


.enginefinders-faq-answer li {
    margin-bottom: 6px;
}


/* ---------------------------------------------------------
   Links
   --------------------------------------------------------- */

.enginefinders-faq-answer a {
    text-decoration: underline;
}


/* ---------------------------------------------------------
   Strong / bold
   --------------------------------------------------------- */

.enginefinders-faq-answer strong {
    font-weight: 600;
}


/* ---------------------------------------------------------
   Images
   --------------------------------------------------------- */

.enginefinders-faq-answer img {
    max-width: 100%;
    height: auto;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .enginefinders-faq {
        margin: 35px 0;
    }

    .enginefinders-faq > h2 {
        margin-bottom: 20px;
    }

    .enginefinders-faq-question {
        padding: 18px 45px 18px 0;

        font-size: 16px;
        line-height: 1.5;
    }

    .enginefinders-faq-answer {
        padding: 0 45px 20px 0;

        font-size: 15px;
        line-height: 1.65;
    }

    .enginefinders-faq-icon {
        right: 5px;
    }

}