/* Job detail page. */
body.page-template-page-chi-tiet-viec-lam .wjp-site-content {
    padding: 0;
    background: #f8fafc;
}

.wjp-job-detail {
    padding: 32px 0 56px;
}

.wjp-job-detail .wjp-container {
    width: min(calc(100% - 32px), 1360px);
}

.wjp-job-detail__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 18px;
    color: #64748b;
    font-size: 0.875rem;
}

.wjp-job-detail__breadcrumb a {
    color: #475569;
    text-decoration: none;
}

.wjp-job-detail__breadcrumb a:hover {
    color: #f05a00;
}

.wjp-job-detail__breadcrumb [aria-current='page'] {
    color: #0f172a;
}

.wjp-job-detail-summary,
.wjp-job-detail-content-card,
.wjp-job-detail-section--standalone,
.wjp-job-detail-company,
.wjp-job-detail-related {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.wjp-job-detail-summary {
    padding: 24px;
}

.wjp-job-detail-summary__title-row,
.wjp-job-detail-summary__heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wjp-job-detail-summary__title-mark,
.wjp-job-detail-summary__mark,
.wjp-job-detail__section-icon {
    color: #f05a00;
    flex: 0 0 auto;
}

.wjp-job-detail-summary__title-mark,
.wjp-job-detail-summary__mark {
    margin-top: 4px;
}

.wjp-job-detail-summary__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff7ed;
    color: #f05a00;
    font-size: 0.875rem;
    font-weight: 700;
}

.wjp-job-detail-summary h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    line-height: 1.25;
}

.wjp-job-detail-summary__company {
    margin: 10px 0 0;
    color: #475569;
    font-weight: 500;
}

.wjp-job-detail-summary__heading p {
    margin: 10px 0 0;
    color: #475569;
    font-weight: 500;
}

.wjp-job-detail-summary__meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.wjp-job-detail-summary__meta-item,
.wjp-job-detail-summary__meta li {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #334155;
    font-size: 0.9375rem;
}

.wjp-job-detail-summary__meta-item svg,
.wjp-job-detail-summary__meta li svg {
    width: 20px;
    height: 20px;
    color: #f05a00;
    flex: 0 0 auto;
}

.wjp-job-detail-summary svg,
.wjp-job-detail-location svg,
.wjp-job-card__save svg,
.wjp-job-detail-summary__save svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.wjp-job-detail-summary__meta li span {
    display: grid;
    gap: 2px;
}

.wjp-job-detail-summary__meta li strong {
    color: #1e293b;
    font-size: 0.9375rem;
}

.wjp-job-detail-summary__meta li span:not(strong) {
    color: #64748b;
}

.wjp-job-detail-summary__deadline {
    margin: 18px 0 0;
    color: #b45309;
    font-size: 0.875rem;
    font-weight: 600;
}

.wjp-job-detail-summary__footer > p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 0;
    color: #b45309;
    font-size: 0.875rem;
    font-weight: 600;
}

.wjp-job-detail-summary__footer > p svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

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

.wjp-job-detail-summary__actions .wjp-job-detail-button,
.wjp-job-detail-summary__actions .wjp-job-detail-save {
    width: 100%;
    height: 34px;
    min-height: 0;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.8125rem;
    align-self: start;
    box-sizing: border-box;
}

.wjp-job-detail-summary__actions .wjp-job-detail-save {
    gap: 5px;
    border: 1px solid #f05a00;
    background: #ffffff;
    color: #f05a00;
}

.wjp-job-detail-summary__actions .wjp-job-detail-save svg {
    width: 13px;
    height: 13px;
}

.wjp-job-detail-summary__actions .wjp-job-detail-button svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.wjp-job-detail-summary__actions .wjp-job-detail-save:hover {
    border-color: #d94e00;
    background: #d94e00;
    color: #ffffff;
}

.wjp-job-detail-summary__actions .wjp-job-detail-save:active {
    border-color: #b83f00;
    background: #b83f00;
    color: #ffffff;
    transform: translateY(1px);
}

.wjp-job-detail-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wjp-job-detail-summary__actions {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-auto-rows: 34px;
    align-items: start;
    width: 100%;
}

.wjp-job-detail-button,
.wjp-job-detail-summary__save,
.wjp-job-detail__share-button,
.wjp-job-detail__share-link,
.wjp-job-detail-modal__close,
.wjp-job-detail-modal__dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 16px;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.wjp-job-detail-button {
    background: #f05a00;
    color: #ffffff;
}

.wjp-job-detail-button:hover {
    background: #d94e00;
    color: #ffffff;
    transform: translateY(-1px);
}

.wjp-job-detail-summary__save,
.wjp-job-detail__share-button,
.wjp-job-detail__share-link,
.wjp-job-detail-modal__dismiss {
    border-color: #fed7aa;
    background: #ffffff;
    color: #c2410c;
}

.wjp-job-detail-summary__save:hover,
.wjp-job-detail__share-button:hover,
.wjp-job-detail__share-link:hover,
.wjp-job-detail-modal__dismiss:hover {
    border-color: #f05a00;
    background: #fff7ed;
    color: #9a3412;
}

.wjp-job-detail-summary__save svg,
.wjp-job-detail__share-button svg,
.wjp-job-detail__share-link svg {
    width: 18px;
    height: 18px;
}

.wjp-job-detail-summary__save.is-saved,
.wjp-job-card__save.is-saved {
    border-color: #f05a00;
    background: #fff7ed;
    color: #f05a00;
}

.wjp-job-detail__layout {
    display: grid;
    gap: 24px;
}

.wjp-job-detail__content,
.wjp-job-detail__sidebar {
    min-width: 0;
}

.wjp-job-detail__content {
    display: grid;
    gap: 20px;
}

.wjp-job-detail__sidebar {
    display: grid;
    align-content: start;
    gap: 20px;
}

.wjp-job-detail-section {
    padding: 24px;
}

.wjp-job-detail-content-card .wjp-job-detail-section {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.wjp-job-detail-section__heading,
.wjp-job-detail-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
}

.wjp-job-detail-section__heading svg {
    width: 22px;
    height: 22px;
}

.wjp-job-detail-section p {
    margin: 0;
    color: #334155;
    line-height: 1.7;
}

.wjp-job-detail-section__list,
.wjp-job-detail-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wjp-job-detail-section__list li,
.wjp-job-detail-section ul li {
    display: flex;
    margin: 0;
    padding: 8px 0;
    align-items: center;
    gap: 10px;
    color: #334155;
    line-height: 1.6;
}

.wjp-job-detail-section__list li::before,
.wjp-job-detail-section ul li::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #f05a00;
    content: '';
}

.wjp-job-detail__facts,
.wjp-job-detail-facts {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    border-top: 1px solid #e2e8f0;
}

.wjp-job-detail__facts div,
.wjp-job-detail-facts div {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

.wjp-job-detail__facts dt,
.wjp-job-detail-facts dt {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 500;
}

.wjp-job-detail__facts dd,
.wjp-job-detail-facts dd {
    margin: 0;
    color: #1e293b;
    font-size: 0.9375rem;
    font-weight: 600;
}

.wjp-job-detail__chips,
.wjp-job-detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wjp-job-detail__chip,
.wjp-job-detail-chips span,
.wjp-job-detail-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border-radius: 999px;
    padding: 6px 12px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

a.wjp-job-detail__chip:hover,
.wjp-job-detail-chips a:hover {
    background: #ffedd5;
    color: #9a3412;
}

.wjp-job-detail__address,
.wjp-job-detail-location {
    margin-bottom: 14px;
}

.wjp-job-detail-location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.wjp-job-detail-location svg {
    width: 20px;
    height: 20px;
    color: #f05a00;
    flex: 0 0 auto;
    margin-top: 3px;
}

.wjp-job-detail__map-link,
.wjp-job-detail-section .wjp-job-detail-location + a,
.wjp-job-detail__report-link {
    color: #c2410c;
    font-size: 0.9375rem;
    font-weight: 600;
}

.wjp-job-detail__share,
.wjp-job-detail-share {
    padding-top: 4px;
}

.wjp-job-detail__share-heading,
.wjp-job-detail-share > span:first-child {
    margin: 0;
    color: #475569;
    font-size: 0.9375rem;
    font-weight: 600;
}

.wjp-job-detail__share-actions {
    margin-top: 12px;
}

.wjp-job-detail-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.wjp-job-detail-share a,
.wjp-job-detail-share button {
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
}

.wjp-job-detail-share button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #c2410c;
    cursor: pointer;
}

.wjp-job-detail-share__copy {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #ffffff;
    color: #c2410c;
}

.wjp-job-detail-share__copy svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.wjp-job-detail-share__copy:hover {
    border-color: #f05a00;
    background: #fff7ed;
    color: #9a3412;
}

.wjp-job-detail__copy-status {
    min-height: 20px;
    margin: 8px 0 0;
    color: #15803d;
    font-size: 0.8125rem;
}

.wjp-job-detail__report-link,
.wjp-job-detail-share > a {
    display: inline-block;
    margin-top: 16px;
}

.wjp-job-detail-share__report {
    margin-top: 0;
    margin-left: auto;
    color: #c2410c;
    font-size: 0.875rem;
    font-weight: 600;
}

.wjp-job-detail-company,
.wjp-job-detail-related {
    padding: 20px;
}

.wjp-job-detail-company__label {
    margin: 0 0 8px;
    color: #f05a00;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wjp-job-detail-company__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    color: #f05a00;
    font-size: 0.8125rem;
    font-weight: 700;
}

.wjp-job-detail-company__name {
    margin: 0;
    color: #0f172a;
    font-size: 1.125rem;
}

.wjp-job-detail-company h2 {
    margin: 14px 0 0;
    color: #0f172a;
    font-size: 1.125rem;
    line-height: 1.45;
}

.wjp-job-detail-company__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wjp-job-detail-company__address {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.55;
}

.wjp-job-detail-company > p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.55;
}

.wjp-job-detail-company__facts {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    padding: 14px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.875rem;
}

.wjp-job-detail-company dl {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    padding: 14px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.wjp-job-detail-company dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #475569;
    font-size: 0.8125rem;
}

.wjp-job-detail-company dl dt,
.wjp-job-detail-company dl dd {
    margin: 0;
}

.wjp-job-detail-company dl dd {
    color: #1e293b;
    font-weight: 600;
    text-align: right;
}

.wjp-job-detail-company__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    color: #c2410c;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease;
}

.wjp-job-detail-company__link:hover {
    color: #d94e00;
}

.wjp-job-detail-company__link svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 160ms ease;
}

.wjp-job-detail-company__link:hover svg {
    transform: translateX(2px);
}

.wjp-job-detail-company__link:focus-visible {
    outline: 3px solid rgba(240, 90, 0, 0.28);
    outline-offset: 2px;
}

.wjp-job-detail-company > a {
    color: #c2410c;
    font-size: 0.9375rem;
    font-weight: 700;
}

.wjp-job-detail-related__heading {
    margin: 0;
    color: #0f172a;
    font-size: 1.125rem;
}

.wjp-job-detail-related > h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.125rem;
}

.wjp-job-detail-related__list {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.wjp-job-detail-related .wjp-home-job-card {
    position: relative;
    display: flex;
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    padding: 16px;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.wjp-job-detail-related .wjp-home-job-card:hover {
    border-color: #fdba74;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.wjp-job-detail-related .wjp-home-job-card__overlay-link {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
}

.wjp-job-detail-related .wjp-home-job-card__save {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 2;
    display: inline-grid;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    place-items: center;
    background: #ffffff;
    color: #f05a00;
    cursor: pointer;
}

.wjp-job-detail-related .wjp-home-job-card__save svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.wjp-job-detail-related .wjp-home-job-card__save:hover,
.wjp-job-detail-related .wjp-home-job-card__save:focus-visible,
.wjp-job-detail-related .wjp-home-job-card__save.is-saved {
    background: #fff7ed;
    color: #f05a00;
}

.wjp-job-detail-related .wjp-home-job-card__save.is-saved svg {
    fill: currentColor;
}

.wjp-job-detail-related .wjp-home-job-card__top {
    display: flex;
    margin-bottom: 14px;
    align-items: stretch;
    gap: 12px;
}

.wjp-job-detail-company__mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wjp-job-detail-related .wjp-home-job-card__top > div {
    min-width: 0;
    flex: 1;
    padding-right: 32px;
}

.wjp-job-detail-related .wjp-home-company-mark {
    display: inline-flex;
    width: 42px;
    height: auto;
    min-height: 42px;
    flex: 0 0 auto;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff7ed;
    color: #f05a00;
    font-size: 0.875rem;
    font-weight: 700;
}

.wjp-job-detail-related .wjp-home-job-card h3 {
    margin: 0 0 4px;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.9375rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wjp-job-detail-related .wjp-home-job-card__company {
    overflow: hidden;
    margin: 0;
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wjp-job-detail-related .wjp-home-job-card__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid #e2e8f0;
}

.wjp-job-detail-related .wjp-home-job-card__meta div {
    min-width: 0;
}

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

.wjp-job-detail-related .wjp-home-job-card__meta dt {
    margin-bottom: 3px;
    color: #64748b;
    font-size: 0.75rem;
}

.wjp-job-detail-related .wjp-home-job-card__meta dd {
    color: #1e293b;
    font-size: 0.8125rem;
    font-weight: 700;
}

.wjp-job-detail-related .wjp-home-job-card__footer {
    display: flex;
    padding-top: 12px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wjp-job-detail-related .wjp-home-job-card__deadline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
}

.wjp-job-detail-related .wjp-home-job-card__deadline svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.wjp-job-detail-related .wjp-home-job-card__deadline--urgent {
    color: #c2410c;
}

.wjp-job-detail-related .wjp-home-job-card__label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
}

.wjp-job-detail-related .wjp-home-job-card__label svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

.wjp-job-detail-related .wjp-home-job-card__label--hot {
    color: var(--wjp-color-primary, #f05a00);
}

.wjp-job-detail-related .wjp-home-job-card__label--hot svg {
    fill: currentColor;
}

.wjp-job-detail-related .wjp-home-job-card__label--popular {
    color: #7c3aed;
}

.wjp-job-card {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    padding: 16px 42px 14px 16px;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.wjp-job-card:hover {
    border-color: #fdba74;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.wjp-job-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.wjp-job-card__title,
.wjp-job-card h3,
.wjp-job-card__company,
.wjp-job-card__meta,
.wjp-job-card__deadline {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.wjp-job-card__title,
.wjp-job-card h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.9375rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wjp-job-card__company {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.wjp-job-card__meta {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    color: #475569;
    font-size: 0.8125rem;
}

.wjp-job-card__salary {
    color: #f05a00;
    font-weight: 700;
}

.wjp-job-card__deadline {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wjp-job-card__deadline svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.wjp-job-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.wjp-job-card__footer .wjp-job-card__deadline {
    margin: 0;
}

.wjp-job-card__deadline--healthy {
    color: #15803d;
}

.wjp-job-card__deadline--closing {
    color: #dc2626;
}

.wjp-job-card__label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.wjp-job-card__label i,
.wjp-job-card__label svg {
    width: 14px;
    height: 14px;
}

.wjp-job-card__label--hot {
    color: var(--wjp-color-primary, #f05a00);
}

.wjp-job-card__label--hot i svg {
    fill: currentColor;
}

.wjp-job-card__label--popular {
    color: #7c3aed;
}

.wjp-job-card__save {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #ffffff;
    color: #f05a00;
    cursor: pointer;
}

.wjp-job-card__save svg {
    width: 18px;
    height: 18px;
}

.wjp-job-detail-modal[hidden] {
    display: none;
}

.wjp-job-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 10010;
    display: grid;
    place-items: center;
    padding: 20px;
}

.wjp-job-detail-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
}

.wjp-job-detail-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    border-radius: 16px;
    background: #ffffff;
    padding: 32px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.24);
}

.wjp-job-detail-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff3eb;
    color: #f05a00;
}

.wjp-job-detail-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 36px;
}

.wjp-job-detail-modal__icon svg,
.wjp-job-detail-modal__note svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.wjp-job-detail-application-form {
    margin-top: 20px;
}

.wjp-job-detail-application-form__field {
    margin: 0;
    padding: 0;
    border: 0;
}

.wjp-job-detail-application-form__field + .wjp-job-detail-application-form__field {
    margin-top: 18px;
}

.wjp-job-detail-application-form__field legend,
.wjp-job-detail-application-form__field > label {
    display: block;
    margin-bottom: 10px;
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 600;
}

.wjp-job-detail-application-form__cv-options {
    display: grid;
    gap: 8px;
}

.wjp-job-detail-application-form__cv-option {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 0;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
}

.wjp-job-detail-application-form__cv-option:has(input:checked) {
    border-color: #f05a00;
    background: #fffaf6;
}

.wjp-job-detail-application-form__cv-option input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #f05a00;
}

.wjp-job-detail-application-form__cv-option > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.wjp-job-detail-application-form__cv-option strong,
.wjp-job-detail-application-form__cv-option small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wjp-job-detail-application-form__cv-option strong {
    color: #1f2937;
    font-size: 0.875rem;
}

.wjp-job-detail-application-form__cv-option small {
    color: #6b7280;
    font-size: 0.75rem;
}

.wjp-job-detail-application-form__cv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff3eb;
    color: #f05a00;
}

.wjp-job-detail-application-form__cv-icon svg,
.wjp-job-detail-application-form__upload label svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.wjp-job-detail-application-form__upload {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px dashed #fdba74;
    border-radius: 10px;
    background: #fffaf6;
}

.wjp-job-detail-application-form__upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.wjp-job-detail-application-form__upload label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #f05a00;
    border-radius: 8px;
    background: #ffffff;
    color: #d94e00;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.wjp-job-detail-application-form__upload label:hover {
    background: #fff3eb;
}

.wjp-job-detail-application-form__upload span {
    flex: 1 1 180px;
    min-width: 0;
    color: #6b7280;
    font-size: 0.8125rem;
}

.wjp-job-detail-application-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 104px;
    resize: vertical;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    color: #1f2937;
    font: inherit;
    line-height: 1.55;
}

.wjp-job-detail-application-form textarea:focus {
    border-color: #f05a00;
    outline: 3px solid rgba(240, 90, 0, 0.18);
    outline-offset: 0;
}

.wjp-job-detail-application-form__status {
    min-height: 1.4em;
    margin: 12px 0 0;
    color: #b45309;
    font-size: 0.8125rem;
}

.wjp-job-detail-modal__eyebrow {
    margin: 0 0 3px;
    color: #f05a00;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.wjp-job-detail-modal__dialog .wjp-job-detail-modal__description {
    margin-top: 14px;
}

.wjp-job-detail-modal__dialog h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
}

.wjp-job-detail-modal__dialog p {
    margin: 12px 0 0;
    color: #475569;
    line-height: 1.6;
}

.wjp-job-detail-modal__job {
    display: grid;
    gap: 4px;
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    background: #fffaf6;
}

.wjp-job-detail-modal__job strong {
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.45;
}

.wjp-job-detail-modal__job span {
    color: #6b7280;
    font-size: 0.875rem;
}

.wjp-job-detail-modal__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 2px 0 2px 10px;
    border-left: 3px solid #fed7aa;
    border-radius: 0;
    background: transparent;
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.5;
}

@media (min-width: 520px) {
    .wjp-job-detail-application-form__cv-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.wjp-job-detail-modal__note svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 1px;
    color: #f05a00;
}

.wjp-job-detail-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    min-height: 36px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #fff7ed;
    color: #c2410c;
}

.wjp-job-detail-modal__close:hover {
    background: #fed7aa;
    color: #9a3412;
}

.wjp-job-detail-modal__close:active {
    background: #fdba74;
}

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

.wjp-job-detail-modal__actions > * {
    flex: 1 1 0;
}

/* Keep application actions independent from Astra's generic button states. */
.wjp-job-detail-summary__actions .wjp-job-detail-button,
.wjp-job-detail-modal__actions .wjp-job-detail-button {
    border-color: #f05a00;
    background: #f05a00;
    color: #ffffff;
}

.wjp-job-detail-summary__actions .wjp-job-detail-button:hover,
.wjp-job-detail-summary__actions .wjp-job-detail-button:focus-visible,
.wjp-job-detail-modal__actions .wjp-job-detail-button:hover,
.wjp-job-detail-modal__actions .wjp-job-detail-button:focus-visible {
    border-color: #d94e00;
    background: #d94e00;
    color: #ffffff;
}

.wjp-job-detail-summary__actions .wjp-job-detail-button:active,
.wjp-job-detail-modal__actions .wjp-job-detail-button:active {
    border-color: #b83f00;
    background: #b83f00;
    color: #ffffff;
}

.wjp-job-detail-modal__actions .wjp-job-detail-button--secondary {
    border-color: #f05a00;
    background: #ffffff;
    color: #f05a00;
}

.wjp-job-detail-modal__actions .wjp-job-detail-button--secondary:hover,
.wjp-job-detail-modal__actions .wjp-job-detail-button--secondary:focus-visible {
    border-color: #d94e00;
    background: #fff3eb;
    color: #d94e00;
}

.wjp-job-detail-modal__actions .wjp-job-detail-button--secondary:active {
    border-color: #b83f00;
    background: #fed7aa;
    color: #b83f00;
}

body.wjp-job-detail-modal-open {
    overflow: hidden;
}

.wjp-job-detail a:focus-visible,
.wjp-job-detail button:focus-visible,
.wjp-job-detail-modal a:focus-visible,
.wjp-job-detail-modal button:focus-visible {
    outline: 3px solid rgba(240, 90, 0, 0.38);
    outline-offset: 3px;
}

/* Job-detail typography follows the shared scale while preserving card layout. */
.wjp-job-detail,
.wjp-job-detail-modal {
    font-size: var(--wjp-text-base);
    line-height: var(--wjp-line-normal);
}

.wjp-job-detail__breadcrumb,
.wjp-job-detail-summary__mark,
.wjp-job-detail-summary__deadline,
.wjp-job-detail-summary__footer > p,
.wjp-job-detail__facts dt,
.wjp-job-detail-facts dt,
.wjp-job-detail__chip,
.wjp-job-detail-chips span,
.wjp-job-detail-chips a,
.wjp-job-detail__copy-status,
.wjp-job-detail-company__label,
.wjp-job-detail-company__mark,
.wjp-job-detail-company dl div,
.wjp-job-detail-related .wjp-home-job-card__company,
.wjp-job-detail-related .wjp-home-job-card__meta dt,
.wjp-job-detail-related .wjp-home-job-card__meta dd,
.wjp-job-detail-related .wjp-home-job-card__deadline,
.wjp-job-card__company,
.wjp-job-card__meta,
.wjp-job-card__deadline {
    font-size: var(--wjp-text-sm);
}

.wjp-job-detail-summary h1 {
    font-size: clamp(1.75rem, 2.6vw, 2.125rem);
    line-height: 1.22;
}

.wjp-job-detail-section__heading,
.wjp-job-detail-section h2,
.wjp-job-detail-modal__dialog h2 {
    font-size: 1rem;
    line-height: var(--wjp-line-tight);
}

.wjp-job-detail-summary__company,
.wjp-job-detail-summary__heading p,
.wjp-job-detail-summary__meta-item,
.wjp-job-detail-summary__meta li,
.wjp-job-detail-summary__meta li strong,
.wjp-job-detail__facts dd,
.wjp-job-detail-facts dd,
.wjp-job-detail__map-link,
.wjp-job-detail-section .wjp-job-detail-location + a,
.wjp-job-detail__report-link,
.wjp-job-detail__share-heading,
.wjp-job-detail-share > span:first-child,
.wjp-job-detail-share a,
.wjp-job-detail-share button,
.wjp-job-detail-company__link,
.wjp-job-detail-company > a {
    font-size: var(--wjp-text-base);
}

.wjp-job-detail-company__name,
.wjp-job-detail-company h2,
.wjp-job-detail-related__heading,
.wjp-job-detail-related > h2,
.wjp-job-card__title,
.wjp-job-card h3 {
    font-size: var(--wjp-heading-sm);
    line-height: 1.3;
}

.wjp-job-detail-company__address,
.wjp-job-detail-company > p,
.wjp-job-detail-company__facts,
.wjp-job-detail-modal__dialog p {
    font-size: var(--wjp-text-sm);
    line-height: var(--wjp-line-normal);
}

@media (min-width: 640px) {
    .wjp-job-detail .wjp-container {
        width: min(calc(100% - 40px), 1360px);
    }

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

    .wjp-job-detail__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }

    .wjp-job-detail-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }
}

@media (min-width: 1024px) {
    .wjp-job-detail .wjp-container {
        width: min(calc(100% - 48px), 1360px);
    }

    .wjp-job-detail {
        padding: 40px 0 72px;
    }

    .wjp-job-detail-summary {
        padding: 30px;
    }

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

    .wjp-job-detail__layout {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
        align-items: start;
    }
}

@media (max-width: 639px) {
    .wjp-job-detail {
        padding: 24px 0 40px;
    }

    .wjp-job-detail-summary,
    .wjp-job-detail-content-card,
    .wjp-job-detail-section--standalone,
    .wjp-job-detail-company,
    .wjp-job-detail-related {
        border-radius: 12px;
    }

    .wjp-job-detail-summary,
    .wjp-job-detail-section {
        padding: 20px;
    }

    .wjp-job-detail-summary__actions > * {
        width: 100%;
    }

    .wjp-job-detail-modal {
        padding: 16px;
    }

    .wjp-job-detail-modal__dialog {
        padding: 24px 20px;
    }
}

@media (max-width: 639px) {
    .wjp-job-detail-modal__actions > * {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wjp-job-detail-button,
    .wjp-job-detail-summary__save,
    .wjp-job-detail__share-button,
    .wjp-job-detail__share-link,
    .wjp-job-detail-modal__close,
    .wjp-job-detail-modal__dismiss,
    .wjp-job-card {
        transition: none;
    }
}
