.mod-articles-accordion {
    width: 100%;
}

.mod-articles-group__header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.mod-articles-group__header:hover {
    background-color: #e9e9e9;
}

.mod-articles-group__header h2,
.mod-articles-group__header h3,
.mod-articles-group__header h4 {
    margin: 0;
}

.mod-articles-group__icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
}

.mod-articles-group__header[aria-expanded="true"] .mod-articles-group__icon {
    transform: rotate(180deg);
}

/*.mod-articles-group__content {
    padding: 0 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}*/

.mod-articles-group__content {
    padding: 0 1rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}