/* =========================================================
   CAREERS HERO
========================================================= */

.careers-hero {
    position: relative;

    width: 100%;
    min-height: 620px;

    display: flex;
    align-items: center;

    overflow: hidden;
}


/* =========================================================
   BACKGROUND IMAGE
========================================================= */

.careers-hero-background {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

    z-index: 0;
}


/* =========================================================
   DARK OVERLAY
========================================================= */

.careers-hero-overlay {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;
}


/* =========================================================
   HERO CONTAINER
========================================================= */

.careers-hero-container {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1200px;

    padding-left: 180px;
    margin-top: 80px;

    box-sizing: border-box;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.careers-hero-content {
    width: 100%;
    max-width: 620px;
}


/* =========================================================
   HEADING
========================================================= */

.careers-hero-content h1 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 42px;
    line-height: 1.12;

    font-weight: 700;

    letter-spacing: -0.5px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.careers-hero-content p {
    max-width: 500px;

    margin: 0;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.55;

    font-weight: 400;
}


/* =========================================================
   SEARCH CONTAINER
========================================================= */

.careers-hero-search {
    display: flex;

    align-items: stretch;

    gap: 10px;

    width: 100%;
    max-width: 620px;

    margin-top: 30px;
}


/* =========================================================
   SEARCH FIELD
========================================================= */

.careers-search-field {
    position: relative;

    flex: 1;

    min-width: 0;
}


/* =========================================================
   SEARCH INPUTS
========================================================= */

.careers-search-field input {
    width: 100%;
    height: 48px;

    padding: 0 52px 0 15px;

    border: none !important;

    border-radius: 3px;

    outline: none !important;

    background: rgba(178, 187, 205, 0.36);

    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);

    color: #ffffff;

    font-family: inherit;
    font-size: 13px;

    box-sizing: border-box;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08) !important;

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.careers-search-field input::placeholder {
    color: #ffffff;

    opacity: 1;
}


/* =========================================================
   INPUT FOCUS
========================================================= */

.careers-search-field input:focus,
.careers-search-field input:active {
    outline: none !important;

    border: none !important;

    background: rgba(178, 187, 205, 0.36);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08) !important;
}


/* =========================================================
   FIELD ICON
========================================================= */

.careers-field-icon {
    position: absolute;

    right: 15px;
    top: 50%;

    width: 24px;
    height: 24px;

    transform: translateY(-50%);

    display: flex;

    align-items: center;
    justify-content: center;

    pointer-events: none;

    z-index: 2;
}


/* =========================================================
   FIELD ICON SVG
========================================================= */

.careers-field-icon svg {
    width: 23px;
    height: 23px;

    fill: none;

    stroke: #ffffff;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.careers-search-button {
    height: 48px;

    min-width: 105px;

    padding: 0 22px;

    border: none;

    border-radius: 3px;

    background: #ff9845;

    color: #ffffff;

    font-family: inherit;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.3px;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   BUTTON HOVER
========================================================= */

.careers-search-button:hover {
    background: #f28732;
}


/* =========================================================
   BUTTON ACTIVE
========================================================= */

.careers-search-button:active {
    transform: translateY(1px);
}


/* =========================================================
   TABLET
   1024px and below
========================================================= */

@media (max-width: 1024px) {

    .careers-hero {
        min-height: 390px;
    }

    .careers-hero-container {
        padding: 70px 35px 50px;
    }

    .careers-hero-content {
        max-width: 590px;
    }

    .careers-hero-content h1 {
        font-size: 36px;
    }

    .careers-hero-content p {
        max-width: 460px;

        font-size: 13px;
    }

    .careers-hero-search {
        max-width: 590px;
    }
}


/* =========================================================
   MOBILE
   767px and below
========================================================= */

@media (max-width: 767px) {

    .careers-hero {
        min-height: 520px;
    }

    .careers-hero-container {
        padding: 90px 20px 50px;
    }

    .careers-hero-content {
        max-width: 100%;
    }

    .careers-hero-content h1 {
        font-size: 32px;

        line-height: 1.15;
    }

    .careers-hero-content p {
        max-width: 100%;

        font-size: 13px;

        line-height: 1.6;
    }

    .careers-hero-search {
        flex-direction: column;

        gap: 10px;

        max-width: 100%;
    }

    .careers-search-field {
        width: 100%;
    }

    .careers-search-button {
        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE
   480px and below
========================================================= */

@media (max-width: 480px) {

    .careers-hero {
        min-height: 540px;
    }

    .careers-hero-container {
        padding: 75px 18px 40px;
    }

    .careers-hero-content h1 {
        font-size: 29px;
    }

    .careers-hero-content p {
        font-size: 12px;
    }

    .careers-search-field input,
    .careers-search-button {
        height: 46px;
    }
}