#rank-math-faq .rank-math-list {
    display: grid;
    gap: 16px;
}

#rank-math-faq .rank-math-list-item {
    position: relative;
}

#rank-math-faq .rank-math-list-item h3 {
    cursor: pointer;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 600;
    position: relative;
    margin: 0;
    padding-left: 32px;
    line-height: 1.6;
}

#rank-math-faq .rank-math-list-item h3:before,
#rank-math-faq .rank-math-list-item h3:after {
    content: '';
    position: absolute;
    background-color: var(--wp--preset--color--so-blue);
    transition: transform 0.25s ease-out;
}

#rank-math-faq .rank-math-list-item h3:before {
    top: 12px;
    left: 4px;
    width: 12px;
    height: 2px;
}

#rank-math-faq .rank-math-list-item h3:after {
    top: 7px;
    left: 9px;
    width: 2px;
    height: 12px;
}

#rank-math-faq .rank-math-list-item.open h3:after {
    /* Makes vertical line disappear */
    transform: rotate(90deg);
}

#rank-math-faq .rank-math-answer {
    max-height: 0;
    overflow: hidden;
}

#rank-math-faq .rank-math-list-item.open .rank-math-answer {
    max-height: 100vh;
    overflow: visible;
    padding: 4px 0 0 32px;
}

#rank-math-faq .rank-math-list-item.open .rank-math-answer :first-child {
    margin-top: 0;
}

#rank-math-faq .rank-math-list-item.open .rank-math-answer :last-child {
    margin-bottom: 0;
}