/* Future Hiring — Coderbyte-inspired marketing theme (solid colors, no gradients) */
:root {
    --cb-brand: #2563eb;
    --cb-brand-dark: #1d4ed8;
    --cb-brand-soft: #eff6ff;
    --cb-ink: #0f172a;
    --cb-muted: #64748b;
    --cb-border: #e2e8f0;
    --cb-bg: #ffffff;
    --cb-bg-soft: #f8fafc;
    --cb-dark: #111827;
    --cb-radius: 12px;
    --cb-radius-pill: 999px;
    --cb-header: 72px;
    --cb-font: "Inter", system-ui, sans-serif;
    --cb-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cb-site {
    margin: 0;
    font-family: var(--cb-font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--cb-ink);
    background: var(--cb-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.cb-container { max-width: var(--cb-container); margin: 0 auto; padding: 0 24px; }

/* Header */
.cb-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--cb-header);
    background: var(--cb-bg);
    border-bottom: 1px solid var(--cb-border);
}
.cb-header.is-scrolled { box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06); }
.cb-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}
.cb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--cb-ink);
    font-weight: 700;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.cb-logo__icon { color: var(--cb-brand); display: flex; }
.cb-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
}
.cb-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--cb-ink);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    border-radius: 8px;
}
.cb-nav__link:hover { background: var(--cb-bg-soft); }
.cb-nav__item { position: relative; }
.cb-nav__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    padding: 8px;
    background: var(--cb-bg);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: 0.2s ease;
}
.cb-nav__item--dropdown:hover .cb-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.cb-nav__dropdown a {
    display: block;
    padding: 10px 12px;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 8px;
    color: var(--cb-ink);
}
.cb-nav__dropdown a:hover { background: var(--cb-bg-soft); color: var(--cb-brand); }
.cb-header__actions { display: flex; align-items: center; gap: 10px; }
.cb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--cb-radius-pill);
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cb-btn--dark { background: var(--cb-dark); color: #fff; }
.cb-btn--dark:hover { background: #000; color: #fff; }
.cb-btn--outline { border-color: var(--cb-border); color: var(--cb-ink); background: #fff; }
.cb-btn--outline:hover { border-color: var(--cb-ink); }
.cb-btn--text { background: transparent; color: var(--cb-ink); padding: 10px 14px; }
.cb-btn--text:hover { color: var(--cb-brand); }
.cb-btn--brand { background: var(--cb-brand); color: #fff; }
.cb-btn--brand:hover { background: var(--cb-brand-dark); color: #fff; }
.cb-btn--lg { padding: 14px 28px; font-size: 0.9375rem; }
.cb-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: none;
    padding: 8px;
    cursor: pointer;
}
.cb-nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--cb-ink);
    border-radius: 2px;
}
.cb-mobile {
    position: fixed;
    inset: var(--cb-header) 0 0 0;
    background: var(--cb-bg);
    padding: 24px;
    z-index: 999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cb-mobile[hidden] { display: none !important; }
.cb-mobile a {
    padding: 14px 0;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--cb-border);
}
.cb-mobile .cb-btn { margin-top: 16px; }

/* Hero */
.cb-hero {
    padding-top: var(--cb-header);
    background: var(--cb-bg);
    overflow: hidden;
}
.cb-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 56px 0 40px;
}
.cb-hero__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.cb-hero__skill {
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--cb-radius-pill);
    border: 1px solid var(--cb-border);
    background: var(--cb-bg);
    color: var(--cb-muted);
    cursor: default;
    transition: 0.2s;
}
.cb-hero__skill.is-active {
    background: var(--cb-ink);
    color: #fff;
    border-color: var(--cb-ink);
}
.cb-hero__kicker {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cb-muted);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.cb-hero__kicker strong { color: var(--cb-brand); }
.cb-hero h1 {
    font-size: clamp(2.125rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
    color: var(--cb-ink);
}
.cb-hero__sub {
    font-size: 1.125rem;
    color: var(--cb-muted);
    margin: 0 0 28px;
    max-width: 480px;
    line-height: 1.6;
}
.cb-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}
.cb-hero__cta-note {
    font-size: 0.8125rem;
    color: var(--cb-muted);
    margin: 0;
}
.cb-hero__cta-note a {
    color: var(--cb-brand);
    font-weight: 600;
    text-decoration: none;
}
.cb-hero__cta-note a:hover { text-decoration: underline; }

/* Product mock */
.cb-mock {
    background: var(--cb-bg-soft);
    border: 1px solid var(--cb-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
}
.cb-mock__bar {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}
.cb-mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cb-border); }
.cb-mock__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cb-muted);
    margin: 0 0 12px;
}
.cb-mock__roles { display: flex; flex-direction: column; gap: 10px; }
.cb-mock__role {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--cb-bg);
    border: 1px solid var(--cb-border);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
}
.cb-mock__badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--cb-radius-pill);
}
.cb-mock__badge--pass { background: #dcfce7; color: #166534; }
.cb-mock__badge--fail { background: #fee2e2; color: #991b1b; }
.cb-mock__badge--pending { background: var(--cb-brand-soft); color: var(--cb-brand); }

/* Trust */
.cb-trust {
    padding: 28px 0 36px;
    border-top: 1px solid var(--cb-border);
    border-bottom: 1px solid var(--cb-border);
    background: var(--cb-bg-soft);
}
.cb-trust__label {
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cb-muted);
    margin: 0 0 20px;
}
.cb-trust__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 36px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.cb-trust__logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 100px;
    padding: 0 12px;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.cb-trust__logos a:hover { opacity: 1; }
.cb-trust__logos img {
    max-height: 28px;
    max-width: 110px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
}
.cb-trust__logos a:hover img { filter: none; opacity: 1; }

/* Sections */
.cb-section { padding: 80px 0; }
.cb-section--soft { background: var(--cb-bg-soft); }
.cb-section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.cb-section__head h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.cb-section__head p { margin: 0; color: var(--cb-muted); font-size: 1.0625rem; }

/* Feature row (Coderbyte alternating) */
.cb-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 72px;
}
.cb-feature:last-child { margin-bottom: 0; }
.cb-feature--reverse .cb-feature__content { order: 2; }
.cb-feature--reverse .cb-feature__media { order: 1; }
.cb-feature__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cb-brand);
    margin: 0 0 12px;
}
.cb-feature h3 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}
.cb-feature p { color: var(--cb-muted); margin: 0 0 16px; line-height: 1.65; }
.cb-feature ul {
    margin: 0 0 24px;
    padding-left: 0;
    list-style: none;
}
.cb-feature li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--cb-ink);
    font-size: 0.9375rem;
}
.cb-feature li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--cb-brand);
    font-weight: 700;
}
.cb-feature__link {
    font-weight: 600;
    color: var(--cb-brand);
    text-decoration: none;
    font-size: 0.9375rem;
}
.cb-feature__link:hover { text-decoration: underline; }
.cb-feature__card {
    background: var(--cb-bg);
    border: 1px solid var(--cb-border);
    border-radius: 16px;
    padding: 28px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cb-feature__card i {
    font-size: 2.5rem;
    color: var(--cb-brand);
    margin-bottom: 16px;
}

/* Stats band */
.cb-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.cb-stats strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--cb-ink);
}
.cb-stats span { font-size: 0.875rem; color: var(--cb-muted); }

/* Jobs grid */
.cb-jobs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cb-job {
    display: block;
    padding: 22px;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    text-decoration: none;
    color: inherit;
    background: var(--cb-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cb-job:hover {
    border-color: var(--cb-brand);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.cb-job__tag {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cb-brand);
    margin-bottom: 8px;
    display: inline-block;
}
.cb-job h3 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.cb-job p { font-size: 0.875rem; color: var(--cb-muted); margin: 0; }

/* CTA */
.cb-cta {
    background: var(--cb-dark);
    color: #fff;
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    margin: 0 24px;
    max-width: calc(var(--cb-container) - 48px);
    margin-left: auto;
    margin-right: auto;
}
.cb-cta h2 { font-size: 1.75rem; font-weight: 800; margin: 0 0 12px; }
.cb-cta p { color: #94a3b8; margin: 0 0 24px; }
.cb-cta .cb-btn--brand { background: var(--cb-brand); }

/* Page hero — legacy, no longer rendered; stub kept for safety */
.cb-page-hero {
    padding: 40px 0;
    background: var(--cb-bg-soft);
    border-bottom: 1px solid var(--cb-border);
}
.cb-page-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.cb-page-hero p { margin: 0; color: var(--cb-muted); font-size: 1.0625rem; }
.cb-page-body { padding: 48px 0 80px; }
.cb-page-body .cb-container { max-width: 800px; }
.cb-page-body--wide .cb-container { max-width: var(--cb-container); }

/* Forms */
.cb-form .form-group { margin-bottom: 16px; }
.cb-form label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 6px; }
.cb-form .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    font-family: inherit;
    font-size: 1rem;
}
.cb-form .form-control:focus {
    outline: none;
    border-color: var(--cb-brand);
    box-shadow: 0 0 0 3px var(--cb-brand-soft);
}

/* Footer */
.cb-footer {
    background: var(--cb-bg);
    border-top: 1px solid var(--cb-border);
    padding: 56px 0 0;
}
.cb-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.cb-footer h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 16px;
}
.cb-footer ul { list-style: none; padding: 0; margin: 0; }
.cb-footer li { margin-bottom: 10px; }
.cb-footer a {
    color: var(--cb-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
}
.cb-footer a:hover { color: var(--cb-brand); }
.cb-footer__brand p {
    color: var(--cb-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 12px 0 0;
    max-width: 280px;
}
.cb-footer__contact { font-size: 0.875rem; color: var(--cb-muted); margin-top: 16px; }
.cb-footer__bar {
    border-top: 1px solid var(--cb-border);
    padding: 20px 0;
}
.cb-footer__bar-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--cb-muted);
}

.cb-flash {
    margin-top: calc(var(--cb-header) + 12px);
    padding: 12px 16px;
    border-radius: var(--cb-radius);
    font-size: 0.9375rem;
}
.cb-flash--success { background: #dcfce7; color: #166534; }
.cb-flash--error { background: #fee2e2; color: #991b1b; }

/* Auth card */
.cb-auth {
    padding: 48px 0 80px;
}
.cb-auth__card {
    max-width: 440px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid var(--cb-border);
    border-radius: 16px;
    background: var(--cb-bg);
}
.cb-auth__card h1 { font-size: 1.5rem; font-weight: 800; margin: 0 0 8px; }
.cb-auth__card > p { color: var(--cb-muted); margin: 0 0 24px; font-size: 0.9375rem; }

/* FAQ accordion (no Bootstrap) */
.cb-faq { border: 1px solid var(--cb-border); border-radius: 12px; overflow: hidden; }
.cb-faq__item { border-bottom: 1px solid var(--cb-border); }
.cb-faq__item:last-child { border-bottom: none; }
.cb-faq__q {
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 20px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.cb-faq__q::-webkit-details-marker { display: none; }
.cb-faq__q::after { content: '+'; font-size: 1.25rem; color: var(--cb-muted); font-weight: 400; }
.cb-faq__item[open] .cb-faq__q::after { content: '−'; }
.cb-faq__a {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--cb-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* Premium public-site refinement: align all marketing pages to the homepage design */
:root {
    --fh-brand: #041c3c;
    --fh-brand-dark: #021028;
    --fh-brand-soft: rgba(4, 28, 60, 0.08);
    --fh-accent: #0baadc;
    --fh-accent-soft: rgba(11, 170, 220, 0.12);
    --fh-surface: #ffffff;
    --fh-surface-alt: #f4f9ff;
    --fh-border: rgba(4, 28, 60, 0.12);
    --fh-text: #0f172a;
    --fh-muted: #5f6f84;
    --fh-shadow: 0 24px 60px rgba(16, 38, 57, 0.10);
    --fh-gradient: linear-gradient(135deg, #041c3c 0%, #0baadc 55%, #4dc4e8 100%);
}

body {
    background: linear-gradient(180deg, #edf7fb 0%, #f8fbff 100%);
    color: var(--fh-text);
}

.cb-page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(11,170,220,0.12), transparent 30%),
        linear-gradient(180deg, #eff7fb 0%, #f8fbff 100%);
    border-bottom: 1px solid rgba(4, 28, 60, 0.08);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.7);
}

.cb-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(4, 28, 60, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(4, 28, 60, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.3), transparent 90%);
}

.cb-page-hero .cb-container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
}

.cb-page-hero h1 {
    color: var(--fh-brand-dark);
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
    margin: 0;
}

.cb-page-hero p {
    margin-top: 14px;
    max-width: 720px;
    color: var(--fh-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.cb-page-body,
.about-area,
.partner-area,
.play-video-area,
.pricing-area,
.auth-area,
.cb-auth {
    position: relative;
    padding-top: 80px;
    padding-bottom: 90px;
}

.cb-page-body--wide .cb-container,
.about-area .container,
.partner-area .container,
.play-video-area .container,
.pricing-area .container,
.cb-auth__card,
.cb-auth {
    max-width: 1240px;
}

.about-content,
.cb-page-body,
.partner-area,
.pricing-area,
.play-video-area,
.single-pricing-table,
.single-job-seeker-card,
.cb-form,
.cb-auth__card {
    position: relative;
    z-index: 1;
}

.about-image img,
.single-job-seeker-card img,
.single-pricing-table,
.cb-auth__card,
.cb-form,
.default-btn,
iframe,
img {
    border-radius: 24px;
}

.about-content h3,
.section-title h2,
.play-video-area h3,
.cb-auth__card h1,
.cb-form h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin: 0 0 18px;
    color: var(--fh-brand-dark);
}

.about-content p,
.section-title p,
.play-video-area p,
.single-job-seeker-card p,
.single-pricing-table .price,
.single-pricing-table li,
.cb-auth__card > p,
.cb-form label,
.cb-form .form-control,
.cb-page-body li,
.cb-page-body p,
.cb-page-body .list li {
    color: var(--fh-muted);
    line-height: 1.7;
}

.about-content .row {
    margin-top: 24px;
    margin-bottom: 24px;
}

.about-fun-fact {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(4, 28, 60, 0.08);
    border-radius: 18px;
    padding: 24px 18px;
    box-shadow: 0 8px 25px rgba(4, 28, 60, 0.04);
    height: 100%;
}

.about-fun-fact h3 {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--fh-brand-dark);
}

.about-fun-fact p {
    margin: 0;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--fh-muted);
}

.default-btn,
.cb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 15px 24px;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.default-btn,
.cb-btn--dark {
    background: linear-gradient(135deg, var(--fh-brand) 0%, var(--fh-brand-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(4, 28, 60, 0.12);
}

.default-btn:hover,
.cb-btn--dark:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(4, 28, 60, 0.18);
    color: #fff;
}

.cb-btn--outline,
.default-btn.default-btn--outline {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(4, 28, 60, 0.12);
    color: var(--fh-brand-dark);
    box-shadow: none;
}

.cb-btn--outline:hover,
.default-btn.default-btn--outline:hover {
    background: linear-gradient(135deg, rgba(4,28,60,0.04), rgba(11,170,220,0.10));
    border-color: rgba(11,170,220,0.35);
    color: var(--fh-brand-dark);
}

.list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
}

.list li {
    position: relative;
    padding-left: 28px;
    font-size: 1rem;
}

.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fh-brand) 0%, var(--fh-accent) 100%);
    box-shadow: 0 0 0 4px rgba(11,170,220,0.12);
}

.single-job-seeker-card,
.single-pricing-table {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(4, 28, 60, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.single-job-seeker-card {
    padding: 24px 22px;
    border-radius: 24px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.single-job-seeker-card:hover,
.single-pricing-table:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.single-job-seeker-card h3 {
    margin: 18px 0 8px;
    font-size: 1.28rem;
    line-height: 1.3;
    letter-spacing: -0.04em;
    color: var(--fh-brand-dark);
}

.single-job-seeker-card img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(4,28,60,0.06), rgba(11,170,220,0.08));
}

.partner-area {
    background: rgba(255,255,255,0.5);
}

.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
}

.section-title h2 {
    margin-bottom: 12px;
}

.pricing-area {
    background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(237,247,251,0.85));
}

.single-pricing-table {
    padding: 28px 24px 24px;
    border-radius: 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.single-pricing-table.active {
    background: linear-gradient(180deg, rgba(4,28,60,0.97), rgba(7,33,67,0.97));
    border-color: rgba(4,28,60,0.04);
    color: #fff;
    box-shadow: 0 24px 48px rgba(4, 28, 60, 0.18);
}

.single-pricing-table.active h3,
.single-pricing-table.active .price,
.single-pricing-table.active li,
.single-pricing-table.active .pricing-features i,
.single-pricing-table.active .price span {
    color: #fff !important;
}

.single-pricing-table .pricing-header h3 {
    font-size: 1.22rem;
    margin: 0 0 18px;
    letter-spacing: -0.04em;
    color: var(--fh-brand-dark);
}

.single-pricing-table .price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    font-size: clamp(2.1rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 800;
    color: var(--fh-brand-dark);
    margin-bottom: 24px;
}

.single-pricing-table .price span {
    font-size: 0.88rem;
    letter-spacing: normal;
    color: var(--fh-muted);
}

.single-pricing-table .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    gap: 12px;
}

.single-pricing-table .pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.96rem;
    color: var(--fh-muted);
}

.single-pricing-table .pricing-features i {
    color: var(--fh-accent);
    font-size: 1.1rem;
    margin-top: 2px;
}

.single-pricing-table a.default-btn {
    margin-top: auto;
}

.play-video-area {
    text-align: center;
}

.play-video-area .container {
    max-width: 860px;
}

.cb-auth {
    padding-top: 60px;
}

.cb-auth__card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(4, 28, 60, 0.08);
    box-shadow: var(--fh-shadow);
    border-radius: 28px;
    padding: 32px 28px;
}

.cb-form {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(4,28,60,0.08);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.04);
}

.cb-form .form-group {
    margin-bottom: 18px;
}

.cb-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--fh-brand-dark);
}

.cb-form .form-control {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(4, 28, 60, 0.12);
    border-radius: 14px;
    background: rgba(255,255,255,0.9);
    padding: 14px 16px;
    font: inherit;
    color: var(--fh-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cb-form .form-control:focus {
    outline: none;
    border-color: rgba(11,170,220,0.8);
    box-shadow: 0 0 0 4px rgba(11,170,220,0.12);
}

.cb-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.cb-form .cb-btn {
    margin-top: 8px;
}

@media (max-width: 991.98px) {
    .cb-page-hero {
        padding-bottom: 30px;
    }

    .cb-page-body,
    .about-area,
    .partner-area,
    .play-video-area,
    .pricing-area,
    .cb-auth {
        padding-top: 64px;
        padding-bottom: 74px;
    }

    .about-content h3,
    .section-title h2,
    .play-video-area h3,
    .cb-auth__card h1,
    .cb-form h2 {
        font-size: clamp(1.7rem, 5vw, 2.4rem);
    }
}

@media (max-width: 767.98px) {
    .cb-page-hero h1 {
        line-height: 1.12;
    }

    .single-job-seeker-card img {
        height: 140px;
    }

    .cb-form,
    .cb-auth__card {
        padding: 22px 18px;
    }
}

/* Job detail */
.cb-card {
    border: 1px solid var(--cb-border);
    border-radius: 12px;
    padding: 28px;
    background: var(--cb-bg);
}
.cb-card--soft { background: var(--cb-bg-soft); }
.cb-job-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 992px) {
    .cb-job-detail { grid-template-columns: 2fr 1fr; }
}
.cb-job-detail__side .cb-card { position: sticky; top: calc(var(--cb-header) + 16px); }
.cb-job-detail__meta { color: var(--cb-muted); font-size: 0.9375rem; margin: 0 0 20px; }
.cb-job-detail__heading { font-size: 1.125rem; font-weight: 700; margin: 0 0 12px; }
.cb-job-detail__body { color: var(--cb-text); line-height: 1.7; font-size: 0.9375rem; }
.cb-job-detail__list { list-style: none; padding: 0; margin: 0 0 16px; font-size: 0.9375rem; color: var(--cb-muted); }
.cb-job-detail__list li { margin-bottom: 10px; }
.cb-job-detail__list strong { color: var(--cb-text); }
.cb-label { display: block; font-size: 0.875rem; font-weight: 600; margin: 12px 0 6px; }
.cb-job-apply .form-control { width: 100%; margin-bottom: 8px; }
.cb-btn--block { display: block; width: 100%; text-align: center; margin-top: 16px; }
.cb-alert { margin-top: 16px; padding: 12px; border-radius: 8px; font-size: 0.875rem; }
.cb-alert--success { background: #dcfce7; color: #166534; }

@media (max-width: 991px) {
    .cb-nav, .cb-header__actions .cb-btn { display: none; }
    .cb-nav-toggle { display: flex; }
    .cb-hero__inner, .cb-feature { grid-template-columns: 1fr; }
    .cb-feature--reverse .cb-feature__content,
    .cb-feature--reverse .cb-feature__media { order: unset; }
    .cb-stats { grid-template-columns: 1fr 1fr; }
    .cb-jobs { grid-template-columns: 1fr; }
    .cb-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
    .cb-footer__grid { grid-template-columns: 1fr; }
    .cb-stats { grid-template-columns: 1fr; }
}

/* ==========================================================================
   JOBS LISTING SECTION — Professional job board with sticky sidebar
   ========================================================================== */

.fh-jobs-section {
    padding: 48px 0 80px;
    background: var(--fh-surface);
}

.fh-jobs-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 992px) {
    .fh-jobs-layout {
        grid-template-columns: 300px 1fr;
        align-items: start;
    }
}

/* ── Sidebar (Fixed Height, No Scroll) ───────────────────────────────────── */
.fh-jobs-sidebar {
    position: sticky;
    top: calc(var(--fh-header-height, 90px) + 24px);
    height: fit-content;
    background: #fff;
    border: 1px solid var(--fh-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(4, 28, 60, 0.04);
    /* No max-height, no overflow - sidebar content determines height */
}

@media (max-width: 991.98px) {
    .fh-jobs-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        max-height: 100vh;
        border-radius: 0;
        border-right: 1px solid var(--fh-border);
        box-shadow: 0 12px 40px rgba(4, 28, 60, 0.12);
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 20px;
        padding-top: 72px;
        /* No internal scrolling - sidebar content fits or use mobile-specific pattern */
    }

    .fh-jobs-sidebar--open {
        transform: translateX(0);
    }

    .fh-jobs-sidebar__overlay {
        position: fixed;
        inset: 0;
        background: rgba(4, 28, 60, 0.4);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1040;
    }

    .fh-jobs-sidebar__overlay--visible {
        opacity: 1;
        visibility: visible;
    }
}

.fh-jobs-sidebar__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fh-jobs-sidebar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    margin-bottom: 8px;
    background: transparent;
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    color: var(--fh-muted);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.fh-jobs-sidebar__close:hover {
    color: var(--fh-brand);
    border-color: var(--fh-brand);
    background: var(--fh-brand-soft);
}

/* ── Filter Groups ───────────────────────────────────────────────────────── */
.fh-filter-group {
    margin-bottom: 20px;
}

.fh-filter-group:last-of-type {
    margin-bottom: 12px;
}

.fh-filter-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fh-brand);
    margin-bottom: 10px;
}

/* Input wrapper with icon */
.fh-filter-input-wrapper {
    position: relative;
}

.fh-filter-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fh-muted-light);
    pointer-events: none;
    transition: color 0.2s ease;
}

.fh-filter-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--fh-text);
    background: var(--fh-surface);
    border: 1.5px solid var(--fh-border);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fh-filter-input:focus {
    outline: none;
    border-color: var(--fh-accent);
    box-shadow: 0 0 0 4px var(--fh-accent-soft);
}

.fh-filter-input:focus + .fh-filter-icon,
.fh-filter-input-wrapper:focus-within .fh-filter-icon {
    color: var(--fh-accent);
}

/* Select */
.fh-filter-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--fh-text);
    background: var(--fh-surface);
    border: 1.5px solid var(--fh-border);
    border-radius: 12px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%235A7391' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fh-filter-select:focus {
    outline: none;
    border-color: var(--fh-accent);
    box-shadow: 0 0 0 4px var(--fh-accent-soft);
}

/* Checkbox group */
.fh-filter-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fh-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--fh-text);
    padding: 4px 0;
}

.fh-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fh-checkbox-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--fh-border);
    border-radius: 5px;
    background: var(--fh-surface);
    transition: border-color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.fh-checkbox:focus-visible + .fh-checkbox-custom {
    outline: none;
    box-shadow: 0 0 0 3px var(--fh-accent-soft);
    border-color: var(--fh-accent);
}

.fh-checkbox:checked + .fh-checkbox-custom {
    background: var(--fh-brand);
    border-color: var(--fh-brand);
    color: #fff;
}

.fh-checkbox-label {
    user-select: none;
}

/* Radio group */
.fh-filter-radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fh-radio-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--fh-text);
    padding: 4px 0;
}

.fh-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fh-radio-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--fh-border);
    border-radius: 50%;
    background: var(--fh-surface);
    transition: border-color 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.fh-radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fh-brand);
    transform: scale(0);
    transition: transform 0.2s ease;
}

.fh-radio:focus-visible + .fh-radio-custom {
    outline: none;
    box-shadow: 0 0 0 3px var(--fh-accent-soft);
    border-color: var(--fh-accent);
}

.fh-radio:checked + .fh-radio-custom {
    border-color: var(--fh-brand);
}

.fh-radio:checked + .fh-radio-custom::after {
    transform: scale(1);
}

.fh-radio-label {
    user-select: none;
}

/* Filter actions */
.fh-filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--fh-border);
    margin-top: 8px;
}

/* Active filters (mobile) */
.fh-active-filters {
    padding: 16px;
    background: var(--fh-brand-soft);
    border: 1px solid rgba(4, 28, 60, 0.12);
    border-radius: 12px;
    margin-top: 16px;
}

.fh-active-filters__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.fh-active-filters__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--fh-brand);
    margin: 0;
}

.fh-active-filters__clear {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--fh-accent);
    text-decoration: none;
}

.fh-active-filters__clear:hover {
    text-decoration: underline;
}

.fh-active-filters__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fh-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--fh-brand);
    background: #fff;
    border: 1px solid rgba(4, 28, 60, 0.15);
    border-radius: 999px;
}

.fh-filter-tag__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: none;
    background: transparent;
    color: var(--fh-muted-light);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease;
}

.fh-filter-tag__remove:hover {
    color: #fff;
    background: var(--fh-brand);
}

/* ── Toolbar ──────────────────────────────────────────────────────────────── */
.fh-jobs-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: var(--fh-surface);
    border: 1px solid var(--fh-border);
    border-radius: 12px;
}

.fh-jobs-toolbar__left,
.fh-jobs-toolbar__right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.fh-jobs-toolbar__filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fh-brand);
    background: var(--fh-brand-soft);
    border: 1px solid rgba(4, 28, 60, 0.15);
    border-radius: 999px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.fh-jobs-toolbar__filter-toggle:hover {
    background: rgba(4, 28, 60, 0.12);
    border-color: var(--fh-brand);
}

.fh-toolbar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    background: var(--fh-brand);
    border-radius: 999px;
}

.fh-jobs-toolbar__count {
    font-size: 0.9375rem;
    color: var(--fh-muted);
}

.fh-toolbar-text {
    font-weight: 500;
}

.fh-toolbar-select-wrapper {
    position: relative;
}

.fh-toolbar-select {
    padding: 10px 40px 10px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fh-text);
    background: var(--fh-surface);
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%235A7391' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.fh-toolbar-select:focus {
    outline: none;
    border-color: var(--fh-accent);
    box-shadow: 0 0 0 3px var(--fh-accent-soft);
}

.fh-toolbar-select__icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fh-muted);
    pointer-events: none;
}

/* View toggle */
.fh-view-toggle {
    display: inline-flex;
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    overflow: hidden;
}

.fh-view-toggle__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--fh-surface);
    border: none;
    color: var(--fh-muted);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.fh-view-toggle__btn:first-child {
    border-right: 1px solid var(--fh-border);
}

.fh-view-toggle__btn:hover {
    color: var(--fh-brand);
    background: var(--fh-brand-soft);
}

.fh-view-toggle__btn.active {
    color: var(--fh-brand);
    background: var(--fh-brand-soft);
}

/* ── Job List ─────────────────────────────────────────────────────────────── */
.fh-jobs-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .fh-jobs-list[data-view="grid"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .fh-jobs-list[data-view="grid"] {
        grid-template-columns: repeat(3, 1fr);
    }
}

.fh-jobs-list[data-view="list"] {
    grid-template-columns: 1fr;
}

/* ── Job Card — Professional Design ────────────────────────────────────────── */
.fh-job-card {
    display: flex;
    flex-direction: column;
    background: var(--fh-surface);
    border: 1px solid var(--fh-border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.fh-job-card:hover {
    box-shadow: 0 16px 48px rgba(4, 28, 60, 0.08);
    transform: translateY(-4px);
    border-color: rgba(11, 170, 220, 0.25);
}

.fh-job-card--list {
    flex-direction: row;
    align-items: stretch;
}

.fh-job-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.fh-job-card--list .fh-job-card__link {
    flex-direction: row;
    width: 100%;
}

/* Company section (left side in list, top in grid) */
.fh-job-card__company {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 16px;
    background: var(--fh-surface-alt);
    border-bottom: 1px solid var(--fh-border);
    text-align: center;
}

.fh-job-card--list .fh-job-card__company {
    flex-direction: column;
    padding: 28px 24px;
    border-bottom: none;
    border-right: 1px solid var(--fh-border);
    min-width: 120px;
    max-width: 120px;
    flex-shrink: 0;
}

.fh-job-card__logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(4, 28, 60, 0.1);
}

.fh-job-card--list .fh-job-card__logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
}

.fh-job-card__logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: var(--fh-gradient-soft);
    color: var(--fh-brand);
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--fh-font-heading);
}

.fh-job-card--list .fh-job-card__logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    font-size: 1.75rem;
}

/* Badges */
.fh-job-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    justify-content: center;
}

.fh-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}

.fh-badge--featured {
    background: var(--fh-brand);
    color: #fff;
}

.fh-badge--urgent {
    background: #dc2626;
    color: #fff;
}

/* Job content */
.fh-job-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.fh-job-card--list .fh-job-card__content {
    padding: 28px 24px;
    justify-content: space-between;
}

/* Title row */
.fh-job-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.fh-job-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--fh-brand);
    margin: 0;
}

.fh-job-card__bookmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    color: var(--fh-muted);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.fh-job-card__bookmark:hover {
    color: var(--fh-brand);
    border-color: var(--fh-brand);
    background: var(--fh-brand-soft);
}

/* Company & location */
.fh-job-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--fh-muted);
    margin-bottom: 14px;
}

.fh-job-card__company {
    font-weight: 600;
    color: var(--fh-text);
}

.fh-job-card__separator {
    color: var(--fh-muted-light);
}

.fh-job-card__location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Tags row */
.fh-job-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.fh-job-card--list .fh-job-card__tags {
    margin-bottom: 16px;
}

.fh-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
}

.fh-tag svg {
    flex-shrink: 0;
}

.fh-tag--category {
    background: var(--fh-accent-soft);
    color: var(--fh-accent);
    border: 1px solid rgba(11, 170, 220, 0.25);
}

.fh-tag--type {
    background: rgba(4, 28, 60, 0.06);
    color: var(--fh-muted);
    border: 1px solid var(--fh-border);
}

.fh-tag--experience {
    background: rgba(5, 150, 105, 0.08);
    color: #065f46;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.fh-tag--salary {
    background: rgba(4, 28, 60, 0.06);
    color: var(--fh-brand);
    border: 1px solid var(--fh-border);
}

/* Job card details (list view) */
.fh-job-card__details {
    padding-top: 16px;
    border-top: 1px solid var(--fh-border);
    margin-top: auto;
}

.fh-job-card__description {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--fh-muted);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fh-job-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.fh-job-card__posted {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--fh-muted-light);
}

/* Job card footer (grid view) */
.fh-job-card__footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--fh-border);
    background: var(--fh-surface-alt);
}

/* Buttons */
.fh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.fh-btn--primary {
    background: var(--fh-brand);
    color: #fff;
    border-color: var(--fh-brand);
}

.fh-btn--primary:hover {
    background: var(--fh-brand-dark);
    border-color: var(--fh-brand-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(4, 28, 60, 0.2);
}

.fh-btn--outline {
    background: var(--fh-surface);
    border-color: var(--fh-border);
    color: var(--fh-text);
}

.fh-btn--outline:hover {
    background: var(--fh-brand-soft);
    border-color: var(--fh-brand);
    color: var(--fh-brand);
}

.fh-btn--sm {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

.fh-btn.w-100 {
    width: 100%;
}

/* Empty state */
.fh-jobs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    background: var(--fh-surface);
    border: 1px solid var(--fh-border);
    border-radius: 16px;
    grid-column: 1 / -1;
}

.fh-jobs-empty__icon {
    margin-bottom: 24px;
    color: var(--fh-muted-light);
}

.fh-jobs-empty__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fh-brand);
    margin: 0 0 8px;
}

.fh-jobs-empty__text {
    font-size: 1rem;
    color: var(--fh-muted);
    margin: 0 0 24px;
    max-width: 360px;
}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.fh-jobs-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0 8px;
    margin-top: 8px;
}

.fh-pagination {
    flex: 1;
    min-width: 0;
}

.fh-pagination__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.fh-pagination__item {
    display: flex;
}

.fh-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fh-text);
    background: var(--fh-surface);
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.fh-pagination__link:hover:not(.disabled):not(.fh-pagination__link--current) {
    color: var(--fh-brand);
    border-color: var(--fh-brand);
    background: var(--fh-brand-soft);
}

.fh-pagination__link--current {
    color: #fff;
    background: var(--fh-brand);
    border-color: var(--fh-brand);
    cursor: default;
}

.fh-pagination__link.disabled,
.fh-pagination__link[aria-disabled="true"] {
    color: var(--fh-muted-light);
    background: var(--fh-surface);
    border-color: var(--fh-border);
    cursor: not-allowed;
}

.fh-pagination__link--prev,
.fh-pagination__link--next {
    gap: 8px;
}

.fh-pagination__link-text {
    display: none;
}

@media (min-width: 640px) {
    .fh-pagination__link-text {
        display: inline;
    }
}

.fh-pagination__ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: var(--fh-muted-light);
    font-weight: 600;
}

.fh-pagination__info {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--fh-muted);
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .fh-jobs-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .fh-pagination {
        width: 100%;
    }

    .fh-pagination__info {
        justify-content: center;
    }
}

/* ── Responsive adjustments ───────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .fh-jobs-section {
        padding: 32px 0 64px;
    }

    .fh-jobs-toolbar {
        padding: 14px 16px;
    }

    .fh-job-card__company {
        padding: 20px 16px 12px;
    }

    .fh-job-card--list .fh-job-card__company {
        padding: 24px 16px;
        min-width: 100px;
        max-width: 100px;
    }

    .fh-job-card__content {
        padding: 20px;
    }

    .fh-job-card--list .fh-job-card__content {
        padding: 24px 16px;
    }

    .fh-job-card__title {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .fh-jobs-list[data-view="grid"] {
        grid-template-columns: 1fr;
    }

    .fh-job-card--list {
        flex-direction: column;
    }

    .fh-job-card--list .fh-job-card__company {
        border-right: none;
        border-bottom: 1px solid var(--fh-border);
        padding: 20px 16px;
        min-width: auto;
        max-width: none;
    }
}

/* Print styles */
@media print {
    .fh-jobs-sidebar,
    .fh-jobs-toolbar,
    .fh-jobs-pagination {
        display: none !important;
    }

    .fh-jobs-list {
        display: block !important;
    }

    .fh-job-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   JOBS LISTING SECTION — Professional job board with sidebar
   ========================================================================== */

.fh-jobs-section {
    padding: 48px 0 80px;
    background: var(--fh-surface);
}

.fh-jobs-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 992px) {
    .fh-jobs-layout {
        grid-template-columns: 280px 1fr;
        align-items: start;
    }
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.fh-jobs-sidebar {
    position: sticky;
    top: calc(var(--fh-header-height, 90px) + 24px);
    max-height: calc(100vh - var(--fh-header-height, 90px) - 48px);
    overflow-y: auto;
    background: var(--fh-surface);
    border: 1px solid var(--fh-border);
    border-radius: 16px;
    padding: 24px;
}

@media (max-width: 991.98px) {
    .fh-jobs-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 320px;
        max-width: 85vw;
        max-height: 100vh;
        border-radius: 0;
        border-right: 1px solid var(--fh-border);
        box-shadow: 0 24px 64px rgba(4, 28, 60, 0.16);
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 24px;
        padding-top: 80px;
    }

    .fh-jobs-sidebar--open {
        transform: translateX(0);
    }

    .fh-jobs-sidebar__overlay {
        position: fixed;
        inset: 0;
        background: rgba(4, 28, 60, 0.4);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1040;
    }

    .fh-jobs-sidebar__overlay--visible {
        opacity: 1;
        visibility: visible;
    }
}

.fh-jobs-sidebar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    margin-bottom: 16px;
    background: transparent;
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    color: var(--fh-muted);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.fh-jobs-sidebar__close:hover {
    color: var(--fh-brand);
    border-color: var(--fh-brand);
    background: var(--fh-brand-soft);
}

/* ── Filter Groups ───────────────────────────────────────────────────────── */
.fh-filter-group {
    margin-bottom: 24px;
}

.fh-filter-group:last-of-type {
    margin-bottom: 16px;
}

.fh-filter-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--fh-brand);
    margin-bottom: 8px;
}

/* Input wrapper with icon */
.fh-filter-input-wrapper {
    position: relative;
}

.fh-filter-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fh-muted-light);
    pointer-events: none;
    transition: color 0.2s ease;
}

.fh-filter-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--fh-text);
    background: var(--fh-surface);
    border: 1.5px solid var(--fh-border);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fh-filter-input:focus {
    outline: none;
    border-color: var(--fh-accent);
    box-shadow: 0 0 0 4px var(--fh-accent-soft);
}

.fh-filter-input:focus + .fh-filter-icon,
.fh-filter-input-wrapper:focus-within .fh-filter-icon {
    color: var(--fh-accent);
}

/* Select */
.fh-filter-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--fh-text);
    background: var(--fh-surface);
    border: 1.5px solid var(--fh-border);
    border-radius: 12px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%235A7391' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fh-filter-select:focus {
    outline: none;
    border-color: var(--fh-accent);
    box-shadow: 0 0 0 4px var(--fh-accent-soft);
}

/* Checkbox group */
.fh-filter-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fh-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--fh-text);
}

.fh-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fh-checkbox-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--fh-border);
    border-radius: 5px;
    background: var(--fh-surface);
    transition: border-color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.fh-checkbox:focus-visible + .fh-checkbox-custom {
    outline: none;
    box-shadow: 0 0 0 3px var(--fh-accent-soft);
    border-color: var(--fh-accent);
}

.fh-checkbox:checked + .fh-checkbox-custom {
    background: var(--fh-brand);
    border-color: var(--fh-brand);
    color: #fff;
}

.fh-checkbox-label {
    user-select: none;
}

/* Radio group */
.fh-filter-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fh-radio-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--fh-text);
}

.fh-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fh-radio-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--fh-border);
    border-radius: 50%;
    background: var(--fh-surface);
    transition: border-color 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.fh-radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fh-brand);
    transform: scale(0);
    transition: transform 0.2s ease;
}

.fh-radio:focus-visible + .fh-radio-custom {
    outline: none;
    box-shadow: 0 0 0 3px var(--fh-accent-soft);
    border-color: var(--fh-accent);
}

.fh-radio:checked + .fh-radio-custom {
    border-color: var(--fh-brand);
}

.fh-radio:checked + .fh-radio-custom::after {
    transform: scale(1);
}

.fh-radio-label {
    user-select: none;
}

/* Filter actions */
.fh-filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--fh-border);
    margin-top: 8px;
}

/* Active filters (mobile) */
.fh-active-filters {
    padding: 16px;
    background: var(--fh-brand-soft);
    border: 1px solid rgba(4, 28, 60, 0.12);
    border-radius: 12px;
    margin-top: 16px;
}

.fh-active-filters__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--fh-brand);
}

.fh-active-filters__clear {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--fh-accent);
    text-decoration: none;
}

.fh-active-filters__clear:hover {
    text-decoration: underline;
}

.fh-active-filters__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.fh-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--fh-brand);
    background: #fff;
    border: 1px solid rgba(4, 28, 60, 0.15);
    border-radius: 999px;
}

.fh-filter-tag__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: none;
    background: transparent;
    color: var(--fh-muted-light);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease;
}

.fh-filter-tag__remove:hover {
    color: #fff;
    background: var(--fh-brand);
}

/* ── Toolbar ──────────────────────────────────────────────────────────────── */
.fh-jobs-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: var(--fh-surface);
    border: 1px solid var(--fh-border);
    border-radius: 12px;
}

.fh-jobs-toolbar__left,
.fh-jobs-toolbar__right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.fh-jobs-toolbar__filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fh-brand);
    background: var(--fh-brand-soft);
    border: 1px solid rgba(4, 28, 60, 0.15);
    border-radius: 999px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.fh-jobs-toolbar__filter-toggle:hover {
    background: rgba(4, 28, 60, 0.12);
    border-color: var(--fh-brand);
}

.fh-toolbar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    background: var(--fh-brand);
    border-radius: 999px;
}

.fh-jobs-toolbar__count {
    font-size: 0.9375rem;
    color: var(--fh-muted);
}

.fh-toolbar-text {
    font-weight: 500;
}

.fh-toolbar-select-wrapper {
    position: relative;
}

.fh-toolbar-select {
    padding: 10px 40px 10px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fh-text);
    background: var(--fh-surface);
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%235A7391' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.fh-toolbar-select:focus {
    outline: none;
    border-color: var(--fh-accent);
    box-shadow: 0 0 0 3px var(--fh-accent-soft);
}

.fh-toolbar-select__icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fh-muted);
    pointer-events: none;
}

/* View toggle */
.fh-view-toggle {
    display: inline-flex;
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    overflow: hidden;
}

.fh-view-toggle__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--fh-surface);
    border: none;
    color: var(--fh-muted);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.fh-view-toggle__btn:first-child {
    border-right: 1px solid var(--fh-border);
}

.fh-view-toggle__btn:hover {
    color: var(--fh-brand);
    background: var(--fh-brand-soft);
}

.fh-view-toggle__btn.active {
    color: var(--fh-brand);
    background: var(--fh-brand-soft);
}

/* ── Job List ─────────────────────────────────────────────────────────────── */
.fh-jobs-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .fh-jobs-list[data-view="grid"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .fh-jobs-list[data-view="grid"] {
        grid-template-columns: repeat(3, 1fr);
    }
}

.fh-jobs-list[data-view="list"] {
    grid-template-columns: 1fr;
}

/* ── Job Card ─────────────────────────────────────────────────────────────── */
.fh-job-card {
    display: flex;
    flex-direction: column;
    background: var(--fh-surface);
    border: 1px solid var(--fh-border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.fh-job-card:hover {
    box-shadow: 0 16px 48px rgba(4, 28, 60, 0.1);
    transform: translateY(-4px);
    border-color: rgba(11, 170, 220, 0.3);
}

.fh-job-card--list {
    flex-direction: row;
    align-items: flex-start;
}

.fh-job-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.fh-job-card--list .fh-job-card__link {
    flex-direction: row;
    width: 100%;
}

.fh-job-card__logo-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 20px 12px;
    background: var(--fh-surface-alt);
    border-bottom: 1px solid var(--fh-border);
}

.fh-job-card--list .fh-job-card__logo-wrapper {
    flex-direction: column;
    padding: 24px;
    border-bottom: none;
    border-right: 1px solid var(--fh-border);
    min-width: 100px;
    align-items: center;
}

.fh-job-card__logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.fh-job-card--list .fh-job-card__logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
}

.fh-job-card__logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--fh-gradient-soft);
    color: var(--fh-brand);
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--fh-font-heading);
}

.fh-job-card--list .fh-job-card__logo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    font-size: 1.75rem;
}

.fh-job-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}

.fh-job-card--list .fh-job-card__badge {
    top: 16px;
    right: 16px;
}

.fh-job-card__badge--featured {
    background: var(--fh-brand);
    color: #fff;
}

.fh-job-card__badge--urgent {
    background: #dc2626;
    color: #fff;
}

.fh-job-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.fh-job-card--list .fh-job-card__content {
    padding: 24px;
    flex: 1;
}

.fh-job-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.fh-job-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--fh-brand);
    margin: 0;
}

.fh-job-card__bookmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    color: var(--fh-muted);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.fh-job-card__bookmark:hover {
    color: var(--fh-brand);
    border-color: var(--fh-brand);
    background: var(--fh-brand-soft);
}

.fh-job-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--fh-muted);
    margin-bottom: 12px;
}

.fh-job-card__company {
    font-weight: 600;
    color: var(--fh-text);
}

.fh-job-card__separator {
    color: var(--fh-muted-light);
}

.fh-job-card__location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fh-job-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.fh-job-card--list .fh-job-card__tags {
    margin-bottom: 12px;
}

.fh-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
}

.fh-tag--category {
    background: var(--fh-accent-soft);
    color: var(--fh-accent);
    border: 1px solid rgba(11, 170, 220, 0.25);
}

.fh-tag--type {
    background: rgba(4, 28, 60, 0.06);
    color: var(--fh-muted);
    border: 1px solid var(--fh-border);
}

.fh-tag--experience {
    background: rgba(5, 150, 105, 0.08);
    color: #065f46;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.fh-tag--salary {
    background: rgba(4, 28, 60, 0.06);
    color: var(--fh-brand);
    border: 1px solid var(--fh-border);
}

/* Job card details (list view) */
.fh-job-card__details {
    padding-top: 12px;
    border-top: 1px solid var(--fh-border);
    margin-top: auto;
}

.fh-job-card__description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--fh-muted);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fh-job-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.fh-job-card__posted {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--fh-muted-light);
}

/* Job card footer (grid view) */
.fh-job-card__footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--fh-border);
    background: var(--fh-surface-alt);
}

/* Buttons */
.fh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.fh-btn--primary {
    background: var(--fh-brand);
    color: #fff;
    border-color: var(--fh-brand);
}

.fh-btn--primary:hover {
    background: var(--fh-brand-dark);
    border-color: var(--fh-brand-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(4, 28, 60, 0.2);
}

.fh-btn--outline {
    background: var(--fh-surface);
    border-color: var(--fh-border);
    color: var(--fh-text);
}

.fh-btn--outline:hover {
    background: var(--fh-brand-soft);
    border-color: var(--fh-brand);
    color: var(--fh-brand);
}

.fh-btn--sm {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

.fh-btn.w-100 {
    width: 100%;
}

/* Empty state */
.fh-jobs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    background: var(--fh-surface);
    border: 1px solid var(--fh-border);
    border-radius: 16px;
    grid-column: 1 / -1;
}

.fh-jobs-empty__icon {
    margin-bottom: 24px;
    color: var(--fh-muted-light);
}

.fh-jobs-empty__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fh-brand);
    margin: 0 0 8px;
}

.fh-jobs-empty__text {
    font-size: 1rem;
    color: var(--fh-muted);
    margin: 0 0 24px;
    max-width: 360px;
}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.fh-jobs-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0 8px;
    margin-top: 8px;
}

.fh-pagination {
    flex: 1;
    min-width: 0;
}

.fh-pagination__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.fh-pagination__item {
    display: flex;
}

.fh-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fh-text);
    background: var(--fh-surface);
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.fh-pagination__link:hover:not(.disabled):not(.fh-pagination__link--current) {
    color: var(--fh-brand);
    border-color: var(--fh-brand);
    background: var(--fh-brand-soft);
}

.fh-pagination__link--current {
    color: #fff;
    background: var(--fh-brand);
    border-color: var(--fh-brand);
    cursor: default;
}

.fh-pagination__link.disabled,
.fh-pagination__link[aria-disabled="true"] {
    color: var(--fh-muted-light);
    background: var(--fh-surface);
    border-color: var(--fh-border);
    cursor: not-allowed;
}

.fh-pagination__link--prev,
.fh-pagination__link--next {
    gap: 8px;
}

.fh-pagination__link-text {
    display: none;
}

@media (min-width: 640px) {
    .fh-pagination__link-text {
        display: inline;
    }
}

.fh-pagination__ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: var(--fh-muted-light);
    font-weight: 600;
}

.fh-pagination__info {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--fh-muted);
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .fh-jobs-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .fh-pagination {
        width: 100%;
    }

    .fh-pagination__info {
        justify-content: center;
    }
}

/* ── Responsive adjustments ───────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .fh-jobs-section {
        padding: 32px 0 64px;
    }

    .fh-jobs-toolbar {
        padding: 14px 16px;
    }

    .fh-job-card__logo-wrapper {
        padding: 16px 16px 10px;
    }

    .fh-job-card--list .fh-job-card__logo-wrapper {
        padding: 20px;
    }

    .fh-job-card__content {
        padding: 16px;
    }

    .fh-job-card--list .fh-job-card__content {
        padding: 20px 16px;
    }

    .fh-job-card__title {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .fh-jobs-list[data-view="grid"] {
        grid-template-columns: 1fr;
    }

    .fh-job-card--list {
        flex-direction: column;
    }

    .fh-job-card--list .fh-job-card__logo-wrapper {
        border-right: none;
        border-bottom: 1px solid var(--fh-border);
        padding: 20px;
    }
}

/* Print styles */
@media print {
    .fh-jobs-sidebar,
    .fh-jobs-toolbar,
    .fh-jobs-pagination {
        display: none !important;
    }

    .fh-jobs-list {
        display: block !important;
    }

    .fh-job-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
