.faq {
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.faq-title {
    margin-bottom: 43px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: rgba(45, 45, 45, 1);
}

.faq-item {
    position: relative;
    display: grid;
    row-gap: 10px;
    grid-template-columns: 50px 240px 495px 1fr;
    align-items: start;
    padding: 25px 0;
    color: rgba(45, 45, 45, 0.7);
    border-bottom: 1px solid rgba(45, 45, 45, 1);
}

.faq-item:nth-of-type(1) .faq-question {
    max-width: 198px;
}

.faq-item:nth-of-type(2) .faq-question {
    max-width: 250px;
}

.faq-item:nth-of-type(3) .faq-question {
    max-width: 189px;
}

.faq-item:nth-of-type(4) .faq-question {
    max-width: 180px;
}

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
}

.faq-item:nth-of-type(1)::before {
    background-image: url("../images/faqnew/1.png");
    width: 118px;
    height: 107px;
    background-size: 118px 107px;
    top: -26px;
    right: -11px;
}

.faq-item:nth-of-type(2)::before {
    background-image: url("../images/faqnew/2.png");
    width: 118px;
    height: 95px;
    background-size: 118px 95px;
    top: -26px;
    right: -19px;
}

.faq-item:nth-of-type(3)::before {
    background-image: url("../images/faqnew/3.png");
    width: 118px;
    height: 118px;
    background-size: 118px 118px;
    top: -25px;
    right: -16px;
}

.faq-item:nth-of-type(4)::before {
    background-image: url("../images/faqnew/4.png");
    width: 117px;
    height: 91px;
    background-size: 117px 91px;
    top: -10px;
    right: -20px;
}

.faq-item:first-of-type {
    border-top: 1px solid rgba(45, 45, 45, 1);
}

.faq-number {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(45, 45, 45, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.faq-question {
    line-height: 18px;
    font-size: 16px;
}

.faq-answer {
    font-size: 14px;
    line-height: 17px;
    grid-column: 1/3;
}

@media(min-width:1440px) {
    .faq {
        margin-bottom: 100px;
    }

    .faq-title {
        margin-bottom: 100px;
    }

    .faq-item {
        padding: 50px 0;
    }

    .faq-item:nth-of-type(1)::before {
        width: 316px;
        height: 286px;
        background-size: 316px 286px;
        top: -45px;
        right: 400px;
    }

    .faq-item:nth-of-type(2)::before {
        width: 348px;
        height: 279px;
        background-size: 348px 279px;
        top: -56px;
        right: 385px;
    }

    .faq-item:nth-of-type(3)::before {
        width: 299px;
        height: 299px;
        background-size: 299px 299px;
        top: -70px;
        right: 415px;
    }

    .faq-item:nth-of-type(4)::before {
        width: 323px;
        height: 252px;
        background-size: 323px 252px;
        top: -51px;
        right: 400px;
    }

    .faq-item::before {
        content: none;
    }

    .faq-number {
        font-size: 20px;
    }

    .faq-question {
        font-size: 20px;
    }

    .faq-answer {
        font-size: 16px;
        grid-column: 4/5;
    }

    .faq-item:hover {
        color: rgba(45, 45, 45, 1);
        cursor: pointer;
    }

    .faq-item:hover::before {
        content: "";
    }

    .faq-item:hover .faq-number {
        border-color: rgba(45, 45, 45, 1);
    }

}

@media (max-width: 768px) {
    .faq-item {
        grid-template-columns: 40px 1fr;
        grid-template-areas:
            "num question"
            "num answer";
    }

    .faq-number {
        grid-area: num;
    }

    .faq-question {
        grid-area: question;
    }

    .faq-answer {
        margin-top: 10px;
    }
}