.onoff-ig {
    position: relative;
    padding: 80px 0;
    /* width: 1160px;
    max-width: 100%;
    margin: 0 auto; */
    overflow: hidden;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
}

.onoff-ig-inner {
    width: 1160px;
    max-width: 100%;
    margin: 0 auto;
}

.onoff-ig::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    /* left: 50%; */
    width: 100vw;
    /* transform: translateX(-50%); */
    background-color: transparent;
    background-image: linear-gradient(180deg, #ffffff 0%, #273348 100%);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.onoff-ig__header {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.onoff-ig__pretitle {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: inherit;
    opacity: 0.7;
    margin: 0 0 6px;
}

.onoff-ig__title {
    font-family: "Inter", Sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #273348;
    margin: 0 0 16px;
}

.onoff-ig__subtitle {
    font-size: 15px;
    line-height: 1.5;
    color: inherit;
    opacity: 0.8;
    margin: 8px 0 0;
    max-width: 680px;
}

.onoff-ig__footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.onoff-ig__browse-link {
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    border: 1px solid #2dd08c;
    background: #2dd08c;
    color: #fff;
    border-radius: 27px;
    cursor: pointer;
    transition: 0.3s all;
    padding: 15px 20px;
}
.onoff-ig__browse-link:hover,
.onoff-ig__browse-link:focus-visible {
    color: #2dd08c;
    background: transparent;
    /* text-decoration: underline; */
}

.onoff-ig__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.onoff-ig__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    /* transition:
        transform 0.2s ease,
        box-shadow 0.2s ease; */

    transition:
        background 0.3s,
        border 0.3s,
        border-radius 0.3s,
        box-shadow 0.3s;
    border: 1px solid #eeeeee;
}
.onoff-ig__card:hover,
.onoff-ig__card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.onoff-ig__card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.onoff-ig__card-logo-wrap {
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
    border-radius: 21px;
    max-width: 64px;
    padding: 15px;
}
.onoff-ig__card-logo-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
}

.onoff-ig__card-badge {
    display: inline-block;
    border: 1px solid #1f2d3d;
    color: #1f2d3d !important;
    border-radius: 30px;
    padding: 4px 14px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* .onoff-ig__card-badge--new {
    position: relative;
    top: -10px;
    right: -25px;
} */

.onoff-ig__card-main {
    margin-top: 12px;
}

.onoff-ig__card-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    color: #1f2d3d;
    margin: 0 0 8px;
}

.onoff-ig__card-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #495566;
}

.onoff-ig__card-footer {
    margin-top: auto;
    padding-top: 16px;
}

@media (max-width: 900px) {
    .onoff-ig__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .onoff-ig__grid {
        grid-template-columns: 1fr;
    }
    .onoff-ig__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
