.faq-hero {
    background-image:
        linear-gradient(100deg, rgba(90, 10, 10, 0.8) 0%, rgba(90, 10, 10, 0.7) 65%, rgba(0, 0, 0, 0.2) 100%),
        url("../../xyz/wp-content/uploads/2019/06/students-studying.jpg");
    background-position: center 40%;
}

.faq-page .faq-main .elementor-section.elementor-element.elementor-element-d750b31 {
    margin: clamp(2rem, 5vw, 3rem) 0 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.faq-page .faq-main .elementor-element-d750b31 > .elementor-container {
    width: min(calc(100% - 2rem), var(--tutorial-max));
    max-width: none;
}

.faq-page .faq-main .elementor-element-d750b31 .elementor-element-populated {
    padding: 0;
}

.faq-accordion {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--tutorial-line);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.faq-item[open] {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.faq-item__title {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    border-radius: 0.5rem;
}

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

.faq-item__title::before {
    content: "+";
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    color: var(--tutorial-red);
    font: 700 1.25rem/1.75rem Montserrat, Arial, sans-serif;
    text-align: center;
    background: var(--tutorial-soft);
    border-radius: 50%;
}

.faq-item[open] > .faq-item__title::before {
    content: "\2212";
}

.faq-item__title:hover {
    background: #fbf9f7;
}

.faq-item__title:focus-visible {
    outline: 3px solid var(--tutorial-focus);
    outline-offset: 2px;
}

.faq-item__title h2 {
    margin: 0;
    color: var(--tutorial-ink);
    font-family: Montserrat, Arial, sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 700;
    line-height: 1.3;
}

.faq-item__content {
    padding: 0.25rem 1.5rem 1.5rem 4rem;
    color: var(--tutorial-ink);
    line-height: 1.6;
    border-top: 1px solid var(--tutorial-line);
}

.faq-item__content h3,
.faq-item__content h3[style] {
    margin: 1.5rem 0 0.4rem;
    padding-left: 0.75rem;
    color: var(--tutorial-ink) !important;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    border-left: 3px solid var(--tutorial-red);
}

.faq-item__content p,
.faq-item__content li {
    max-width: 75ch;
}

.faq-item__content a {
    color: var(--tutorial-red-dark);
    font-weight: 600;
    text-decoration: underline;
}

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

.faq-help {
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.faq-help h2 {
    margin: 0 0 0.5rem;
    color: var(--tutorial-ink);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 1.2rem;
}

.faq-help p + p {
    margin-top: 0.4rem;
}

@media (max-width: 640px) {
    .faq-hero {
        background-image:
            linear-gradient(rgba(90, 10, 10, 0.75), rgba(90, 10, 10, 0.75)),
            url("../../xyz/wp-content/uploads/2019/06/students-studying.jpg");
    }

    .faq-item__title {
        padding: 0.9rem 1rem;
    }

    .faq-item__content {
        padding: 0.25rem 1rem 1.25rem;
    }
}
