.sn_faq {
    color: #544136;
    padding-bottom:40px;
    width: 100%;
}

.sn_faq details {
    background-color: #ffffff;
    border-top: 1px solid lightgray;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
    display: block;
    width: 100%;
}

.sn_faq details:last-child{
    border-bottom: 1px solid lightgray;
}

.sn_faq details summary {
    background-color: #ffffff;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sn_faq details summary h3 {
    font-size: 1.4rem;
    margin-left: 1rem;
    margin-bottom: 0;
}

.sn_faq details>.__answer {
    background-color: #ffffff;
    padding: 1rem;
    border-top: 1px solid lightgray;
    color: black;
    font-size: 1rem;
}

/* Remove the summary element's default small collapsing arrow marker on the left,*/
.sn_faq details>summary::marker,
.sn_faq details>summary::-webkit-details-marker {
    display: none;
}

.sn_faq details>summary::-moz-list-bullet {
    list-style-type: none;
    list-style: none;
    display: none;
}

/* Create custom rotating down-up-arrow with an inline svg - replace with your own arrow if this caret isn't to your liking */
.sn_faq details>summary:before {
    content: ' ';
    width: 2rem;
    height: 2rem;
    display: inline-block;
    /*transform: rotate(90deg);*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    background-image: url('data:image/svg+xml; utf8,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"/></svg>');
}

/* Rotate the arrow when the collapsible is open */
.sn_faq details[open]>summary:before {
    /*transform: rotate(-90deg);*/

    background-image: url('data:image/svg+xml; utf8,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M200-440v-80h560v80H200Z"/></svg>');
}

@media screen and (max-width:991px) {
    .sn_faq{
        grid-template-columns: 1fr;
    }
}