/* Match Courses/Tutorials typography, listing controls and native pagination. */
.xt-theme .xt-careers-list,
.xt-theme .xt-careers-list :is(h1,h2,h3,h4,h5,h6,.btn,input,button) { font-family: "Inter", "Arial", sans-serif; }
.xt-theme .xt-careers-list { color: var(--xt-ink); font-size: 16px; line-height: 1.6; }
.xt-theme .xt-careers-list #xt-careers-results { scroll-margin-top: 100px; font-size: 24px; font-weight: 700; }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters { gap: 16px 8px; margin-inline: 0; padding-bottom: 20px; border-bottom: 1px solid var(--xt-line); }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters > :is(.flex-grow-1,.dropdown,.o_jobs_topbar_search_bar) { padding-inline: 0; }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .flex-grow-1 { width: 100%; flex: 0 0 100%; }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .dropdown { display: block !important; width: auto; min-width: 0; max-width: calc(100% - 250px); margin-right: auto; }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .dropdown > button { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; box-sizing: border-box; height: var(--xt-control-height,48px); max-width: 100%; padding: 0 16px; border: 1px solid var(--xt-line); border-radius: 7px; background: #fff; color: var(--xt-ink); font-size: 14px; font-weight: 600; white-space: normal; text-align: left; line-height: 1.35; }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .dropdown > button:has(+ .dropdown-menu .dropdown-item.active:not(:first-child)) { color: var(--xt-blue); border-color: var(--xt-blue); }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .dropdown > button:is(:hover,:focus-visible) { background: #f0f6ff; color: var(--xt-blue); border-color: var(--xt-blue); }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .dropdown > button:focus-visible { outline: 2px solid var(--xt-blue); outline-offset: 2px; }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .dropdown .dropdown-menu { min-width: 240px; width: max-content !important; max-width: min(360px,calc(100vw - 40px)); max-height: min(480px,65vh); overflow-y: auto; border: 1px solid var(--xt-line); border-radius: 12px; padding: 8px; font-size: 14px; }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .dropdown .dropdown-item { gap: 20px; white-space: normal; padding: 9px 12px; border-radius: 6px; color: var(--xt-ink); }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .dropdown .dropdown-item:is(:hover,:focus,.active) { color: var(--xt-blue); background: #f0f6ff; }
.xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .dropdown .dropdown-item.active { font-weight: 600; }
.xt-theme .xt-careers-list .dropdown-item .badge.pagination { display: inline; flex-shrink: 0; margin: 0; padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; color: var(--xt-muted) !important; font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
.xt-theme .xt-careers-list .o_jobs_topbar_search_bar { width: 230px; max-width: 100%; padding: 0; margin-left: auto; }
.xt-theme .xt-careers-list .o_jobs_topbar_search_bar form { width: 100%; }
.xt-theme .xt-careers-list .o_jobs_topbar_search_bar > button,
.xt-theme .xt-careers-list #o_jobs_offcanvas { display: none !important; }
.xt-theme .xt-careers-list .xt-career-department-heading { margin: 32px 0 20px !important; padding: 0 0 14px 16px; border-left: 3px solid var(--xt-blue); border-bottom: 1px solid var(--xt-line); color: var(--xt-ink); font-size: clamp(22px,2vw,28px); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.xt-theme .xt-careers-list #jobs_grid .card { border: 1px solid var(--xt-line); border-radius: 12px; background: #fff; transition: transform .15s,box-shadow .15s; }
.xt-theme .xt-careers-list #jobs_grid .card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px #183a6810; }
.xt-theme .xt-careers-list #jobs_grid .card > a:focus-visible { outline: 2px solid var(--xt-blue); outline-offset: 3px; border-radius: 12px; }
.xt-theme .xt-careers-list #jobs_grid .card h3 { margin: 0 0 8px; color: var(--xt-ink); font-size: 20px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; overflow-wrap: anywhere; }
.xt-theme .xt-careers-list #jobs_grid .card a:hover h3 { color: var(--xt-blue); }
.xt-theme .xt-careers-list .o_job_card_description { color: #454b56 !important; font-size: 16px; line-height: 1.55; }
.xt-theme .xt-careers-list .o_job_card_description p { margin: 0; }
.xt-theme .xt-careers-list .o_job_infos { gap: 5px; color: var(--xt-muted); font-size: 13px; line-height: 1.5; }
.xt-theme .xt-careers-list .o_job_infos .fw-light { font-weight: 400 !important; }
.xt-theme .xt-careers-list #jobs_grid_right { padding-top: 32px; }
.xt-theme .xt-careers-list #jobs_grid_right h2 { font-size: 22px; font-weight: 700; line-height: 1.35; }
.xt-theme .xt-careers-list #jobs_grid_right h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.xt-theme .xt-careers-list #jobs_grid_right p { color: #454b56; font-size: 16px; line-height: 1.6; }
.xt-theme .xt-careers-list #jobs_grid_right a { color: var(--xt-blue); }
/* Target actual pager lists, excluding count/scheduled badges named pagination. */
.xt-theme .xt-careers-list ul.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin: 32px 0 0 !important; padding: 0; }
.xt-theme .xt-careers-list ul.pagination .page-item { margin: 0; }
.xt-theme .xt-careers-list ul.pagination .page-link { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-width: var(--xt-control-height,48px); height: var(--xt-control-height,48px); margin: 0; padding: 0 12px; border: 1px solid var(--xt-line); border-radius: 8px; background: #fff; color: var(--xt-ink); font-weight: 500; text-decoration: none; box-shadow: none; }
.xt-theme .xt-careers-list ul.pagination .page-link[href]:is(:hover,:focus-visible) { border-color: var(--xt-blue); background: #f0f6ff; color: var(--xt-blue); }
.xt-theme .xt-careers-list ul.pagination .page-link:focus-visible { outline: 2px solid var(--xt-blue); outline-offset: 2px; }
.xt-theme .xt-careers-list ul.pagination .active .page-link { border-color: var(--xt-blue); background: var(--xt-blue); color: #fff; font-weight: 700; }
.xt-theme .xt-careers-list ul.pagination .active .page-link:is(:hover,:focus-visible) { background: #003acc; color: #fff; }
.xt-theme .xt-careers-list ul.pagination .disabled .page-link { background: #f2f8ff; color: var(--xt-muted); cursor: default; }
.xt-theme .xt-careers-list ul.pagination .page-item:not(.disabled) .page-link:not([href]) { border-color: transparent; background: transparent; color: var(--xt-muted); }
@media (max-width: 991px) {
    .xt-theme .xt-careers-list #jobs_grid_right { padding-top: 8px; }
}
@media (max-width: 600px) {
    .xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .dropdown { width: 100%; max-width: 100%; }
    .xt-theme .xt-careers-list .o_wevent_index_topbar_filters > .dropdown > button { width: 100%; padding-inline: 12px; font-size: 13px; }
    .xt-theme .xt-careers-list .o_jobs_topbar_search_bar { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .xt-theme .xt-careers-list #jobs_grid .card { transition: none; }
    .xt-theme .xt-careers-list #jobs_grid .card:hover { transform: none; }
}
