.faq-block {
    position: relative;

    /* Light gray */
}

.faq-block__title {
    margin: 0;
}



.faq-item {

    transition: all 0.3s ease;
}

.faq-item__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;
    list-style: none;
    color: var(--wp--preset--color--dark-green);
    /* Hide default arrow */
}

.faq-item__summary::-webkit-details-marker {
    display: none;
    /* Hide default arrow in Safari */
}

.faq-item__question {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--color-primary);
    font-weight: 500;
    flex: 1;
    padding-right: 2rem;
}

.faq-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--color-mid-grey);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__content {
    padding-bottom: 2rem;
    transition: all 0.3s ease;
}

.faq-item__answer {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-mid-grey);
}

.faq-item__answer>*:first-child {
    margin-top: 0;
}

.faq-item__answer>*:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-block__title {
        margin-bottom: 2rem;
    }

    .faq-item__summary {
        padding: 1.25rem 0;
    }

    .faq-item__question {
        font-size: 1.1rem;
    }
}