/* .immigway-team-archive-wrap,
.immigway-team-single-wrap {
    padding-top: 60px;
    padding-bottom: 60px;
} */

.immigway-team-header {
    margin-bottom: 28px;
}

.immigway-team-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.immigway-team-topbar .immigway-team-header {
    margin-bottom: 0;
}

.immigway-team-page-title {
    margin-bottom: 10px;
}

.immigway-team-page-subtitle {
    margin: 0;
    color: #5d667d;
}

.immigway-team-search-wrap {
    margin-bottom: 24px;
    margin-left: auto;
}

.immigway-team-live-search {
    width: 100%;
    max-width: 420px;
    height: 52px;
    border: 1px solid #d9dfef;
    border-radius: 10px;
    padding: 0 16px;
    color: #0f1f3d;
    background: #ffffff;
    transition: all 220ms ease;
}

.immigway-team-live-search:focus {
    outline: none;
    border-color: #0f3b8f;
    box-shadow: 0 0 0 3px rgba(15, 59, 143, 0.12);
}

.immigway-team-no-result {
    margin: 10px 0 0;
    color: #6a738b;
    font-weight: 600;
}

.immigway-team-grid-theme .pxl-item--image {
    position: relative;
    overflow: hidden;
    height: 340px;
}

.immigway-team-grid-theme .pxl-grid-item {
    margin-bottom: 30px;
}

.immigway-team-grid-theme .pxl-item--inner {
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4e8f3;
    transition: all 280ms ease;
    position: relative;
}

.immigway-team-grid-theme .pxl-item--inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #0f3b8f;
    border-radius: 14px;
    transform: scale(0.94);
    opacity: 0;
    transition: all 320ms ease;
    pointer-events: none;
}

.immigway-team-grid-theme .pxl-item--image a {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
}

.immigway-team-grid-theme .immigway-team-thumb,
.immigway-team-grid-theme .immigway-team-thumb--placeholder {
    height: 100%;
    aspect-ratio: auto;
}

.immigway-team-thumb{
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 500ms ease;
} 
.immigway-team-single-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    transition: transform 500ms ease; 
}

.immigway-team-grid-theme .pxl-item--inner:hover .immigway-team-thumb {
    transform: scale(1.08);
}

.immigway-team-grid-theme .pxl-item--inner:hover {
    border-color: #0f3b8f;
    box-shadow: 0 12px 30px rgba(15, 59, 143, 0.14);
}

.immigway-team-grid-theme .pxl-item--inner:hover::after {
    opacity: 1;
    transform: scale(1);
}

.immigway-team-thumb--placeholder {
    background: linear-gradient(135deg, #e9eefb, #dce8ff);
}

.immigway-team-grid-theme .pxl-item--title a {
    color: inherit;
}

.immigway-team-job-title,
.immigway-team-single-job-title {
    margin: 0 0 12px;
    color: #1455d9;
    font-weight: 600;
}

.immigway-team-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.immigway-team-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e3e7f1;
    color: #0f3b8f;
    font-size: 15px;
    transition: all 220ms linear 0ms;
}

.immigway-team-socials a:hover {
    color: #ffffff;
    background: #0f3b8f;
    border-color: #0f3b8f;
}

.immigway-team-read-more,
.immigway-team-back-link a {
    font-weight: 600;
}

.immigway-team-pagination {
    margin-top: 28px;
}

.immigway-team-single {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 32px;
    align-items: start;
    border: 1px solid #e4e8f3;
    border-radius: 16px;
    padding: 24px;
    background: #ffffff;
}

.immigway-team-single-name {
    margin: 0 0 8px;
}

.immigway-team-single-description {
    margin-top: 14px;
}

.immigway-team-back-link {
    margin-top: 16px;
}

@media (max-width: 991px) {
    .immigway-team-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .immigway-team-topbar .immigway-team-header {
        margin-bottom: 10px;
    }

    .immigway-team-search-wrap {
        margin-left: 0;
    }

    .immigway-team-live-search {
        max-width: 100%;
    }

    .immigway-team-grid-theme .pxl-item--image {
        height: 320px;
    }

    .immigway-team-single {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .immigway-team-grid-theme .pxl-item--image {
        height: 280px;
    }
}
