.careers-body {
    background: #f7f8fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#recruitment {
    scroll-margin-top: 90px;
}

.careers-body .careers-header,
.careers-body .careers-footer {
    flex: 0 0 auto;
}

.careers-body .careers-content {
    flex: 1 0 auto;
}

.careers-body .careers-footer {
    margin-top: auto;
}

.careers-page {
    background: #f7f8fa;
    min-height: 100%;
}

.careers-hero {
    background:
        linear-gradient(115deg, rgba(16, 24, 39, 0.94), rgba(120, 24, 22, 0.86)),
        url("../images/main.jpg") center/cover no-repeat;
    color: #ffffff;
    min-height: 430px;
    display: flex;
    align-items: center;
    padding: 82px 0 74px;
    position: relative;
}

.careers-hero::after {
    background: linear-gradient(180deg, rgba(247, 248, 250, 0), #f7f8fa);
    bottom: 0;
    content: "";
    height: 70px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.careers-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 32px;
    align-items: end;
}

.careers-kicker {
    display: inline-flex;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.38);
    padding: 7px 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.recruitment-heading {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.08;
    max-width: 760px;
    margin-bottom: 18px;
}

.careers-hero .lead {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
}

.recruitment-points {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.recruitment-points div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.recruitment-points i {
    color: #ffffff;
    background: #dd2925;
    border-radius: 50%;
    display: grid;
    height: 34px;
    place-items: center;
    width: 34px;
}

.careers-hero-panel {
    display: grid;
    gap: 14px;
}

.careers-hero-panel div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 18px;
    backdrop-filter: blur(8px);
}

.careers-hero-panel span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.careers-hero-panel strong {
    display: block;
    font-size: 30px;
    margin-top: 6px;
}

.careers-main {
    padding-bottom: 54px;
    padding-top: 34px;
    position: relative;
    z-index: 1;
}

.open-jobs-list {
    display: grid;
    gap: 14px;
}

.open-jobs-list > .h4 {
    font-weight: 800;
    margin-bottom: 2px;
}

.open-job-item,
.careers-empty-state,
.recruitment-form-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.open-job-item {
    padding: 18px;
}

.open-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: #5f6673;
    font-size: 14px;
    margin-bottom: 12px;
}

.open-job-meta span {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.open-job-meta i {
    color: #dd2925;
}

.open-job-item p {
    margin-bottom: 10px;
}

.open-job-item summary {
    color: #b91f1b;
    cursor: pointer;
    font-weight: 700;
}

.careers-empty-state {
    padding: 34px 28px;
    text-align: center;
}

.careers-empty-state i {
    color: #dd2925;
    font-size: 34px;
    margin-bottom: 14px;
}

.recruitment-form-panel {
    border-top: 4px solid #dd2925;
    padding: 28px;
    position: sticky;
    top: 92px;
}

.recruitment-form-panel > .h4 {
    font-weight: 800;
}

.recruitment-language-note {
    align-items: center;
    display: flex;
    gap: 10px;
}

.recruitment-language-note i {
    color: #0b5ed7;
    font-size: 20px;
}

.required-fields-note {
    color: #5f6673;
    font-size: 14px;
    margin-bottom: 16px;
}

.required-star {
    color: #dd2925;
    font-weight: 800;
}

.recruitment-form-panel .form-label {
    font-weight: 700;
}

.recruitment-form-panel .form-control,
.recruitment-form-panel .form-select {
    border-radius: 6px;
}

.careers-form-empty {
    background: linear-gradient(135deg, #fff8f8, #ffffff);
    border: 1px dashed rgba(221, 41, 37, 0.34);
    border-radius: 8px;
    color: #4b5563;
    padding: 28px;
    text-align: center;
}

.careers-form-empty i {
    align-items: center;
    background: #dd2925;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    margin-bottom: 14px;
    width: 42px;
}

.careers-form-empty .h5 {
    color: #1f2937;
    font-weight: 800;
    margin-bottom: 8px;
}

.career-website-field {
    height: 0 !important;
    left: -9999px !important;
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
}

@media (max-width: 992px) {
    .careers-hero-grid {
        grid-template-columns: 1fr;
    }

    .careers-hero-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .careers-hero {
        min-height: auto;
        padding: 50px 0;
    }

    .recruitment-heading {
        font-size: 36px;
    }

    .careers-hero-panel {
        grid-template-columns: 1fr;
    }

    .recruitment-form-panel {
        padding: 18px;
        position: static;
    }
}
