.after-study-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 24px;
}
.after-study-list-item {
    width: 100%;
    max-width: 424px;
    background-color: var(--light-grey);
    padding: 28px;
    border-radius: var(--border-radius);
}
.after-study-list-item-text {
    line-height: var(--line-height);
}
.after-study-list-item-title  {
    font-size: 20px;
    font-weight: bold;
    color: var(--near-black);
    padding-bottom: 20px;
}
.after-study-list-item-top {
    padding-bottom: 8px;
}
.after-study-title h2 {
    padding-bottom: 32px;
    font-size: 32px;
    font-family: var(--font-roboto);
    color: var(--near-black);
    font-weight: bold;
}
@media(max-width: 1349px) {
    .after-study-list-item {
        max-width: 304px;
        padding: 16px;
    }
    .after-study-list-item:nth-child(1), .after-study-list-item:nth-child(2), .after-study-list-item:nth-child(3) {
        padding: 28px 16px;
    }
    .after-study-list-item-top, .after-study-list-item-link, .after-study-list-item__img {
        max-width: inherit;
        width: 100%;
        display: block;
    }
}
@media(max-width: 991px) {
    .after-study-list-item {
        max-width: 31%;
    }
    .after-study-list-item-top, .after-study-list-item-link, .after-study-list-item__img {
        max-width: 100%;
    }
    .after-study-list-item:nth-child(1), .after-study-list-item:nth-child(2), .after-study-list-item:nth-child(3) {
        max-width: 100%;
    }
    .after-study-list-item:nth-child(4), .after-study-list-item:nth-child(5), .after-study-list-item:nth-child(6) {
        max-width: 30%;
    }
}
@media(max-width: 520px) {
    .after-study-list-item:nth-child(4), .after-study-list-item:nth-child(5), .after-study-list-item:nth-child(6) {
        max-width: 100%;
    } 
    .after-study-list-item {
        padding: 28px 16px !important;
    }
    .after-study-list-item:nth-child(1) {
        order: 1;
    }
    .after-study-list-item:nth-child(4) {
        order: 2;
    }
    .after-study-list-item:nth-child(2) {
        order: 3;
    }
    .after-study-list-item:nth-child(5) {
        order: 4;
    }
    .after-study-list-item:nth-child(3) {
        order: 5;
    }
    .after-study-list-item:nth-child(6) {
        order: 6;
    }
}
@media (max-width: 480px) {
    .after-study-list-item {
        padding: 28px !important;
    }
}
@media (max-width: 424px) {
    .after-study-list-item {
        padding: 28px 16px !important;
    }
}