/* ============================================================
   ARREU LABORAL
   JOBS PAGE
   ============================================================ */


/* ============================================================
   GLOBAL
   ============================================================ */

.jobs-container {
    width: min(1240px, calc(100% - 40px));

    margin: 0 auto;
}


/* ============================================================
   HERO
   ============================================================ */

.jobs-hero {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(237, 0, 0, .12),
            transparent 28%
        ),
        #050505;

    color: #ffffff;
}


.jobs-hero::after {
    content: "";

    position: absolute;

    right: -150px;
    bottom: -250px;

    width: 650px;
    height: 650px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 50%;
}


.jobs-hero-grid {
    min-height: 470px;

    display: grid;

    grid-template-columns: 1fr 290px;

    align-items: center;

    gap: 80px;
}


.jobs-hero-content {
    padding: 85px 0;
}


.jobs-label {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #ffffff;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .16em;
}


.jobs-label span {
    width: 6px;
    height: 6px;

    background: #ed0000;

    display: inline-block;
}


.jobs-hero h1 {
    margin: 22px 0 0;

    max-width: 850px;

    font-size: clamp(58px, 8vw, 105px);

    line-height: .86;

    letter-spacing: -.065em;

    font-weight: 900;
}


.jobs-hero h1 strong {
    display: block;

    color: #ed0000;

    font-weight: 900;
}


.jobs-hero-content p {
    max-width: 600px;

    margin: 30px 0 0;

    color: #a9a9a9;

    font-size: 14px;

    line-height: 1.7;
}


/* ============================================================
   HERO SIDE PANEL
   ============================================================ */

.jobs-hero-side {
    position: relative;

    min-height: 290px;

    padding: 25px;

    border: 1px solid rgba(255,255,255,.13);

    background: rgba(255,255,255,.025);

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}


.hero-side-number {
    color: #ed0000;

    font-size: 11px;

    font-weight: 900;
}


.hero-side-line {
    width: 100%;

    height: 1px;

    background: rgba(255,255,255,.10);
}


.hero-side-title {
    color: #ffffff;

    font-size: 27px;

    line-height: .95;

    letter-spacing: -.04em;

    font-weight: 900;
}


.hero-side-title span {
    color: #ed0000;
}


.hero-side-brand {
    color: #777777;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .12em;

    text-align: right;
}


/* ============================================================
   SEARCH
   ============================================================ */

.jobs-search-wrapper {
    position: relative;

    z-index: 10;

    margin-top: -42px;
}


.jobs-search {
    display: grid;

    grid-template-columns:
        1.45fr
        1fr
        1fr
        auto;

    gap: 10px;

    padding: 17px;

    background: #ffffff;

    border: 1px solid #dddddd;

    box-shadow:
        0 22px 55px rgba(0,0,0,.13);
}


.search-field label {
    display: block;

    margin: 0 0 7px;

    color: #333333;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.search-input-wrap {
    min-height: 49px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 0 13px;

    border: 1px solid #dedede;

    background: #ffffff;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.search-input-wrap:focus-within {
    border-color: #ed0000;

    box-shadow:
        0 0 0 3px rgba(237,0,0,.07);
}


.search-icon {
    flex: 0 0 auto;

    color: #ed0000;

    font-size: 16px;

    font-weight: 900;
}


.search-input-wrap input,
.search-input-wrap select {
    width: 100%;

    height: 46px;

    padding: 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: #222222;

    font-family: inherit;

    font-size: 11px;
}


.search-input-wrap input::placeholder {
    color: #999999;
}


.search-input-wrap select {
    cursor: pointer;
}


.jobs-search-button {
    align-self: end;

    min-height: 49px;

    padding: 0 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    border: 0;

    background: #ed0000;

    color: #ffffff;

    font-family: inherit;

    font-size: 10px;

    font-weight: 900;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}


.jobs-search-button:hover {
    background: #c90000;

    transform: translateY(-2px);
}


.jobs-search-button span {
    font-size: 17px;

    line-height: 1;
}


/* ============================================================
   RESULTS SECTION
   ============================================================ */

.jobs-results {
    padding: 105px 0 100px;

    background: #f5f5f5;
}


.jobs-heading-row {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 40px;
}


.jobs-small-label {
    color: #ed0000;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .16em;

    text-transform: uppercase;
}


.jobs-heading-row h2 {
    margin: 10px 0 0;

    color: #101010;

    font-size: clamp(42px, 5vw, 64px);

    line-height: .9;

    letter-spacing: -.06em;

    font-weight: 900;
}


.jobs-heading-row h2 span {
    color: #ed0000;
}


.jobs-result-count {
    color: #111111;

    font-size: 20px;

    font-weight: 900;

    white-space: nowrap;
}


.jobs-result-count small {
    display: block;

    margin-top: 5px;

    color: #888888;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .04em;
}


/* ============================================================
   JOB LIST
   ============================================================ */

.jobs-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.job-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dddddd;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.job-card:hover {
    transform: translateY(-4px);

    border-color: #ed0000;

    box-shadow:
        0 18px 45px rgba(0,0,0,.09);
}


.job-card-top {
    min-height: 43px;

    padding: 0 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #eeeeee;

    background: #fafafa;
}


.job-status {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #ed0000;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .12em;
}


.status-dot {
    width: 6px;
    height: 6px;

    display: inline-block;

    border-radius: 50%;

    background: #ed0000;
}


.job-employment {
    color: #777777;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* ============================================================
   JOB BODY
   ============================================================ */

.job-card-body {
    min-height: 275px;

    display: grid;

    grid-template-columns: 1fr 225px;
}


.job-card-left {
    padding: 30px;
}


.job-card-left h3 {
    margin: 0;

    color: #111111;

    font-size: 28px;

    line-height: 1.05;

    letter-spacing: -.035em;

    font-weight: 900;
}


.job-meta-grid {
    display: flex;

    flex-wrap: wrap;

    gap: 28px;

    margin-top: 25px;
}


.job-meta {
    min-width: 105px;

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.meta-label {
    color: #999999;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.job-meta strong {
    color: #333333;

    font-size: 10px;

    font-weight: 700;
}


/* ============================================================
   SALARY
   ============================================================ */

.job-salary {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 20px;

    padding: 9px 12px;

    background: #f6f6f6;
}


.job-salary span {
    color: #999999;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: .1em;
}


.job-salary strong {
    color: #111111;

    font-size: 11px;

    font-weight: 900;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.job-description {
    max-width: 750px;

    margin: 20px 0 0;

    color: #666666;

    font-size: 10px;

    line-height: 1.7;
}


/* ============================================================
   CONFIDENTIAL
   ============================================================ */

.confidential-note {
    max-width: 700px;

    display: flex;

    align-items: flex-start;

    gap: 8px;

    margin-top: 17px;

    color: #888888;

    font-size: 8px;

    line-height: 1.55;
}


.confidential-check {
    flex: 0 0 auto;

    color: #ed0000;

    font-size: 11px;

    font-weight: 900;
}


.confidential-note strong {
    color: #333333;
}


/* ============================================================
   RIGHT JOB PANEL
   ============================================================ */

.job-card-right {
    padding: 30px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    border-left: 1px solid #eeeeee;

    background: #fafafa;
}


.job-start {
    display: flex;

    flex-direction: column;

    gap: 6px;
}


.job-start span {
    color: #999999;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: .12em;
}


.job-start strong {
    color: #111111;

    font-size: 12px;

    font-weight: 900;
}


.job-view-button {
    min-height: 47px;

    padding: 0 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    background: #111111;

    color: #ffffff;

    text-decoration: none;

    font-size: 9px;

    font-weight: 900;

    transition:
        background .2s ease;
}


.job-view-button:hover {
    background: #ed0000;
}


.job-view-button strong {
    color: #ed0000;

    font-size: 18px;

    transition: color .2s ease;
}


.job-view-button:hover strong {
    color: #ffffff;
}


/* ============================================================
   EMPTY STATE
   ============================================================ */

.jobs-empty {
    min-height: 280px;

    padding: 45px;

    display: grid;

    grid-template-columns: 100px 1fr;

    align-items: center;

    gap: 35px;

    background: #ffffff;

    border: 1px solid #dddddd;
}


.empty-number {
    color: #ed0000;

    font-size: 58px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: -.06em;
}


.jobs-empty h3 {
    margin: 10px 0 0;

    color: #111111;

    font-size: 34px;

    line-height: 1;

    letter-spacing: -.04em;

    font-weight: 900;
}


.jobs-empty h3 span {
    color: #ed0000;
}


.jobs-empty p {
    max-width: 600px;

    margin: 16px 0 23px;

    color: #777777;

    font-size: 10px;

    line-height: 1.7;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.jobs-red-button {
    min-height: 46px;

    padding: 0 17px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    background: #ed0000;

    color: #ffffff;

    text-decoration: none;

    font-size: 9px;

    font-weight: 900;

    transition:
        background .2s ease,
        transform .2s ease;
}


.jobs-red-button:hover {
    background: #c90000;

    transform: translateY(-2px);
}


.jobs-red-button span,
.jobs-white-button span {
    font-size: 16px;
}


.jobs-white-button {
    min-height: 46px;

    padding: 0 17px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    border: 1px solid #555555;

    background: transparent;

    color: #ffffff;

    text-decoration: none;

    font-size: 9px;

    font-weight: 900;

    transition:
        border-color .2s ease,
        background .2s ease;
}


.jobs-white-button:hover {
    border-color: #ffffff;

    background: #ffffff;

    color: #111111;
}


/* ============================================================
   PAGINATION
   ============================================================ */

.jobs-pagination {
    margin-top: 35px;

    display: flex;

    justify-content: center;
}


.jobs-pagination nav {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;
}


.jobs-pagination a,
.jobs-pagination span {
    min-width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0 10px;

    border: 1px solid #dddddd;

    background: #ffffff;

    color: #333333;

    font-size: 9px;

    font-weight: 800;

    text-decoration: none;
}


.jobs-pagination a:hover {
    border-color: #ed0000;

    background: #ed0000;

    color: #ffffff;
}


.jobs-pagination span[aria-current="page"] {
    border-color: #ed0000;

    background: #ed0000;

    color: #ffffff;
}


/* ============================================================
   CANDIDATE CTA
   ============================================================ */

.jobs-candidate-cta {
    padding: 90px 0;

    background: #050505;

    color: #ffffff;
}


.candidate-cta-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;
}


.candidate-cta-inner > div:first-child {
    max-width: 750px;
}


.candidate-cta-inner h2 {
    margin: 12px 0 0;

    font-size: clamp(40px, 5vw, 63px);

    line-height: .92;

    letter-spacing: -.06em;

    font-weight: 900;
}


.candidate-cta-inner h2 span {
    color: #ed0000;
}


.candidate-cta-inner p {
    max-width: 650px;

    margin: 22px 0 0;

    color: #888888;

    font-size: 11px;

    line-height: 1.7;
}


.candidate-cta-actions {
    display: flex;

    flex-shrink: 0;

    flex-direction: column;

    gap: 9px;

    min-width: 210px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .jobs-hero-grid {
        grid-template-columns: 1fr 230px;

        gap: 40px;
    }


    .jobs-search {
        grid-template-columns: 1fr 1fr;
    }


    .jobs-search-button {
        width: 100%;
    }


    .job-card-body {
        grid-template-columns: 1fr 190px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 760px) {

    .jobs-container {
        width: min(100% - 28px, 600px);
    }


    /* HERO */

    .jobs-hero-grid {
        min-height: auto;

        display: block;
    }


    .jobs-hero-content {
        padding: 70px 0 115px;
    }


    .jobs-hero h1 {
        font-size: clamp(52px, 16vw, 78px);
    }


    .jobs-hero-content p {
        font-size: 12px;
    }


    .jobs-hero-side {
        display: none;
    }


    /* SEARCH */

    .jobs-search-wrapper {
        margin-top: -65px;
    }


    .jobs-search {
        grid-template-columns: 1fr;

        padding: 13px;

        gap: 12px;
    }


    .jobs-search-button {
        min-height: 50px;
    }


    /* RESULTS */

    .jobs-results {
        padding: 80px 0 70px;
    }


    .jobs-heading-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 14px;
    }


    .jobs-heading-row h2 {
        font-size: 48px;
    }


    /* JOB */

    .job-card-body {
        display: block;
    }


    .job-card-left {
        padding: 23px;
    }


    .job-card-left h3 {
        font-size: 23px;
    }


    .job-meta-grid {
        gap: 17px;
    }


    .job-meta {
        min-width: 90px;
    }


    .job-card-right {
        min-height: 145px;

        padding: 22px;

        border-left: 0;

        border-top: 1px solid #eeeeee;
    }


    .job-description {
        font-size: 9px;
    }


    .confidential-note {
        font-size: 8px;
    }


    /* EMPTY */

    .jobs-empty {
        grid-template-columns: 1fr;

        gap: 15px;

        padding: 30px 23px;
    }


    .empty-number {
        font-size: 45px;
    }


    .jobs-empty h3 {
        font-size: 28px;
    }


    /* CTA */

    .jobs-candidate-cta {
        padding: 70px 0;
    }


    .candidate-cta-inner {
        align-items: flex-start;

        flex-direction: column;

        gap: 35px;
    }


    .candidate-cta-inner h2 {
        font-size: 43px;
    }


    .candidate-cta-actions {
        width: 100%;
    }


    .candidate-cta-actions a {
        width: 100%;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .jobs-hero-content {
        padding: 60px 0 105px;
    }


    .jobs-hero h1 {
        font-size: 51px;
    }


    .jobs-heading-row h2 {
        font-size: 42px;
    }


    .job-card-top {
        padding: 0 20px;
    }


    .job-card-left {
        padding: 20px;
    }


    .job-card-right {
        padding: 20px;
    }


    .job-meta-grid {
        display: grid;

        grid-template-columns: 1fr 1fr;
    }

}