.jobs-page {
    padding-bottom: 3rem;
}

.jobs-modal__loading,
.jobs-modal__error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 3rem 1rem;
    color: var(--bs-secondary-color, #667085);
    text-align: center;
}

#jobsModal .modal-body .jobs-detail__image {
    margin-left: calc(-1 * var(--bs-modal-padding, 1rem));
    margin-right: calc(-1 * var(--bs-modal-padding, 1rem));
    margin-top: calc(-1 * var(--bs-modal-padding, 1rem));
    border-radius: 0;
}

#jobsModal .modal-body .jobs-detail__accent {
    display: none;
}

.jobs-modal-content {
    position: relative;
    overflow: hidden;
}

.jobs-modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
    z-index: 3;
}

body.modal-open .club-share-modal {
    z-index: 1060;
}

.jobs-hero {
    padding: 1.5rem 0 0.5rem;
}

.jobs-hero__lede {
    max-width: 62ch;
    color: var(--bs-secondary-color, #667085);
}

.jobs-opencall {
    padding: 1.25rem 0 0.5rem;
}

.jobs-opencall__box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: color-mix(in srgb, var(--bs-secondary) 14%, transparent);
    border: 1px solid var(--bs-border-color, #d9e2ec);
    border-radius: var(--tpl-radius, 0.5rem);
}

.jobs-opencall__icon {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background: var(--bs-secondary);
    color: #2a1c00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.jobs-opencall__box h2 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.jobs-opencall__box p {
    margin: 0;
    color: var(--bs-secondary-color, #667085);
    font-size: 0.9rem;
    max-width: 60ch;
}

.jobs-opencall__cta {
    display: inline-block;
    white-space: nowrap;
    background: var(--bs-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.7rem 1.1rem;
    border-radius: var(--tpl-radius, 0.5rem);
    text-decoration: none;
}

.jobs-opencall__cta:hover,
.jobs-opencall__cta:focus {
    background: color-mix(in srgb, var(--bs-primary) 85%, #000);
    color: #fff;
}

.jobs-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem 0 1rem;
}

.jobs-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.jobs-chip {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.44rem 0.9rem;
    border: 1px solid var(--bs-border-color, #d9e2ec);
    background: transparent;
    color: var(--bs-secondary-color, #667085);
    border-radius: var(--tpl-radius, 0.5rem);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.jobs-chip:hover {
    border-color: var(--bs-primary);
    color: var(--bs-body-color, #17202a);
}

.jobs-chip.is-active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.jobs-result-count {
    font-size: 0.78rem;
    color: var(--bs-secondary-color, #667085);
    white-space: nowrap;
}

.jobs-result-count b {
    color: var(--bs-body-color, #17202a);
    font-variant-numeric: tabular-nums;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding-bottom: 1rem;
}

.jobs-list__empty {
    padding: 2rem;
    text-align: center;
    color: var(--bs-secondary-color, #667085);
    border: 1px dashed var(--bs-border-color, #d9e2ec);
    border-radius: var(--tpl-radius, 0.5rem);
}

.jobs-job {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.375rem;
    background: var(--club-card-bg, #fff);
    border: 1px solid var(--bs-border-color, #d9e2ec);
    border-radius: var(--tpl-radius, 0.5rem);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.jobs-job:has(.jobs-job__image) {
    grid-template-columns: auto 1fr auto;
}

.jobs-job__image {
    flex: none;
    width: 84px;
    height: 84px;
    border-radius: var(--tpl-radius, 0.5rem);
    overflow: hidden;
}

.jobs-job__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jobs-job:hover,
.jobs-job:focus-visible {
    box-shadow: 0 8px 20px rgba(13, 59, 102, 0.14);
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    color: inherit;
}

.jobs-job__main {
    min-width: 0;
}

.jobs-job__tags {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.jobs-tag {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    white-space: nowrap;
}

.jobs-tag--dept {
    background: color-mix(in srgb, var(--bs-primary) 10%, transparent);
    color: var(--bs-primary);
}

.jobs-tag--type {
    background: color-mix(in srgb, var(--bs-secondary) 16%, transparent);
    color: color-mix(in srgb, var(--bs-secondary) 60%, #000);
}

.jobs-job h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.jobs-job__hook {
    font-style: italic;
    font-weight: 500;
    color: var(--bs-secondary-color, #667085);
    font-size: 0.92rem;
}

.jobs-job__meta {
    display: flex;
    gap: 1.1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--bs-secondary-color, #667085);
}

.jobs-job__meta b {
    color: var(--bs-body-color, #17202a);
    font-weight: 600;
}

.jobs-job__arrow {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--bs-border-color, #d9e2ec);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary-color, #667085);
    font-size: 1rem;
}

.jobs-job:hover .jobs-job__arrow {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.jobs-detail {
    position: relative;
}

.jobs-detail__accent {
    height: 6px;
    margin: -1px -1px 1.25rem;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
    border-radius: var(--tpl-radius, 0.5rem) var(--tpl-radius, 0.5rem) 0 0;
}

.jobs-detail__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bs-secondary-color, #667085);
    margin-bottom: 0.875rem;
}

.jobs-detail__image {
    margin-bottom: 1.25rem;
    border-radius: var(--tpl-radius, 0.5rem);
    overflow: hidden;
}

.jobs-detail__image img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.jobs-detail--has-image {
    position: relative;
}

.jobs-detail--has-image .jobs-detail__title {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    margin: 0;
    text-align: left;
    font-size: 2.1rem;
    color: #000;
    text-shadow: none;
    display: inline-block;
    width: auto;
    padding: 0.3rem 0.7rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--tpl-radius, 0.5rem);
}

@media (max-width: 640px) {
    .jobs-detail__image {
        display: none;
    }

    .jobs-detail--has-image .jobs-detail__title {
        position: static;
        margin: 0 0 0.5rem;
        text-align: left;
        color: inherit;
        text-shadow: none;
        display: block;
        padding: 0;
        background: none;
    }
}

.jobs-detail__section {
    margin-bottom: 1.5rem;
}

.jobs-detail__who {
    font-size: 0.96rem;
    line-height: 1.6;
}

.jobs-detail__who p {
    margin: 0 0 0.75rem;
}

.jobs-detail__who p:last-child {
    margin-bottom: 0;
}

.jobs-detail__who ul,
.jobs-detail__who ol {
    margin: 0 0 0.75rem;
    padding-left: 1.25rem;
}

.jobs-detail__who a {
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.jobs-detail__section h2 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-primary);
    margin-bottom: 0.75rem;
}

.jobs-detail__section h2::before {
    content: "";
    width: 16px;
    height: 2px;
    flex: none;
    background: var(--bs-secondary);
    border-radius: 2px;
}

.jobs-detail__section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.jobs-detail__section li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.96rem;
}

.jobs-detail__section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bs-secondary);
}

.jobs-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.875rem;
    background: color-mix(in srgb, var(--bs-primary) 4%, var(--club-card-bg, #fff));
    border: 1px solid var(--bs-border-color, #d9e2ec);
    border-radius: var(--tpl-radius, 0.5rem);
    padding: 1.125rem 1.25rem;
    margin: 1.75rem 0 1.375rem;
}

.jobs-facts div {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.jobs-facts span {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-secondary-color, #667085);
}

.jobs-facts b {
    font-size: 0.92rem;
    font-weight: 600;
}

.jobs-facts a {
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.jobs-apply-cta {
    margin-bottom: 1.375rem;
}

.jobs-apply-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: center;
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    background: var(--bs-primary);
    border-radius: var(--tpl-radius, 0.5rem);
    padding: 0.9rem 1.25rem;
    text-decoration: none;
    transition: background 0.15s ease;
}

.jobs-apply-cta__btn:hover,
.jobs-apply-cta__btn:focus {
    background: color-mix(in srgb, var(--bs-primary) 85%, #000);
    color: #fff;
}

.jobs-share-row {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--bs-border-color, #e9eff5);
    padding-top: 1.25rem;
}

.jobs-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--bs-primary);
    background: color-mix(in srgb, var(--bs-primary) 8%, transparent);
    border: 1px solid transparent;
    border-radius: var(--tpl-radius, 0.5rem);
    padding: 0.625rem 1rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.jobs-share-btn:hover {
    background: var(--bs-primary);
    color: #fff;
}

@media (max-width: 640px) {
    .jobs-job {
        grid-template-columns: 1fr;
    }

    .jobs-job__arrow {
        display: none;
    }

    .jobs-opencall__box {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .jobs-opencall__cta {
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jobs-job {
        transition: none;
    }
}

.jobs-apply__lede {
    color: var(--bs-secondary-color, #667085);
    margin-bottom: 1.75rem;
    max-width: 62ch;
}

.jobs-apply__form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.125rem 1.25rem;
}

.jobs-apply__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.jobs-apply__field--full {
    grid-column: 1 / -1;
}

.jobs-apply__field label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bs-body-color, #17202a);
}

.jobs-apply__field input,
.jobs-apply__field textarea {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--bs-border-color, #d9e2ec);
    border-radius: var(--tpl-radius, 0.5rem);
    background: var(--club-card-bg, #fff);
    color: var(--bs-body-color, #17202a);
}

.jobs-apply__field input:focus,
.jobs-apply__field textarea:focus {
    outline: none;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-primary) 18%, transparent);
}

.jobs-apply__hint {
    font-size: 0.76rem;
    color: var(--bs-secondary-color, #667085);
}

.jobs-apply__actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--bs-border-color, #e9eff5);
}

.jobs-apply__cancel {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #667085);
    text-decoration: none;
}

.jobs-apply__cancel:hover,
.jobs-apply__cancel:focus {
    color: var(--bs-body-color, #17202a);
}

.jobs-apply__submit {
    display: inline-flex;
    align-items: center;
    font-size: 0.94rem;
    font-weight: 700;
    color: #fff;
    background: var(--bs-primary);
    border: none;
    border-radius: var(--tpl-radius, 0.5rem);
    padding: 0.85rem 1.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease;
}

.jobs-apply__submit:hover,
.jobs-apply__submit:focus {
    background: color-mix(in srgb, var(--bs-primary) 85%, #000);
    color: #fff;
}

.jobs-apply__consent {
    padding-top: 0.25rem;
}

.jobs-apply__consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--bs-body-color, #17202a);
    cursor: pointer;
}

.jobs-apply__consent-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    margin-top: 0.2rem;
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    border: 1px solid var(--bs-border-color, #adb5bd);
    border-radius: 0.25rem;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.75rem;
    cursor: pointer;
}

.jobs-apply__consent-label input[type="checkbox"]:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022Z'/%3e%3c/svg%3e");
}

.jobs-apply__consent-label input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.jobs-apply__consent-label a {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 640px) {
    .jobs-apply__form {
        grid-template-columns: 1fr;
    }

    .jobs-apply__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .jobs-apply__submit {
        justify-content: center;
    }

    .jobs-apply__cancel {
        text-align: center;
    }
}

.jobs-apply-success__content {
    text-align: center;
    max-width: 52ch;
    margin: 2rem auto 3rem;
}

.jobs-apply-success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--bs-primary) 12%, transparent);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.jobs-apply-success__text {
    color: var(--bs-secondary-color, #667085);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}
