section.faq {
    margin: 90px 0;
    display: table;
    width: 100%;
}

section.faq h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--dark-blue-100);
    text-transform: uppercase;
    font-style: italic;
}

section.faq .faq__subtitle {
    color: var(--dark-blue-100);
    margin-bottom: 40px;
}

section.faq .container {
    max-width: 1170px;
}

section.faq .faq__form {
    margin-bottom: 80px;
}

section.faq .faq__form h2 {
    margin-bottom: 30px;
}

section.faq label {
    color: var(--dark-blue-100);
    display: block;
    margin-bottom: 10px;
}

section.faq .faq__input {
    width: 530px;
    border-radius: 8px;
    background: #f5f5f5;
    position: relative;
    height: 45px;
    max-width: 100%;
}

section.faq .faq__input input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    font-size: 16px;
    padding: 10px 15px;
    outline: none !important;
    padding-right: 40px;
}

section.faq .faq__input svg {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

section.faq .faq__notfound {
    display: block;
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    border: 1px #ffda70 solid;
    color: #c77b2d;
}

section.faq .faq__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

section.faq .faq__title {
    background: url(../../assets/img/icon-title-faq.svg) 20px center var(--dark-blue-100) no-repeat;
    color: #fff;
    font-size: 18px;
    line-height: 18px;
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
    min-height: 65px;
    padding-left: 50px;
    justify-content: space-between;
}

section.faq .faq__title:after {
    content: '';
    width: 14px;
    height: 14px;
    background: url(../../assets/img/down-questions.svg) center center no-repeat;
    background-size: contain;
    display: block;
    transition: all .4s;
}

section.faq .faq__item.active .faq__title:after {
    transform: rotate(180deg);
}

section.faq .faq__content {
    background: var(--dark-blue-100);
    padding: 0;
    border-radius: 0 0 15px 15px;
    margin-top: -12px;
    position: relative;
    z-index: 1;
    font-size: 16px;
    color: #fff;
    height:0;
    display: flex;
    overflow: hidden;
    transition: all .4s;
}

section.faq .faq__item.active .faq__content {
    height: max-content;
    padding: 30px;
}

section.faq .faq__content a {
    text-decoration: underline;
}

section.faq .faq__item.active .faq__content ul, ol {
    list-style: initial;
    list-style-position: inside;
}

section.faq .faq__item.active .faq__content li:not(:last-child),
section.faq .faq__item.active .faq__content p:not(:last-child) {
    margin-bottom: 15px;
}

@media all and (max-width:1170px) {
    section.faq .container {
        max-width: 90%;
    }
}

@media all and (max-width:998px) {
    section.faq {
        margin: 40px 0;
    }
    
    section.faq .faq__list {
        grid-template-columns: repeat(1, 1fr);
    }

    section.faq h2 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 30px;
    }
}