:root {
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            color: #172033;
            background: #f7f8fb;
            --brand: #2563eb;
            --brand-dark: #1d4ed8;
            --brand-soft: #eff6ff;
            --navy: #172033;
            --muted: #667085;
            --line: #e5e7eb;
            --surface: #ffffff;
            --surface-soft: #f8fafc;
            --success: #166534;
            --warning: #92400e;
            --danger: #991b1b;
            --shadow-sm: 0 8px 24px rgba(23, 32, 51, .06);
            --shadow-md: 0 18px 42px rgba(23, 32, 51, .10);
        }

        * { box-sizing: border-box; }

        html { scroll-behavior: smooth; }

        body {
            margin: 0;
            background:
                radial-gradient(circle at top right, rgba(37, 99, 235, .08), transparent 360px),
                #f7f8fb;
            color: var(--navy);
            line-height: 1.5;
        }

        a { color: inherit; }

        button,
        input,
        select,
        textarea {
            font: inherit;
        }

        .container {
            width: min(1180px, calc(100% - 36px));
            margin: 0 auto;
        }

        .navbar {
            position: sticky;
            top: 0;
            z-index: 50;
            border-bottom: 1px solid rgba(229, 231, 235, .9);
            background: rgba(255, 255, 255, .94);
            backdrop-filter: blur(18px);
        }

        .navbar .container {
            min-height: 74px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 22px;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 11px;
            color: var(--navy);
            text-decoration: none;
            font-weight: 800;
            letter-spacing: -.02em;
            white-space: nowrap;
        }

        .brand-mark {
            width: 40px;
            height: 40px;
            display: inline-grid;
            place-items: center;
            border-radius: 12px;
            background: linear-gradient(145deg, var(--brand), var(--brand-dark));
            color: white;
            box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
        }

        .brand-icon {
            width: 22px;
            height: 22px;
            display: block;
        }

        .brand-copy {
            display: grid;
            line-height: 1.05;
        }

        .brand-copy small {
            margin-top: 4px;
            color: var(--muted);
            font-size: .68rem;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .nav-actions,
        .actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-actions {
            justify-content: flex-end;
            flex-wrap: wrap;
        }

        .nav-link,
        .nav-dropdown > summary {
            display: inline-flex;
            align-items: center;
            min-height: 40px;
            padding: 9px 11px;
            border-radius: 9px;
            color: #344054;
            text-decoration: none;
            font-size: .92rem;
            font-weight: 650;
            cursor: pointer;
            list-style: none;
        }

        .nav-dropdown > summary::-webkit-details-marker { display: none; }

        .nav-link:hover,
        .nav-link.active,
        .nav-dropdown > summary:hover,
        .nav-dropdown[open] > summary {
            background: #eff6ff;
            color: var(--brand);
        }

        .nav-dropdown {
            position: relative;
        }

        .nav-dropdown > summary::after {
            content: "⌄";
            margin-left: 6px;
            font-size: .8rem;
        }

        .dropdown-panel {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            min-width: 270px;
            padding: 8px;
            border: 1px solid var(--line);
            border-radius: 14px;
            background: white;
            box-shadow: var(--shadow-md);
        }

        .dropdown-link {
            display: block;
            padding: 10px 11px;
            border-radius: 9px;
            text-decoration: none;
        }

        .dropdown-link:hover {
            background: #f8fafc;
        }

        .dropdown-link strong {
            display: block;
            color: #1d2939;
            font-size: .9rem;
        }

        .dropdown-link span {
            display: block;
            margin-top: 2px;
            color: var(--muted);
            font-size: .78rem;
        }

        .dropdown-form {
            margin: 4px 0 0;
            padding-top: 7px;
            border-top: 1px solid #eef0f3;
        }

        .dropdown-action-button {
            width: 100%;
            border: 0;
            border-radius: 9px;
            padding: 10px 11px;
            background: transparent;
            color: #b42318;
            cursor: pointer;
            text-align: left;
            font: inherit;
            font-size: .9rem;
            font-weight: 750;
        }

        .dropdown-action-button:hover {
            background: #fff1f2;
        }

        .nav-user {
            max-width: 150px;
            overflow: hidden;
            color: var(--muted);
            font-size: .84rem;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .nav-logout-form {
            margin: 0;
        }

        .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            border: 1px solid #d0d5dd;
            border-radius: 10px;
            padding: 9px 15px;
            background: white;
            color: #344054;
            text-decoration: none;
            cursor: pointer;
            font-weight: 700;
            transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
        }

        .button:hover {
            transform: translateY(-1px);
            border-color: #98a2b3;
            box-shadow: 0 6px 16px rgba(23, 32, 51, .08);
        }

        .button.primary {
            border-color: var(--brand);
            background: var(--brand);
            color: white;
        }

        .button.primary:hover {
            border-color: var(--brand-dark);
            background: var(--brand-dark);
        }

        .button.ghost {
            border-color: transparent;
            background: #f8fafc;
        }

        .button.danger,
        .nav-logout {
            border-color: #fecaca;
            background: #fff;
            color: #b4232c;
        }

        .nav-logout {
            min-height: 38px;
            padding: 7px 11px;
        }

        main {
            min-height: 62vh;
            padding: 34px 0 64px;
        }

        .hero {
            position: relative;
            overflow: hidden;
            padding: 36px;
            margin-bottom: 22px;
            border: 1px solid #e7e9ee;
            border-radius: 22px;
            background: linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
            box-shadow: var(--shadow-sm);
        }

        .hero::after {
            content: "";
            position: absolute;
            width: 210px;
            height: 210px;
            right: -80px;
            top: -95px;
            border-radius: 999px;
            background: rgba(180, 35, 44, .08);
            pointer-events: none;
        }

        .hero h1 {
            max-width: 780px;
            margin: 0 0 12px;
            color: #101828;
            font-size: clamp(2rem, 4vw, 3.4rem);
            line-height: 1.05;
            letter-spacing: -.045em;
        }

        .hero .lead {
            max-width: 760px;
            margin-bottom: 0;
            font-size: 1.04rem;
        }

        .eyebrow {
            margin: 0 0 8px;
            color: var(--brand);
            font-size: .78rem;
            font-weight: 800;
            letter-spacing: .12em;
            text-transform: uppercase;
        }

        h1, h2, h3 {
            color: #101828;
        }

        .lead,
        .muted {
            color: var(--muted);
        }

        .lead {
            line-height: 1.7;
        }

        .section {
            margin-top: 34px;
        }

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

        .section-header h2 {
            margin: 0;
            font-size: clamp(1.45rem, 2vw, 2rem);
            letter-spacing: -.025em;
        }

        .section-header p {
            max-width: 640px;
            margin: 7px 0 0;
            color: var(--muted);
        }

        .card,
        .filter-card,
        .job-card,
        .feature-card,
        .partner-card {
            border: 1px solid #e7e9ee;
            background: var(--surface);
            box-shadow: var(--shadow-sm);
        }

        .card {
            padding: 24px;
            border-radius: 16px;
        }

        .filter-card {
            position: relative;
            padding: 22px;
            margin-bottom: 22px;
            border-radius: 18px;
        }

        .filter-card::before {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 4px;
            border-radius: 18px 0 0 18px;
            background: var(--brand);
        }

        .filter-title-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            margin-bottom: 16px;
        }

        .filter-title-row h2 {
            margin: 0;
            font-size: 1.05rem;
        }

        .filter-title-row p {
            margin: 3px 0 0;
            color: var(--muted);
            font-size: .86rem;
        }

        .filter-count {
            display: inline-flex;
            align-items: center;
            min-height: 30px;
            padding: 5px 10px;
            border-radius: 999px;
            background: var(--brand-soft);
            color: var(--brand-dark);
            font-size: .76rem;
            font-weight: 800;
        }

        .filter-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
        }

        .filter-span-2 {
            grid-column: span 2;
        }

        .field {
            min-width: 0;
        }

        .field label {
            display: block;
            margin-bottom: 6px;
            color: #344054;
            font-size: .82rem;
            font-weight: 750;
        }

        .field input,
        .field select {
            width: 100%;
            height: 44px;
            padding: 8px 11px;
            border: 1px solid #d0d5dd;
            border-radius: 10px;
            outline: none;
            background: white;
            color: #101828;
        }

        .field input::placeholder {
            color: #98a2b3;
        }

        .field input:focus,
        .field select:focus {
            border-color: var(--brand);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
        }

        .filter-actions {
            margin-top: 16px;
            flex-wrap: wrap;
        }

        .results-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin: 22px 0 14px;
            color: #475467;
        }

        .results-heading strong {
            color: #101828;
            font-size: 1.1rem;
        }

        .jobs-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .job-card {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 15px;
            min-width: 0;
            padding: 21px;
            border-radius: 16px;
            transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
        }

        .job-card:hover {
            transform: translateY(-2px);
            border-color: #d8dce4;
            box-shadow: var(--shadow-md);
        }

        .job-card h2 {
            margin: 0 0 6px;
            font-size: 1.13rem;
            line-height: 1.35;
        }

        .job-card h2 a {
            color: #101828;
            text-decoration: none;
        }

        .job-card h2 a:hover {
            color: var(--brand);
        }

        .job-card-employer {
            color: #475467;
            font-size: .9rem;
            font-weight: 650;
        }

        .job-card-employer a {
            text-decoration: none;
        }

        .job-card-employer a:hover {
            color: var(--brand);
            text-decoration: underline;
        }

        .job-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-top: auto;
            padding-top: 2px;
        }

        .job-deadline {
            color: var(--muted);
            font-size: .82rem;
        }

        .meta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 13px;
            color: #475467;
            font-size: .88rem;
        }

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

        .badge {
            display: inline-flex;
            align-items: center;
            border-radius: 999px;
            background: #f2f4f7;
            padding: 5px 9px;
            color: #475467;
            font-size: .71rem;
            font-weight: 800;
            text-decoration: none;
        }

        .badge.success {
            background: #ecfdf3;
            color: var(--success);
        }

        .badge.warning {
            background: #fffaeb;
            color: var(--warning);
        }

        .badge.danger {
            background: #fff1f3;
            color: var(--danger);
        }

        .badge.brand {
            background: var(--brand-soft);
            color: var(--brand-dark);
        }

        .info-grid,
        .partners-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 16px;
        }

        .feature-card,
        .partner-card {
            padding: 22px;
            border-radius: 16px;
        }

        .feature-number {
            width: 36px;
            height: 36px;
            display: inline-grid;
            place-items: center;
            margin-bottom: 16px;
            border-radius: 10px;
            background: var(--brand-soft);
            color: var(--brand);
            font-weight: 850;
        }

        .feature-card h3,
        .partner-card h3 {
            margin: 0 0 8px;
            font-size: 1.02rem;
        }

        .feature-card p,
        .partner-card p {
            margin: 0;
            color: var(--muted);
            font-size: .9rem;
            line-height: 1.65;
        }

        .partner-card {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .partner-domain {
            color: var(--brand);
            font-size: .76rem;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
        }

        .partner-card .button {
            align-self: flex-start;
            margin-top: auto;
        }

        .quick-links-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
        }

        .quick-link-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            min-width: 0;
            padding: 15px 16px;
            border: 1px solid #e7e9ee;
            border-radius: 13px;
            background: white;
            color: #344054;
            text-decoration: none;
            box-shadow: var(--shadow-sm);
        }

        .quick-link-card:hover {
            border-color: #bfdbfe;
            color: var(--brand);
            transform: translateY(-1px);
        }

        .quick-link-card strong {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .quick-link-count {
            flex: 0 0 auto;
            min-width: 28px;
            padding: 4px 8px;
            border-radius: 999px;
            background: var(--brand-soft);
            color: var(--brand-dark);
            text-align: center;
            font-size: .75rem;
            font-weight: 800;
        }

        .audience-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .audience-card {
            padding: 26px;
            border: 1px solid #e7e9ee;
            border-radius: 18px;
            background: white;
            box-shadow: var(--shadow-sm);
        }

        .audience-card h3 {
            margin: 0 0 8px;
            font-size: 1.2rem;
        }

        .audience-card p {
            margin: 0 0 18px;
            color: var(--muted);
            line-height: 1.7;
        }

        .responsibility-card {
            display: grid;
            grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
            gap: 22px;
            padding: 28px;
            border: 1px solid #bfdbfe;
            border-radius: 20px;
            background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
        }

        .responsibility-card h2 {
            margin: 0 0 10px;
        }

        .responsibility-card p {
            margin: 0;
            color: #1e3a8a;
            line-height: 1.75;
        }

        .responsibility-points {
            display: grid;
            gap: 10px;
        }

        .responsibility-point {
            padding: 12px 14px;
            border: 1px solid #dbeafe;
            border-radius: 12px;
            background: rgba(255,255,255,.78);
            color: #344054;
            font-size: .9rem;
            font-weight: 650;
        }

        .community-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
        }

        .community-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 16px;
            border: 1px solid #e7e9ee;
            border-radius: 14px;
            background: white;
            text-decoration: none;
            box-shadow: var(--shadow-sm);
        }

        .community-card:hover {
            border-color: #bfdbfe;
            color: var(--brand);
        }

        .community-card strong {
            display: block;
            color: #1d2939;
        }

        .community-card span {
            display: block;
            margin-top: 2px;
            color: var(--muted);
            font-size: .78rem;
        }

        .community-arrow {
            flex: 0 0 auto;
            color: var(--brand);
            font-weight: 900;
        }

        .jobs-directory-hero {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 24px;
            padding: 28px 0 22px;
        }

        .jobs-directory-hero h1 {
            margin: 0 0 8px;
            font-size: clamp(2rem, 4vw, 3rem);
            line-height: 1.08;
            letter-spacing: -.04em;
        }

        .jobs-directory-hero p {
            max-width: 720px;
            margin: 0;
            color: var(--muted);
            line-height: 1.7;
        }

        .jobs-directory-layout {
            display: grid;
            grid-template-columns: 300px minmax(0, 1fr);
            gap: 22px;
            align-items: start;
        }

        .jobs-filter-sidebar {
            position: sticky;
            top: 94px;
            padding: 20px;
            border: 1px solid #e7e9ee;
            border-radius: 18px;
            background: white;
            box-shadow: var(--shadow-sm);
        }

        .jobs-filter-sidebar h2 {
            margin: 0;
            font-size: 1.05rem;
        }

        .jobs-filter-sidebar .field + .field {
            margin-top: 13px;
        }

        .jobs-filter-sidebar .filter-actions {
            display: grid;
            grid-template-columns: 1fr;
            gap: 8px;
        }

        .jobs-filter-sidebar .filter-actions .button {
            width: 100%;
        }

        .jobs-directory-results {
            min-width: 0;
        }

        .jobs-directory-results .jobs-grid {
            grid-template-columns: 1fr;
        }

        .results-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 14px;
            padding: 15px 17px;
            border: 1px solid #e7e9ee;
            border-radius: 14px;
            background: white;
            box-shadow: var(--shadow-sm);
        }

        .results-toolbar strong {
            color: #101828;
            font-size: 1.04rem;
        }

        .results-toolbar-copy {
            color: var(--muted);
            font-size: .88rem;
        }

        .active-filter-list {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
            margin: 0 0 14px;
        }

        .active-filter-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 9px;
            border-radius: 999px;
            background: #eff6ff;
            color: #1d4ed8;
            font-size: .78rem;
            font-weight: 750;
        }

        .job-card-topline {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 14px;
        }

        .job-card-source {
            flex: 0 0 auto;
            color: var(--muted);
            font-size: .74rem;
            font-weight: 750;
            text-transform: uppercase;
            letter-spacing: .05em;
        }

        .job-card-published {
            color: #667085;
            font-size: .78rem;
        }

        .job-detail-breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
            color: #667085;
            font-size: .86rem;
        }

        .job-detail-breadcrumb a {
            color: #475467;
            text-decoration: none;
        }

        .job-detail-breadcrumb a:hover {
            color: var(--brand);
        }

        .job-detail-hero {
            position: relative;
            overflow: hidden;
            padding: 30px;
            border: 1px solid #dbeafe;
            border-radius: 22px;
            background:
                radial-gradient(circle at top right, rgba(37, 99, 235, .12), transparent 280px),
                linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
            box-shadow: var(--shadow-sm);
        }

        .job-detail-hero h1 {
            max-width: 880px;
            margin: 10px 0 8px;
            font-size: clamp(2rem, 4vw, 3.15rem);
            line-height: 1.06;
            letter-spacing: -.045em;
        }

        .job-detail-employer {
            margin: 0;
            color: #344054;
            font-size: 1.04rem;
            font-weight: 700;
        }

        .job-detail-employer a {
            color: inherit;
            text-decoration: none;
        }

        .job-detail-employer a:hover {
            color: var(--brand);
            text-decoration: underline;
        }

        .job-detail-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 22px;
        }

        .job-facts-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 10px;
            margin-top: 22px;
        }

        .job-fact {
            min-width: 0;
            padding: 13px 14px;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            background: rgba(255,255,255,.82);
        }

        .job-fact-label {
            display: block;
            margin-bottom: 4px;
            color: #667085;
            font-size: .72rem;
            font-weight: 750;
            letter-spacing: .04em;
            text-transform: uppercase;
        }

        .job-fact-value {
            display: block;
            overflow-wrap: anywhere;
            color: #1d2939;
            font-size: .9rem;
            font-weight: 750;
        }

        .job-detail-layout {
            display: grid;
            grid-template-columns: minmax(0, 1.65fr) minmax(290px, .75fr);
            gap: 22px;
            align-items: start;
            margin-top: 22px;
        }

        .job-section-card {
            padding: 0;
            overflow: hidden;
        }

        .job-section-header {
            padding: 19px 22px 14px;
            border-bottom: 1px solid #eef0f3;
            background: #fbfcfe;
        }

        .job-section-header h2 {
            margin: 2px 0 0;
            font-size: 1.08rem;
        }

        .job-section-body {
            padding: 4px 22px 20px;
        }

        .job-requirement {
            padding: 17px 0;
            border-bottom: 1px solid #eef0f3;
        }

        .job-requirement:last-child {
            border-bottom: 0;
        }

        .job-requirement h3 {
            margin: 0 0 6px;
            font-size: .9rem;
        }

        .job-requirement p {
            margin: 0;
            color: #475467;
            white-space: pre-line;
            line-height: 1.72;
        }

        .job-sidebar-sticky {
            position: sticky;
            top: 94px;
        }

        .apply-card {
            padding: 22px;
            border: 1px solid #bfdbfe;
            border-radius: 18px;
            background: linear-gradient(145deg, #eff6ff, #ffffff);
            box-shadow: var(--shadow-sm);
        }

        .apply-card h2 {
            margin: 0 0 7px;
            font-size: 1.12rem;
        }

        .apply-card p {
            margin: 0 0 16px;
            color: #475467;
            line-height: 1.65;
        }

        .apply-card .button {
            width: 100%;
        }

        .offer-summary-list {
            display: grid;
            gap: 0;
            margin: 0;
        }

        .offer-summary-row {
            display: grid;
            grid-template-columns: 108px 1fr;
            gap: 10px;
            padding: 11px 0;
            border-bottom: 1px solid #eef0f3;
        }

        .offer-summary-row:last-child {
            border-bottom: 0;
        }

        .offer-summary-row dt {
            color: #667085;
            font-size: .8rem;
            font-weight: 700;
        }

        .offer-summary-row dd {
            min-width: 0;
            margin: 0;
            overflow-wrap: anywhere;
            color: #344054;
            font-size: .86rem;
            font-weight: 650;
        }

        .trust-note {
            padding: 16px;
            border: 1px solid #bfdbfe;
            border-radius: 14px;
            background: #eff6ff;
            color: #1e3a8a;
            font-size: .86rem;
            line-height: 1.65;
        }

        .related-jobs-section {
            margin-top: 32px;
        }

        .detail-grid {
            display: grid;
            grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
            gap: 18px;
            align-items: start;
        }

        .stack {
            display: grid;
            gap: 16px;
        }

        .detail-list {
            margin: 0;
        }

        .detail-list > div {
            display: grid;
            grid-template-columns: 150px 1fr;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid #f2f4f7;
        }

        .detail-list dt {
            color: #475467;
            font-weight: 750;
        }

        .detail-list dd {
            margin: 0;
            overflow-wrap: anywhere;
        }

        .content-block {
            padding: 14px 0;
            border-bottom: 1px solid #eaecf0;
        }

        .content-block:last-child {
            border-bottom: 0;
        }

        .content-block p {
            color: #344054;
            white-space: pre-line;
            line-height: 1.7;
        }

        .notice {
            padding: 14px 16px;
            border: 1px solid #d1e9ff;
            border-radius: 12px;
            background: #eff8ff;
            color: #1849a9;
            line-height: 1.6;
        }

        .notice.warning {
            border-color: #fedf89;
            background: #fffaeb;
            color: #93370d;
        }

        .empty-state {
            padding: 46px 24px;
            border: 1px dashed #d0d5dd;
            border-radius: 16px;
            background: white;
            text-align: center;
            color: var(--muted);
        }

        .empty-state h2 {
            margin-bottom: 8px;
        }

        .pagination-wrap {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            margin-top: 26px;
        }

        .pagination-meta {
            color: var(--muted);
            font-size: .88rem;
        }

        .pagination-list {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .pagination-link {
            min-width: 38px;
            height: 38px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 11px;
            border: 1px solid #d0d5dd;
            border-radius: 9px;
            background: white;
            color: #344054;
            text-decoration: none;
            font-size: .88rem;
        }

        .pagination-link:hover {
            border-color: var(--brand);
            color: var(--brand);
        }

        .pagination-link.active {
            border-color: var(--brand);
            background: var(--brand);
            color: white;
            font-weight: 800;
        }

        .pagination-link.disabled {
            background: #f9fafb;
            color: #98a2b3;
        }

        .pagination-ellipsis {
            padding: 0 4px;
            color: #98a2b3;
        }

        .site-footer {
            margin-top: 28px;
            border-top: 1px solid #e4e7ec;
            background: #101828;
            color: #d0d5dd;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1.2fr;
            gap: 34px;
            padding: 40px 0 28px;
        }

        .footer-title {
            margin: 0 0 9px;
            color: white;
            font-size: .96rem;
        }

        .footer-copy {
            max-width: 520px;
            margin: 0;
            color: #98a2b3;
            font-size: .88rem;
            line-height: 1.7;
        }

        .footer-links {
            display: grid;
            gap: 8px;
        }

        .footer-links a {
            color: #d0d5dd;
            text-decoration: none;
            font-size: .88rem;
        }

        .footer-links a:hover {
            color: white;
            text-decoration: underline;
        }

        .social-links {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .social-link {
            display: inline-flex;
            padding: 7px 9px;
            border: 1px solid #344054;
            border-radius: 8px;
            color: #d0d5dd;
            text-decoration: none;
            font-size: .76rem;
            font-weight: 700;
        }

        .social-link:hover {
            border-color: #667085;
            background: #1d2939;
            color: white;
        }

        .footer-bottom {
            padding: 16px 0 24px;
            border-top: 1px solid #1d2939;
            color: #667085;
            font-size: .78rem;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        :focus-visible {
            outline: 3px solid rgba(37, 99, 235, .35);
            outline-offset: 2px;
        }

        @media (max-width: 980px) {
            .jobs-directory-layout,
            .job-detail-layout {
                grid-template-columns: 1fr;
            }

            .jobs-filter-sidebar,
            .job-sidebar-sticky {
                position: static;
            }

            .job-facts-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 900px) {
            .navbar .container {
                align-items: flex-start;
                padding: 13px 0;
            }

            .nav-actions {
                max-width: 70%;
            }

            .filter-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .info-grid,
            .partners-grid,
            .community-grid,
            .footer-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .quick-links-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .responsibility-card {
                grid-template-columns: 1fr;
            }

            .footer-grid > :first-child {
                grid-column: span 2;
            }
        }

        @media (max-width: 820px) {
            .jobs-grid,
            .detail-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 620px) {
            .container {
                width: min(100% - 24px, 1180px);
            }

            .navbar .container {
                flex-direction: column;
                align-items: stretch;
                gap: 10px;
            }

            .brand {
                align-self: flex-start;
            }

            .nav-actions {
                max-width: none;
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 2px;
            }

            .nav-link,
            .nav-dropdown > summary {
                white-space: nowrap;
            }

            .dropdown-panel {
                position: fixed;
                left: 12px;
                right: 12px;
                top: auto;
                min-width: 0;
            }

            main {
                padding-top: 22px;
            }

            .hero {
                padding: 24px 20px;
                border-radius: 17px;
            }

            .hero h1 {
                font-size: 2.15rem;
            }

            .filter-grid {
                grid-template-columns: 1fr;
            }

            .filter-span-2 {
                grid-column: auto;
            }

            .filter-card {
                padding: 18px 16px;
            }

            .filter-title-row,
            .results-heading,
            .results-toolbar,
            .section-header,
            .job-card-footer,
            .job-card-topline {
                align-items: flex-start;
                flex-direction: column;
            }

            .filter-count {
                align-self: flex-start;
            }

            .info-grid,
            .partners-grid,
            .community-grid,
            .quick-links-grid,
            .audience-grid,
            .footer-grid {
                grid-template-columns: 1fr;
            }

            .footer-grid > :first-child {
                grid-column: auto;
            }

            .detail-list > div {
                grid-template-columns: 1fr;
                gap: 4px;
            }

            .job-card {
                padding: 18px;
            }

            .jobs-directory-hero {
                align-items: flex-start;
                flex-direction: column;
            }

            .job-detail-hero {
                padding: 22px 18px;
            }

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

            .offer-summary-row {
                grid-template-columns: 1fr;
                gap: 3px;
            }

            .job-card-footer .button {
                width: 100%;
            }
        }


/* Accesos públicos — misma identidad azul de Centro Educatic */
.nav-auth-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 9px;
    margin-left: 6px;
}
.nav-auth-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    border-radius: 11px;
    padding: 10px 14px;
    font-size: .87rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nav-auth-actions svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}
.nav-signin {
    color: var(--brand-dark);
    background: var(--brand-soft);
    border: 1px solid #c9dafb;
}
.nav-signin:hover {
    color: #1745a0;
    background: #e1edff;
    border-color: #a9c6fa;
}
.nav-signup {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #397cf3);
    border: 1px solid #2563eb;
    box-shadow: 0 7px 17px rgba(37,99,235,.16);
}
.nav-signup:hover {
    transform: translateY(-1px);
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 10px 22px rgba(37,99,235,.22);
}
.nav-auth-actions a:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}
@media (max-width: 620px) {
    .nav-auth-actions {
        margin-left: 0;
        gap: 7px;
    }
    .nav-auth-actions a {
        min-height: 40px;
        padding: 9px 11px;
        font-size: .82rem;
    }
}
