

.accordion__item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    word-wrap: break-word;
}
.accordion__item ~ .accordion__item {
    outline: none;
}

.accordion__item:focus,
.accordion__item:focus-visible,
.accordion__label:focus,
.accordion__label:focus-visible{
    outline: none;
}

.accordion__label {
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin: 0;
    font-weight: inherit;
    color: var(--accordion-title-color);
    cursor: pointer;
    background-clip: border-box;
    border-bottom: 1px solid var(--border-grey-light);
    border-radius: 0;
    -webkit-appearance: button-bevel;
    /*height: 55px;*/
}
.accordion__label:hover {
    border-color: var(--text-grey-dark);
}
.accordion__label > h1, .accordion__label > h2, .accordion__label > h3, .accordion__label > h4, .accordion__label > h5 {
    margin-bottom: 0;
    color: var(--accordion-title-color);
    font-size: var(--h3-font-size);
    font-weight: 600 !important;
    font-weight: inherit;
    line-height: inherit;
    transition: all .3s linear;
    padding-right: 60px;
}

.accordion__item__header {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .3s linear;
    margin: 0;
}

.accordion__icon {
    position: absolute;
    margin-left: 0;
    width: 48px;
    height: 48px;
    transition: all .3s ease-in-out;
    right: 0;
    top: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M15.5397 11.29L9.87974 5.64004C9.78678 5.54631 9.67617 5.47191 9.55431 5.42115C9.43246 5.37038 9.30175 5.34424 9.16974 5.34424C9.03773 5.34424 8.90702 5.37038 8.78516 5.42115C8.6633 5.47191 8.5527 5.54631 8.45974 5.64004C8.27349 5.8274 8.16895 6.08085 8.16895 6.34504C8.16895 6.60922 8.27349 6.86267 8.45974 7.05004L13.4097 12.05L8.45974 17C8.27349 17.1874 8.16895 17.4409 8.16895 17.705C8.16895 17.9692 8.27349 18.2227 8.45974 18.41C8.55235 18.5045 8.6628 18.5797 8.78467 18.6312C8.90655 18.6827 9.03743 18.7095 9.16974 18.71C9.30205 18.7095 9.43293 18.6827 9.5548 18.6312C9.67668 18.5797 9.78712 18.5045 9.87974 18.41L15.5397 12.76C15.6412 12.6664 15.7223 12.5527 15.7777 12.4262C15.8331 12.2997 15.8617 12.1631 15.8617 12.025C15.8617 11.8869 15.8331 11.7503 15.7777 11.6238C15.7223 11.4973 15.6412 11.3837 15.5397 11.29Z" fill="%23787575"/></svg>') no-repeat center center;
}

.accordion__label:hover .accordion__icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M15.5397 11.29L9.87974 5.64004C9.78678 5.54631 9.67617 5.47191 9.55431 5.42115C9.43246 5.37038 9.30175 5.34424 9.16974 5.34424C9.03773 5.34424 8.90702 5.37038 8.78516 5.42115C8.6633 5.47191 8.5527 5.54631 8.45974 5.64004C8.27349 5.8274 8.16895 6.08085 8.16895 6.34504C8.16895 6.60922 8.27349 6.86267 8.45974 7.05004L13.4097 12.05L8.45974 17C8.27349 17.1874 8.16895 17.4409 8.16895 17.705C8.16895 17.9692 8.27349 18.2227 8.45974 18.41C8.55235 18.5045 8.6628 18.5797 8.78467 18.6312C8.90655 18.6827 9.03743 18.7095 9.16974 18.71C9.30205 18.7095 9.43293 18.6827 9.5548 18.6312C9.67668 18.5797 9.78712 18.5045 9.87974 18.41L15.5397 12.76C15.6412 12.6664 15.7223 12.5527 15.7777 12.4262C15.8331 12.2997 15.8617 12.1631 15.8617 12.025C15.8617 11.8869 15.8331 11.7503 15.7777 11.6238C15.7223 11.4973 15.6412 11.3837 15.5397 11.29Z" fill="%23333333"/></svg>');
}

.accordion__icon span {
    display: none;
}
.accordion__collapse {
    position: relative;
    max-height: 0;
    overflow: hidden;
    font-size: 
    background-color: inherit;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    transition: all 0.35s ease;
}

@media (min-width: 1140px) {
    .accordion__collapse {
        font-size: var(--lead-text);
    }
}

.accordion__collapse::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    content: "";
    border-bottom: 1px solid var(--border-grey-light);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
    .accordion__collapse {
        transition: none;
    }
}
@supports (-ms-ime-align: auto) {
    .accordion__collapse {
        margin-top: -2px;
    }
}
.accordion__check:checked ~ .accordion__collapse {
    position: static;
    height: auto;
    max-height: 8000px;
    padding-bottom: calc(var(--grid-gutter) * .5);
    border-bottom: 1px solid var(--border-grey-light);
}
.accordion__check:checked + .accordion__label {
    border: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.accordion__check:checked + .accordion__label .accordion__item__header{
    color: var(--primary);
}
.accordion__check:checked + .accordion__label .accordion__icon {
    transform: rotate(90deg);
    transition: all .15s ease-in-out;
}
.accordion__check:checked + .accordion__label .accordion__icon span:last-child {
    transition: all .15s ease-in-out;
    transform: rotate(90deg);
}
.accordion__check:checked ~ .accordion__label {
    color: var(--accordion-title-active-color);
}

.accordion__check:focus ~ .accordion__label::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 1px);
    content: "";
    border-radius: 0;
    outline: none;
}
.accordion__check:checked:focus ~ .accordion__label::before {
    height: 100%;
    outline: none;
}
.accordion__check:disabled ~ .accordion__label {
    color: var(--accordion-disabled-color);
    cursor: not-allowed;
    background: var(--accordion-disabled-background-color);
    border-color: var(--accordion-disabled-border-color);
}
.accordion__check:disabled ~ .accordion__label .accordion__icon {
    color: var(--accordion-disabled-color);
}