.migration-records-wrap {
    width: 100%;
    max-width: 1280px;
    background: transparent;
    box-sizing: border-box;
    margin: 0 auto;
}

.records-section {
    position: relative;
    margin-bottom: 42px;
}

.records-heading {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    min-height: 44px;
}

.records-heading-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 22px 0 52px;
    border-radius: 22px 10px 10px 22px;
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
    z-index: 3;
}

.records-heading-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    border-radius: 50%;
    z-index: 5;
    box-sizing: border-box;
}

.records-heading-icon svg,
.records-heading-icon i {
    width: 22px;
    height: 22px;
    font-size: 20px;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.records-heading-line {
    position: relative;
    flex: 1;
    margin-left: 12px;
    border-top: 2px dashed;
}

.records-heading-line::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    border-radius: 50%;
}

.records-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.record-card {
    position: relative;
    min-height: 300px;
    padding: 110px 22px 28px;
    border: 1.5px solid;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.record-card:hover {
    transform: translateY(-5px);
}

.record-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 82px;
    height: 92px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12px;
    clip-path: polygon(0 0, 100% 0, 88% 58%, 66% 76%, 0 100%);
    box-sizing: border-box;
    font-family: 'Mulish', sans-serif;
    font-size: 28px;
    line-height: 32px;
    font-weight: 800;
    z-index: 4;
}

.record-icon {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    border-radius: 50%;
    z-index: 3;
    box-sizing: border-box;
}

.record-icon::after {
    content: "";
    position: absolute;
    width: 88px;
    height: 88px;
    border: 2px dotted;
    border-radius: 50%;
}

.record-icon svg,
.record-icon i {
    position: relative;
    width: 33px;
    height: 33px;
    font-size: 30px;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    z-index: 2;
}

.record-card-title {
    margin: 18px 0 10px;
    font-family: 'Mulish', sans-serif;
    font-size: 20px;
    line-height: 22px;
    font-weight: 800;
}

.record-card-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 10px;
}

.record-card p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

@media(max-width: 1050px) {
    .records-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width: 600px) {
    .migration-records-wrap {
        margin: 25px auto;
    }
    .records-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .record-card {
        min-height: 270px;
        padding: 105px 20px 25px;
    }
    .record-number {
        width: 74px;
        height: 84px;
        font-size: 26px;
    }
    .record-icon {
        width: 66px;
        height: 66px;
        top: 48px;
    }
    .record-icon::after {
        width: 80px;
        height: 80px;
    }
    .records-heading-label {
        font-size: 13px;
        padding-right: 16px;
    }
}
