﻿.job-detail-shell {
            --job-ink: #102033;
            --job-muted: #62748a;
            --job-line: rgba(148, 163, 184, 0.24);
            --job-surface: #ffffff;
            --job-soft: #f6f8fb;
            --job-brand: #0f766e;
            --job-brand-deep: #0b3b66;
            --job-accent: #d97706;
            --job-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
            margin-bottom: 2rem;
        }

        /* The desktop application header is fixed at 82px. This page-specific
           offset keeps the breadcrumb and hero fully visible beneath it. */
        @media (min-width: 1200px) {
            .gnu-page-shell {
                padding-top: calc(82px + clamp(1rem, 2vw, 1.75rem));
            }

        }

        /* Modern detail-page finish */
        .gnu-page-shell:has(.job-detail-shell) {
            background-color: #f5f7fb;
            background-image:
                radial-gradient(circle at 4% 0%, rgba(20, 184, 166, 0.11), transparent 24rem),
                radial-gradient(circle at 96% 8%, rgba(245, 158, 11, 0.09), transparent 22rem);
        }

        .job-detail-shell {
            --job-brand: #0d9488;
            --job-brand-deep: #123b5d;
            --job-ink: #132238;
            --job-muted: #64748b;
            --job-line: rgba(148, 163, 184, 0.26);
        }

        .job-detail-hero {
            isolation: isolate;
            min-height: 29rem;
            padding: clamp(1.35rem, 3vw, 2.5rem);
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 32px;
            background:
                linear-gradient(115deg, rgba(7, 31, 52, 0.98), rgba(13, 148, 136, 0.92) 65%, rgba(245, 158, 11, 0.9)),
                #123b5d;
            box-shadow: 0 28px 80px rgba(18, 59, 93, 0.2);
        }

        .job-detail-hero::after {
            position: absolute;
            z-index: -1;
            right: 8%;
            bottom: -55%;
            width: 28rem;
            height: 28rem;
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 50%;
            box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.025), 0 0 0 7rem rgba(255, 255, 255, 0.018);
            content: "";
        }

        .job-detail-brand__logo {
            width: 5.2rem;
            height: 5.2rem;
            border: 6px solid rgba(255, 255, 255, 0.18);
            border-radius: 24px;
            background: #fff;
            color: var(--job-brand-deep);
            box-shadow: 0 14px 34px rgba(2, 20, 36, 0.2);
        }

        .job-detail-brand__logo img {
            padding: 0.45rem;
            object-fit: contain;
        }

        .job-detail-brand__copy h1 {
            max-width: 48rem;
            font-weight: 850;
            text-wrap: balance;
        }

        .job-detail-brand__copy p {
            color: rgba(255, 255, 255, 0.76);
        }

        .job-detail-statuses {
            margin-top: 1.45rem;
        }

        .job-detail-badge {
            border: 1px solid rgba(255, 255, 255, 0.18);
            box-shadow: 0 5px 16px rgba(2, 20, 36, 0.08);
        }

        .job-apply-panel {
            height: 100%;
            padding: 1.4rem;
            border-radius: 24px;
            background: rgba(4, 24, 40, 0.35);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 18px 38px rgba(2, 20, 36, 0.14);
            backdrop-filter: blur(18px);
        }

        .job-apply-panel h2 {
            font-size: 1.15rem;
            letter-spacing: -0.02em;
        }

        .job-apply-panel__actions .btn {
            min-height: 2.9rem;
            border-radius: 13px;
            font-weight: 800;
        }

        .job-apply-panel__actions .btn-light {
            color: #123b5d;
            box-shadow: 0 10px 22px rgba(2, 20, 36, 0.12);
        }

        .job-section-nav {
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
        }

        .job-section-nav a {
            border: 1px solid transparent;
            transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
        }

        .job-section-nav a:hover,
        .job-section-nav a:focus-visible {
            border-color: rgba(13, 148, 136, 0.16);
            background: #ecfdfb;
        }

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

        .job-fact-card {
            min-height: 7.5rem;
            padding: 1.15rem;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.9);
        }

        .job-fact-card strong {
            display: block;
            font-size: 1.02rem;
            line-height: 1.35;
        }

        .job-content-card,
        .job-sidebar-card {
            border-radius: 26px;
            box-shadow: 0 12px 34px rgba(15, 23, 42, 0.055);
        }

        .job-content-card__header {
            padding-bottom: 0.95rem;
            border-bottom: 1px solid rgba(226, 232, 240, 0.82);
        }

        .job-content-card__header h2,
        .job-sidebar-card h2 {
            font-size: clamp(1.25rem, 2vw, 1.55rem);
            letter-spacing: -0.035em;
        }

        .job-rich-copy {
            font-size: 1rem;
            line-height: 1.85;
        }

        .job-rich-copy h2,
        .job-rich-copy h3,
        .job-rich-copy h4 {
            margin-top: 1.7em;
            color: var(--job-brand-deep);
            letter-spacing: -0.025em;
        }

        .job-rich-copy ul,
        .job-rich-copy ol {
            padding-left: 1.35rem;
        }

        .job-rich-copy li + li {
            margin-top: 0.35rem;
        }

        @media (max-width: 991.98px) {
            .job-facts-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .job-detail-hero {
                min-height: auto;
            }
        }

        /* Final modern-detail overrides */
        .gnu-page-shell:has(.job-detail-shell) {
            background-color: #f5f7fb;
            background-image:
                radial-gradient(circle at 4% 0%, rgba(20, 184, 166, 0.11), transparent 24rem),
                radial-gradient(circle at 96% 8%, rgba(245, 158, 11, 0.09), transparent 22rem);
        }

        .job-detail-shell {
            --job-brand: #0d9488;
            --job-brand-deep: #123b5d;
            --job-ink: #132238;
            --job-muted: #64748b;
            --job-line: rgba(148, 163, 184, 0.26);
        }

        .job-detail-hero {
            isolation: isolate;
            min-height: 29rem;
            padding: clamp(1.35rem, 3vw, 2.5rem);
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 32px;
            background: linear-gradient(115deg, rgba(7, 31, 52, 0.98), rgba(13, 148, 136, 0.92) 65%, rgba(245, 158, 11, 0.9)), #123b5d;
            box-shadow: 0 28px 80px rgba(18, 59, 93, 0.2);
        }

        .job-detail-hero::after {
            position: absolute;
            z-index: -1;
            right: 8%;
            bottom: -55%;
            width: 28rem;
            height: 28rem;
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 50%;
            box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.025), 0 0 0 7rem rgba(255, 255, 255, 0.018);
            content: "";
        }

        .job-detail-brand__logo {
            width: 5.2rem;
            height: 5.2rem;
            border: 6px solid rgba(255, 255, 255, 0.18);
            border-radius: 24px;
            background: #fff;
            color: var(--job-brand-deep);
            box-shadow: 0 14px 34px rgba(2, 20, 36, 0.2);
        }

        .job-detail-brand__logo img {
            padding: 0.45rem;
            object-fit: contain;
        }

        .job-detail-brand__copy h1 {
            max-width: 48rem;
            font-weight: 850;
            text-wrap: balance;
        }

        .job-apply-panel {
            height: 100%;
            padding: 1.4rem;
            border-radius: 24px;
            background: rgba(4, 24, 40, 0.35);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 18px 38px rgba(2, 20, 36, 0.14);
            backdrop-filter: blur(18px);
        }

        .job-apply-panel__actions .btn {
            min-height: 2.9rem;
            border-radius: 13px;
            font-weight: 800;
        }

        .job-section-nav {
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
        }

        .job-section-nav a {
            border: 1px solid transparent;
            transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
        }

        .job-section-nav a:hover,
        .job-section-nav a:focus-visible {
            border-color: rgba(13, 148, 136, 0.16);
            background: #ecfdfb;
        }

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

        .job-fact-card {
            min-height: 7.5rem;
            padding: 1.15rem;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.9);
        }

        .job-content-card,
        .job-sidebar-card {
            border-radius: 26px;
            box-shadow: 0 12px 34px rgba(15, 23, 42, 0.055);
        }

        .job-content-card__header {
            padding-bottom: 0.95rem;
            border-bottom: 1px solid rgba(226, 232, 240, 0.82);
        }

        .job-rich-copy {
            font-size: 1rem;
            line-height: 1.85;
        }

        .job-rich-copy h2,
        .job-rich-copy h3,
        .job-rich-copy h4 {
            margin-top: 1.7em;
            color: var(--job-brand-deep);
            letter-spacing: -0.025em;
        }

        @media (max-width: 991.98px) {
            .job-facts-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .job-detail-hero {
                min-height: auto;
            }
        }

        @media (max-width: 767.98px) {
            .job-detail-hero {
                border-radius: 24px;
            }

            .job-detail-brand__logo {
                width: 4.5rem;
                height: 4.5rem;
                border-radius: 20px;
            }

            .job-detail-brand__copy h1 {
                font-size: clamp(1.9rem, 9vw, 2.55rem);
            }

            .job-fact-card {
                min-height: 6.7rem;
                padding: 0.9rem;
            }

            .job-content-card,
            .job-sidebar-card {
                border-radius: 22px;
            }
        }

        @media (max-width: 767.98px) {
            .job-detail-hero {
                border-radius: 24px;
            }

            .job-detail-brand__logo {
                width: 4.5rem;
                height: 4.5rem;
                border-radius: 20px;
            }

            .job-detail-brand__copy h1 {
                font-size: clamp(1.9rem, 9vw, 2.55rem);
            }

            .job-facts-grid {
                gap: 0.65rem;
            }

            .job-fact-card {
                min-height: 6.7rem;
                padding: 0.9rem;
            }

            .job-content-card,
            .job-sidebar-card {
                border-radius: 22px;
            }
        }

        @media (max-width: 1199.98px) {
            .gnu-page-shell {
                padding-top: clamp(0.75rem, 2vw, 1.25rem);
            }
        }

        .job-detail-hero {
            position: relative;
            overflow: hidden;
            margin-bottom: 1.5rem;
            padding: 1.8rem;
            border-radius: 28px;
            background:
                radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 28%),
                linear-gradient(135deg, #0f2d40 0%, #0f766e 52%, #d97706 100%);
            color: #fff;
            box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
        }

        .job-detail-hero__pattern {
            position: absolute;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
        }

        .job-detail-hero__pattern--one {
            width: 16rem;
            height: 16rem;
            top: -6rem;
            right: -4rem;
        }

        .job-detail-hero__pattern--two {
            width: 12rem;
            height: 12rem;
            bottom: -5rem;
            left: -3rem;
        }

        .job-detail-brand,
        .job-facts-grid,
        .job-meta-tiles {
            display: grid;
            gap: 1rem;
        }

        .job-detail-brand {
            grid-template-columns: auto 1fr;
            align-items: start;
        }

        .job-detail-brand__logo {
            width: 4.7rem;
            height: 4.7rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.15);
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
            font-weight: 800;
            font-size: 1.05rem;
        }

        .job-detail-brand__logo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .job-detail-hero__eyebrow,
        .job-section-kicker {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            margin-bottom: 0.65rem;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .job-detail-hero__eyebrow {
            padding: 0.45rem 0.8rem;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.14);
        }

        .job-detail-brand__copy h1 {
            margin: 0;
            font-size: clamp(2rem, 4vw, 3.35rem);
            line-height: 1.04;
            letter-spacing: -0.04em;
        }

        .job-detail-brand__copy p,
        .job-detail-hero__summary,
        .job-apply-panel p {
            color: rgba(255, 255, 255, 0.9);
        }

        .job-detail-brand__copy p {
            margin: 0.75rem 0 0;
            font-size: 1rem;
        }

        .job-detail-verified {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            margin-top: 0.7rem;
            padding: 0.38rem 0.65rem;
            border: 1px solid rgba(167, 243, 208, 0.3);
            border-radius: 999px;
            background: rgba(6, 78, 59, 0.32);
            color: #d1fae5;
            font-size: 0.76rem;
            font-weight: 750;
        }

        .job-detail-dot {
            display: inline-block;
            width: 0.35rem;
            height: 0.35rem;
            margin: 0 0.45rem;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.55);
        }

        .job-detail-statuses {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 1.2rem 0 1rem;
        }

        .job-detail-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.55rem 0.85rem;
            border-radius: 999px;
            font-size: 0.82rem;
            font-weight: 700;
        }

        .job-detail-badge.is-featured {
            background: rgba(255, 247, 237, 0.95);
            color: #c2410c;
        }

        .job-detail-badge.is-open {
            background: rgba(236, 253, 245, 0.95);
            color: #15803d;
        }

        .job-detail-badge.is-closed,
        .job-detail-badge.is-neutral {
            background: rgba(255, 255, 255, 0.16);
            color: #fff;
        }

        .job-detail-hero__summary {
            max-width: 46rem;
            margin: 0;
            line-height: 1.8;
        }

        .job-deadline {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            margin-top: 1.1rem;
            padding: 0.7rem 0.9rem;
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 16px;
            background: rgba(7, 24, 38, 0.25);
            backdrop-filter: blur(10px);
        }

        .job-deadline__icon {
            display: grid;
            width: 2.25rem;
            height: 2.25rem;
            place-items: center;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.14);
        }

        .job-deadline small,
        .job-deadline strong {
            display: block;
        }

        .job-deadline small {
            color: rgba(255, 255, 255, 0.76);
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .job-deadline strong {
            font-variant-numeric: tabular-nums;
        }

        .job-section-nav {
            position: sticky;
            z-index: 20;
            top: 5.25rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.25rem;
            padding: 0.75rem 0.9rem;
            overflow: hidden;
            border: 1px solid var(--job-line);
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.92);
            box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
            backdrop-filter: blur(14px);
        }

        .job-section-nav > span {
            flex: 0 0 auto;
            color: var(--job-muted);
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .job-section-nav__links {
            display: flex;
            gap: 0.35rem;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .job-section-nav__links::-webkit-scrollbar {
            display: none;
        }

        .job-section-nav a {
            flex: 0 0 auto;
            padding: 0.5rem 0.72rem;
            border-radius: 10px;
            color: var(--job-ink);
            font-size: 0.82rem;
            font-weight: 700;
            text-decoration: none;
        }

        .job-section-nav a:hover,
        .job-section-nav a:focus-visible {
            background: var(--job-soft);
            color: var(--job-brand);
        }

        .job-scroll-target,
        #job-how-to-apply,
        #job-faq-section {
            scroll-margin-top: 10rem;
        }

        .job-apply-panel,
        .job-fact-card,
        .job-content-card,
        .job-sidebar-card {
            background: var(--job-surface);
            border: 1px solid var(--job-line);
            border-radius: 24px;
            box-shadow: var(--job-shadow);
        }

        .job-apply-panel {
            padding: 1.3rem;
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.16);
            color: #fff;
            backdrop-filter: blur(8px);
        }

        .job-apply-panel h2,
        .job-content-card h2,
        .job-sidebar-card h2 {
            margin: 0;
            font-size: 1.35rem;
            line-height: 1.2;
        }

        .job-apply-panel p {
            margin: 0.55rem 0 1rem;
        }

        .job-apply-panel__actions {
            display: grid;
            gap: 0.75rem;
        }

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

        .job-fact-card {
            padding: 1.2rem;
            transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
        }

        .job-fact-card:hover {
            transform: translateY(-2px);
            border-color: rgba(15, 118, 110, 0.25);
            box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
        }

        .job-fact-card span,
        .job-summary-list span,
        .job-timeline__item span,
        .job-meta-tile span,
        .related-job-item span,
        .related-job-item small,
        .job-content-card__header .job-section-kicker {
            color: var(--job-muted);
        }

        .job-fact-card span,
        .job-meta-tile span,
        .job-summary-list span,
        .job-timeline__item span {
            display: block;
            margin-bottom: 0.45rem;
            font-size: 0.82rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .job-fact-card strong,
        .job-summary-list strong,
        .job-timeline__item strong,
        .job-meta-tile strong,
        .related-job-item strong {
            color: var(--job-ink);
        }

        .job-content-card,
        .job-sidebar-card {
            padding: 1.35rem;
            margin-bottom: 1rem;
        }

        .job-content-card__header {
            margin-bottom: 1rem;
        }

        .job-content-card__header--split {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
        }

        .job-cms-badge {
            display: inline-flex;
            flex: 0 0 auto;
            align-items: center;
            gap: 0.35rem;
            padding: 0.42rem 0.65rem;
            border-radius: 999px;
            background: #ecfdf5;
            color: #047857;
            font-size: 0.72rem;
            font-weight: 800;
        }

        .job-content-card--cms {
            overflow: hidden;
            background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
        }

        .job-dynamic-sections .dynamic-section {
            margin-block: 1rem;
        }

        .job-dynamic-sections .dynamic-section:first-child {
            margin-top: 0;
        }

        .job-dynamic-sections .dynamic-section:last-child {
            margin-bottom: 0;
        }

        .job-dynamic-sections .section-rich-html__title {
            margin: 0 0 0.75rem;
            color: var(--job-ink);
            font-size: clamp(1.1rem, 2vw, 1.35rem);
            letter-spacing: -0.02em;
        }

        .job-section-kicker {
            margin-bottom: 0.3rem;
        }

        .job-rich-copy {
            color: var(--job-ink);
            line-height: 1.85;
            overflow-wrap: anywhere;
        }

        .job-rich-copy > :last-child {
            margin-bottom: 0;
        }

        .job-rich-copy img {
            max-width: 100%;
            height: auto;
            border-radius: 14px;
        }

        .job-rich-copy table {
            display: block;
            width: 100%;
            max-width: 100%;
            overflow-x: auto;
            border-collapse: collapse;
        }

        .job-rich-copy th,
        .job-rich-copy td {
            min-width: 8rem;
            padding: 0.75rem;
            border: 1px solid var(--job-line);
        }

        .job-timeline,
        .job-summary-list,
        .related-job-list {
            display: grid;
            gap: 0.85rem;
        }

        .job-timeline__item,
        .job-summary-list > div,
        .related-job-item,
        .job-meta-tile {
            padding: 1rem;
            border-radius: 18px;
            background: var(--job-soft);
            border: 1px solid #e8edf4;
        }

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

        .job-sidebar-stack {
            position: sticky;
            top: 1.25rem;
        }

        .job-summary-list > div {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            align-items: center;
        }

        .job-summary-list span {
            margin-bottom: 0;
        }

        .related-job-item {
            display: block;
            text-decoration: none;
            transition: transform 0.2s ease, border-color 0.2s ease;
        }

        .related-job-item:hover {
            transform: translateY(-1px);
            border-color: rgba(15, 118, 110, 0.3);
        }

        .related-job-item strong {
            display: block;
            margin-bottom: 0.35rem;
        }

        .related-job-item span,
        .related-job-item small {
            display: block;
            line-height: 1.6;
        }

        @media (max-width: 991.98px) {
            .job-detail-hero,
            .job-apply-panel,
            .job-fact-card,
            .job-content-card,
            .job-sidebar-card {
                border-radius: 22px;
            }

            .job-sidebar-stack {
                position: static;
            }

            .job-section-nav {
                top: 4.75rem;
            }
        }

        .job-apply-panel__guest-hint {
            margin-top: 0.75rem;
            font-size: 0.84rem;
            opacity: 0.8;
        }

        .job-apply-panel__guest-hint a {
            font-weight: 700;
            text-decoration: underline;
        }

        /* ============================================================
           PHASE 2 STYLES - SHARE, APPLY GUIDE, CHECKLIST, SELECTION
        ============================================================ */
        .job-section-extras,
        .job-mobile-actions {
            --job-ink: #102033;
            --job-muted: #62748a;
            --job-line: rgba(148, 163, 184, 0.24);
            --job-surface: #ffffff;
            --job-soft: #f6f8fb;
            --job-brand: #0f766e;
            --job-brand-deep: #0b3b66;
            --job-accent: #d97706;
            --job-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
        }

        .job-section-extras {
            margin-top: 1.5rem;
        }

        .job-share-card p {
            color: var(--job-muted);
            margin-bottom: 1rem;
        }

        .job-share-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.65rem;
        }

        .job-share-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.7rem 1.1rem;
            border: 1px solid var(--job-line);
            border-radius: 14px;
            background: var(--job-surface);
            color: var(--job-ink);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .job-share-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--job-shadow);
        }

        .job-share-btn i {
            font-size: 1.1rem;
        }

        .job-share-btn--fb:hover { border-color: #1877f2; color: #1877f2; }
        .job-share-btn--tw:hover { border-color: #000; color: #000; }
        .job-share-btn--wa:hover { border-color: #25d366; color: #25d366; }
        .job-share-btn--tg:hover { border-color: #0088cc; color: #0088cc; }
        .job-share-btn--cp:hover { border-color: var(--job-brand); color: var(--job-brand); }

        .job-share-feedback {
            margin-top: 0.65rem;
            padding: 0.5rem 0.85rem;
            border-radius: 10px;
            background: #ecfdf5;
            color: #15803d;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .job-apply-guide-card {
            background: linear-gradient(135deg, #f0fdfa, #ffffff, #ecfeff);
        }

        .job-apply-steps {
            list-style: none;
            margin: 0 0 1rem;
            padding: 0;
            display: grid;
            gap: 0.85rem;
        }

        .job-apply-steps li {
            display: flex;
            gap: 0.85rem;
            align-items: start;
        }

        .job-apply-step-num {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2rem;
            height: 2rem;
            border-radius: 999px;
            background: var(--job-brand);
            color: #fff;
            font-size: 0.8rem;
            font-weight: 800;
            flex-shrink: 0;
        }

        .job-apply-steps li div strong {
            display: block;
            margin-bottom: 0.2rem;
            color: var(--job-ink);
        }

        .job-apply-steps li div p {
            margin: 0;
            color: var(--job-muted);
            font-size: 0.85rem;
            line-height: 1.6;
        }

        .job-checklist {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 0.85rem;
        }

        .job-checklist__item {
            display: flex;
            gap: 0.85rem;
            align-items: start;
            padding: 0.9rem 1rem;
            border-radius: 16px;
            background: var(--job-soft);
            border: 1px solid #e8edf4;
            transition: border-color 0.2s ease;
        }

        .job-checklist__item:hover {
            border-color: rgba(15, 118, 110, 0.2);
        }

        .job-checklist__item i {
            color: var(--job-brand);
            font-size: 1.15rem;
            flex-shrink: 0;
            margin-top: 0.1rem;
        }

        .job-checklist__item div strong {
            display: block;
            margin-bottom: 0.2rem;
            color: var(--job-ink);
            font-size: 0.95rem;
        }

        .job-checklist__item div span {
            color: var(--job-muted);
            font-size: 0.84rem;
            line-height: 1.5;
        }

        .job-selection-flow {
            display: grid;
            gap: 0.75rem;
        }

        .job-selection-step {
            display: flex;
            gap: 0.85rem;
            align-items: start;
            padding: 0.85rem 1rem;
            border-radius: 16px;
            background: var(--job-soft);
            border: 1px solid #e8edf4;
            transition: border-color 0.2s ease;
        }

        .job-selection-step:hover {
            border-color: rgba(15, 118, 110, 0.2);
        }

        .job-selection-step__num {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2rem;
            height: 2rem;
            border-radius: 12px;
            background: linear-gradient(135deg, #0f766e, #0b3b66);
            color: #fff;
            font-size: 0.8rem;
            font-weight: 800;
            flex-shrink: 0;
        }

        .job-selection-step__body strong {
            display: block;
            margin-bottom: 0.15rem;
            color: var(--job-ink);
            font-size: 0.95rem;
        }

        .job-selection-step__body span {
            color: var(--job-muted);
            font-size: 0.84rem;
            line-height: 1.5;
        }

        /* ============================================================
           PHASE 2 RESPONSIVE
        ============================================================ */
        @media (max-width: 767.98px) {
            body:has(.job-mobile-actions) {
                padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
            }

            .job-detail-hero,
            .job-content-card,
            .job-sidebar-card,
            .job-fact-card {
                padding: 1.15rem;
            }

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

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

            .job-summary-list > div {
                flex-direction: column;
                align-items: start;
            }

            .job-share-grid {
                gap: 0.5rem;
            }

            .job-share-btn {
                padding: 0.6rem 0.85rem;
                font-size: 0.82rem;
            }

            .job-share-btn span {
                display: none;
            }

            .job-share-btn i {
                font-size: 1.2rem;
            }

            .job-checklist__item {
                padding: 0.75rem 0.85rem;
            }

            .job-selection-step {
                padding: 0.7rem 0.85rem;
            }

            .job-section-nav {
                margin-inline: -0.25rem;
                padding: 0.55rem;
                border-radius: 14px;
            }

            .job-section-nav > span {
                display: none;
            }
        }

        .job-mobile-actions {
            display: none;
        }

        @media (max-width: 767.98px) {
            .job-mobile-actions {
                position: fixed;
                z-index: 1040;
                right: 0;
                bottom: 0;
                left: 0;
                display: grid;
                grid-template-columns: 3.25rem 3.25rem minmax(0, 1fr);
                gap: 0.65rem;
                padding: 0.75rem max(0.9rem, env(safe-area-inset-right)) calc(0.75rem + env(safe-area-inset-bottom)) max(0.9rem, env(safe-area-inset-left));
                border-top: 1px solid var(--job-line);
                background: rgba(255, 255, 255, 0.96);
                box-shadow: 0 -14px 40px rgba(15, 23, 42, 0.12);
                backdrop-filter: blur(16px);
            }

            .job-mobile-actions__share,
            .job-mobile-actions__save,
            .job-mobile-actions__apply {
                display: inline-flex;
                min-height: 3.25rem;
                align-items: center;
                justify-content: center;
                border-radius: 15px;
                font-weight: 800;
            }

            .job-mobile-actions__share {
                border: 1px solid var(--job-line);
                background: var(--job-surface);
                color: var(--job-ink);
            }

            .job-mobile-actions__save {
                border: 1px solid var(--job-line);
                background: var(--job-surface);
                color: var(--job-ink);
                text-decoration: none;
            }

            .job-mobile-actions__save.is-bookmarked {
                border-color: rgba(15, 118, 110, 0.28);
                background: #ecfdf5;
                color: var(--job-brand);
            }

            .job-mobile-actions__save:disabled {
                opacity: 0.6;
            }

            .job-mobile-actions__apply {
                gap: 0.5rem;
                border: 0;
                background: linear-gradient(135deg, var(--job-brand), var(--job-brand-deep));
                color: #fff;
                text-decoration: none;
                box-shadow: 0 10px 25px rgba(15, 118, 110, 0.22);
            }
        }

        :where(.job-detail-shell, .job-section-extras, .job-mobile-actions) :focus-visible {
            outline: 3px solid rgba(14, 165, 233, 0.5);
            outline-offset: 3px;
        }

        @media (prefers-reduced-motion: reduce) {
            .job-detail-shell *,
            .job-section-extras * {
                scroll-behavior: auto !important;
                transition-duration: 0.01ms !important;
            }
        }

        @media (max-width: 380px) {
            .job-content-card__header--split {
                display: block;
            }

            .job-cms-badge {
                margin-top: 0.75rem;
            }
        }

        /* ============================================================
           PREMIUM SECTION SYSTEM
           Styles every backend-connected block rendered by show.blade.php.
        ============================================================ */
        .gnu-page-shell:has(.job-detail-shell) {
            background:
                radial-gradient(circle at 8% 8%, rgba(15, 118, 110, 0.06), transparent 24rem),
                radial-gradient(circle at 92% 18%, rgba(217, 119, 6, 0.055), transparent 22rem),
                #f7f9fc;
        }

        .job-detail-shell,
        .job-section-extras {
            width: min(100%, 1320px);
            margin-inline: auto;
        }

        .job-section-extras {
            margin-top: clamp(1.25rem, 2.5vw, 2rem);
        }

        .job-content-card,
        .job-sidebar-card,
        .job-fact-card {
            border-color: rgba(203, 213, 225, 0.72);
            background: rgba(255, 255, 255, 0.96);
            box-shadow:
                0 1px 2px rgba(15, 23, 42, 0.03),
                0 16px 42px rgba(15, 23, 42, 0.065);
        }

        .job-content-card {
            position: relative;
            padding: clamp(1.25rem, 2.4vw, 1.85rem);
        }

        .job-content-card::before,
        .job-sidebar-card::before {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 3px;
            border-radius: 24px 0 0 24px;
            background: linear-gradient(180deg, var(--job-brand), transparent 76%);
            opacity: 0.65;
        }

        .job-content-card__header h2,
        .job-sidebar-card h2 {
            color: var(--job-ink);
            font-weight: 800;
            letter-spacing: -0.025em;
        }

        .job-section-kicker {
            color: var(--job-brand) !important;
        }

        .job-detail-bookmark-btn {
            transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
        }

        .job-detail-bookmark-btn:hover {
            transform: translateY(-1px);
        }

        .job-detail-bookmark-btn.is-bookmarked {
            border-color: rgba(167, 243, 208, 0.6);
            background: rgba(236, 253, 245, 0.18);
            color: #d1fae5;
        }

        /* FAQ */
        .job-faq-intro {
            max-width: 44rem;
            margin: -0.25rem 0 1.35rem;
            color: var(--job-muted);
            line-height: 1.7;
        }

        .job-faq-list {
            display: grid;
            gap: 0.75rem;
        }

        .job-faq-item {
            overflow: hidden;
            border: 1px solid var(--job-line);
            border-radius: 18px;
            background: var(--job-surface);
            transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
        }

        .job-faq-item:has(.job-faq-question[aria-expanded="true"]) {
            border-color: rgba(15, 118, 110, 0.28);
            box-shadow: 0 12px 32px rgba(15, 118, 110, 0.08);
        }

        .job-faq-question {
            display: flex;
            width: 100%;
            min-height: 3.75rem;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: 1rem 1.1rem;
            border: 0;
            background: transparent;
            color: var(--job-ink);
            text-align: left;
            font-weight: 750;
            line-height: 1.45;
        }

        .job-faq-question:hover {
            background: linear-gradient(90deg, rgba(240, 253, 250, 0.8), transparent);
        }

        .job-faq-question i {
            flex: 0 0 auto;
            color: var(--job-brand);
            transition: transform 200ms ease;
        }

        .job-faq-question[aria-expanded="true"] i {
            transform: rotate(180deg);
        }

        .job-faq-answer {
            display: grid;
            grid-template-rows: 0fr;
            color: var(--job-muted);
            line-height: 1.75;
            transition: grid-template-rows 220ms ease;
        }

        .job-faq-answer > div {
            min-height: 0;
            overflow: hidden;
            padding-inline: 1.1rem;
        }

        .job-faq-question[aria-expanded="true"] + .job-faq-answer {
            grid-template-rows: 1fr;
        }

        .job-faq-question[aria-expanded="true"] + .job-faq-answer > div {
            padding-bottom: 1.1rem;
        }

        /* Organization */
        .job-org-info {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            gap: clamp(1rem, 2vw, 1.5rem);
            align-items: center;
        }

        .job-org-info__logo,
        .job-related-enhanced__logo {
            display: grid;
            place-items: center;
            overflow: hidden;
            border: 1px solid var(--job-line);
            background: linear-gradient(145deg, #fff, #f0fdfa);
            color: var(--job-brand-deep);
            font-weight: 850;
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
        }

        .job-org-info__logo {
            width: 5.5rem;
            height: 5.5rem;
            border-radius: 22px;
        }

        .job-org-info__logo img,
        .job-related-enhanced__logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .job-org-info__body p {
            margin: 0 0 1rem;
            color: var(--job-muted);
            line-height: 1.75;
        }

        .job-org-info__stats {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 0.85rem;
        }

        .job-org-info__stats > span {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            color: var(--job-muted);
            font-size: 0.9rem;
        }

        .job-org-info__stats i {
            color: var(--job-brand);
        }

        /* Preparation resources */
        .job-resource-card {
            height: calc(100% - 1rem);
            display: flex;
            flex-direction: column;
        }

        .job-resource-card > p {
            min-height: 3rem;
            color: var(--job-muted);
            line-height: 1.65;
        }

        .job-resource-list {
            display: grid;
            gap: 0.65rem;
            margin-bottom: 0.85rem;
        }

        .job-resource-item {
            display: grid;
            grid-template-columns: 2.5rem minmax(0, 1fr);
            gap: 0.75rem;
            align-items: center;
            min-height: 4rem;
            padding: 0.75rem;
            border: 1px solid transparent;
            border-radius: 15px;
            background: var(--job-soft);
            color: var(--job-ink);
            text-decoration: none;
            transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
        }

        .job-resource-item:hover {
            transform: translateX(3px);
            border-color: rgba(15, 118, 110, 0.2);
            background: #f0fdfa;
        }

        .job-resource-item > i {
            display: grid;
            width: 2.5rem;
            height: 2.5rem;
            place-items: center;
            border-radius: 12px;
            background: #fff;
            color: var(--job-brand);
            box-shadow: 0 5px 15px rgba(15, 23, 42, 0.06);
        }

        .job-resource-item strong,
        .job-resource-item span {
            display: block;
        }

        .job-resource-item strong {
            overflow: hidden;
            color: var(--job-ink);
            font-size: 0.9rem;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .job-resource-item span {
            margin-top: 0.2rem;
            color: var(--job-muted);
            font-size: 0.77rem;
        }

        .job-resource-card > .btn:last-child {
            margin-top: auto !important;
        }

        /* Related jobs */
        .job-related-enhanced {
            display: grid;
            gap: 0.75rem;
        }

        .job-related-enhanced__item {
            display: grid;
            grid-template-columns: 3.25rem minmax(0, 1fr) auto;
            gap: 0.9rem;
            align-items: center;
            padding: 0.9rem;
            border: 1px solid var(--job-line);
            border-radius: 17px;
            background: linear-gradient(135deg, #fff, #fbfdff);
            color: inherit;
            text-decoration: none;
            transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
        }

        .job-related-enhanced__item:hover {
            transform: translateY(-2px);
            border-color: rgba(15, 118, 110, 0.25);
            box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
        }

        .job-related-enhanced__logo {
            width: 3.25rem;
            height: 3.25rem;
            border-radius: 15px;
            font-size: 0.78rem;
        }

        .job-related-enhanced__body {
            min-width: 0;
        }

        .job-related-enhanced__body strong,
        .job-related-enhanced__body span,
        .job-related-enhanced__body small {
            display: block;
        }

        .job-related-enhanced__body strong {
            overflow: hidden;
            color: var(--job-ink);
            font-size: 0.95rem;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .job-related-enhanced__body span {
            margin-top: 0.22rem;
            color: var(--job-muted);
            font-size: 0.82rem;
        }

        .job-related-enhanced__body small {
            margin-top: 0.28rem;
            color: #7c8da3;
            font-size: 0.75rem;
        }

        .job-related-enhanced__arrow {
            color: var(--job-brand);
            transition: transform 180ms ease;
        }

        .job-related-enhanced__item:hover .job-related-enhanced__arrow {
            transform: translateX(3px);
        }

        /* Alert subscription */
        .job-alert-inline-card {
            overflow: hidden;
            background:
                radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.16), transparent 13rem),
                linear-gradient(145deg, #0b3b66, #0f766e);
            color: #fff;
        }

        .job-alert-inline-card::before {
            background: linear-gradient(180deg, #fbbf24, transparent);
            opacity: 1;
        }

        .job-alert-inline-card .job-section-kicker,
        .job-alert-inline-card h2 {
            color: #fff !important;
        }

        .job-alert-inline-card > p {
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.7;
        }

        .job-alert-inline-form {
            display: grid;
            gap: 0.6rem;
        }

        .job-alert-inline-form .mb-2 {
            margin: 0 !important;
        }

        .job-alert-inline-form .form-control,
        .job-alert-inline-form .form-select {
            min-height: 3rem;
            border-color: rgba(255, 255, 255, 0.2);
            border-radius: 13px;
            background-color: rgba(255, 255, 255, 0.96);
        }

        .job-alert-inline-form .btn {
            min-height: 3rem;
            border: 0;
            border-radius: 13px;
            background: #f59e0b;
            color: #172033;
            font-weight: 800;
            box-shadow: 0 12px 26px rgba(15, 23, 42, 0.2);
        }

        .job-alert-inline-message {
            min-height: 0;
            border-radius: 11px;
            font-size: 0.85rem;
            font-weight: 700;
        }

        .job-alert-inline-message:not(:empty) {
            padding: 0.7rem 0.8rem;
        }

        .job-alert-inline-message.is-success {
            background: rgba(209, 250, 229, 0.95);
            color: #065f46;
        }

        .job-alert-inline-message.is-error {
            background: rgba(254, 226, 226, 0.96);
            color: #991b1b;
        }

        .job-alert-inline-note {
            margin: 0.85rem 0 0 !important;
            color: rgba(255, 255, 255, 0.68) !important;
            font-size: 0.78rem;
            text-align: center;
        }

        @media (max-width: 767.98px) {
            .job-content-card::before,
            .job-sidebar-card::before {
                width: 2px;
            }

            .job-org-info {
                grid-template-columns: 1fr;
                align-items: start;
            }

            .job-org-info__logo {
                width: 4.5rem;
                height: 4.5rem;
                border-radius: 18px;
            }

            .job-org-info__stats {
                align-items: stretch;
                flex-direction: column;
            }

            .job-org-info__stats .btn {
                width: 100%;
            }

            .job-related-enhanced__item {
                grid-template-columns: 2.8rem minmax(0, 1fr) auto;
                gap: 0.7rem;
                padding: 0.75rem;
            }

            .job-related-enhanced__logo {
                width: 2.8rem;
                height: 2.8rem;
                border-radius: 13px;
            }

            .job-related-enhanced__body span,
            .job-related-enhanced__body small {
                white-space: normal;
            }
        }

        /* Keep the in-page navigation and anchor targets below the fixed
           desktop header. Placed last so it wins over shared responsive rules. */
        @media (min-width: 1200px) {
            .job-section-nav {
                top: calc(82px + 0.75rem);
            }

            .job-scroll-target,
            #job-how-to-apply,
            #job-faq-section {
                scroll-margin-top: calc(82px + 6rem);
            }
        }

        /* Ensure the modern presentation wins over legacy page rules. */
        .job-detail-hero { background: linear-gradient(115deg, rgba(7, 31, 52, 0.98), rgba(13, 148, 136, 0.92) 65%, rgba(245, 158, 11, 0.9)), #123b5d; border-radius: 32px; box-shadow: 0 28px 80px rgba(18, 59, 93, 0.2); }
        .job-detail-brand__logo { border: 6px solid rgba(255, 255, 255, 0.18); background: #fff; box-shadow: 0 14px 34px rgba(2, 20, 36, 0.2); }
        .job-detail-brand__logo img { padding: 0.45rem; object-fit: contain; }
        .job-apply-panel { height: 100%; border-radius: 24px; background: rgba(4, 24, 40, 0.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 18px 38px rgba(2, 20, 36, 0.14); backdrop-filter: blur(18px); }
        .job-apply-panel__actions .btn { min-height: 2.9rem; border-radius: 13px; font-weight: 800; }
        .job-section-nav { border-radius: 16px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); }
        .job-facts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        .job-fact-card { min-height: 7.5rem; border-radius: 20px; background: rgba(255, 255, 255, 0.9); }
        .job-content-card, .job-sidebar-card { border-radius: 26px; box-shadow: 0 12px 34px rgba(15, 23, 42, 0.055); }
        .job-content-card__header { padding-bottom: 0.95rem; border-bottom: 1px solid rgba(226, 232, 240, 0.82); }
        .job-rich-copy { font-size: 1rem; line-height: 1.85; }
        .job-rich-copy h2, .job-rich-copy h3, .job-rich-copy h4 { margin-top: 1.7em; color: var(--job-brand-deep); letter-spacing: -0.025em; }

        @media (max-width: 991.98px) { .job-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
        @media (max-width: 767.98px) {
            .job-detail-hero { border-radius: 24px; }
            .job-detail-brand__logo { width: 4.5rem; height: 4.5rem; border-radius: 20px; }
            .job-detail-brand__copy h1 { font-size: clamp(1.9rem, 9vw, 2.55rem); }
            .job-fact-card { min-height: 6.7rem; padding: 0.9rem; }
            .job-content-card, .job-sidebar-card { border-radius: 22px; }
        }

/* ============================================================
   Premium job-detail finish
   ============================================================ */
@media (min-width: 1200px) {
    /* The shared navbar is sticky and already occupies document flow. */
    .recruitment-page--jobs-show .gnu-page-shell {
        padding-top: 0 !important;
    }

    .recruitment-page--jobs-show .gnu-breadcrumbs {
        padding-top: .65rem;
    }
}

.job-detail-hero {
    min-height: 25rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 12%, rgba(255,255,255,.15), transparent 16rem),
        linear-gradient(118deg,#071f34 0%,#0f5967 48%,#0d9488 76%,#d97706 125%) !important;
}

.job-detail-hero .row {
    min-height: inherit;
    align-items: center !important;
}

.job-detail-brand__copy h1 {
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -.048em;
}

.job-detail-hero__summary {
    max-width: 66ch;
    color: rgba(255,255,255,.82) !important;
    font-size: clamp(.96rem,1.15vw,1.08rem);
    line-height: 1.72;
    text-wrap: pretty;
}

.job-detail-hero__highlights {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: .7rem;
    max-width: 48rem;
    margin: 1.35rem 0 0;
}

.job-detail-hero__highlights > div {
    min-width: 0;
    padding: .8rem .9rem;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px;
    background: rgba(4,24,40,.24);
    box-shadow: inset 0 1px rgba(255,255,255,.08);
}

.job-detail-hero__highlights dt,
.job-detail-hero__highlights dd {
    overflow: hidden;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-detail-hero__highlights dt {
    color: rgba(255,255,255,.68);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.job-detail-hero__highlights dt i {
    margin-right: .25rem;
    color: #fbbf24;
}

.job-detail-hero__highlights dd {
    margin-top: .3rem;
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
}

.job-apply-panel {
    border: 1px solid rgba(255,255,255,.15);
    background: linear-gradient(160deg,rgba(255,255,255,.14),rgba(4,24,40,.38)) !important;
}

.job-rich-copy p,
.job-dynamic-sections p,
.job-content-card > p,
.job-section-extras .job-content-card > p {
    color: #3f5066;
    font-size: 1.015rem;
    line-height: 1.9;
    text-align: justify;
    text-justify: inter-word;
    text-wrap: pretty;
}

.job-rich-copy :is(h2,h3,h4),
.job-dynamic-sections :is(h2,h3,h4) {
    text-wrap: balance;
}

/* This action rail was intentionally removed from the template. Keep this
   defensive rule for cached markup during rolling deployments. */
.job-mobile-actions { display:none !important; }

@media (max-width: 767.98px) {
    .job-detail-hero {
        min-height: auto;
        padding: 1.25rem;
    }

    .job-detail-brand__copy h1 {
        font-size: clamp(1.75rem,8.4vw,2.35rem);
    }

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

    .job-detail-hero__highlights dt,
    .job-detail-hero__highlights dd {
        white-space: normal;
    }

    .job-rich-copy p,
    .job-dynamic-sections p,
    .job-content-card > p,
    .job-section-extras .job-content-card > p {
        font-size: .96rem;
        line-height: 1.82;
    }
}

/* Premium hero and editorial typography */
.job-detail-hero {
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .14) inset,
        0 30px 70px rgba(7, 31, 52, .22);
}

.job-detail-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 36px 36px;
    content: "";
    mask-image: linear-gradient(110deg, #000, transparent 70%);
    pointer-events: none;
}

.job-detail-brand {
    align-items: flex-start;
}

.job-detail-brand__copy {
    min-width: 0;
}

.job-detail-hero__eyebrow,
.job-detail-verified {
    min-height: 1.9rem;
    padding: .38rem .7rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(4, 24, 40, .22);
    backdrop-filter: blur(10px);
}

.job-detail-brand__copy h1 {
    max-width: 19ch;
    margin-top: .85rem;
    color: #fff;
    font-weight: 850;
    text-wrap: balance;
    text-shadow: 0 3px 18px rgba(2, 20, 36, .2);
}

.job-detail-hero__summary {
    margin-top: 1.25rem;
    text-align: justify;
    text-justify: inter-word;
}

.job-apply-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(1.25rem, 2vw, 1.65rem);
    border-radius: 24px;
    box-shadow:
        0 22px 48px rgba(2, 20, 36, .22),
        inset 0 1px rgba(255, 255, 255, .18);
}

.job-apply-panel::before {
    position: absolute;
    top: -4rem;
    right: -4rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: rgba(251, 191, 36, .12);
    content: "";
    filter: blur(2px);
    pointer-events: none;
}

.job-apply-panel__kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .75rem;
    color: #fef3c7;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.job-apply-panel h2 {
    margin-bottom: .45rem;
    color: #fff;
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    font-weight: 850;
}

.job-apply-panel > p {
    max-width: 34ch;
    margin-bottom: 1.15rem;
    color: rgba(255, 255, 255, .74);
    line-height: 1.65;
}

.job-apply-panel__actions {
    display: grid;
    gap: .7rem;
}

.job-apply-panel__actions > .btn,
.job-apply-panel__actions > form + .btn {
    width: 100%;
}

.job-rich-copy,
.job-dynamic-sections,
.job-section-extras .job-content-card {
    color: #3f5066;
    font-size: 1.015rem;
    line-height: 1.9;
}

.job-rich-copy :is(p, li),
.job-dynamic-sections :is(p, li),
.job-section-extras .job-content-card :is(p, li) {
    text-align: justify;
    text-justify: inter-word;
    text-wrap: pretty;
}

@media (min-width: 992px) {
    .job-detail-hero {
        padding: clamp(2rem, 3.2vw, 3.25rem);
    }

    .job-apply-panel {
        margin-left: auto;
        max-width: 24rem;
    }
}

@media (max-width: 767.98px) {
    .job-detail-brand__copy h1 {
        max-width: none;
        margin-top: .65rem;
    }

    .job-apply-panel {
        border-radius: 20px;
    }
}

/* Quick navigation turns a long government notification into a scannable,
   task-focused page without changing the underlying official content. */
.job-content-nav {
    position: sticky;
    top: calc(var(--gnu-sticky-offset, 76px) + .75rem);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 1rem 0 1.25rem;
    padding: .7rem .85rem;
    border: 1px solid rgba(191, 219, 254, .9);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .09);
    backdrop-filter: blur(14px);
}

.job-content-nav__label {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .45rem;
    color: #102a5c;
    font-size: .78rem;
    font-weight: 850;
    white-space: nowrap;
}

.job-content-nav__label i { color: #2563eb; font-size: 1rem; }

.job-content-nav__links {
    display: flex;
    min-width: 0;
    gap: .45rem;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.job-content-nav__links a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 34px;
    padding: .42rem .7rem;
    border-radius: 999px;
    color: #36506f;
    background: #f3f7fc;
    font-size: .77rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.job-content-nav__links a:hover,
.job-content-nav__links a:focus-visible {
    color: #fff;
    background: #2563eb;
    outline: none;
    transform: translateY(-1px);
}

.job-scroll-target { scroll-margin-top: calc(var(--gnu-sticky-offset, 76px) + 5.5rem); }

@media (max-width: 767.98px) {
    .job-content-nav {
        position: static;
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
        margin: .75rem 0 1rem;
        padding: .7rem;
        border-radius: 14px;
    }

    .job-content-nav__links { width: 100%; }
    .job-content-nav__links a { min-height: 38px; padding-inline: .8rem; }
    .job-scroll-target { scroll-margin-top: 1rem; }
}

