/* ============================================================
   ARREU LABORAL
   JOB DETAIL PAGE
   ============================================================ */


/* ============================================================
   CONTAINER
   ============================================================ */

.job-detail-container {
    width: min(1240px, calc(100% - 40px));

    margin: 0 auto;
}


/* ============================================================
   HERO
   ============================================================ */

.job-detail-hero {
    position: relative;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(237, 0, 0, .12),
            transparent 30%
        ),
        #050505;
}


.job-detail-hero::after {
    content: "";

    position: absolute;

    right: -200px;
    bottom: -330px;

    width: 700px;
    height: 700px;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 50%;
}


.back-to-jobs {
    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding-top: 27px;

    color: #aaaaaa;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    transition: color .2s ease;
}


.back-to-jobs:hover {
    color: #ffffff;
}


.back-to-jobs span {
    color: #ed0000;

    font-size: 17px;
}


.job-detail-hero-grid {
    min-height: 450px;

    display: grid;

    grid-template-columns: 1fr 280px;

    align-items: center;

    gap: 80px;

    padding: 55px 0 75px;
}


.job-detail-hero-main {
    position: relative;

    z-index: 2;
}


.job-detail-label {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #ffffff;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .15em;
}


.job-detail-label span {
    width: 6px;
    height: 6px;

    background: #ed0000;
}


.job-detail-type {
    display: inline-flex;

    margin-top: 22px;

    padding: 6px 10px;

    border: 1px solid rgba(237,0,0,.45);

    color: #ed0000;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.job-detail-hero h1 {
    max-width: 900px;

    margin: 18px 0 0;

    color: #ffffff;

    font-size: clamp(48px, 6vw, 78px);

    line-height: .92;

    letter-spacing: -.06em;

    font-weight: 900;
}


.job-hero-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 27px;
}


.job-hero-meta span {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 9px 12px;

    border: 1px solid rgba(255,255,255,.12);

    color: #aaaaaa;

    background: rgba(255,255,255,.03);

    font-size: 9px;

    font-weight: 700;
}


.job-hero-meta b {
    color: #ed0000;

    font-size: 12px;
}


/* ============================================================
   HERO SIDE CARD
   ============================================================ */

.job-detail-hero-card {
    position: relative;

    z-index: 2;

    min-height: 290px;

    padding: 24px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    border: 1px solid rgba(255,255,255,.12);

    background: rgba(255,255,255,.025);
}


.hero-card-number {
    color: #ed0000;

    font-size: 10px;

    font-weight: 900;
}


.hero-card-line {
    width: 100%;

    height: 1px;

    background: rgba(255,255,255,.10);
}


.hero-card-title {
    color: #ffffff;

    font-size: 26px;

    line-height: .95;

    letter-spacing: -.04em;

    font-weight: 900;
}


.hero-card-title span {
    color: #ed0000;
}


.hero-card-brand {
    color: #777777;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .14em;

    text-align: right;
}


/* ============================================================
   MAIN CONTENT
   ============================================================ */

.job-detail-content {
    padding: 95px 0 100px;

    background: #f5f5f5;
}


.job-detail-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 310px;

    gap: 60px;

    align-items: start;
}


.job-detail-main {
    min-width: 0;
}


.job-section {
    padding: 0 0 65px;

    margin-bottom: 65px;

    border-bottom: 1px solid #dddddd;
}


.job-section:last-child {
    margin-bottom: 0;

    border-bottom: 0;
}


.job-section-label {
    color: #ed0000;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .15em;
}


.job-section h2 {
    margin: 11px 0 30px;

    color: #111111;

    font-size: clamp(34px, 4vw, 52px);

    line-height: .95;

    letter-spacing: -.055em;

    font-weight: 900;
}


.job-section h2 span {
    color: #ed0000;
}


/* ============================================================
   OVERVIEW
   ============================================================ */

.job-overview-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #dddddd;

    border-left: 1px solid #dddddd;
}


.overview-item {
    min-height: 105px;

    padding: 20px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 8px;

    background: #ffffff;

    border-right: 1px solid #dddddd;

    border-bottom: 1px solid #dddddd;
}


.overview-item span {
    color: #999999;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: .12em;
}


.overview-item strong {
    color: #222222;

    font-size: 12px;

    line-height: 1.35;

    font-weight: 900;
}


/* ============================================================
   RICH CONTENT
   ============================================================ */

.job-rich-content {
    max-width: 850px;

    color: #555555;

    font-size: 12px;

    line-height: 1.85;
}


.job-rich-content p {
    margin: 0 0 18px;
}


.job-rich-content p:last-child {
    margin-bottom: 0;
}


.job-rich-content ul,
.job-rich-content ol {
    margin: 0 0 20px;

    padding-left: 22px;
}


.job-rich-content li {
    margin-bottom: 8px;
}


.job-rich-content strong {
    color: #222222;
}


/* ============================================================
   BENEFITS
   ============================================================ */

.benefits-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.benefit-card {
    padding: 22px;

    display: flex;

    align-items: flex-start;

    gap: 15px;

    background: #ffffff;

    border: 1px solid #dddddd;
}


.benefit-icon {
    width: 35px;
    height: 35px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff0f0;

    color: #ed0000;

    font-size: 13px;

    font-weight: 900;
}


.benefit-card strong {
    display: block;

    color: #111111;

    font-size: 12px;

    font-weight: 900;
}


.benefit-card p {
    margin: 7px 0 0;

    color: #777777;

    font-size: 9px;

    line-height: 1.6;
}


/* ============================================================
   APPLICATION
   ============================================================ */

.application-section {
    padding: 45px;

    background: #ffffff;

    border: 1px solid #dddddd;
}


.application-intro {
    max-width: 700px;

    margin: 0 0 25px;

    color: #666666;

    font-size: 11px;

    line-height: 1.8;
}


.apply-button {
    min-height: 53px;

    width: 190px;

    padding: 0 17px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #ed0000;

    color: #ffffff;

    text-decoration: none;

    font-size: 10px;

    font-weight: 900;

    transition:
        background .2s ease,
        transform .2s ease;
}


.apply-button:hover {
    background: #c90000;

    transform: translateY(-2px);
}


.apply-button strong {
    font-size: 19px;
}


.confidential-job-notice {
    max-width: 700px;

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #eeeeee;
}


.confidential-job-notice > span {
    color: #ed0000;

    font-size: 13px;

    font-weight: 900;
}


.confidential-job-notice p {
    margin: 0;

    color: #888888;

    font-size: 8px;

    line-height: 1.6;
}


.confidential-job-notice strong {
    color: #333333;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.job-detail-sidebar {
    position: sticky;

    top: 30px;
}


.apply-sidebar-card {
    padding: 27px;

    color: #ffffff;

    background: #050505;
}


.sidebar-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 17px;

    border-bottom: 1px solid rgba(255,255,255,.12);
}


.sidebar-card-top span {
    color: #999999;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: .12em;
}


.sidebar-card-top strong {
    color: #ed0000;

    font-size: 9px;
}


.apply-sidebar-card h3 {
    margin: 35px 0 0;

    font-size: 35px;

    line-height: .95;

    letter-spacing: -.045em;

    font-weight: 900;
}


.apply-sidebar-card h3 span {
    color: #ed0000;
}


.apply-sidebar-card > p {
    margin: 17px 0 23px;

    color: #999999;

    font-size: 9px;

    line-height: 1.7;
}


.sidebar-apply-button {
    min-height: 48px;

    padding: 0 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #ed0000;

    color: #ffffff;

    text-decoration: none;

    font-size: 9px;

    font-weight: 900;
}


.sidebar-apply-button:hover {
    background: #c90000;
}


.sidebar-apply-button span {
    font-size: 17px;
}


.sidebar-cv-button {
    min-height: 46px;

    margin-top: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #555555;

    color: #ffffff;

    text-decoration: none;

    font-size: 9px;

    font-weight: 900;
}


.sidebar-cv-button:hover {
    border-color: #ffffff;

    background: #ffffff;

    color: #111111;
}


/* ============================================================
   QUICK DETAILS
   ============================================================ */

.quick-details-card {
    margin-top: 12px;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #dddddd;
}


.sidebar-label {
    padding-bottom: 16px;

    border-bottom: 1px solid #eeeeee;

    color: #ed0000;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .13em;
}


.quick-detail {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #eeeeee;
}


.quick-detail:last-child {
    border-bottom: 0;

    padding-bottom: 0;
}


.quick-detail span {
    color: #999999;

    font-size: 8px;
}


.quick-detail strong {
    color: #222222;

    font-size: 9px;

    font-weight: 900;

    text-align: right;
}


/* ============================================================
   CONFIDENTIAL SIDEBAR
   ============================================================ */

.confidential-sidebar {
    margin-top: 12px;

    padding: 20px;

    display: flex;

    align-items: flex-start;

    gap: 12px;

    background: #fff;

    border: 1px solid #dddddd;
}


.confidential-sidebar-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ed0000;

    background: #fff0f0;

    font-size: 12px;

    font-weight: 900;
}


.confidential-sidebar strong {
    display: block;

    color: #222222;

    font-size: 10px;

    font-weight: 900;
}


.confidential-sidebar p {
    margin: 6px 0 0;

    color: #888888;

    font-size: 8px;

    line-height: 1.55;
}


/* ============================================================
   BOTTOM CTA
   ============================================================ */

.job-bottom-cta {
    padding: 75px 0;

    color: #ffffff;

    background: #050505;
}


.job-bottom-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


.job-bottom-label {
    color: #ed0000;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .15em;
}


.job-bottom-inner h2 {
    max-width: 700px;

    margin: 12px 0 0;

    font-size: clamp(35px, 5vw, 58px);

    line-height: .93;

    letter-spacing: -.06em;

    font-weight: 900;
}


.job-bottom-inner h2 span {
    color: #ed0000;
}


.job-bottom-actions {
    min-width: 210px;

    display: flex;

    flex-direction: column;

    gap: 9px;
}


.bottom-red-button,
.bottom-white-button {
    min-height: 47px;

    padding: 0 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    text-decoration: none;

    font-size: 9px;

    font-weight: 900;
}


.bottom-red-button {
    background: #ed0000;

    color: #ffffff;
}


.bottom-red-button:hover {
    background: #c90000;
}


.bottom-white-button {
    border: 1px solid #555555;

    color: #ffffff;
}


.bottom-white-button:hover {
    border-color: #ffffff;

    background: #ffffff;

    color: #111111;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1000px) {

    .job-detail-hero-grid {
        grid-template-columns: 1fr 230px;

        gap: 40px;
    }


    .job-detail-layout {
        grid-template-columns: 1fr 270px;

        gap: 35px;
    }


    .job-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 760px) {

    .job-detail-container {
        width: min(100% - 28px, 600px);
    }


    /* HERO */

    .job-detail-hero-grid {
        min-height: auto;

        display: block;

        padding: 45px 0 80px;
    }


    .job-detail-hero-card {
        display: none;
    }


    .job-detail-hero h1 {
        font-size: 48px;
    }


    .job-hero-meta {
        flex-direction: column;

        align-items: flex-start;
    }


    /* CONTENT */

    .job-detail-content {
        padding: 65px 0;
    }


    .job-detail-layout {
        display: block;
    }


    .job-detail-sidebar {
        position: static;

        margin-top: 50px;
    }


    .job-section {
        padding-bottom: 45px;

        margin-bottom: 45px;
    }


    .job-section h2 {
        font-size: 38px;
    }


    /* OVERVIEW */

    .job-overview-grid {
        grid-template-columns: 1fr;
    }


    /* BENEFITS */

    .benefits-grid {
        grid-template-columns: 1fr;
    }


    /* APPLICATION */

    .application-section {
        padding: 25px;
    }


    .apply-button {
        width: 100%;
    }


    /* CTA */

    .job-bottom-inner {
        align-items: flex-start;

        flex-direction: column;
    }


    .job-bottom-actions {
        width: 100%;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .job-detail-hero h1 {
        font-size: 43px;
    }


    .job-detail-content {
        padding-top: 55px;
    }


    .job-section h2 {
        font-size: 34px;
    }


    .job-rich-content {
        font-size: 11px;
    }


    .job-bottom-inner h2 {
        font-size: 40px;
    }

}