.american-table {
    box-sizing: border-box;
}

.american-table__title {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 32px;
    color: #1e1e1e;
    font-family: "Montserrat", sans-serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 50px;
    text-align: center;
}

.american-table__scroll {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    box-shadow:
        0 1.97px 6.47px 0 rgba(0, 0, 0, 0.02),
        0 9px 18.2px 0 rgba(0, 0, 0, 0.03),
        0 22.78px 48.83px 0 rgba(0, 0, 0, 0.04),
        0 45px 112px 0 rgba(0, 0, 0, 0.06);
}

.american-table__card {
    width: 100%;
    min-width: 900px;
    overflow: hidden;
    border-radius: 20px;
    background-color: #fff;
}

.american-table__header,
.american-table__row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(220px, 1fr));
    gap: 20px;
    align-items: center;
    padding: 14px 20px;
    box-sizing: border-box;
}

.american-table__header {
    padding-top: 17px;
    padding-bottom: 17px;
    background-color: #abc9f6;
}

.american-table__row {
    border: 1px solid #e1cfff;
    border-top: none;
    background-color: #fff;
}

.american-table__row:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}

.american-table__cell {
    min-width: 0;
    color: #333;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
}

.american-table__cell--header {
    color: #0f1419;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
}

.american-table__cell--criterion {
    font-weight: 400;
}

.american-table__cell p {
    margin: 0 0 8px;
}

.american-table__cell p:last-child {
    margin-bottom: 0;
}

.american-table__button-wrap {
    width: 100%;
    margin-top: 35px;
    text-align: center;
}

.american-table__button-wrap .american-table__button {
    display: inline-flex;
}

@media (max-width: 1024px) {
    .american-table__title {
        font-size: 36px;
        line-height: 42px;
    }

    .american-table__header,
    .american-table__row {
        gap: 12px;
        padding: 12px 16px;
    }
    .american-table__header,
    .american-table__row {
        display: flex;
    }

    .american-table__cell--col-0 {
        flex: 0 0 15%;
        max-width: 15%;
        margin-right: 15px;
    }

    .american-table__cell--col-1,
    .american-table__cell--col-2,
    .american-table__cell--col-3 {
        flex: 1 1 0;
        min-width: 140px;
    }
}

@media (max-width: 767px) {
    .american-table__title {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 24px;
    }

    .american-table__card {
        width: auto;
        min-width: fit-content;
        overflow: visible;
    }

    .american-table__cell,
    .american-table__cell--header {
        font-size: 14px;
        line-height: 17px;
    }

}
