/* ============================================
   CAREERS PAGE STYLES
   ============================================ */

/* Careers Hero Section */
.careers-hero {
    position: relative;
    width: 100%;
    min-height: 900px;
    background: var(--color-black);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.careers-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.careers-hero-image-container {
    position: relative;
    width: 100%;
    max-width: 1800px;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    right: 80px;
    width: 600px;
    height: auto;
    object-fit: contain;
    opacity: 0.5;
}

.careers-hero-content {
    position: relative;
    width: 100%;
    max-width: 1800px;
    padding: 0 80px;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.careers-hero-title {
    font-family: var(--font-hero);
    font-size: 56px;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    background: linear-gradient(176.067deg, #FF9800 0%, #DCCD00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.careers-hero-description {
    font-family: var(--font-body);
    font-size: 22px;
    color: var(--color-white);
    line-height: 1.4;
    margin: 0;
    max-width: 700px;
}

.btn-careers-primary {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-white);
    background: rgba(255, 152, 0, 0.1);
    border: 2px solid rgba(255, 152, 0, 0.2);
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
    position: relative;
}

.btn-careers-primary:hover {
    background: rgba(255, 152, 0, 0.2);
    border-color: rgba(255, 152, 0, 0.2);
}

.btn-careers-primary .btn-corner {
    border-color: var(--color-orange);
}

.btn-careers-primary:hover .btn-corner {
    width: 16px;
    height: 16px;
}

.careers-hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(0deg, var(--color-black) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Job Openings Section */
.job-openings {
    position: relative;
    width: 100%;
    background: var(--color-darker-grey);
    padding: 123px 0 80px;
}

.job-openings-header {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 80px;
    margin-bottom: 32px;
}

.job-openings-title {
    font-family: var(--font-hero);
    font-size: 40px;
    line-height: 1;
    font-weight: 400;
    color: var(--color-white);
    margin: 0;
}

.job-openings-content {
    position: relative;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 80px;
}

.job-openings-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.job-card {
    position: relative;
    width: 100%;
    min-height: 119px;
    padding: 16px;
    border: 2px solid rgba(80, 80, 80, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.job-card-red,
.job-card-green,
.job-card-blue,
.job-card-violet {
    background: rgba(80, 80, 80, 0.1);
}

.job-card:hover {
    background: rgba(80, 80, 80, 0.2);
    border-color: rgba(80, 80, 80, 0.4);
}

/* Expand job card corners on hover */
.job-card:hover .job-corner {
    width: 16px;
    height: 16px;
}

/* Expand button corners when hovering over card */
.job-card:hover .job-card-btn .btn-corner {
    width: 16px;
    height: 16px;
}

/* Job Card Corners */
.job-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    transition: all 0.3s;
}

.job-corner-tl {
    top: -2px;
    left: -2px;
}

.job-corner-tr {
    top: -2px;
    right: -2px;
}

.job-corner-bl {
    bottom: -2px;
    left: -2px;
}

.job-corner-br {
    bottom: -2px;
    right: -2px;
}

/* All corners are 100% grey */
.job-corner-tl {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
}

.job-corner-tr {
    border-top: 2px solid #808080;
    border-right: 2px solid #808080;
}

.job-corner-bl {
    border-bottom: 2px solid #808080;
    border-left: 2px solid #808080;
}

.job-corner-br {
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
}

.job-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    max-width: 75%;
}

.job-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
}

.gradient-red-orange {
    background: linear-gradient(175.344deg, #CD0000 0%, #FF9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-green-teal {
    background: linear-gradient(175.344deg, #0EDA65 0%, #00CB9E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-cyan-blue {
    background: linear-gradient(175.344deg, #00B5DD 0%, #405DFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-violet-magenta {
    background: linear-gradient(175.344deg, #9200FF 0%, #D300C2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.job-card-description {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-lighter-grey);
    line-height: 1.4;
    margin: 0;
}

.job-card-btn {
    position: relative;
    padding: 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-white);
    background: rgba(255, 152, 0, 0.1);
    border: 2px solid rgba(255, 152, 0, 0.2);
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.3s;
    align-self: center;
    white-space: nowrap;
}

/* Red/Orange button */
.btn-red-orange {
    background: linear-gradient(159.734deg, rgba(205, 0, 0, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border: 2px solid rgba(205, 0, 0, 0.2);
}

.btn-red-orange:hover,
.job-card:hover .btn-red-orange {
    background: linear-gradient(159.734deg, rgba(205, 0, 0, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%);
    border: 2px solid rgba(205, 0, 0, 0.2);
}

.btn-red-orange .btn-corner {
    border-color: #CD0000;
}

.btn-red-orange:hover .btn-corner {
    width: 16px;
    height: 16px;
}

/* Green/Teal button */
.btn-green-teal {
    background: linear-gradient(159.734deg, rgba(14, 218, 101, 0.1) 0%, rgba(0, 203, 158, 0.1) 100%);
    border: 2px solid rgba(14, 218, 101, 0.2);
}

.btn-green-teal:hover,
.job-card:hover .btn-green-teal {
    background: linear-gradient(159.734deg, rgba(14, 218, 101, 0.2) 0%, rgba(0, 203, 158, 0.2) 100%);
    border: 2px solid rgba(14, 218, 101, 0.2);
}

.btn-green-teal .btn-corner {
    border-color: #0EDA65;
}

.btn-green-teal:hover .btn-corner {
    width: 16px;
    height: 16px;
}

/* Cyan/Blue button */
.btn-cyan-blue {
    background: linear-gradient(159.734deg, rgba(0, 181, 221, 0.1) 0%, rgba(64, 93, 255, 0.1) 100%);
    border: 2px solid rgba(0, 181, 221, 0.2);
}

.btn-cyan-blue:hover,
.job-card:hover .btn-cyan-blue {
    background: linear-gradient(159.734deg, rgba(0, 181, 221, 0.2) 0%, rgba(64, 93, 255, 0.2) 100%);
    border: 2px solid rgba(0, 181, 221, 0.2);
}

.btn-cyan-blue .btn-corner {
    border-color: #00B5DD;
}

.btn-cyan-blue:hover .btn-corner {
    width: 16px;
    height: 16px;
}

/* Violet/Magenta button */
.btn-violet-magenta {
    background: linear-gradient(159.734deg, rgba(146, 0, 255, 0.1) 0%, rgba(211, 0, 194, 0.1) 100%);
    border: 2px solid rgba(146, 0, 255, 0.2);
}

.btn-violet-magenta:hover,
.job-card:hover .btn-violet-magenta {
    background: linear-gradient(159.734deg, rgba(146, 0, 255, 0.2) 0%, rgba(211, 0, 194, 0.2) 100%);
    border: 2px solid rgba(146, 0, 255, 0.2);
}

.btn-violet-magenta .btn-corner {
    border-color: #9200FF;
}

.btn-violet-magenta:hover .btn-corner {
    width: 16px;
    height: 16px;
}

/* Button Corners Base */
.btn-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    transition: all 0.3s;
}

.btn-corner-tl {
    top: -2px;
    left: -2px;
}

.btn-corner-tr {
    top: -2px;
    right: -2px;
}

.btn-corner-bl {
    bottom: -2px;
    left: -2px;
}

.btn-corner-br {
    bottom: -2px;
    right: -2px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS - CAREERS PAGE
   ============================================ */

/* 1440px Breakpoint */
@media (max-width: 1440px) {
    .careers-hero-content {
        padding: 0 80px;
    }

    .job-openings-header {
        padding: 0 80px;
    }

    .job-openings-content {
        padding: 0 80px;
    }
}

/* 1024px Breakpoint */
@media (max-width: 1024px) {
    .careers-hero {
        min-height: 700px;
    }

    .careers-hero-content {
        padding: 0 40px;
    }

    .careers-hero-title {
        font-size: 44px;
    }

    .careers-hero-description {
        font-size: 18px;
        max-width: 600px;
    }

    .hero-bg-image {
        right: 40px;
        width: 500px;
    }

    .job-openings-header {
        padding: 0 40px;
    }

    .job-openings-content {
        padding: 0 40px;
    }

    .job-openings-title {
        font-size: 36px;
    }

    .job-card-title {
        font-size: 20px;
    }

    .job-card-description {
        font-size: 14px;
    }
}

/* 768px Breakpoint */
@media (max-width: 768px) {
    .careers-hero {
        min-height: 600px;
    }

    .careers-hero-content {
        padding: 0 20px;
    }

    .careers-hero-title {
        font-size: 36px;
    }

    .careers-hero-description {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-bg-image {
        right: 20px;
        width: 300px;
        opacity: 0.3;
    }

    .job-openings {
        padding: 60px 0;
    }

    .job-openings-header {
        padding: 0 20px;
        margin-bottom: 24px;
    }

    .job-openings-content {
        padding: 0 20px;
    }

    .job-openings-title {
        font-size: 32px;
    }

    .job-openings-grid {
        gap: 24px;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        min-height: auto;
        padding: 20px;
    }

    .job-card-content {
        max-width: 100%;
    }

    .job-card-title {
        font-size: 18px;
    }

    .job-card-description {
        font-size: 13px;
    }

    .job-card-btn {
        width: 100%;
        text-align: center;
    }
}

/* 480px Breakpoint */
@media (max-width: 480px) {
    .careers-hero {
        min-height: 500px;
    }

    .careers-hero-content {
        padding: 0 20px;
    }

    .careers-hero-title {
        font-size: 28px;
    }

    .careers-hero-description {
        font-size: 14px;
    }

    .hero-bg-image {
        right: 20px;
        width: 250px;
        opacity: 0.25;
    }

    .btn-careers-primary {
        font-size: 12px;
        padding: 14px 24px;
    }

    .job-openings {
        padding: 40px 0;
    }

    .job-openings-header {
        padding: 0 20px;
    }

    .job-openings-content {
        padding: 0 20px;
    }

    .job-openings-title {
        font-size: 28px;
    }

    .job-card {
        padding: 16px;
    }

    .job-card-title {
        font-size: 16px;
    }

    .job-card-description {
        font-size: 12px;
    }

    .job-card-btn {
        font-size: 12px;
        padding: 12px;
    }
}