.acc-head {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: unset !important;
    padding: 10px 10px 10px 10px;
    height: auto;
    transition: all 0.5s;
    color: #000;
    cursor: pointer;
    box-sizing: border-box;
    background-color: #efefef;
    border-radius: 10px;
    margin-bottom: 10px !important
}

.acc-body {
    width: 100%;
    max-width: unset !important
}

.acc-body p:last-child {
    margin-bottom: 20px
}

.acc-body ul {
    list-style: inside;
    padding: 20px 0 20px 0
}

.acc-head svg {
    width: 24px;
    height: 24px;
    fill: #999;
    transition: all 0.5s
}

.acc-head .toggle-on {
    display: none;
}

.acc-title {
    line-height: 1.1em;
    max-width: calc(100% - 60px)
}

.acc-head.active .toggle-off {
    display: none
}

.acc-head.active .toggle-on {
    display: block
}

.acc-body {
    /* display: none; */
    flex-wrap: wrap;
    position: relative;
    color: #000;
    margin-top: 0; 
    transition: max-height 0.3s ease-in-out; 
}
.acc-body[aria-hidden="true"] {
    max-height: 0;
    overflow: hidden;
}
.acc-body[aria-hidden="false"] {
    max-height: 500px; 
}
.acc-body .block-editor-inner-blocks {
    position: relative;
    clear: both;
    width: 100% !important
}

.acf-block-preview .acc-body {
    display: flex !important
}

.acc-body.active {
    display: block
}

.acc-body p {
    line-height: 2em
}

.acc-body p:first-child {
    margin-top: 0
}