.faq-item {
    border-bottom: 1px solid var(--very-light-grey);
    overflow: hidden; 
    padding: 24px 0;
    display: flex;
    flex-direction: row;
    gap: 6px;
    width: 100%;
}

.question-block{
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
}

.faq-question {
    display: flex;
    min-height: 40px;
    align-items: center;
}

.faq-answer {
    padding: 0;
    display: inline-block;
}

.faq-answer-hidden .faq-answer{
    display: none;
}

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

.expand-button-wrapper{
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: start;
    flex-shrink: 0;
}

.expand-button{
    width: 40px;
    height: 40px;
    background-color: var(--grey-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 1;
    border: 0;
    cursor: pointer;
    transition: 0.3s;
    transform: rotate(45deg);
}

.faq-answer-hidden .expand-button{
    transform: rotate(0deg);
}

@media (hover: hover){
    .expand-button:hover{
        background-color: var(--very-light-grey);
    }
}

@media (max-width: 1439px) {
    .faq-item {
        padding: 20px 0;
    }

    .question-block{
        gap: 16px;
    }
}

@media (max-width: 577px) {
    .expand-button{
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .faq-question {
        min-height: 32px;
    }
}