/* ========================================
   FAQ
   ======================================== */

.faq-section {
    width: 100%;
    padding: 60px 0;
}

.faq-section__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section__title {
    margin: 0 0 30px;

    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;

    color: #111;
}


/* ========================================
   FAQ LIST
   ======================================== */

.faq-list {
    width: 100%;
}


/* ========================================
   FAQ ITEM
   ======================================== */

.faq-item {
    margin: 0;
    padding: 0;

    border-top: 1px solid #dedede;
}

.faq-item:last-child {
    border-bottom: 1px solid #dedede;
}


/* ========================================
   QUESTION
   ======================================== */

.faq-item__question {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 55px 24px 0;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    color: #222;
    transition: color .2s ease;
}


/* Убираем стандартный маркер */

/* .faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::marker {
    display: none;
    content: "";
} */


/* Hover */

.faq-item__question:hover {
    color: #4aab3d;
}


/* ========================================
   ICON
   ======================================== */

.faq-item__icon {
    position: absolute;
    top: 50%;
    right: 5px;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
}


/* Горизонтальная линия */

.faq-item__icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    transform: translate(-50%, -50%);
    background: #4aab3d;
}


/* Вертикальная линия */

.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 18px;
    transform: translate(-50%, -50%);
    background: #4aab3d;
    transition: transform .25s ease;
}


/* ========================================
   OPEN STATE
   ======================================== */

.faq-item[open] .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__question {
    color: #4aab3d;
}


/* ========================================
   ANSWER
   ======================================== */

.faq-item__answer {
    padding: 0 55px 25px 0;

    color: #555;

    font-size: 16px;
    line-height: 1.6;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 767px) {

    .faq-section {
        padding: 40px 0;
    }

    .faq-section__title {
        margin-bottom: 20px;

        font-size: 28px;
    }

    .faq-item__question {
        padding: 18px 45px 18px 0;

        font-size: 17px;
    }

    .faq-item__answer {
        padding: 0 35px 20px 0;

        font-size: 15px;
        line-height: 1.5;
    }

    .faq-item__icon {
        right: 0;
    }

}