/* ========= Enterprise UI Kit v1 (FNHP) — CLEAN ========= */

/* 1) Design tokens */
:root {
    /* --- FNHP Brand Colors --- */
    --fnhp-blue:  #3c8fc6;
    --fnhp-dark:  #17598b;
    --fnhp-gray:  #e4e4e1;
    --fnhp-green: #7cc576;

    /* Preferred brand = fnhp-blue (primary), fallback = dark */
    --brand:      var(--fnhp-blue);
    --brand-600:  #3790c4;
    --brand-700:  var(--fnhp-dark);

    --hero-h: 460px;

    /* Neutrals & UI */
    --bg:        #ffffff;
    --bg-subtle: #f7f8fa;
    --text:      #111827;
    --muted:     #6b7280;
    --line:      #e5e7eb;

    /* States */
    --success: var(--fnhp-green);
    --warning: #b45309;
    --danger:  #b91c1c;
    --info:    #0369a1;

    /* Shadows & radius */
    --radius:    14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 6px 18px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 12px 28px rgba(16, 24, 40, 0.12);

    /* Spacing scale */
    --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
    --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;

    /* Typography */
    --font: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --h1: 36px; --h2: 28px; --h3: 22px; --body: 16px; --small: 14px;
    --lh-tight: 1.2; --lh: 1.5; --lh-relaxed: 1.7;
}

/* 2) Global base */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font);
    font-size: var(--body);
    line-height: var(--lh);
    /* FNHP border frame */
    outline: 3px solid var(--brand);
    outline-offset: -3px;
}
img { max-width: 100%; height: auto; display: block; }

/* 3) Type helpers */
h1, h2, h3 { margin: var(--s-6) 0 var(--s-3); line-height: var(--lh-tight); }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
.lead { font-size: 18px; line-height: var(--lh-relaxed); color: var(--muted); }
.text-muted { color: var(--muted) !important; }

/* 4) Layout utils */
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: var(--s-12) 0; }
.section-sm { padding: var(--s-8) 0; }
.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 992px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* 5) Card */
.card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.card-header { padding: var(--s-5) var(--s-6); border-bottom: 1px solid var(--line); }
.card-body   { padding: var(--s-6); }
.card-footer { padding: var(--s-5) var(--s-6); border-top: 1px solid var(--line); }

/* 6) Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 10px 16px; border-radius: var(--radius-sm);
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    font-weight: 600; line-height: 1; box-shadow: var(--shadow-sm);
}
.btn:focus { outline: 3px solid rgba(23,89,139,.25); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); }
.btn-primary:active { background: var(--brand-700); }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--bg-subtle); }
.btn-muted { background: var(--bg-subtle); color: var(--text); border-color: var(--line); }

/* 7) Badges */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px; font-size: var(--small);
    border: 1px solid var(--line); background: var(--bg-subtle);
}
.badge-gold { border-color: #eab308; background: #fffbe6; }

/* 8) Forms */
.input, .select, .textarea {
    width: 100%; padding: 10px 12px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; line-height: 1.3;
}
.input:focus, .select:focus, .textarea:focus {
    border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0,51,160,0.08);
    outline: none;
}
.label { display: block; margin-bottom: 6px; font-weight: 600; }
.form-row { display: grid; gap: var(--s-5); grid-template-columns: repeat(12, 1fr); }
.col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; } .col-12 { grid-column: span 12; }
@media (max-width: 768px) { .col-6, .col-4 { grid-column: span 12; } }

/* 9) Tables */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.table thead th { font-weight: 700; background: var(--bg-subtle); }

/* 10) Header & Nav (single, non-conflicting version) */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--fnhp-gray);
    border-bottom: 1px solid var(--line);
}
.site-header .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 20px;
    min-height: 64px;
    padding: 8px 0;
}

/* Brand */
.brand { display: flex; align-items: center; padding: 6px 0; }
.brand img { height: 28px; width: auto; display: block; object-fit: contain; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: .2px; color: var(--brand); }

/* Centered menu */
.nav-center { display: flex; justify-content: center; }
.nav-links {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: nowrap; white-space: nowrap;
}
.nav-link {
    display: inline-flex; align-items: center;
    padding: 10px 14px; border-radius: 12px;
    text-decoration: none; color: var(--text); font-weight: 600;
}
.nav-link:hover { background: #ffffffcc; }
.nav-link.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

/* Right controls */
.nav-cta { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > .nav-link::after {
    content: ""; display: inline-block; width: 0; height: 0; margin-left: 6px;
    border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
}
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
    padding: 6px; display: none;
}
.dropdown a {
    display: flex; align-items: center; padding: 8px 10px; border-radius: 10px;
    text-decoration: none; color: var(--text); font-weight: 600;
}
.dropdown a:hover { background: var(--bg-subtle); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }

.text-highlight { color: var(--fnhp-dark); font-weight: 600; font-size: 15px; }

/* Burger / mobile nav */
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
    background: #fff; box-shadow: var(--shadow-sm); cursor: pointer;
}
#navToggle { display: none; }

@media (max-width: 1200px) { .nav-link { padding: 8px 10px; } }

@media (max-width: 960px) {
    .brand img { width: 28px; height: 28px; }
    #navToggle { display: inline-flex; }
    .nav-center { justify-content: flex-start; }
    .nav-links {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
        padding: 8px; flex-direction: column; gap: 4px; white-space: normal;
    }
    .nav-links.open { display: flex; }
    .dropdown { position: static; box-shadow: none; border: none; padding: 0; }
    .has-dropdown { width: 100%; }
}

/* 11) Hero */
.hero {
    position: relative;
    min-height: var(--hero-h);
    background:
            linear-gradient(180deg, rgba(60,143,198,0.40), rgba(23,89,139,0.40)),
            var(--hero-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.hero .container {
    min-height: var(--hero-h);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 48px 0;
}
.hero-title {
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.15; font-weight: 700; letter-spacing: .2px;
    color: #fff; text-align: center; margin: 0 0 22px;
}
.hero-title .accent { color: #c9f3ff; }
.hero-panel {
    width: min(1120px, 92%); margin: 0 auto; padding: 18px; border-radius: 14px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(60,143,198,0.55);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    backdrop-filter: blur(3px);
}
.hero-controls {
    display: grid; grid-template-columns: 1.2fr .9fr .9fr .8fr .7fr; gap: 16px;
}
@media (max-width: 1100px) { .hero-controls { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .hero-controls { grid-template-columns: 1fr; } }

.input-hero, .select-hero {
    width: 100%; padding: 12px 14px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.95); color: #0f172a;
}
.input-hero::placeholder { color: #6b7280; }
.input-hero:focus, .select-hero:focus {
    border-color: var(--fnhp-blue); box-shadow: 0 0 0 4px rgba(60,143,198,0.20); outline: none;
}
.btn-search {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 16px; border-radius: 10px; border: 1px solid transparent;
    background: var(--fnhp-dark); color: #fff; font-weight: 700; box-shadow: var(--shadow-sm);
}
.btn-search:hover { background: #104a78; }
.hero-help { text-align: center; margin-top: 18px; color: rgba(255,255,255,0.85); }
.hero-help a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* 12) Popular Jobs — Carousel (First section) */
.popular-post-area { padding: var(--s-10) 0; }

.single-popular-post {
    background: var(--fnhp-dark); color: #fff;
    border-radius: 14px; box-shadow: var(--shadow-md);
    overflow: hidden; display: flex; flex-direction: column; height: 100%;
}
.single-popular-post .thumb {
    position: relative; width: 100%; height: 160px;
    background: #e9eef3; display: grid; place-items: center;
}
.single-popular-post .thumb img {
    max-width: 100%; max-height: 140px; width: auto; height: auto; object-fit: contain; display: block;
}
.job-badge {
    position: absolute; top: 10px; left: 10px; z-index: 100;
    background: #fff3bf; color: #7a5a00; border: 1px solid rgba(0,0,0,0.08);
    border-radius: 999px; padding: 4px 10px; font-weight: 800; font-size: 12px; letter-spacing: .2px;
    box-shadow: var(--shadow-sm);
}
.single-popular-post .post-body {
    padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.single-popular-post h4 { margin: 0; font-size: 17px; font-weight: 700; color: #fff; }
.single-popular-post .meta { font-size: 14px; color: #a9c7df; }
.single-popular-post .desc { font-size: 14px; color: #e2eef6; }
.single-popular-post .btn { margin-top: 8px; align-self: flex-start; }

/* Owl controls */
.active-popular-post-carusel .owl-nav button.owl-prev,
.active-popular-post-carusel .owl-nav button.owl-next {
    width: 36px; height: 36px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff;
    display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.active-popular-post-carusel .owl-dots .owl-dot span {
    width: 8px; height: 8px; border-radius: 999px; background: var(--line);
}
.active-popular-post-carusel .owl-dots .owl-dot.active span { background: var(--fnhp-blue); }

@media (max-width: 900px) { .single-popular-post .post-body { padding: 12px 14px 14px; } .single-popular-post .thumb { height: 150px; } }
@media (max-width: 640px) { .single-popular-post { border-radius: 10px; } .single-popular-post .thumb { height: 140px; } }

/* 13) Post Area — Job List */
.post-area { padding: var(--s-10) 0; }

.job-card {
    position: relative;
    display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap;
    gap: 20px;
    background: #f7f8fa; border: 1px solid #ebedf0; border-radius: 14px;
    padding: 18px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
/* Premium badge inside card */
.job-card > .job-badge {
    position: absolute; top: -10px; left: 14px; z-index: 1;
    background: #fff3bf; color: #7a5a00; border: 1px solid rgba(0,0,0,.06);
    border-radius: 999px; padding: 4px 10px; font-weight: 800; font-size: 12px; box-shadow: var(--shadow-sm);
}

/* Left column */
.job-card .left { flex: 1 1 60%; min-width: 260px; }
.job-title { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: #243b53; }
.job-company { margin: 2px 0 10px; color: #556987; font-weight: 600; }
.job-meta {
    display: flex; flex-wrap: wrap; gap: 16px;
    font-size: 14px; color: #4a6076; margin-bottom: 10px;
}
.job-desc { font-size: 14px; color: #5b7088; }

/* Clamp long descriptions */
.job-desc.clamp-2 {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.job-tag {
    background: #fff; border: 1px solid #e5e7eb; color: #374151;
    padding: 6px 10px; border-radius: 10px; font-weight: 600; font-size: 13px;
}

/* Right column: image + CTA stacked */
.job-card .right { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* Image (logos/photos) */
.job-thumb {
    width: 140px; height: 100px; background: #e9eef3; border-radius: 10px; overflow: hidden;
    display: grid; place-items: center;
}
.job-thumb img {
    max-width: 100%; max-height: 100px; width: auto; height: auto; object-fit: contain; display: block;
}

/* CTA pinned to bottom-right on cards */
.post-area .post-list .job-card { position: relative; padding-bottom: 60px; }
.post-area .post-list .job-card .job-cta {
    position: absolute; right: 16px; bottom: 16px; z-index: 2;
}
.job-cta .btn { white-space: nowrap; }

/* Responsive for job card */
@media (max-width: 860px) {
    .job-card .left { flex: 1 1 100%; }
    .job-card .right { align-items: center; width: 100%; flex-direction: row; justify-content: space-between; }
}
@media (max-width: 560px) {
    .job-thumb { width: 100px; height: 80px; }
    .job-title { font-size: 18px; }
}

/* Ensure Details button alignment inside post list */
.post-area .post-list .job-card .job-grid { display: flex; align-items: center; gap: 16px; width: 100%; }
.post-area .post-list .job-card .job-thumb { flex: 0 0 120px; }
.post-area .post-list .job-card .job-main { flex: 1 1 auto; min-width: 0; }
.post-area .post-list .job-card .job-cta { flex: 0 0 auto; margin-left: auto; align-self: center; }
@media (max-width: 576px) {
    .post-area .post-list .job-card .job-grid { flex-direction: column; align-items: stretch; }
    .post-area .post-list .job-card .job-cta { margin-left: 0; }
    .post-area .post-list .job-card .job-cta .btn { width: 100%; }
}

/* 14) “Weitere Jobs anzeigen” Button */
.fnhp-more-jobs {
    font-weight: 600; font-size: 15px;
    padding: 12px 24px; border-radius: 12px;
    border: 2px solid var(--fnhp-blue); color: var(--fnhp-blue);
    background: transparent; transition: all 0.2s ease-in-out;
}
.fnhp-more-jobs:hover { background: var(--fnhp-blue); color: #fff; text-decoration: none; }

/* 15) Karriere-Blog Cards */
.blog-list { display: grid; gap: 20px; }
.blog-card {
    background: #f8f9fa; color: #212529;
    border-radius: 16px; padding: 22px 22px 18px; position: relative;
    display: flex; flex-direction: column; min-height: 180px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .1);
    border: 1px solid #e0e0e0;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.18); border-color: var(--fnhp-blue); }
.blog-title {
    font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 0 0 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #111;
}
.blog-excerpt {
    color: #555; margin: 0 0 16px; font-size: .95rem; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-meta {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    font-size: .92rem; color: #666; opacity: .9;
}
.blog-like {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px; border-radius: 999px; border: 1px solid #ccc; background: #fff; cursor: pointer;
    user-select: none; transition: background .15s ease, border-color .15s ease;
}
.blog-like:hover { background: #f3f3f3; border-color: #aaa; }
.blog-like .icon { font-size: 1.05rem; line-height: 1; color: #d33; }
@media (max-width: 480px) {
    .blog-card { padding: 18px 16px 14px; }
    .blog-title { font-size: 1rem; }
    .blog-excerpt { -webkit-line-clamp: 2; }
}

/* 16) Companies Carousel – Readable Light Style */
.company-slide {
    background: #ffffff; border: 1px solid #e0e0e0; border-radius: 18px;
    padding: 22px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    align-items: center; min-height: 220px;
}
.company-slide .company-thumb {
    width: 36%; max-width: 300px; margin-right: 22px;
    background: #f1f5f9; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.company-slide .company-logo {
    max-height: 90px; min-height: 90px; object-fit: contain; background: #ffffff;
    border-radius: 8px; width: 100%; box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}
.company-details { display: flex; flex-direction: column; justify-content: center; flex: 1; min-width: 0; }
.company-name { font-weight: 800; font-size: 1.05rem; color: #1a1a1a; margin-bottom: 6px; }
.company-desc { color: #444; font-size: 0.95rem; line-height: 1.5; }

.btn-pop {
    background: var(--fnhp-blue); color: #fff; font-weight: 600;
    padding: 0.5rem 1.2rem; border-radius: 8px; border: none; transition: background 0.15s ease-in-out; margin-top: 10px; width: fit-content;
}
.btn-pop:hover { background: var(--fnhp-dark); color: #fff; }

.active-popular-post-carusel .company-slide { margin: 10px; }

/* Mobile: stack cards */
@media (max-width: 576px) {
    .company-slide { flex-direction: column; text-align: center; padding: 18px; }
    .company-slide .company-thumb { width: 100%; margin: 0 0 14px 0; }
}

/* Button contrast inside companies area */
.popular-post-area .btn-pop { background: var(--fnhp-blue); border-color: var(--fnhp-blue); color: #fff; }
.popular-post-area .btn-pop:hover { background: var(--fnhp-dark); border-color: var(--fnhp-dark); color: #fff; }

/* Keep text dark for readability (targeted, no universal *) */
.popular-post-area .company-slide,
.popular-post-area .company-slide .company-name,
.popular-post-area .company-slide .company-desc { color: #212529; }

/* Keep icons/text inside button white */
.popular-post-area .company-slide .btn-pop,
.popular-post-area .company-slide .btn-pop * { color: #fff; }

/* 17) CTA area buttons */
.callto-action-area .btn {
    padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 600;
    border-radius: 10px; transition: background 0.2s ease, color 0.2s ease; text-transform: none;
}
.callto-action-area .btn-light { background: #fff; color: #007bff; border: 1px solid #fff; }
.callto-action-area .btn-light:hover { background: #f0f0f0; color: #0056b3; }
.callto-action-area .btn-outline-light { background: transparent; color: #fff; border: 1px solid #fff; }
.callto-action-area .btn-outline-light:hover { background: #fff; color: #007bff; }

/* 18) Footer */
.footer-area .single-footer-widget ul li a {
    font-size: 0.95rem; color: #ccc; line-height: 1.6; transition: color 0.2s ease;
}
.footer-area .single-footer-widget ul li a:hover { color: #fff; }
.footer-area .social-icons a {
    display: inline-flex; justify-content: center; align-items: center; background: #111; color: #fff;
    width: 36px; height: 36px; border-radius: 50%; margin-left: 10px; font-size: 1.2rem; transition: background 0.2s ease;
}
.footer-area .social-icons a:hover { background: var(--fnhp-blue); color: #fff; }

/* 19) Sidebar tweak */
.sidebar .single-slidebar .cat-list p { margin-bottom: 0; color: #000; font-weight: bold; }

/* 20) Mobile: two register buttons stacked */
@media (max-width: 576px) {
    .callto-action-area .title {
        display: flex; flex-direction: column; gap: 12px; align-items: stretch;
    }
    .callto-action-area .title a.btn {
        display: block; width: 100%; min-height: 44px; margin: 0 !important; white-space: normal; position: static !important;
    }
}

/* 21) Companies carousel (second) — hide logos/thumbs on mobile */
@media (max-width: 576px) {
    .companies-carousel .thumb,
    .companies-carousel .company-thumb,
    .companies-carousel .job-thumb,
    .companies-carousel .company-logo,
    .companies-carousel img.company-logo,
    .companies-carousel img[src*="no-image"] { display: none !important; }

    .companies-carousel .single-popular-carusel,
    .companies-carousel .single-popular-post,
    .companies-carousel .card { display: block; }

    .companies-carousel .details,
    .companies-carousel .desc,
    .companies-carousel .info { margin-left: 0 !important; }
}

/* === PATCH 1: Spacing utilities (restored) === */
.mt-0{margin-top:0}.mt-2{margin-top:var(--s-2)}.mt-4{margin-top:var(--s-4)}.mt-6{margin-top:var(--s-6)}.mt-8{margin-top:var(--s-8)}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:var(--s-2)}.mb-4{margin-bottom:var(--s-4)}.mb-6{margin-bottom:var(--s-6)}.mb-8{margin-bottom:var(--s-8)}
.p-4{padding:var(--s-4)}.p-6{padding:var(--s-6)}.p-8{padding:var(--s-8)}

/* === PATCH 2: Header compat (old .site-nav links) === */
.site-nav a{
    display:inline-flex; padding:10px 12px; border-radius:10px;
    color:var(--text); text-decoration:none;
}
.site-nav a.active,.site-nav a:hover{ background:var(--bg-subtle); }

/* === PATCH 3: Footer container style (restored) === */
.site-footer{ border-top:1px solid var(--line); background:var(--bg-subtle); }

/* === PATCH 4: Keyboard focus for nav links (accessibility) === */
.nav-link:focus{ outline:3px solid rgba(23,89,139,.25); outline-offset:2px; }

/* === PATCH 5: Search results layout (generic .job-grid baseline) === */
/* Keeps search results correct even outside .post-area .post-list */
.job-grid{ display:flex; align-items:center; gap:16px; width:100%; }
.job-main{ flex:1 1 auto; min-width:0; }
.job-cta{ flex:0 0 auto; margin-left:auto; }
@media (max-width:576px){
    .job-grid{ flex-direction:column; align-items:stretch; }
    .job-cta .btn{ width:100%; }
}

/* Link styling and small tokens used on search results */
.job-title a{ color:#142b3b; text-decoration:none; }
.job-title a:hover{ text-decoration:underline; }
.job-excerpt{ color:#495057; margin:0; }
.meta-item{ opacity:.9; }
.pill{
    background:#fff; border:1px solid #dbe6ef; border-radius:8px; padding:3px 8px; font-size:.85rem;
}

/* === OPTIONAL: If you prefer the previous hard-coded base text color === */
/* body{ color:#0f172a; }  /* uncomment to enforce the old shade over --text */


/* PATCH A — Correct mislabeled clamp utility */
.job-desc.clamp-2 {
    -webkit-line-clamp: 2;   /* was 3 */
}
/* (Optional helper if you ever need it) */
.job-desc.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* PATCH B — Make btn-pop border overrides effective */
.btn-pop {
    border: 1px solid transparent;  /* was none; allows later border-color overrides */
}
