.starpath-faq {
    width: 100%;
}

.starpath-faq__heading {
    margin: 0;
    padding: 0;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.starpath-faq__list {
    display: flex;
    flex-direction: column;
}

.starpath-faq__item {
    width: 100%;
    overflow: hidden;
}

.starpath-faq__question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.starpath-faq__question:hover,
.starpath-faq__question:active,
.starpath-faq__question:focus {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.starpath-faq__question:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

.starpath-faq__question-text {
    min-width: 0;
}

.starpath-faq__arrow {
    display: block;
    flex: 0 0 8px;
    border-right: 1.5px solid;
    border-bottom: 1.5px solid;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.starpath-faq__item.is-open .starpath-faq__arrow {
    transform: rotate(225deg);
}

.starpath-faq__answer {
    font-size: 15px;
    line-height: 1.7;
}

.starpath-faq__answer[hidden] {
    display: none !important;
}

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

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

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__heading {
    color: #fff !important;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__item,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__item.is-open {
    background-color: #181818 !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, .16) !important;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__question,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__question:hover,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__question:focus,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__question:active,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__question-text {
    color: #fff !important;
    background: transparent !important;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__answer,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__answer * {
    color: #d6d6d6 !important;
    background-color: transparent !important;
}

:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__arrow,
:is(html.starpath-dark-mode body, body.starpath-dark-mode) .elementor-widget-starpath-faq .starpath-faq__item.is-open .starpath-faq__arrow {
    border-color: #fff !important;
}

@media (max-width: 767px) {
    .starpath-faq__heading {
        font-size: 24px;
        line-height: 1.3;
    }

    .starpath-faq__question {
        gap: 12px;
        font-size: 14px;
        line-height: 1.45;
    }

    .starpath-faq__answer {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .starpath-faq__arrow {
        transition: none;
    }
}
