.agreements-inner {
    max-width: 1007px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 90px auto;
}

.agreements-container {
    max-width: calc(100% - 400px);
}

.agreements-inner h1 {
    margin: 0 0 40px;
}

.agreements_item {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 32px 40px 38px;
    background: #FFFFFF;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

.agreements_item-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    line-height: 24px;
}

.agreements_item-heading img {
    max-width: 50px;
    width: 100%;
    height: 50px;
}

.agreements_item-heading p {
    font-size: 18px;
    line-height: 24px;
}

.agreements_item-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agreements_item-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #0068F5;
}

a.agreements_item-button {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #0068F5;
}

a.agreements_item-button svg {
    max-width: 24px;
    width: 100%;
    height: 24px;
    object-fit: contain;
}

.agreements_item-video {
    width: 100%;
}

.agreements_item-scorm-player {
    display: block;
    margin-top: 10px;
    max-width: 100%;
    width: 100%;
}

.agreements_item-simple-list {
    display: none;
}

.agreements_item-simple-list-button {
    cursor: pointer;
}

.agreements_item-simple-list ul {
    margin: 10px 0;
    padding-right: 20px;
    list-style: disc;
}

.agreements_item-simple-list ol {
    margin: 10px 0;
    padding-right: 20px;
    list-style: decimal;
}

.agreements_item-simple-list.active {
    display: block;
    width: 100%;
    min-width: 100%;
    margin-top: 20px;
}

.agreements_item-simple-list table tr {
    border-style: solid;
    border-color: #000000;
}

.agreements_item-simple-list table td {
    border-style: solid;
    border-color: #000000;
}

.agreements_item-button-close {
    display: flex;
    align-items: center;
}

.agr-modal-root { position: fixed; inset: 0; z-index: 9999; display: none; }
.agr-modal-root.is-open { display: block; }
.agr-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.agr-modal {
    position: absolute; inset-inline: 50%; top: 50%; left: 50%;
    transform: translate(50%, -50%);
    width: min(900px, 90vw); max-height: 85vh; overflow: auto;
    background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.2);
    padding: 20px 24px;
}
.agr-close {
    position: absolute; inset-inline-end: 10px; top: 8px;
    border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer;
}
.agr-body img, .agr-body iframe, .agr-body video { max-width: 100%; height: auto; }

@media (max-width: 1280px) {
    .agreements-inner {
        max-width: 676px;
        margin: 62px auto;
    }
    .agreements-container {
        max-width: 100%;
        margin-right: auto;
    }
    .agreements-inner h1 {
        margin: 0 0 24px;
    }
    .agreements_item {
        padding: 21px 24px 21px 40px;
    }
    .agreements_item-heading p {
        font-size: 16px;
        line-height: 24px;
    }
    .agreements_item-button {
        font-size: 14px;
    }
    a.agreements_item-button {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .agreements-inner h1 {
        margin: 0 0 20px;
    }
    .agreements_item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 8px;
        padding: 16px 24px;
    }
    .agreements_item-heading {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        line-height: 18px;
    }
    .agreements_item-heading p {
        font-size: 16px;
        line-height: 18px;
    }
    .agreements_item-buttons {
        display: flex;
        flex-direction: row-reverse;
        gap: 10px;
    }
}