.legal-acts__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-acts__title {
    margin: 0;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    font-size: 28px;
    font-weight: 600;
}

.legal-acts__sections {
    display: grid;
    gap: 24px;
}

.legal-acts__section {
    overflow: hidden;
    border: 1px solid #c1cddb;
    border-radius: 12px;
    background: #fff;
}

.legal-acts__section-heading {
    margin: 0;
}

.legal-acts__section-toggle {
    display: flex;
    width: 100%;
    min-height: 47px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px;
    border: 0;
    border-radius: 0;
    background: var(--primary100);
    color: #0f263b;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    text-align: left;
    cursor: pointer;
}

.legal-acts__section-toggle:hover,
.legal-acts__section-toggle:active {
    background: #eef5fc;
    color: #0f263b;
    box-shadow: none;
}

.legal-acts__section-toggle img {
    width: 14px;
    height: 8px;
    flex: 0 0 14px;
    transition: transform 180ms ease;
}

.legal-acts__section-toggle[aria-expanded="true"] img {
    transform: rotate(180deg);
}

.legal-acts__section-content {
    display: grid;
    gap: 32px;
    padding: 24px;
    background: #fff;
}

.legal-acts__section-content.is-collapsed {
    display: none;
}

.legal-acts__group {
    display: grid;
    gap: 16px;
}

.legal-acts__group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.legal-acts__group-title,
.legal-acts__group-description {
    margin: 0;
}

.legal-acts__group-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #37506e;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    cursor: pointer;
}

.legal-acts__group-toggle:hover,
.legal-acts__group-toggle:active {
    background: transparent;
    color: #37506e;
    box-shadow: none;
}

.legal-acts__group-toggle img {
    width: 14px;
    height: 8px;
    transition: transform 180ms ease;
}

.legal-acts__group-toggle[aria-expanded="true"] img {
    transform: rotate(180deg);
}

.legal-acts__group-content {
    display: grid;
    gap: 16px;
}

.legal-acts__group-content.is-collapsed {
    display: none;
}

.legal-acts__group-title {
    color: #223954;
    font-size: 20px;
    line-height: 1.35;
}

.legal-acts__item-title {
    margin: 12px 0 0;
    padding-top: 8px;
    color: var(--gray-600);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.legal-acts__item-description {
    margin: 12px 0 0;
    color: var(--gray-600);
    font-size: 16px;
    line-height: 24px;
}

.legal-acts__files > .legal-acts__item-title:first-child {
    margin-top: 0;
    padding-top: 0;
}

.legal-acts__files .document-files__file-download-label {
    display: none;
}

.legal-acts__files .document-files__file-download {
    gap: 0;
}

.legal-acts__files .document-files__file-icon {
    width: 28px;
    height: 28px;
}

.legal-acts__group-description {
    color: #37506e;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 720px) {
    .legal-acts__section-content {
        padding: 16px;
    }

    .legal-acts__files .document-files__file-details {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .legal-acts__files .document-files__file-name {
        white-space: normal;
    }
}
