/* ==========================================================
   All Jobs — [job50_all_jobs]
   Filterable responsive grid, cards job50-job-card
   ========================================================== */

.job50-all-jobs {
    width: 100%;
}

/* ── Toolbar ─────────────────────────────────────────────── */
.job50-all-jobs__toolbar {
    position: relative;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    width: 100%;
    margin: 0 0 28px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: var(--j50-radius-lg, 18px);
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .055);
    backdrop-filter: blur(12px);
    overflow: visible;
}

.job50-all-jobs__field {
    position: relative;
    display: grid;
    gap: 7px;
    min-width: 220px;
    flex: 1 1 220px;
}

.job50-all-jobs__field--title {
    z-index: 35;
    flex-basis: 320px;
}

.job50-all-jobs__label {
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, sans-serif);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--wp--preset--color--accent-1, #ed1c24);
}

.job50-all-jobs__control {
    position: relative;
    z-index: 1;
    display: block;
}


.job50-all-jobs__toolbar:has(.job50-all-jobs__control--search.is-open) {
    z-index: 100;
}

.job50-all-jobs__control--search.is-open {
    z-index: 10000;
}

.job50-all-jobs__control-icon,
.job50-all-jobs__toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(44, 44, 44, .88);
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.job50-all-jobs__toggle {
    right: 11px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    pointer-events: auto;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

.job50-all-jobs__toggle:hover,
.job50-all-jobs__toggle:focus-visible {
    outline: none;
    background: rgba(237, 28, 36, .07);
    color: var(--wp--preset--color--accent-1, #ed1c24);
}

.job50-all-jobs__control svg,
.job50-all-jobs__toggle svg,
.job50-all-jobs__reset-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.job50-all-jobs__control--search.is-open .job50-all-jobs__toggle {
    transform: translateY(-50%) rotate(180deg);
    color: var(--wp--preset--color--accent-1, #ed1c24);
}

.job50-all-jobs__select,
.job50-all-jobs__search {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 11px 48px 11px 14px;
    border: 1px solid #d6d8de;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
    color: var(--wp--preset--color--contrast, #333);
    font-size: 14px;
    line-height: 1.2;
}

.job50-all-jobs__select::-ms-expand {
    display: none;
}

.job50-all-jobs__search::-webkit-search-decoration,
.job50-all-jobs__search::-webkit-search-cancel-button,
.job50-all-jobs__search::-webkit-search-results-button,
.job50-all-jobs__search::-webkit-search-results-decoration {
    display: none;
}

.job50-all-jobs__select:focus,
.job50-all-jobs__search:focus {
    outline: none;
    border-color: rgba(237, 28, 36, .42);
    box-shadow: 0 0 0 3px rgba(237, 28, 36, .10);
}

.job50-all-jobs__search {
    padding-right: 52px;
}

.job50-all-jobs__suggestions {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 320px;
    overflow: auto;
    padding: 8px;
    border: 1px solid #d9dbe3;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .12);
}

.job50-all-jobs__suggestions[hidden] {
    display: none !important;
}

.job50-all-jobs__suggestion,
.job50-all-jobs__suggestion-empty {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    text-align: left;
    color: var(--wp--preset--color--contrast, #333);
    font-size: 14px;
    line-height: 1.35;
}

.job50-all-jobs__suggestion {
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
}

.job50-all-jobs__suggestion:hover,
.job50-all-jobs__suggestion:focus-visible,
.job50-all-jobs__suggestion.is-active {
    outline: none;
    background: rgba(237, 28, 36, .10);
    color: var(--wp--preset--color--accent-1, #ed1c24);
}

.job50-all-jobs__suggestion-empty {
    color: var(--j50-gray-600, #8f8f8f);
}

.job50-all-jobs__reset {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.job50-all-jobs__reset-icon {
    width: 16px;
    height: 16px;
    color: var(--wp--preset--color--accent-1, #ed1c24);
    flex: 0 0 auto;
}

.job50-all-jobs__feedback {
    min-height: 22px;
    margin: -14px 0 20px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--j50-gray-700, #666);
}

.job50-all-jobs__feedback:empty {
    display: none;
}

/* ── Grille classique : ordre lisible ligne par ligne ───── */
.job50-all-jobs__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.job50-all-jobs__grid .job50-job-card {
    min-width: 0;
    height: 100%;
}

/* ── Carte ───────────────────────────────────────────────── */
.job50-job-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--wp--preset--color--base, #fff);
    border: 1px solid var(--j50-gray-300, #dedede);
    border-radius: var(--j50-radius-md, 12px);
    padding: 22px;
    box-shadow: var(--j50-shadow-card, 0 8px 20px rgba(0,0,0,.04));
    transition:
        box-shadow .24s cubic-bezier(.22,.61,.36,1),
        border-color .22s ease;
    cursor: default;
}

.job50-job-card:hover {
    box-shadow: 0 18px 38px rgba(0,0,0,.08);
    border-color: rgba(237, 28, 36, .18);
}

/* ── Header : logo + identité ────────────────────────────── */
.job50-job-card__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.job50-job-card__logo {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: var(--j50-radius-sm, 6px);
    border: 1px solid var(--j50-gray-300, #dedede);
    background: var(--wp--preset--color--base, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
}

.job50-job-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.job50-job-card__initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    background: var(--wp--preset--color--accent-1, #ed1c24);
    color: var(--wp--preset--color--base, #fff);
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, sans-serif);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.job50-job-card__identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.job50-job-card__company {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--wp--preset--color--contrast, #333);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job50-job-card__location {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    color: var(--j50-gray-600, #8f8f8f);
    line-height: 1.3;
}

.job50-job-card__location .material-symbols-outlined {
    font-size: 15px;
    flex-shrink: 0;
    color: var(--wp--preset--color--accent-1, #ed1c24);
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
}

/* ── Body : titre + description ──────────────────────────── */
.job50-job-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.job50-job-card__title {
    margin: 0;
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, sans-serif);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--wp--preset--color--contrast, #333);
}

.job50-job-card__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #333333;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Footer : date + bouton ──────────────────────────────── */
.job50-job-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--j50-gray-200, #efefef);
}

.job50-job-card__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    font-size: 12px;
    color: var(--j50-gray-600, #8f8f8f);
    white-space: nowrap;
}

.job50-job-card__date .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 17px;
    color: var(--wp--preset--color--accent-1, #ed1c24);
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

/* Prevent the child-theme legacy pseudo calendar from duplicating the real HTML icon. */
[data-job50-job-cards-context] .job50-job-card__date::before {
    content: none !important;
    display: none !important;
}

.job50-job-card__apply {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.job50-job-card__apply .material-symbols-outlined {
    font-size: 16px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

/* ── Loader (infinite scroll) ────────────────────────────── */
.job50-all-jobs__sentinel {
    width: 100%;
    height: 1px;
    visibility: hidden;
    pointer-events: none;
}

.job50-all-jobs__loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0 16px;
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
}

.job50-all-jobs__loader.is-loading,
.job50-all-jobs__loader.has-message {
    opacity: 1;
}

/* Trois points animés */
.job50-all-jobs__loader-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}

.job50-all-jobs__loader-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wp--preset--color--accent-1, #ed1c24);
    animation: job50DotsBouce 1.2s ease-in-out infinite;
}

.job50-all-jobs__loader-dots span:nth-child(2) { animation-delay: .18s; }
.job50-all-jobs__loader-dots span:nth-child(3) { animation-delay: .36s; }

@keyframes job50DotsBouce {
    0%, 80%, 100% { opacity: .4; }
    40%           { opacity: 1; }
}

/* ── Fin de liste ────────────────────────────────────────── */
.job50-all-jobs__end-message {
    text-align: center;
    padding: 16px 0 8px;
    font-size: 13px;
    color: var(--j50-gray-600, #8f8f8f);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1180px) {
    .job50-all-jobs__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .job50-all-jobs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .job50-all-jobs__toolbar {
        padding: 16px;
    }
    .job50-all-jobs__field,
    .job50-all-jobs__field--title,
    .job50-all-jobs__reset {
        flex-basis: 100%;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .job50-all-jobs__grid {
        grid-template-columns: 1fr;
    }
}

/* Shared description/PDF refinements for All Jobs ----------------------- */
[data-job50-job-cards-context] .job50-job-card__desc.is-clickable {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    overflow: visible;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

[data-job50-job-cards-context] .job50-job-card__desc-copy {
    display: -webkit-box;
    width: 100%;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Keep the shared card excerpt compact in both the grid and carousel.
   The explicit text rule also isolates it from generic button typography. */
[data-job50-job-cards-context] .job50-job-card__desc-text {
    font-size: 13px;
    line-height: 1.5;
}

[data-job50-job-cards-context] .job50-job-card__desc-more {
    display: inline-block;
    color: var(--wp--preset--color--accent-1, #ed1c24);
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, system-ui, sans-serif);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

[data-job50-job-cards-context] .job50-job-card__desc.is-clickable:hover .job50-job-card__desc-more,
[data-job50-job-cards-context] .job50-job-card__desc.is-clickable:focus-visible .job50-job-card__desc-more {
    text-decoration-thickness: 2px;
}

[data-job50-job-cards-context] .job50-job-card__footer-meta {
    display: grid;
    gap: 7px;
    min-width: 0;
    margin-right: auto;
}

[data-job50-job-cards-context] .job50-job-card__pdf-link {
    font-size: 12px;
}

[data-job50-job-cards-context] .job50-job-card__date {
    margin-right: 0;
}

/* Compact single-line filter bar ---------------------------------------- */
.job50-all-jobs__toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1.08fr) minmax(280px, .92fr) 48px 48px;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
}

.job50-all-jobs__field,
.job50-all-jobs__field--title,
.job50-all-jobs__field--location {
    display: block;
    min-width: 0;
    width: 100%;
    flex: none;
}

.job50-all-jobs__field--title,
.job50-all-jobs__field--location {
    z-index: 35;
}

.job50-all-jobs__control--search {
    display: block;
}

.job50-all-jobs__leading-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 15px;
    color: var(--wp--preset--color--accent-1, #ed1c24);
    font-size: 20px;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.job50-all-jobs__search {
    min-height: 48px;
    padding: 12px 50px 12px 46px;
    border-radius: 10px;
}

.job50-all-jobs__toggle .material-symbols-outlined {
    font-size: 22px;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.job50-all-jobs__control--search.is-open .job50-all-jobs__toggle {
    transform: translateY(-50%);
}

.job50-all-jobs__control--search.is-open .job50-all-jobs__toggle .material-symbols-outlined {
    transform: rotate(180deg);
}

.job50-all-jobs__toolbar:has(.job50-all-jobs__control--search.is-open),
.job50-all-jobs__toolbar:has(.job50-all-jobs__action-wrap.is-open) {
    z-index: 100;
}

.job50-all-jobs__suggestion--location {
    display: flex;
    align-items: center;
    gap: 11px;
}

.job50-all-jobs__suggestion-icon {
    flex: 0 0 auto;
    color: var(--wp--preset--color--accent-1, #ed1c24);
    font-size: 20px;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.job50-all-jobs__suggestion-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.job50-all-jobs__suggestion-primary {
    overflow: hidden;
    color: var(--wp--preset--color--contrast, #333);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job50-all-jobs__suggestion-secondary {
    overflow: hidden;
    color: var(--j50-gray-600, #777);
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job50-all-jobs__action-wrap {
    position: relative;
    z-index: 40;
}

.job50-all-jobs__icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid #d6d8de;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
    color: var(--wp--preset--color--contrast, #333);
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.job50-all-jobs__icon-button:hover,
.job50-all-jobs__icon-button:focus-visible,
.job50-all-jobs__action-wrap.is-open .job50-all-jobs__icon-button {
    outline: none;
    border-color: rgba(237, 28, 36, .42);
    background: rgba(237, 28, 36, .06);
    color: var(--wp--preset--color--accent-1, #ed1c24);
    box-shadow: 0 0 0 3px rgba(237, 28, 36, .08);
}

.job50-all-jobs__icon-button > .material-symbols-outlined {
    font-size: 23px;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 450, 'GRAD' 0, 'opsz' 24;
}

.job50-all-jobs__reset {
    display: inline-flex;
    width: 48px;
    min-width: 48px;
    padding: 0;
}

.job50-all-jobs__tooltip {
    position: absolute;
    z-index: 10020;
    top: calc(100% + 10px);
    left: 50%;
    width: max-content;
    max-width: 220px;
    padding: 7px 10px;
    border-radius: 7px;
    background: #242424;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity .15s ease, transform .15s ease;
    white-space: nowrap;
}

.job50-all-jobs__tooltip::before {
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-bottom-color: #242424;
    content: '';
    transform: translateX(-50%);
}

.job50-all-jobs__icon-button:hover > .job50-all-jobs__tooltip,
.job50-all-jobs__icon-button:focus-visible > .job50-all-jobs__tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
}

.job50-all-jobs__action-wrap.is-open .job50-all-jobs__tooltip {
    display: none;
}

.job50-all-jobs__sort-menu {
    position: absolute;
    z-index: 10010;
    top: calc(100% + 10px);
    right: 0;
    width: max-content;
    min-width: 230px;
    padding: 7px;
    border: 1px solid #d9dbe3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .14);
}

.job50-all-jobs__sort-menu[hidden] {
    display: none !important;
}

.job50-all-jobs__sort-option {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 0;
    padding: 10px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--wp--preset--color--contrast, #333);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.job50-all-jobs__sort-option:hover,
.job50-all-jobs__sort-option:focus-visible,
.job50-all-jobs__sort-option.is-active {
    outline: none;
    background: rgba(237, 28, 36, .08);
    color: var(--wp--preset--color--accent-1, #ed1c24);
}

.job50-all-jobs__sort-check {
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
    opacity: 0;
    font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 20;
}

.job50-all-jobs__sort-option.is-active .job50-all-jobs__sort-check {
    opacity: 1;
}

@media (max-width: 900px) {
    .job50-all-jobs__toolbar {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px 48px;
    }
}

@media (max-width: 700px) {
    .job50-all-jobs__toolbar {
        grid-template-columns: minmax(0, 1fr) 48px 48px;
        padding: 15px;
    }

    .job50-all-jobs__field--title,
    .job50-all-jobs__field--location {
        grid-column: 1 / -1;
    }

    .job50-all-jobs__action-wrap {
        grid-column: 2;
    }

    .job50-all-jobs__reset {
        grid-column: 3;
    }
}

@media (max-width: 420px) {
    .job50-all-jobs__toolbar {
        gap: 10px;
    }

    .job50-all-jobs__search {
        min-height: 46px;
    }

    .job50-all-jobs__icon-button {
        width: 46px;
        min-width: 46px;
        height: 46px;
        min-height: 46px;
    }
}

/* Job detail modal -------------------------------------------------------- */
.job50-all-jobs-detail-modal__dialog {
    width: min(820px, calc(100vw - 40px));
}

.job50-all-jobs-detail-modal__organization {
    margin: -4px 42px 22px 0;
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, system-ui, sans-serif);
    font-size: .98rem;
    font-weight: 750;
    line-height: 1.35;
    color: var(--j50-gray-700, #5d5d5d);
}

.job50-all-jobs-detail-modal__body {
    display: grid;
    gap: 18px;
}

.job50-all-jobs-detail-modal__status {
    min-height: 24px;
    margin: 0;
    color: var(--j50-gray-700, #666);
    font-size: .95rem;
    line-height: 1.45;
}

.job50-all-jobs-detail-modal__status[hidden] {
    display: none !important;
}

.job50-all-jobs-detail-modal__status.is-error {
    color: var(--wp--preset--color--accent-1, #ed1c24);
}

.job50-all-jobs-detail-modal__content {
    display: grid;
    gap: 16px;
}

.job50-all-jobs-detail-modal__content[hidden],
.job50-all-jobs-detail-modal__description[hidden],
.job50-all-jobs-detail-modal__panel[hidden],
.job50-all-jobs-detail-modal__row[hidden],
.job50-all-jobs-detail-modal__actions[hidden],
.job50-all-jobs-detail-modal__pdf[hidden],
.job50-all-jobs-detail-modal__organization[hidden] {
    display: none !important;
}

.job50-all-jobs-detail-modal__description {
    margin: 0;
    color: var(--j50-gray-800, #4f4f4f);
    font-size: 1rem;
    line-height: 1.62;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.job50-all-jobs-detail-modal__panel {
    padding: 16px 18px;
    border: 1px solid var(--j50-gray-200, #e6e7eb);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
    box-shadow: 0 8px 22px rgba(31, 31, 31, .045);
}

.job50-all-jobs-detail-modal__panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, system-ui, sans-serif);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--wp--preset--color--contrast, #252525);
}

.job50-all-jobs-detail-modal__panel-title .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--wp--preset--color--accent-1, #ed1c24);
    font-size: 19px;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.job50-all-jobs-detail-modal__list {
    display: grid;
    gap: 0;
    margin: 0;
}

.job50-all-jobs-detail-modal__row {
    display: grid;
    grid-template-columns: minmax(145px, .7fr) minmax(0, 1.3fr);
    gap: 14px;
    align-items: start;
    padding: 9px 0;
    border-top: 0;
}

.job50-all-jobs-detail-modal__row:not([hidden]) ~ .job50-all-jobs-detail-modal__row:not([hidden]) {
    border-top: 1px solid rgba(221, 223, 229, .72);
}

.job50-all-jobs-detail-modal__row dt,
.job50-all-jobs-detail-modal__row dd {
    margin: 0;
}

.job50-all-jobs-detail-modal__row dt {
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, system-ui, sans-serif);
    font-size: .83rem;
    font-weight: 750;
    line-height: 1.42;
    color: var(--j50-gray-600, #747474);
}

.job50-all-jobs-detail-modal__row dd {
    min-width: 0;
    color: var(--wp--preset--color--contrast, #2d2d2d);
    font-size: .94rem;
    font-weight: 650;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.job50-all-jobs-detail-modal__actions {
    margin-top: 20px;
}

.job50-all-jobs-detail-modal__pdf .material-symbols-outlined {
    color: currentColor;
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 640px) {
    .job50-all-jobs-detail-modal__dialog {
        width: min(100%, calc(100vw - 24px));
    }

    .job50-all-jobs-detail-modal__organization {
        margin-right: 36px;
    }

    .job50-all-jobs-detail-modal__panel {
        padding: 14px 15px;
    }

    .job50-all-jobs-detail-modal__row {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 10px 0;
    }
}

