/* ==========================================================================
   Hero Section (index page) — cloned from hero.css, do not share
   ========================================================================== */
.hero {
    --hero-h: 240px;
    position: relative;
    width: 100%;
    background: #FBFBFB;
    padding-bottom: 0;
}

.hero__media {
    position: relative;
    width: 100%;
    height: var(--hero-h);
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--hero-h);
    background: linear-gradient(180deg, rgba(15, 28, 63, 0.43) 0%, rgba(13, 72, 161, 0.30) 100%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px 16px 32px;
    background-color: var(--color-primary);
}

.hero__content > .hero__intro,
.hero__content > .job-filter {
    width: 100%;
    max-width: 1216px;
}

.hero__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.hero__title {
    margin: 0;
    font-weight: 500;
    font-size: clamp(26px, 6vw, 50px);
    line-height: 1.2;
    letter-spacing: -0.034em;
    color: var(--color-white);
    text-align: center;
}

.hero__subtitle {
    margin: 0;
    font-weight: 500;
    font-size: clamp(15px, 2.2vw, 24px);
    line-height: 1.4;
    color: var(--color-white);
    text-align: center;
    opacity: 0.9;
}

/* ==========================================================================
   Job filter card
   ========================================================================== */
.job-filter {
    --filter-btn-w: 172px;
    width: 100%;
    background: rgba(251, 251, 251, 0.30);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.job-filter__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-filter__search-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}

.job-filter__search {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 12px;
    border: 1px solid var(--color-neutral-200, #e5e7eb);
    border-radius: 2px;
    background-color: var(--color-white);
}

.job-filter__search:focus-within {
    border-color: var(--color-primary);
}

.job-filter__search-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: #6b7280;
}

.job-filter__search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--font-base);
    font-weight: 500;
    font-size: 16px;
    color: #111827;
    text-overflow: ellipsis;
}

.job-filter__search-input::placeholder {
    color: #6b7280;
    text-overflow: ellipsis;
    overflow: hidden;
}

.job-filter__search-btn {
    flex: 0 0 auto;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    border: 0;
    border-radius: 2px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-base);
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    cursor: pointer;
    white-space: nowrap;
}

.job-filter__search-btn:hover {
    background-color: #0d4886;
}

.job-filter__popular {
    margin: 0;
    font-family: var(--font-base);
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: var(--color-white);
}

.job-filter__popular-label {
    color: rgba(255, 255, 255, 0.75);
}

.job-filter__popular-link {
    color: var(--color-white);
    font-weight: 600;
    text-decoration: underline;
}

.job-filter__popular-link:hover {
    color: var(--color-white);
    opacity: 0.85;
}

/* ==========================================================================
   Hero — responsive
   ========================================================================== */
@media (min-width: 576px) {
    .hero { --hero-h: 300px; }
}

@media (min-width: 768px) {
    .hero {
        --hero-h: 520px;
        padding-bottom: 0;
    }

    .hero__img {
        height: 126%;
    }

    .hero__content {
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: min(100% - 64px, 1216px);
        gap: 24px;
        padding: 0;
        background-color: transparent;
    }

    .hero__intro { gap: 16px; }

    .job-filter { padding: 24px; gap: 20px; margin-bottom: 16px; }

    .job-filter__search-btn { flex: 0 0 var(--filter-btn-w); }

    .job-filter__search-row { flex-wrap: nowrap; gap: 16px; }
}

@media (min-width: 992px) {
    .hero { --hero-h: 600px; }
}

@media (min-width: 1200px) {
    .hero { --hero-h: 660px; }
}

@media (min-width: 1400px) {
    .hero { --hero-h: 700px; }
}
