.jobs-section {
    background: #f7f7f7;
    border-radius: 10px;
    overflow: hidden;
}

/* Align detail-page header paddings with other pages visual rhythm */
@media (min-width: 960px) {
    .job-detail-page header #myNav {
        padding-left: 50px;
        padding-right: 50px;
    }

    .job-detail-page header #myNav.active {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.jobs-header h2 {
    margin-top: 6px;
}

.jobs-filters {
    gap: 12px;
}

.jobs-filters .uk-select {
    min-width: 220px;
    border-radius: 10px;
    padding-left: 42px;
}

.jobs-status {
    color: #6b6b6b;
    margin-bottom: 16px;
}

.jobs-grid > div {
    display: flex;
}

.jobs-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jobs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.jobs-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.jobs-card-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.jobs-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #e8f7ef;
    color: #1a6b4b;
    border: 1px solid #c8ebda;
    white-space: nowrap;
}

.jobs-meta {
    display: grid;
    gap: 6px;
    color: #5f6b72;
    font-size: 0.95rem;
}

.jobs-meta .uk-icon {
    margin-right: 6px;
    color: #9b8b72;
}

.jobs-empty {
    text-align: center;
    color: #6b6b6b;
    padding: 24px 0;
}

.jobs-load-more {
    min-width: 220px;
}

.jobs-load-more p {
    margin: 0;
}

.jobs-load-more .br {
    display: inline-block;
}

.job-hero {
    position: relative;
    padding: 160px 0 90px;
    color: #ffffff;
    overflow: hidden;
    background: #263741;
}

.job-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/bg-trabalhe.webp") center/cover no-repeat;
    opacity: 0.34;
}

.job-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(10, 16, 20, 0.62) 10%,
        rgba(10, 16, 20, 0.45) 58%,
        rgba(10, 16, 20, 0.28) 100%
    );
}

.job-hero .uk-container {
    position: relative;
    z-index: 1;
}

.job-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.job-badge-primary {
    border-color: rgba(230, 198, 145, 0.5);
    color: #f2d8a6;
    background: rgba(230, 198, 145, 0.15);
}

.job-badge-new {
    border-color: rgba(52, 211, 153, 0.5);
    color: #9ef2c6;
    background: rgba(52, 211, 153, 0.2);
}

.job-hero-title {
    font-size: clamp(1.45rem, 1.8vw, 2.3rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
    line-height: 1.18;
    letter-spacing: 0;
    margin: 0 0 16px;
}

#job-description {
    color: #5f6b72;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}

.job-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.job-hero-meta .uk-icon {
    margin-right: 6px;
    color: #f2d8a6;
}

.job-summary {
    margin-top: 20px;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.8);
}

.job-hero-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.job-share-button {
    min-width: 220px;
}

.job-share-button p {
    margin: 0;
}

.job-share-feedback {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
}

.job-share-feedback.is-success {
    color: #d3f2e4;
}

.job-share-feedback.is-error {
    color: #ffdcd8;
}

.job-body {
    background: #f7f7f7;
}

.job-back-wrap {
    margin-bottom: 12px;
}

.job-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6d5b43;
    border: 1px solid rgba(109, 91, 67, 0.38);
    border-radius: 10px;
    padding: 8px 14px;
    transition: all 0.2s ease;
}

.job-back-link:hover {
    color: #ffffff;
    background: #af9675;
    border-color: #af9675;
}

.job-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 32px 0 16px;
}

.job-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    color: #5f6b72;
}

.job-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.job-list li::before {
    content: "•";
    color: #b99d6b;
    font-weight: 700;
    margin-top: 2px;
}

.job-form-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 4px solid #b99d6b;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.job-form-card h3 {
    margin-top: 0;
}

.job-form-card .uk-input,
.job-form-card .uk-select,
.job-form-card .uk-textarea {
    border-radius: 10px;
}

.job-form-card .uk-input.is-invalid,
.job-form-card .uk-input[aria-invalid="true"] {
    border-color: #b42318;
    box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.14);
}

.job-form-upload {
    border: 1px dashed rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    background: #f6f6f6;
}

.job-form-feedback {
    margin-top: 16px;
    font-size: 0.9rem;
}

.job-form-feedback.is-success {
    color: #1a6b4b;
}

.job-form-feedback.is-error {
    color: #b42318;
}

.job-status {
    color: #b42318;
    margin-bottom: 16px;
}

@media (max-width: 960px) {
    .jobs-filters {
        width: 100%;
    }

    .jobs-filters .uk-select {
        min-width: 100%;
    }

    .job-hero {
        padding-top: 140px;
    }
}

@media (max-width: 640px) {
    .jobs-card {
        padding: 22px;
    }

    .job-hero-meta {
        gap: 12px;
    }

    .job-hero-actions {
        align-items: flex-start;
    }

    .job-share-button {
        min-width: 0;
        width: 100%;
        max-width: 300px;
    }
}
