.faq .boxed {
    max-width: 980px;
    margin: 0 auto;
}

.faq .boxed .heading {
    margin-bottom: 60px;
}

.faq .boxed .question > h3 {
    cursor: pointer;
    color: var(--blue);
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 0;
}

.faq .active .question > h3 {
    margin-bottom: 12px;
}

.faq .boxed .answer {
    display: flex;
    gap: 30px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.5s ease,
    opacity .5s ease,
    transform .5s ease;
}

.faq .boxed .items .item.active .answer {
    max-height: 1200px;
    opacity: 1;
    transform: translateY(0);
}

.faq .boxed .items .item {
    transition: background-color 0.5s ease, border-color 0.5s ease;
}

@media (max-width: 768px) {
    .faq .boxed .answer {
        gap: 20px;
    }

    .faq .boxed .answer .image {
        top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq .boxed .answer,
    .faq .boxed .items .item {
        transition: none;
    }
}


.faq .boxed .answer > p, .faq .boxed .answer > ul li, .faq .boxed .answer > ul li a {
    max-width: 858px;
    margin-left: 30px;
    margin-right: auto;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 0;
}

.faq .boxed .answer .image {
    position: relative;
}

.faq .boxed .answer > p, .faq .boxed .answer .image img {
    object-fit: contain;
    width: 100%;
    max-height: 400px;
    border-radius: 20px;
}


.faq .boxed .items {
    width: 100%;
    border-top: 1px solid var(--blue);
}

.faq .boxed .items .item {
    padding: 27px 45px;
    border-top: 1px solid var(--blue);
    cursor: pointer;
}

.faq .boxed .items .item:first-child {
    border-top: none;
}

.faq .boxed .items .item.active {
    background: var(--light-blue);
    border-top: 1px solid var(--blue);
}

.faq .boxed .items .item .question {
    display: flex;
    gap: 17px;
}

.faq .boxed .items .question::before {
    display: flex;
    justify-content: flex-end;
    content: url("images/plus-icon.png");
}

.faq .items .item.active .question::before {
    content: url("images/min-icon.png");
}


@media (max-width: 768px) {
    .faq .boxed {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .faq .boxed .info {
        order: 1;
    }

    .faq .boxed .items {
        order: 2;
    }

    .faq .active .answer {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .faq .boxed .answer .image {
        top: 0;
    }
}

@media (max-width: 520px) {
    .faq .boxed .info .heading {
        font-size: 13vw;
    }
}
