/* ==========================================================
   FAQ MODULE
   ========================================================== */

.faq_module {
    --faq-section-bg: #ffffff;
    --faq-section-color: #232426;
    --faq-accent: #b02020;
    --faq-card-bg: #ffffff;
    --faq-card-color: #232426;
    --faq-open-bg: #232426;
    --faq-open-color: #ffffff;
    --faq-answer-bg: #ffffff;
    --faq-answer-color: #232426;

    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(
        --faq-section-bg
    );
    color: var(--faq-section-color);
}

.faq_module,
.faq_module * {
    box-sizing: border-box;
}


/* Section watermark
   ========================================================== */

.faq_module--has-watermark::before {
    position: absolute;
    z-index: 0;
    top: 0;
    width: auto;
    height: 100%;
    aspect-ratio: 520 / 890;
    background-image: url(
        "/wp-content/uploads/2026/09/autosales-identity-icon2.png"
    );
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    opacity: 0.055;
    pointer-events: none;
}

.faq_module--dark.faq_module--has-watermark::before {
    filter: brightness(0) invert(1);
    opacity: 0.07;
}

.faq_module--watermark-left::before {
    right: auto;
    left: 0;
    transform: none;
}

.faq_module--watermark-center::before {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.faq_module--watermark-right::before {
    right: 0;
    left: auto;
    transform: none;
}


/* Inner container
   ========================================================== */

.faq_module__inner {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
}


/* Header
   ========================================================== */

.faq_module__header {
    margin-bottom: 34px;
}

.faq_module__heading {
    position: relative;
    margin: 0;
    padding-left: 66px;
    color: var(--faq-section-color);
    font-size: 36px;
    line-height: 1.15;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
}

.faq_module__heading::before {
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 48px;
    height: 4px;
    background-color: var(--faq-accent);
    content: "";
    transform: translateY(-50%);
}

.faq_module__intro {
    max-width: 1000px;
    margin-top: 18px;
    color: var(--faq-section-color);
    font-size: 18px;
    line-height: 1.6;
}

.faq_module__intro > :first-child {
    margin-top: 0;
}

.faq_module__intro > :last-child {
    margin-bottom: 0;
}


/* Items
   ========================================================== */

.faq_module__list {
    width: 100%;
    margin: 0 auto;
}

.faq_module__item {
    margin: 0 0 14px;
    overflow: hidden;
    background-color: var(
        --faq-card-bg
    );
    box-shadow:
        0 8px 24px
        rgba(35, 36, 38, 0.1);
}

.faq_module__item:last-child {
    margin-bottom: 0;
}

.faq_module__question-heading {
    margin: 0;
    padding: 0;
    font: inherit;
}

.faq_module__question {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 72px;
    padding: 18px 70px 18px 26px;
    border: 0;
    border-left: 7px solid
        var(--faq-accent);
    appearance: none;
    align-items: center;
    justify-content: space-between;
    background-color: var(
        --faq-card-bg
    );
    color: var(--faq-card-color);
    font: inherit;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    text-align: left;
}

.faq_module--accordion
.faq_module__question {
    cursor: pointer;
    transition:
        background-color 180ms ease,
        color 180ms ease;
}

.faq_module--accordion
.faq_module__question:hover {
    background-color: #f5f3f0;
}

.faq_module--accordion
.faq_module__question:focus-visible {
    z-index: 2;
    outline: 3px solid
        var(--faq-accent);
    outline-offset: -3px;
}

.faq_module__question-text {
    display: block;
}


/* Plus and minus icon
   ========================================================== */

.faq_module__icon {
    position: absolute;
    top: 50%;
    right: 26px;
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    transform: translateY(-50%);
}

.faq_module__icon::before,
.faq_module__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background-color: currentColor;
    content: "";
    transform:
        translate(-50%, -50%);
    transition: transform 180ms ease;
}

.faq_module__icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


/* Accordion expanded state
   ========================================================== */

.faq_module--accordion
.faq_module__item.is-open
.faq_module__question {
    border-bottom: 0;
    background-color: var(
        --faq-open-bg
    );
    color: var(--faq-open-color);
}

.faq_module--accordion
.faq_module__item.is-open
.faq_module__question:hover {
    background-color: var(
        --faq-open-bg
    );
}

.faq_module--accordion
.faq_module__item.is-open
.faq_module__icon::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* Always-expanded mode
   ========================================================== */

.faq_module--static
.faq_module__question--static {
    padding-right: 26px;
    background-color: var(
        --faq-open-bg
    );
    color: var(--faq-open-color);
    cursor: default;
    transition: none;
}

.faq_module--static
.faq_module__question--static:hover {
    background-color: var(
        --faq-open-bg
    );
    color: var(--faq-open-color);
}


/* Answers
   ========================================================== */

.faq_module__answer {
    border-left: 7px solid
        var(--faq-accent);
    background-color: var(
        --faq-answer-bg
    );
    color: var(--faq-answer-color);
}

/*
 * Accordion answers remain visible until JavaScript
 * initialises. This provides a usable fallback if
 * JavaScript fails.
 */

.faq_module--accordion.faq_module--ready
.faq_module__answer[hidden] {
    display: none;
}

.faq_module__answer-inner {
    padding: 20px 26px 24px;
    color: var(--faq-answer-color);
    font-size: 18px;
    line-height: 1.55;
}

.faq_module__answer-inner
> :first-child {
    margin-top: 0;
}

.faq_module__answer-inner
> :last-child {
    margin-bottom: 0;
}

.faq_module__answer-inner a {
    color: #8f1818;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq_module__answer-inner a:hover {
    text-decoration-thickness: 2px;
}

.faq_module__answer-inner
a:focus-visible {
    outline: 3px solid
        var(--faq-accent);
    outline-offset: 3px;
}


/* Responsive styles
   ========================================================== */

@media only screen and (max-width: 991px) {

    .faq_module__heading {
        font-size: 32px;
    }

    .faq_module__question {
        font-size: 20px;
    }

}

@media only screen and (max-width: 767px) {

    .faq_module__header {
        margin-bottom: 28px;
    }

    .faq_module__heading {
        padding-left: 48px;
        font-size: 28px;
    }

    .faq_module__heading::before {
        width: 34px;
        height: 3px;
    }

    .faq_module__intro {
        font-size: 17px;
    }

    .faq_module__question {
        min-height: 66px;
        padding:
            16px 56px
            16px 20px;
        border-left-width: 6px;
        font-size: 18px;
    }

    .faq_module--static
    .faq_module__question--static {
        padding-right: 20px;
    }

    .faq_module__icon {
        right: 18px;
        width: 20px;
        height: 20px;
    }

    .faq_module__icon::before,
    .faq_module__icon::after {
        width: 19px;
    }

    .faq_module__answer {
        border-left-width: 6px;
    }

    .faq_module__answer-inner {
        padding: 18px 20px 22px;
        font-size: 16px;
    }

}

@media only screen and (max-width: 480px) {

    .faq_module__heading {
        padding-left: 0;
        font-size: 25px;
    }

    .faq_module__heading::before {
        position: static;
        display: block;
        width: 40px;
        margin-bottom: 14px;
        transform: none;
    }

    .faq_module--accordion
    .faq_module__question {
        padding-right: 50px;
        font-size: 17px;
    }

    .faq_module--static
    .faq_module__question--static {
        padding-right: 20px;
        font-size: 17px;
    }

}


/* Reduced motion
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .faq_module--accordion
    .faq_module__question,
    .faq_module__icon::before,
    .faq_module__icon::after {
        transition: none;
    }

}