details {
    padding: 0px 0 16px 0;
    border-bottom: 1px solid var(--wp--preset--color--custom-stroke-default);
    margin-bottom: 16px;
}

details:hover {
    cursor: pointer;
}

details summary {
    transition: all .3s ease-in-out;
    display: grid;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    grid-template-columns: 1fr 32px;
    font-size: var(--wp--preset--font-size--custom-7);
    font-weight: 700;
}

details summary:hover {
    color: var(--wp--preset--color--custom-action-primary);
}

details summary::marker {
    content: none;
}

details summary::-webkit-details-marker {
	display: none!important;
}

details summary::after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13L16.2827 18.8795C16.2456 18.9177 16.2015 18.948 16.153 18.9687C16.1045 18.9894 16.0525 19 16 19C15.9475 19 15.8955 18.9894 15.847 18.9687C15.7985 18.948 15.7544 18.9177 15.7173 18.8795L10 13' stroke='%236B6680' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    width: 32px;
    height: 32px;
    display: block;
    transition: all .3s ease-in-out;
}

details summary:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13L16.2827 18.8795C16.2456 18.9177 16.2015 18.948 16.153 18.9687C16.1045 18.9894 16.0525 19 16 19C15.9475 19 15.8955 18.9894 15.847 18.9687C15.7985 18.948 15.7544 18.9177 15.7173 18.8795L10 13' stroke='%231645ac' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    transform: rotate(-90deg);
}

details[open] summary::after {
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13L16.2827 18.8795C16.2456 18.9177 16.2015 18.948 16.153 18.9687C16.1045 18.9894 16.0525 19 16 19C15.9475 19 15.8955 18.9894 15.847 18.9687C15.7985 18.948 15.7544 18.9177 15.7173 18.8795L10 13' stroke='%2311347d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    transform: rotate(-180deg);
}