        /* ============================================================
           WELCOME PAGE — KIRINYAGA COUNTY JOBS PORTAL
           Font: Plus Jakarta Sans | Colors: KC Green + KC Gold
        ============================================================ */

        :root {
            --kc-green:        #006400;
            --kc-green-dark:   #004d00;
            --kc-green-light:  #007a00;
            --kc-green-bg:     #f0f7f0;
            --kc-green-tint:   #e8f3e8;
            --kc-gold:         #D4A017;
            --kc-gold-light:   #F5C842;
            --kc-gold-bg:      #fdf8ec;
            --text-main:       #1a2a1a;
            --text-muted:      #5a6b5a;
            --text-light:      #8a9a8a;
            --border:          #dce8dc;
            --bg-page:         #f5f7f5;
            --bg-card:         #ffffff;
            --shadow-sm:       0 1px 3px rgba(0,50,0,0.08);
            --shadow-md:       0 4px 16px rgba(0,50,0,0.10);
            --shadow-lg:       0 8px 32px rgba(0,50,0,0.14);
            --radius-sm:       6px;
            --radius:          10px;
            --radius-lg:       16px;
            --transition:      0.22s cubic-bezier(.4,0,.2,1);
        }



        *, *::before, *::after { box-sizing: border-box; }

        body {
            background: var(--bg-page);
        }

        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ── HERO ──────────────────────────────────────────────── */
        .hero-section {
            background: var(--kc-green);
            padding: 96px 0 80px;
            min-height: 420px;
            display: flex;
            align-items: center;
            color: #fff;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero-section > .container {
            width: 100%;
        }

        /* Banner image (desktop) — set via CSS custom property when available */
        .hero-section[style*="--hero-bg-desktop"] {
            background-image: var(--hero-bg-desktop);
            background-size: cover;
            background-position: center top;
            background-repeat: no-repeat;
        }

        /* Dark overlay so text stays readable over any photo */
        .hero-section[style*="--hero-bg-desktop"]::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(160deg, rgba(0,50,0,.72) 0%, rgba(0,30,0,.60) 100%);
            pointer-events: none;
            z-index: 0;
        }

        .hero-section[style*="--hero-bg-desktop"] > .container {
            position: relative;
            z-index: 1;
        }

        /* Mobile banner swap */
        @media (max-width: 640px) {
            .hero-section[style*="--hero-bg-mobile"] {
                background-image: var(--hero-bg-mobile);
            }
        }

        /* .hero-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(212,160,23,0.12) 0%, transparent 45%);
            pointer-events: none;
        }

        .hero-section::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 4px;
            background: var(--kc-gold);
        } */

        .hero-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(212,160,23,0.18);
            border: 1px solid rgba(212,160,23,0.35);
            color: var(--kc-gold-light);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            padding: 5px 14px;
            border-radius: 20px;
            margin-bottom: 20px;
        }

        .hero-title {
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            font-weight: 800;
            line-height: 1.2;
            margin: 0 0 14px;
            letter-spacing: -0.02em;
        }

        .hero-title span { color: var(--kc-gold-light); }

        .hero-subtitle {
            font-size: 1.05rem;
            opacity: 0.82;
            margin: 0 0 36px;
            font-weight: 400;
        }

        /* ── HERO STATS ────────────────────────────────────────── */
        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 32px;
            margin-bottom: 36px;
            flex-wrap: wrap;
        }

        .hero-stat {
            text-align: center;
        }

        .hero-stat-num {
            display: block;
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--kc-gold-light);
            line-height: 1;
        }

        .hero-stat-label {
            font-size: 11px;
            opacity: 0.7;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 500;
        }

        /* ── SEARCH FORM ───────────────────────────────────────── */
        .search-wrapper {
            max-width: 860px;
            margin: 0 auto;
        }

        .search-box {
            display: flex;
            align-items: center;
            background: #fff;
            border-radius: 50px;
            padding: 6px 6px 6px 20px;
            gap: 8px;
            box-shadow: 0 8px 40px rgba(0,0,0,0.18);
        }

        .search-box input[type="text"] {
            flex: 1;
            border: none;
            outline: none;
            font-family: inherit;
            font-size: 14px;
            color: var(--text-main);
            background: transparent;
            min-width: 0;
        }

        .search-box input::placeholder { color: var(--text-light); }

        .search-divider {
            width: 1px;
            height: 24px;
            background: var(--border);
            flex-shrink: 0;
        }

        .search-box select {
            border: none;
            outline: none;
            font-family: inherit;
            font-size: 13px;
            color: var(--text-muted);
            background: transparent;
            padding: 8px 10px;
            cursor: pointer;
            min-width: 0;
        }

        .search-btn {
            background: var(--kc-green);
            color: #fff;
            border: none;
            border-radius: 40px;
            padding: 12px 28px;
            font-family: inherit;
            font-size: 13.5px;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
            transition: background var(--transition);
            flex-shrink: 0;
            display: flex;
            align-items: center;
            gap: 7px;
        }

        .search-btn:hover { background: var(--kc-green-dark); }

        /* ── JOBS SECTION ──────────────────────────────────────── */
        .jobs-section {
            padding: 56px 0 72px;
        }

        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 32px;
            flex-wrap: wrap;
            gap: 16px;
        }

        .section-title-group {}

        .section-eyebrow {
            display: block;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--kc-green);
            margin-bottom: 6px;
        }

        .section-title {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--text-main);
            margin: 0;
            letter-spacing: -0.02em;
        }

        .section-title span { color: var(--kc-green); }

        /* ── VIEW TOGGLE ───────────────────────────────────────── */
        .view-controls {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .view-toggle {
            display: flex;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .view-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 36px;
            border: none;
            background: transparent;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 16px;
            transition: background var(--transition), color var(--transition);
        }

        .view-btn:hover { background: var(--kc-green-bg); color: var(--kc-green); }
        .view-btn.active { background: var(--kc-green); color: #fff; }

        .results-count {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 500;
        }

        .results-count strong { color: var(--kc-green); }

        /* ── FILTER BAR ────────────────────────────────────────── */
        .filter-bar {
            display: flex;
            gap: 10px;
            margin-bottom: 28px;
            flex-wrap: wrap;
            align-items: center;
        }

        .filter-pill {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 7px 14px;
            border-radius: 20px;
            border: 1px solid var(--border);
            background: #fff;
            font-family: inherit;
            font-size: 12.5px;
            font-weight: 500;
            color: var(--text-muted);
            cursor: pointer;
            transition: all var(--transition);
            white-space: nowrap;
        }

        .filter-pill:hover, .filter-pill.active {
            border-color: var(--kc-green);
            background: var(--kc-green-tint);
            color: var(--kc-green);
        }

        .filter-pill i { font-size: 13px; }

        /* ── GRID VIEW (default) ───────────────────────────────── */
        .jobs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 20px;
        }

        /* ── LIST VIEW ─────────────────────────────────────────── */
        .jobs-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }



        /* Card top accent bar */
        .card-accent {
            height: 3px;
            background: var(--kc-green);
        }

        .card-body {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .card-header-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
            gap: 10px;
        }

        .card-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 9px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            white-space: nowrap;
        }

        .badge-urgent   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
        .badge-featured { background: var(--kc-gold-bg); color: #92600a; border: 1px solid #f5e3a0; }
        .badge-new      { background: var(--kc-green-tint); color: var(--kc-green-dark); border: 1px solid #b8d9b8; }
        .badge-category { background: var(--kc-green-bg); color: var(--kc-green); border: 1px solid #c0d9c0; }
        .badge-type     { background: #f0f4ff; color: #3b52a0; border: 1px solid #c8d3f0; }

        .card-title {
            font-size: 15.5px;
            font-weight: 700;
            color: var(--text-main);
            margin: 0 0 14px;
            line-height: 1.35;
            letter-spacing: -0.01em;
        }

        .card-meta {
            display: flex;
            flex-direction: column;
            gap: 7px;
            margin-bottom: 16px;
            flex: 1;
        }

        .meta-row {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12.5px;
            color: var(--text-muted);
        }

        .meta-row i {
            font-size: 13px;
            color: var(--kc-green);
            flex-shrink: 0;
            width: 16px;
        }

        .deadline-row { color: #c05c00; }
        .deadline-row i { color: #c05c00; }
        .deadline-urgent { color: #dc2626; font-weight: 600; }

        /* ── TRACKING STATS ────────────────────────────────────── */
        .card-stats {
            display: flex;
            gap: 14px;
            padding: 10px 20px;
            background: var(--kc-green-bg);
            border-top: 1px solid var(--border);
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 11.5px;
            color: var(--text-muted);
            font-weight: 500;
        }

        .stat-item i {
            font-size: 12px;
            color: var(--kc-green);
        }

        /* ── CARD ACTIONS ──────────────────────────────────────── */
        .card-actions {
            display: flex;
            gap: 8px;
            padding: 14px 20px;
            border-top: 1px solid var(--border);
            background: #fafcfa;
        }

        .btn-view {
            flex: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            padding: 9px 16px;
            background: var(--kc-green);
            color: #fff;
            border: none;
            border-radius: var(--radius-sm);
            font-family: inherit;
            font-size: 13px;
            font-weight: 700;
            text-decoration: none;
            cursor: pointer;
            transition: background var(--transition);
        }

        .btn-view:hover { background: var(--kc-green-dark); color: #fff; }

        .btn-download {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            padding: 9px 16px;
            background: var(--kc-gold);
            color: #2a1a00;
            border: none;
            border-radius: var(--radius-sm);
            font-family: inherit;
            font-size: 13px;
            font-weight: 700;
            text-decoration: none;
            cursor: pointer;
            transition: background var(--transition);
            white-space: nowrap;
        }

        .btn-download:hover { background: var(--kc-gold-light); color: #1a0f00; }
        .btn-download:disabled { opacity: 0.5; cursor: not-allowed; }

        /* ── LIST VIEW CARD OVERRIDES ──────────────────────────── */
        .jobs-list .job-card {
            flex-direction: row;
            align-items: stretch;
        }

        .jobs-list .card-accent {
            width: 4px;
            height: auto;
            flex-shrink: 0;
        }

        .jobs-list .card-body {
            flex: 1;
            padding: 16px 20px;
            flex-direction: row;
            align-items: center;
            gap: 20px;
        }

        .jobs-list .card-main {
            flex: 1;
            min-width: 0;
        }

        .jobs-list .card-title { margin-bottom: 6px; font-size: 14.5px; }
        .jobs-list .card-meta  { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 0; }
        .jobs-list .card-header-row { margin-bottom: 6px; }

        .jobs-list .card-stats {
            flex-direction: column;
            gap: 6px;
            padding: 16px;
            background: var(--kc-green-bg);
            border-top: none;
            border-left: 1px solid var(--border);
            width: 120px;
            flex-shrink: 0;
            align-items: flex-start;
        }

        .jobs-list .card-actions {
            flex-direction: column;
            padding: 12px 16px;
            border-top: none;
            border-left: 1px solid var(--border);
            background: #fafcfa;
            width: 140px;
            flex-shrink: 0;
            align-self: stretch;
            justify-content: center;
        }

        .jobs-list .btn-view,
        .jobs-list .btn-download {
            width: 100%;
            font-size: 12.5px;
            padding: 8px 12px;
        }

        /* ── EMPTY STATE ───────────────────────────────────────── */
        .empty-state {
            text-align: center;
            padding: 80px 20px;
            grid-column: 1 / -1;
        }

        .empty-icon {
            font-size: 48px;
            color: var(--kc-green);
            opacity: 0.3;
            margin-bottom: 16px;
            display: block;
        }

        .empty-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-main);
            margin: 0 0 8px;
        }

        .empty-subtitle {
            font-size: 14px;
            color: var(--text-muted);
            margin: 0;
        }

        /* ── VIEW ALL BUTTON ───────────────────────────────────── */
        .view-all-wrap {
            text-align: center;
            margin-top: 48px;
        }

        .btn-view-all {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 36px;
            background: var(--bg-card);
            color: var(--kc-green);
            border: 2px solid var(--kc-green);
            border-radius: var(--radius);
            font-family: inherit;
            font-size: 14px;
            font-weight: 700;
            text-decoration: none;
            transition: background var(--transition), color var(--transition);
        }

        .btn-view-all:hover {
            background: var(--kc-green);
            color: #fff;
        }

        /* ── FOOTER ────────────────────────────────────────────── */
        .site-footer {
            background: #0f1f0f;
            color: rgba(255,255,255,0.75);
            padding: 60px 0 24px;
            border-top: 4px solid var(--kc-gold);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 48px;
        }

        .footer-heading {
            color: var(--kc-gold-light);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            margin: 0 0 16px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(212,160,23,0.25);
        }

        .footer-text {
            font-size: 13.5px;
            line-height: 1.7;
            margin: 0;
        }

        .footer-links { list-style: none; padding: 0; margin: 0; }
        .footer-links li { margin-bottom: 8px; }
        .footer-links a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 13.5px;
            transition: color var(--transition);
        }
        .footer-links a:hover { color: var(--kc-gold-light); }

        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 13px;
            margin-bottom: 10px;
        }
        .footer-contact-item i { color: var(--kc-gold); margin-top: 2px; flex-shrink: 0; }

        .footer-social {
            display: flex;
            gap: 10px;
            margin-top: 4px;
        }
        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            color: rgba(255,255,255,0.75);
            font-size: 15px;
            text-decoration: none;
            transition: background var(--transition), color var(--transition);
            border: 1px solid rgba(255,255,255,0.1);
        }
        .footer-social a:hover { background: var(--kc-gold); color: #1a0f00; border-color: var(--kc-gold); }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            font-size: 12.5px;
        }

        /* ── RESPONSIVE ────────────────────────────────────────── */
        @media (max-width: 900px) {
            .jobs-list .job-card { flex-direction: column; }
            .jobs-list .card-accent { width: auto; height: 3px; }
            .jobs-list .card-body { flex-direction: column; gap: 10px; }
            .jobs-list .card-stats, .jobs-list .card-actions {
                width: auto; border-left: none; border-top: 1px solid var(--border);
                flex-direction: row; flex-wrap: wrap;
            }
            .jobs-list .card-stats { gap: 12px; padding: 10px 16px; }
            .jobs-list .card-actions { gap: 8px; }
            .jobs-list .btn-view, .jobs-list .btn-download { width: auto; flex: 1; }
        }

        @media (max-width: 768px) {
            .jobs-grid { grid-template-columns: 1fr; }
            .search-box { flex-direction: column; border-radius: var(--radius); padding: 12px; gap: 10px; }
            .search-box input, .search-box select { width: 100%; padding: 10px; }
            .search-divider { width: 100%; height: 1px; }
            .search-btn { width: 100%; justify-content: center; border-radius: var(--radius-sm); }
            .hero-stats { gap: 20px; }
            .section-header { align-items: flex-start; }
        }

        /* ── PUB PAGE HERO (inner pages) ───────────────────────── */
        .pub-page-hero {
            background: linear-gradient(135deg, var(--kc-green) 0%, var(--kc-green-dark) 100%);
            padding: 80px 0 70px;
            min-height: 300px;
            display: flex;
            align-items: center;
            color: #fff;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        /* Banner image when CSS vars are set */
        .pub-page-hero[style*="--hero-bg-desktop"] {
            background-image: var(--hero-bg-desktop);
            background-size: cover;
            background-position: center top;
            background-repeat: no-repeat;
        }

        /* Dark overlay for readability */
        .pub-page-hero[style*="--hero-bg-desktop"]::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(160deg, rgba(0,50,0,.70) 0%, rgba(0,30,0,.58) 100%);
            pointer-events: none;
            z-index: 0;
        }

        .pub-page-hero > .container {
            position: relative;
            z-index: 1;
        }

        .pub-page-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
        .pub-page-hero p  { opacity: 0.8; font-size: 1.05rem; margin: 0; }

        .pub-hero-breadcrumb {
            font-size: 13px;
            opacity: 0.8;
            margin-bottom: 10px;
        }
        .pub-hero-breadcrumb a { color: #fff; text-decoration: none; }
        .pub-hero-breadcrumb a:hover { text-decoration: underline; }
        .pub-hero-breadcrumb span { margin: 0 6px; }

        /* Mobile banner swap */
        @media (max-width: 640px) {
            .pub-page-hero[style*="--hero-bg-mobile"] {
                background-image: var(--hero-bg-mobile);
            }
            .pub-page-hero h1 { font-size: 1.6rem; }
        }

        .pub-section { padding: 60px 0; }
        .pub-card {
            background: #fff;
            border-radius: var(--radius-lg);
            padding: 32px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            margin-bottom: 24px;
        }

        @media (max-width: 480px) {
            .hero-section { padding: 60px 0 52px; min-height: 340px; }
            .pub-page-hero { padding: 52px 0 44px; min-height: 220px; }
            .section-title { font-size: 1.4rem; }
        }


          /* * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        } */

        /* body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            background: #f8f9fa;
            color: #333;
        } */

        /* .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 20px;
        } */

        /* Header */
        .header {
            background: linear-gradient(135deg, #006400 0%, #FFD700 100%);
            padding: 40px 0;
            color: white;
        }

        .header h1 {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .header .breadcrumb {
            color: rgba(255,255,255,0.9);
        }

        .header .breadcrumb a {
            color: white;
            text-decoration: none;
        }

        .header .breadcrumb a:hover {
            text-decoration: underline;
        }

        /* Job Card */
        .job-card {
            background: white;
            border-radius: 10px;
            padding: 30px;
            margin-top: -30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .job-badge {
            display: inline-block;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            margin-right: 10px;
        }

        .badge-urgent {
            background: #ff4444;
            color: white;
        }

        .badge-featured {
            background: #FFD700;
            color: #000;
        }

        .job-title {
            font-size: 2rem;
            margin: 20px 0 10px;
            color: #333;
        }

        .job-meta {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            padding: 20px 0;
            border-bottom: 1px solid #e0e0e0;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .meta-item i {
            font-size: 24px;
            color: #006400;
        }

        .meta-label {
            font-size: 12px;
            color: #999;
            text-transform: uppercase;
        }

        .meta-value {
            font-size: 16px;
            font-weight: 600;
            color: #333;
        }

        /* Sections */
        .section {
            margin: 30px 0;
        }

        .section h2 {
            font-size: 1.5rem;
            color: #006400;
            margin-bottom: 15px;
        }

        .section-content {
            line-height: 1.8;
            color: #666;
        }

        .section-content ul,
        .section-content ol {
            padding-left: 20px;
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            gap: 15px;
            margin: 30px 0;
            flex-wrap: wrap;
        }

        .btn-apply {
            background: #006400;
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .btn-apply:hover {
            background: #004d00;
        }

        .btn-save {
            background: white;
            color: #006400;
            padding: 15px 40px;
            border: 2px solid #006400;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .btn-save:hover {
            background: #006400;
            color: white;
        }

        .btn-share {
            background: #f5f5f5;
            color: #666;
            padding: 15px 30px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            transition: background 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .btn-share:hover {
            background: #e0e0e0;
        }

        /* Share Dropdown */
      /* Share Dropdown */
.share-dropdown {
    position: relative;
    display: inline-block;
}

.share-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    max-height: 250px; /* limit height to make scroll appear */
    overflow-y: auto;   /* enable vertical scroll */
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1;
    margin-top: 10px;
}

.share-content a {
    color: #333;
    padding: 12px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-content a:hover {
    background: #f5f5f5;
}

.share-dropdown:hover .share-content {
    display: block;
}

        /* Documents */
        .documents-list {
            list-style: none;
            padding: 0;
        }

        .documents-list li {
            margin-bottom: 10px;
        }

        .documents-list a {
            color: #006400;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .documents-list a:hover {
            text-decoration: underline;
        }

        /* Related Jobs */
        .related-jobs {
            margin-top: 40px;
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .related-card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            text-decoration: none;
            color: #333;
            transition: transform 0.3s;
        }

        .related-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .related-title {
            font-weight: 600;
            margin-bottom: 5px;
        }

        .related-location {
            font-size: 13px;
            color: #999;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .job-title {
                font-size: 1.5rem;
            }

            .job-meta {
                grid-template-columns: 1fr;
            }

            .action-buttons {
                flex-direction: column;
            }

            .btn-apply,
            .btn-save,
            .btn-share {
                width: 100%;
                text-align: center;
            }
        }
