.questions {
    background: #f8f8f8;
    padding: 84px 0;
}

.questions .container {
    margin: 0 auto;
}

.questions_title_button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.questions summary {
    background: #fefefe;
    padding: 14px 24px;
    border: 1px solid #5ab563;
    cursor: pointer;
}

details summary {
    cursor: pointer;
    transition: 0.5s ease-out;
}

details[open] summary {
    margin-bottom: 10px;
    border-radius: 0 0 6px 6px;
}

.questions_item .first-child {
    border-radius: 6px 6px 0 0;
}

.questions_item .last-child {
    border-radius: 0 0 6px 6px;
}

/* @layer markers {
    summary {
        position: relative;
        display: flex;
        justify-content: space-between;
    }
    summary::marker {
        content: none;
    }
    summary::before,
    summary::after {
        content: "";
    }
    summary::before,
    summary::after {
        width: 12px;
        height: 0;
        border: 1px solid #fff;
        position: absolute;
        top: 30px;
        right: 30px;
        transform: translateY(-15%);
    }
    summary::after {
        transform: rotate(90deg);
        transform-origin: 50% 50%;
    }
    [open] summary::after {
        transform: rotate(0deg);
        border: 1px solid #5ab563;
    }
} */

.n_questions summary::before,
.n_questions summary::after {
    top: 20px;
}

.questions_item_text {
    padding: 14px 24px 24px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 230%;
    color: #262626;
}

.questions_span {
    height: 32px;
    width: 32px;
    aspect-ratio: 1 / 1;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5ab563;
    border: 1px solid #5ab563;
    position: relative;
    border-radius: 2px;
    transition: 0.3s;
}

.questions_span::after,
.questions_span::before {
    content: "";
    width: 45%;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 30%;
    top: 50%;
    transition: 0.3s;
}

.questions summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.questions_span::before {
    transform: rotate(90deg);
}

[open] summary .questions_span {
    background: #fff;
}

[open] summary .questions_span::before,
[open] summary .questions_span::after {
    transform: rotate(0);
    background: #5ab563;
}

@media screen and (max-width: 1080px) {
    .questions {
        padding: 56px 0;
    }

    .questions_title_button {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 20px;
    }

    .questions_title_button .button {
        width: 100%;
    }
}

@media screen and (max-width: 672px) {
    .questions {
        padding: 48px 0;
    }

    .questions_item_text {
        padding: 14px 10px 24px;
    }
}
