.tsi-jobs-wrap,
.tsi-jobs-wrap * {
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.tsi-jobs-wrap {
    --tsi-job-blue: #075bd8;
    --tsi-job-blue-dark: #063fa7;
    --tsi-job-text: #0d1b3d;
    --tsi-job-muted: #5d6d8d;
    --tsi-job-line: #e6ecf7;
    --tsi-job-soft: #f2f6ff;
    width: 100%;
}

.tsi-jobs-grid {
    display: grid;
    grid-template-columns: repeat(var(--tsi-job-columns, 3), minmax(0, 1fr));
    gap: 20px;
}

.tsi-job-card {
    display: flex;
    min-width: 0;
    min-height: 255px;
    padding: 22px 22px 18px;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(221, 230, 245, .85);
    border-radius: 18px;
    box-shadow: 0 13px 32px rgba(36, 72, 134, .09);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.tsi-job-card:hover {
    transform: translateY(-3px);
    border-color: rgba(7, 91, 216, .20);
    box-shadow: 0 18px 38px rgba(36, 72, 134, .14);
}

.tsi-job-card__top {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 17px;
}

.tsi-job-card__icon {
    display: grid;
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    place-items: center;
    color: var(--tsi-job-blue);
    background: linear-gradient(145deg, #f4f7ff, #e8efff);
    border-radius: 50%;
}

.tsi-job-card__icon svg {
    width: 38px;
    height: 38px;
}

.tsi-job-card__head {
    min-width: 0;
    padding-top: 2px;
}

.tsi-job-card__title {
    margin: 0 0 6px !important;
    color: var(--tsi-job-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.tsi-job-card__location {
    display: flex;
    margin-bottom: 8px;
    align-items: center;
    gap: 6px;
    color: #3d5277;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.tsi-job-card__mini-icon {
    display: inline-flex;
    color: #50698f;
}

.tsi-job-card__mini-icon svg {
    width: 15px;
    height: 15px;
}

.tsi-job-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: #31476d;
    font-size: 12px;
    line-height: 1.45;
}

.tsi-job-card__meta strong {
    color: #102b59;
    font-weight: 700;
}

.tsi-job-card__dot {
    color: var(--tsi-job-blue);
    font-weight: 700;
}

.tsi-job-card__benefits {
    display: flex;
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 9px;
}

.tsi-job-card__benefit {
    display: inline-flex;
    min-height: 29px;
    padding: 6px 10px;
    align-items: center;
    gap: 6px;
    color: var(--tsi-job-blue);
    background: var(--tsi-job-soft);
    border-radius: 9px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}

.tsi-job-card__benefit > span {
    display: inline-flex;
}

.tsi-job-card__benefit svg {
    width: 15px;
    height: 15px;
}

.tsi-job-card__description {
    margin-top: 15px;
    color: var(--tsi-job-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
}

.tsi-job-card__footer {
    display: flex;
    margin-top: auto;
    padding-top: 14px;
    justify-content: flex-end;
}

.tsi-job-card__button {
    display: inline-flex;
    min-height: 38px;
    padding: 9px 13px 9px 16px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: var(--tsi-job-blue) !important;
    background: #fff;
    border: 1.5px solid var(--tsi-job-blue);
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(7, 91, 216, .08);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.tsi-job-card__button:hover {
    color: #fff !important;
    background: var(--tsi-job-blue);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(7, 91, 216, .22);
}

.tsi-job-card__button-icon {
    display: inline-flex;
}

.tsi-job-card__button-icon svg {
    width: 17px;
    height: 17px;
}

.tsi-jobs-pagination {
    display: flex;
    margin-top: 34px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.tsi-jobs-pagination__item {
    display: inline-flex;
}

.tsi-jobs-pagination a,
.tsi-jobs-pagination .current,
.tsi-jobs-pagination .dots {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: #27466f;
    background: #fff;
    border: 1px solid #dce5f4;
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(36, 72, 134, .07);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: all .2s ease;
}

.tsi-jobs-pagination a:hover,
.tsi-jobs-pagination .current {
    color: #fff;
    background: var(--tsi-job-blue);
    border-color: var(--tsi-job-blue);
}

.tsi-jobs-empty {
    padding: 30px;
    color: var(--tsi-job-muted);
    background: #fff;
    border: 1px solid var(--tsi-job-line);
    border-radius: 16px;
    text-align: center;
}

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

@media (max-width: 680px) {
    .tsi-jobs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tsi-job-card {
        min-height: 0;
        padding: 18px 16px 16px;
        border-radius: 15px;
    }

    .tsi-job-card__top {
        gap: 13px;
    }

    .tsi-job-card__icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .tsi-job-card__icon svg {
        width: 31px;
        height: 31px;
    }

    .tsi-job-card__title {
        font-size: 17px;
    }

    .tsi-job-card__benefits {
        margin-top: 15px;
        gap: 7px;
    }

    .tsi-job-card__benefit {
        padding: 6px 8px;
        font-size: 9px;
    }

    .tsi-job-card__description {
        font-size: 11px;
    }

    .tsi-job-card__footer {
        justify-content: stretch;
    }

    .tsi-job-card__button {
        width: 100%;
    }
}
