.section-faq {
    padding: 0 30px;
}

.section-faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-faq-item {
    position: relative;
    border-bottom: none;
}

.section-faq-item::after {
    content: "";
    display: block;
    position: absolute;
    left: 0; 
    right: 0; 
    bottom: -14px;
    height: 1px;
    background: var(--secondary-color);
    pointer-events: none;
}

.graduate  .section-faq-item::after {
    background: linear-gradient(to right, var(--second-graduate-color-primary), var(--second-graduate-color-secondary));
}

.section-faq-question {
    color: var(--accent-color);
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 35px;
    padding: 10px 38px 10px 10px;
    cursor: pointer;
    outline: none;
    position: relative;
    padding-right: 38px;
}

.section-faq-item-content {
    overflow: hidden;
    max-height: 0;
    padding: 0 10px;
}
.section-faq-question[aria-expanded="true"] + .section-faq-item-content {
    padding-bottom: 10px;
}

.faq-chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 12px;
    height: 12px;
    display: inline-block;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(.25,.8,.25,1);
}

.faq-chevron::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    border-radius: 2px;
    transform: rotate(45deg);
    box-sizing: border-box;
    position: absolute;
    left: 0; top: 0;
}

.section-faq-question[aria-expanded="true"] .faq-chevron {
    transform: translateY(-50%) rotate(180deg);
}

@media (min-width: 1024px) {
    .section-faq-question  {
        padding: 24px 92px 24px 64px;
    }
    .faq-chevron {
        right: 64px;
    }
    .section-faq-item-content {
        padding: 0 64px 24px;
    }
}
