@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
}
body {
    font-family: 'Ubuntu', sans-serif!important;
    color: #182026;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
button,
input {
    font: inherit;
}

/* ================================================================
   IFRAME CANVAS
   ================================================================ */
.vh-widget-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 320px;
    min-height: 420px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 23px;
    background: transparent;
}

/* ================================================================
   MAIN WIDGET
   ================================================================ */
.vh-widget {
    --vh-primary: #182026;
    position: relative;
    width: 320px;
    height: 404px;
    flex: 0 0 320px;
    overflow: hidden;
    border: 1px solid #8d8d8d;
    border-radius: 19px;
    background: #e7e2d2;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    isolation: isolate;
}

/* ================================================================
   COMMON SCREEN
   ================================================================ */
.vh-screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(12px);
    transition: opacity 180ms ease, transform 220ms ease, visibility 180ms ease;
}
.vh-screen.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* ================================================================
   CLOSE
   ================================================================ */
.vh-close {
    position: absolute;
    z-index: 1000;
    top: 11px;
    right: 12px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    cursor: pointer;
    font-size: 11px;
    line-height: 18px;
}

/* ================================================================
   PRESS EFFECT
   ================================================================ */
.vh-press {
    transition: transform 90ms ease, opacity 90ms ease, box-shadow 90ms ease;
}
.vh-press:active {
    transform: scale(0.90);
}
.vh-press:disabled {
    opacity: 0.30;
    cursor: default;
}

/* ================================================================
   HOME
   ================================================================ */
.vh-home {
    background: linear-gradient(to bottom, var(--vh-primary) 0%, #ffffff 46%);
}
.vh-home-top {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
}

/* ================================================================
   HOME TITLE
   ================================================================ */
.vh-home-title {
    position: relative;
    z-index: 10;
    margin: 25px 29px 0;
    width: 250px;
    color: #182026;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.6px;
}

/* ================================================================
   PEOPLE IMAGE
   ================================================================ */
.vh-people-image {
    position: absolute;
    z-index: 2;
    left: 1px;
    right: 0;
    bottom: -9px;
    height: 221px;
    overflow: hidden;
    pointer-events: none;
}
.vh-people-image img {
    position: absolute;
    width: 285px;
    height: auto;
    left: 10px;
    bottom: -116px;
    display: block;
    user-select: none;
    pointer-events: none;
}

/* ================================================================
   SEARCH PANEL
   ================================================================ */
.vh-search-panel {
    position: absolute;
    z-index: 20;
    left: 2px;
    bottom: 2px;
    height: 144px;
    padding: 15px 29px 16px;
    border: 1px solid #817e77;
    border-radius: 19px;
    background: var(--vh-primary);
    max-width: 314px;
}
.vh-search-panel h2 {
    margin: 0 0 3px;
    color: #182026;
    font-size: 20px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: -0.2px;
}
.vh-search-panel p {
    width: 255px;
    height: 28px;
    margin: 0 0 10px;
    overflow: hidden;
    color: #182026;
    font-size: 12px;
    line-height: 14px;
    font-weight: 300;
}

/* ================================================================
   SEARCH FORM
   ================================================================ */
.vh-search-form {
    position: relative;

    width: 260px;
    height: 45px;
}
.vh-search-input {
    display: block;
    width: 260px;
    height: 45px;
    padding: 0 50px 0 14px;
    border: 1px solid #8f918b;
    border-radius: 4px;
    background: #fff;
    color: #182026;
    outline: none;
    font-size: 14px;
    line-height: 45px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vh-search-input::placeholder {
    color: #555d61;
    opacity: 1;
}
.vh-search-input:focus {
    border-color: var(--vh-primary);
    box-shadow: 0 0 0 1px var(--vh-primary);
}
.vh-search-submit {
    position: absolute;
    top: 11px;
    right: 11px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    cursor: pointer;
}
.vh-search-submit span {
    position: relative;
    display: block;
    font-size: 13px;
    font-weight: normal;
    line-height: 22px;
}

/* ================================================================
   RESULTS SCREEN
   ================================================================ */
.vh-results {
    background: linear-gradient(180deg, var(--vh-primary) 0%, var(--vh-primary) 10%, #ffffff 100%);
}

/* ================================================================
   RESULTS HEADER
   ================================================================ */

.vh-results-top {
    position: relative;
    z-index: 100;
    padding: 28px 29px 0;
}
.vh-results-heading {
    height: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vh-results-heading h1 {
    margin: 0;
    color: #182026;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.5px;
}
.vh-back {
    padding: 3px 4px;
    border: 0;
    background: #182026;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    line-height: 10px;
    border-radius: 3px;
}

/* ================================================================
   RESULT MESSAGE
   ================================================================ */
.vh-results-message {
    width: 260px;
    height: 37px;
    margin-top: 3px;
    overflow: hidden;
    color: #272d31;
    font-size: 12px;
    line-height: 14px;
}
.vh-results-message span{
    font-weight: 500;
}

/* ================================================================
   FILTER ROW
   ================================================================ */
.vh-filters {
    position: relative;
    height: 43px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.vh-filter-wrapper {
    position: relative;
}
.vh-filter-button {
    height: 36px;
    display: flex;
    align-items: center;
    padding: 3px 5px 3px 8px;
    border: 1px solid #8d8d8d;
    border-radius: 6px;
    background: #fff;
    color: #182026;
    cursor: pointer;
    text-align: left;
}
.vh-filter-label {
    display: block;
    min-width: 55px;
    font-size: 10px;
    line-height: 10px;
    font-weight: 500;
}
.vh-filter-control-icon {
    width: 23px;
    height: 23px;
    margin-left: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 4px;
    border-radius: 6px;
    background: #ffffff;
    color: #182026;
    font-size: 12px;
    border: 1px solid #8d8d8d;
    line-height: 12px;
}
.vh-filter-control-icon.is-dark {
    background: #182026;
    border-color: #182026;
}
/* fake slider icon */
.vh-filter-control-icon i {
    position: relative;
    color: #182026;
}
.vh-filter-control-icon.is-dark i {
    color: #fff;
}

/* ================================================================
   FILTER DROPDOWN
   ================================================================ */
.vh-filter-menu {
    position: absolute;
    z-index: 500;
    top: 40px;
    left: 0;
    width: 180px;
    max-height: 175px;
    padding: 5px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border: 1px solid #82847e;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
    transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
}
.vh-filter-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.vh-filter-option {
    display: block;
    width: 100%;
    padding: 7px 8px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #182026;
    cursor: pointer;
    text-align: left;
    font-size: 12px;
    line-height: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vh-filter-option:hover,
.vh-filter-option.is-active {
    background: #e9e9e7;
}

/* ================================================================
   CAROUSEL
   ================================================================ */
.vh-carousel {
    position: absolute;
    z-index: 10;
    top: 158px;
    left: 4px;
    right: 4px;
    height: 190px;
}
.vh-carousel-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 19px;
    cursor: grab;
    touch-action: pan-y;
}
.vh-carousel-viewport:active {
    cursor: grabbing;
}
.vh-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 250ms ease;
    will-change: transform;
    border-radius: 19px;
}

/* ================================================================
   JOB CARD
   ================================================================ */
.vh-job-card {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 190px;
    padding: 17px 61px 14px 25px;
    border: 1px solid #83857f;
    border-radius: 19px;
    background: #fff;
    color: #182026;
    cursor: pointer;
    user-select: none;
    transition: transform 90ms ease, background 90ms ease;
}
.vh-job-card:active {
    background: #fafafa;
}

/* ================================================================
   JOB TITLE
   ================================================================ */
.vh-job-title {
    width: 215px;
    height: 45px;
    margin: 0 0 10px;
    overflow: hidden;
    color: #182026;
    font-size: 18px;
    font-weight: 700;
    line-height: 21px;
    letter-spacing: -0.25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: flex;
    align-items: flex-start;
}

/* ================================================================
   OPEN JOB ICON
   ================================================================ */
.vh-job-open {
    position: absolute;
    top: 18px;
    right: 15px;
    width: 43px;
    height: 43px;
    padding: 0;
    border: 0;
    background: transparent;
}
.vh-job-open-icon {
    display: block;
    width: 43px;
    height: 43px;
    object-fit: contain;
}

/* ================================================================
   JOB DETAILS
   ================================================================ */
.vh-job-details {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.vh-job-detail {
    display: flex;
    align-items: flex-start;
    width: 230px;
    min-width: 0;
    color: #182026;
    font-size: 12px;
    line-height: 13px;
    font-weight: 500;
}
.vh-job-detail-icon {
    width: 12px;
    min-width: 12px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #182026;
    font-size: 12px;
}
.vh-job-detail-text {
    display: block;
    width: 210px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/*
 * Location can use a second line just like the supplied design.
 */
.vh-job-detail.is-location .vh-job-detail-text {
    height: 25px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ================================================================
   PAGINATION
   ================================================================ */
.vh-pagination {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 15px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}
.vh-page-arrow {
    width: 18px;
    height: 18px;
    padding: 0;
    background: transparent;
    color: #182026;
    cursor: pointer;
    font-size: 18px;
    line-height: 18px;
    border: 0;
}
.vh-page-count {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: bold;
}
.vh-current-page {
    width: 33px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: #182026;
    color: #fff;
}
.vh-page-total {
    white-space: nowrap;
}

/* ================================================================
   EMPTY FILTER RESULT
   ================================================================ */
.vh-filter-empty {
    position: absolute;
    z-index: 15;
    top: 215px;
    left: 25px;
    right: 25px;
    display: none;
    text-align: center;
    color: #182026;
    font-size: 12px;
}
.vh-filter-empty.is-visible {
    display: block;
}

/* ================================================================
   LOADING
   ================================================================ */
.vh-loader {
    position: absolute;
    z-index: 5000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    background: color-mix(in srgb, var(--vh-primary) 88%, transparent);
    transition: opacity 150ms ease, visibility 150ms ease;
}

.vh-loader.is-visible {
    visibility: visible;
    opacity: 1;
}
.vh-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(17, 29, 36, 0.20);
    border-top-color: #182026;
    border-radius: 50%;
    animation: vh-spinner 650ms linear infinite;
}
@keyframes vh-spinner {
    to {
        transform: rotate(360deg);
    }
}
@media (max-width: 340px) {
    .vh-widget-canvas {
        min-width: 0;
        padding-left: 5px;
        padding-right: 5px;
        justify-content: center;
    }
    .vh-widget {
        width: min(320px, calc(100vw - 10px));
        flex-basis: auto;
    }
}