/* Careers index and job detail pages */

.careers-hero-section {
    background: var(--page-header-gradient);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.careers-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--careers-hero-bg, none) center / cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.careers-hero-content {
    position: relative;
    z-index: 1;
}

.careers-hero-section h1 {
    color: var(--text-color-alt-1);
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.careers-hero-section .lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-button {
    background: var(--brand-yellow);
    color: var(--brand-navy);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--brand-yellow);
}

.hero-cta-button:hover {
    background: transparent;
    color: var(--brand-yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249, 206, 48, 0.25);
    text-decoration: none;
}

.what-makes-different-section {
    background: var(--text-color-alt-1);
    padding: 90px 0 30px;
}

.what-makes-different-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--important-color);
    margin-bottom: 80px;
    text-align: center;
}

.value-card {
    margin-bottom: 60px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.value-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 3.5rem;
    color: var(--brand-yellow);
}

.value-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--important-color);
    margin-bottom: 15px;
}

.value-content p {
    font-size: 1.1rem;
    color: var(--text-color-muted);
    line-height: 1.8;
    margin: 0;
}

.join-us-section {
    background: linear-gradient(
        135deg,
        var(--background-color-light-gray) 0%,
        var(--background-color-light) 100%
    );
    padding: 100px 0;
    position: relative;
}

.join-us-content {
    max-width: 600px;
}

.join-us-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--important-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.join-us-section .subtitle {
    font-size: 2rem;
    color: var(--text-color-muted);
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.4;
}

.join-us-section .description {
    font-size: 1.1rem;
    color: var(--text-color-dark);
    line-height: 1.8;
    margin-bottom: 40px;
}

.join-us-cta,
.apply-button {
    background: var(--brand-blue);
    color: var(--text-color-alt-1);
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.apply-button {
    padding: 12px 30px;
    font-size: 1rem;
    margin-bottom: 30px;
}

.join-us-cta:hover,
.apply-button:hover {
    background: var(--important-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(8, 145, 222, 0.25);
    color: var(--text-color-alt-1);
    text-decoration: none;
}

.join-us-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(30, 51, 111, 0.15);
    height: 100%;
    min-height: 250px;
}

.join-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.careers-content-section {
    background: var(--text-color-alt-1);
    padding: 100px 0 80px;
}

.jobs-section-header {
    text-align: left;
    margin-bottom: 40px;
}

.jobs-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--important-color);
    margin-bottom: 10px;
}

.jobs-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.jobs-list-container {
    flex: 0 0 40%;
    max-width: 500px;
}

.job-card {
    background: var(--text-color-alt-1);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.job-card:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 4px 15px rgba(8, 145, 222, 0.12);
    text-decoration: none;
}

.job-card.active {
    border-color: var(--brand-blue);
    background: var(--background-color-light);
}

.job-card-title {
    color: var(--important-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
    text-decoration: underline;
    line-height: 1.3;
}

.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.job-detail-header {
    margin-bottom: 30px;
}

.job-detail-title i {
    font-size: 1.5rem;
}

.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.job-detail-section {
    margin-bottom: 30px;
}

.job-detail-section p {
    margin-bottom: 15px;
}

.job-detail-section ul,
.job-detail-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.job-detail-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.job-card-meta-item {
    display: flex;
    align-items: center;
    color: var(--text-color-dark);
    font-size: 0.9rem;
}

.job-card-meta-item i {
    margin-right: 6px;
    color: var(--text-color-muted);
}

.job-card-id {
    color: var(--text-color-muted);
    font-size: 0.85rem;
    margin-top: 8px;
}

.job-detail-panel {
    width: 100%;
    flex: 1;
    background: var(--text-color-alt-1);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    margin-bottom: 40px;
}

.job-detail-title {
    color: var(--important-color);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-detail-meta-item {
    display: flex;
    align-items: center;
    color: var(--text-color-dark);
    font-size: 1rem;
}

.job-detail-meta-item i {
    margin-right: 8px;
    color: var(--brand-blue);
}

.job-detail-id {
    color: var(--text-color-muted);
    font-size: 0.9rem;
}

.job-detail-content {
    color: var(--text-color-dark);
    line-height: 1.8;
}

.job-detail-section h3 {
    color: var(--important-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.job-detail-intro {
    font-size: 1.05rem;
    color: var(--text-color-dark);
    line-height: 1.8;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.no-jobs-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-color-muted);
}

.no-jobs-message i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 20px;
}

.no-jobs-message h3 {
    color: var(--text-color-dark);
    margin-bottom: 10px;
}

/* Job detail standalone page */
.careers-job-page .job-detail-header,
.careers-job-page .breadcumb-content {
    background: var(--page-header-gradient) !important;
}

.careers-job-page .job-detail-header h1,
.careers-job-page .breadcumb-content .title {
    color: var(--text-color-alt-1);
    font-weight: 700;
}

.careers-job-page .job-detail-meta-item {
    color: rgba(255, 255, 255, 0.92);
}

.careers-job-page .job-detail-content {
    background: var(--background-color-light-gray);
    padding: 60px 0;
}

.careers-job-page .job-detail-card {
    background: var(--text-color-alt-1);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 3px 15px rgba(30, 51, 111, 0.08);
}

.careers-job-page .job-detail-section h2 {
    color: var(--important-color);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.careers-job-page .job-detail-section h3 {
    color: var(--important-color);
    font-weight: 600;
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.careers-job-page .job-detail-section:last-child {
    margin-bottom: 0;
}

.careers-job-page .job-detail-header .lead {
    color: rgba(255, 255, 255, 0.92);
}

.careers-job-page .job-detail-meta {
    gap: 30px;
    margin-top: 20px;
}

.careers-job-page .job-detail-meta-item i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.careers-job-page .job-detail-section p,
.careers-job-page .job-detail-section li {
    color: var(--text-color-dark);
}

@media (max-width: 1200px) {
    .jobs-layout {
        flex-direction: column;
    }

    .jobs-list-container {
        flex: 1;
        max-width: 100%;
    }

    .job-detail-panel {
        position: relative;
        top: 0;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .careers-hero-section {
        padding: 60px 0 50px;
    }

    .careers-hero-section h1 {
        font-size: 2.5rem;
    }

    .careers-hero-section .lead {
        font-size: 1.1rem;
    }

    .what-makes-different-section .section-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .jobs-count {
        font-size: 1.3rem;
    }

    .job-card {
        padding: 15px;
    }

    .job-card-title {
        font-size: 1.1rem;
    }

    .job-detail-title {
        font-size: 1.6rem;
    }

    .value-card {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .value-content h3 {
        font-size: 1.6rem;
    }

    .join-us-section h2 {
        font-size: 2.5rem;
    }

    .join-us-section .subtitle {
        font-size: 1.5rem;
    }

    .join-us-image {
        min-height: 220px;
        margin-bottom: 40px;
    }

    .what-makes-different-section,
    .join-us-section,
    .careers-content-section {
        padding: 0;
    }

    .what-makes-different-section {
        padding-top: 40px;
    }

    .job-detail-panel {
        padding: 25px;
    }

    .careers-job-page .job-detail-header {
        padding: 40px 0;
    }

    .careers-job-page .job-detail-content {
        padding: 40px 0;
    }

    .careers-job-page .job-detail-card {
        padding: 25px;
    }

    .careers-job-page .job-detail-meta {
        flex-direction: column;
        gap: 15px;
    }

    .careers-job-page .job-detail-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .careers-hero-section h1 {
        font-size: 2rem;
    }

    .what-makes-different-section .section-title {
        font-size: 1.8rem;
    }

    .jobs-count {
        font-size: 1.1rem;
    }

    .job-card {
        padding: 12px;
    }

    .job-card-title {
        font-size: 1rem;
    }

    .job-detail-panel {
        padding: 20px;
    }

    .job-detail-title {
        font-size: 1.4rem;
    }

    .join-us-section h2 {
        font-size: 2rem;
    }
}
