.faq-text-image {
    padding: 32px 20px;
    background-color: var(--bg-color);
}

@media screen and (min-width: 768px) {
    .faq-text-image {
        padding: 64px 20px;
    }
}

.faq-text-image.has-background {
    --bg-color: var(--ocre-20);
}

@media screen and (min-width: 768px) {
    .faq-text-image.reverse .faq-text-image--container {
        flex-direction: row-reverse;
    }
}

.faq-text-image--container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (min-width: 768px) {
    .faq-text-image--container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.faq-text-image--media {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .faq-text-image--media {
        flex: 0 1 490px;
        min-height: 480px;
    }
}

.faq-text-image--media img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.faq-text-image--content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media screen and (min-width: 768px) {
    .faq-text-image--content {
        flex: 0 1 592px;
    }
}

.faq-text-image--content .co-text h2 {
    margin-bottom: 16px;
}

@media screen and (min-width: 768px) {
    .faq-text-image--content .co-text h2 {
        margin-bottom: 32px;
    }
}

.faq-text-image--content .co-text p:not(.uptitle) {
    font-weight: 500;
}

@media screen and (min-width: 768px) {
    .faq-text-image--content .co-text p:not(.uptitle) {
        font-weight: 400;
    }
}

.faq-text-image--content-faq {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (min-width: 768px) {
    .faq-text-image--content-faq {
        gap: 32px;
    }
}

.faq-text-image--content-faq .faq-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-text-image--content-faq .faq-item .quest {
    text-align: left;
    color: var(--neutre-100);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ocre-60);
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.3s ease;
}

.faq-text-image--content-faq .faq-item .quest::after {
    content: "";
    display: block;
    height: 24px;
    width: 24px;
    background-color: var(--neutre-100);
    mask: url(../../../../../../themes/apo/resources/images/icons/chevron-bottom.svg) no-repeat center;
    mask-size: contain;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

@media (hover: hover) {
    .faq-text-image--content-faq .faq-item .quest {
        cursor: pointer;
    }
}

.faq-text-image--content-faq .faq-item .rep {
    text-align: left;
    font-family: var(--roboto);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.faq-text-image--content-faq .faq-item .rep ul {
    list-style: disc;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    margin-bottom: 16px;
}

.faq-text-image--content-faq .faq-item .rep ul li{
    font-family: var(--roboto);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.faq-text-image--content-faq .faq-item .rep h3{
    font-family: var(--roboto);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.faq-text-image--content-faq .faq-item .rep h3 + ul,
.faq-text-image--content-faq .faq-item .rep h3 + p,
.faq-text-image--content-faq .faq-item .rep p + h3,
.faq-text-image--content-faq .faq-item .rep ul + h3 {
    margin-top: 24px;
}

.faq-text-image--content-faq .faq-item.open .quest {
    color: var(--ocre-100);
}

.faq-text-image--content-faq .faq-item.open .quest::after {
    transform: rotate(180deg);
    background-color: var(--ocre-100);
}