﻿.hr-jobs-page {
    --hr-max: min(1680px, 100%);
    --hr-gutter: clamp(20px, 4vw, 80px);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
    color: var(--rm-color-text);
    background: var(--rm-color-neutral-0);
}

.hr-container {
    width: 100%;
    max-width: var(--hr-max);
    margin: 0 auto;
    padding-left: var(--hr-gutter);
    padding-right: var(--hr-gutter);
    box-sizing: border-box;
}

/* Override Bootstrap link blue */
.hr-jobs-page a:not(.hr-btn):not(.hr-subnav a):not(.hr-jobs-table__title):not(.hr-jobs-table__link):hover,
.hr-jobs-page a:not(.hr-btn):not(.hr-subnav a):not(.hr-jobs-table__title):not(.hr-jobs-table__link):focus {
    color: var(--hr-brand);
}

.hr-jobs-page a.hr-btn--light:hover,
.hr-jobs-page a.hr-btn--light:focus,
.hr-jobs-page a.hr-btn--light:visited {
    color: var(--hr-brand);
}

.hr-jobs-page a.hr-btn--outline:hover,
.hr-jobs-page a.hr-btn--outline:focus,
.hr-jobs-page a.hr-btn--outline:visited {
    color: #fff;
}

/* ── Hero (compact) ──────────────────────────── */
.hr-jobs-hero {
    position: relative;
    padding: clamp(48px, 6vw, 72px) 0;
    overflow: hidden;
}

.hr-jobs-hero--compact {
    padding: clamp(40px, 5vw, 56px) 0;
}

.hr-jobs-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 80% at 10% 50%, rgba(0,168,138,0.22), transparent 60%),
        linear-gradient(135deg, #003830 0%, #004d41 45%, #006b59 100%);
}

.hr-jobs-hero__inner {
    position: relative;
    z-index: 1;
}

.hr-jobs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

.hr-jobs-breadcrumb a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
}

.hr-jobs-breadcrumb a:hover {
    color: var(--hr-brand-bright);
}

.hr-jobs-hero__title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

.hr-jobs-hero__lead {
    margin: 0;
    max-width: 640px;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
}

/* ── Meta ───────────────────────────────────── */
.hr-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.hr-job-meta li {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.hr-job-meta__label {
    margin-right: 8px;
    color: var(--hr-brand-bright);
    font-weight: 600;
}

/* ── Section title ──────────────────────────── */
.hr-jobs-section-title {
    margin: 0 0 clamp(28px, 3vw, 36px);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--hr-text);
}

/* ── Filter selects (list page) ─────────────── */
.hr-jobs-page .hr-jobs-filter select {
    appearance: menulist;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 12px 14px !important;
}

.hr-jobs-page .hr-jobs-filter .nice-select {
    display: none !important;
}

/* ── Detail ─────────────────────────────────── */
.hr-job-detail {
    padding: clamp(48px, 6vw, 80px) 0;
    background: linear-gradient(180deg, #fff 0%, var(--hr-brand-muted) 100%);
}

.hr-job-detail__content {
    padding: clamp(28px, 3vw, 36px);
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0,133,111,0.1);
    box-shadow: 0 4px 24px rgba(0,77,65,0.05);
}

.hr-job-detail__content--full {
    width: 100%;
}

.hr-job-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--hr-text-muted);
}

.hr-job-body p {
    margin: 0 0 12px;
}

.hr-job-body p:last-child {
    margin-bottom: 0;
}

/* ── Actions / Apply button ─────────────────── */
.hr-job-detail__actions {
    display: flex;
    justify-content: flex-start;
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: clamp(36px, 4.5vw, 48px);
    border-top: 1px solid rgba(0,133,111,0.12);
}
.hr-btn{
    padding: 8px;
    border-radius: 4px;
}
.hr-btn--brand {
    color: #fff;
    background: linear-gradient(135deg, var(--hr-brand), var(--hr-brand-light));
    box-shadow: 0 8px 24px rgba(0,133,111,0.25);
}

.hr-btn--brand:hover,
.hr-btn--brand:focus,
.hr-btn--brand:visited {
    color: #fff;
    background: linear-gradient(135deg, var(--hr-brand-light), var(--hr-brand));
}

.hr-btn--brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,133,111,0.32);
}

.hr-job-detail__apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0.95rem 2.25rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0,133,111,0.22);
}

/* ── Contact ────────────────────────────────── */
.hr-jobs-contact {
    padding: clamp(48px, 6vw, 64px) 0;
    background: linear-gradient(135deg, var(--hr-brand-dark) 0%, var(--hr-brand) 100%);
}

.hr-jobs-contact__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hr-jobs-contact__title {
    margin: 0 0 8px;
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #fff;
}

.hr-jobs-contact__dept {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.72);
}

.hr-jobs-contact__channels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hr-jobs-contact__item {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hr-brand-bright);
    text-decoration: none;
}

.hr-jobs-contact__item:hover,
.hr-jobs-contact__item:focus,
.hr-jobs-contact__item:visited {
    color: #fff;
    text-decoration: none;
}

/* ── Table (list page) ──────────────────────── */

/* ── Responsive ─────────────────────────────── */
@media (min-width: 768px) {
    .hr-jobs-contact__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hr-btn--brand:hover {
        transform: none;
    }
}
