
:root {    
    --primary: #c5170e;
    /*=============================*/
    --border-radius: 5px;
}

.accordion .tab {
    position: relative;
    margin-bottom: 10px;
    padding: 0;
    border: none;
    width: 100%;
}

.accordion ul {
    margin-left: 15px;
}

.accordion .tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background-color: #fff
}

.accordion .tab[open] .tab-content {
    max-height: 1000px
}

.accordion {
    font-size: 18px;
    color: var(--primary);
    overflow: hidden;
    width: 100%;
}

.accordion .tab-label {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--primary);
    color: #fff;
    cursor: pointer;
    list-style: none
}

.accordion .tab-label::-webkit-details-marker {
    display: none
}

.accordion .tab-label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transform: rotate(90deg);
    transition: transform .35s ease
}

.accordion .tab[open]>.tab-label::after {
    transform: rotate(270deg)
}

.accordion .tab-content p {
    margin: 0;
    padding: 1rem
}

.accordion .tab__close {
    display: flex;
    justify-content: flex-end;
    padding: .5rem 1rem;
    font-size: .75rem;
    color: #fff;
    background: var(--primary)
}

.accordion .tab:not([open])>.tab-label:hover::after {
    animation: bounce .5s infinite
}