/* Career Events — all rules scoped to .cx so theme/Elementor styles don't leak in or out */

.cx {
  --navy: #0B1F3A;
  --text: #43536B;
  --muted: #7A889C;
  --line: #DFE6F1;
  --blue: #005EB8;
  --blue-deep: #004C96;
  --blue-soft: #D9E5F8;
  --blue-wash: #EEF4FC;
  --orange: #FF9F00;
  --orange-ink: #9A5C00;
  --orange-soft: #FFF1DA;
  --green: #0C7A57;
  --green-soft: #DFF4EA;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--navy);
  background: linear-gradient(180deg, #F5F8FD 0%, #FFFFFF 420px);
  padding: clamp(48px, 6vw, 88px) 24px clamp(56px, 7vw, 104px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.cx.cx-theme-font { font-family: inherit; }

/* Theme-proofing resets */
.cx *, .cx *::before, .cx *::after { box-sizing: border-box; }
.cx [hidden] { display: none !important; }
.cx h2, .cx h3, .cx h4, .cx p { font-family: inherit; color: inherit; text-transform: none; }
.cx ul { list-style: none; margin: 0; padding: 0; }
.cx li { margin: 0; }
.cx li::before, .cx li::marker { content: none; }
.cx a { box-shadow: none; }
.cx button {
  font-family: inherit; text-transform: none; letter-spacing: normal; line-height: 1.2;
  min-height: 0; box-shadow: none; text-shadow: none;
}
.cx .cx-ico { display: block; flex-shrink: 0; width: auto; height: auto; }

.cx-inner { max-width: 1160px; margin: 0 auto; }
.cx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Shared ---------- */
.cx .cx-meta { display: flex; flex-direction: column; gap: 6px; }
.cx .cx-meta li { display: flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--text); }
.cx .cx-meta .cx-ico { color: var(--blue); }

.cx .cx-badge {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 5px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1;
}
.cx .cx-badge.is-live { background: var(--green-soft); color: var(--green); }
.cx .cx-badge.is-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  animation: cx-pulse 1.8s ease-out infinite;
}
.cx .cx-badge.is-soon { background: var(--orange-soft); color: var(--orange-ink); }
.cx .cx-badge.is-muted { background: #EEF1F5; color: var(--muted); }
@keyframes cx-pulse { 0% { box-shadow: 0 0 0 0 rgba(12,122,87,.5); } 100% { box-shadow: 0 0 0 7px rgba(12,122,87,0); } }

.cx .cx-date {
  width: 64px; flex-shrink: 0; border-radius: 14px; overflow: hidden; text-align: center;
  background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column;
}
.cx .cx-date-m {
  background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; padding: 4px 0; line-height: 1.3;
}
.cx .cx-date-d { font-size: 1.625rem; font-weight: 800; line-height: 1; padding-top: 7px; letter-spacing: -0.02em; color: var(--navy); }
.cx .cx-date-w { font-size: .75rem; color: var(--muted); font-weight: 600; padding: 3px 0 7px; line-height: 1.3; }
.cx .cx-date.is-large { width: 84px; border-radius: 16px; }
.cx .cx-date.is-large .cx-date-m { font-size: .8125rem; padding: 6px 0; }
.cx .cx-date.is-large .cx-date-d { font-size: 2.25rem; padding-top: 9px; }
.cx .cx-date.is-large .cx-date-w { font-size: .8125rem; padding-bottom: 9px; }
.cx .is-past .cx-date-m { background: #A7B2C2; }

.cx .cx-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 14px 24px; border-radius: 12px; border: 0;
  background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  box-shadow: 0 10px 20px -10px rgba(0, 94, 184, .7);
  transition: background .18s, transform .18s;
}
.cx .cx-btn:hover, .cx .cx-btn:focus { background: var(--blue-deep); color: #fff; text-decoration: none; }
.cx .cx-btn:hover { transform: translateY(-1px); }
.cx .cx-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.cx .cx-btn.is-ghost { background: #fff; color: var(--blue); border: 1px solid var(--line); box-shadow: none; padding: 11px 20px; }
.cx .cx-btn.is-ghost:hover { background: var(--blue-wash); color: var(--blue); }

/* ---------- Hero ---------- */
.cx .cx-hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: clamp(32px, 5vw, 64px);
  background: #fff; border: 1px solid var(--line);
  border-radius: 56px 24px 24px 24px;
  padding: clamp(28px, 4.5vw, 56px);
  box-shadow: 0 1px 2px rgba(11,31,58,.04), 0 30px 60px -40px rgba(11,31,58,.35);
}
.cx .cx-title {
  margin: 0 0 18px; max-width: 15ch; color: var(--navy);
  font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.035em;
}
.cx .cx-sub { margin: 0 0 30px; max-width: 46ch; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--text); }

.cx .cx-hero-visual {
  position: relative; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, var(--blue-wash) 0%, var(--blue-soft) 100%);
  padding: clamp(24px, 4vw, 44px);
  min-height: 300px; display: grid; place-items: center;
}
.cx .cx-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,94,184,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,94,184,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.cx .cx-next {
  position: relative; width: 100%; max-width: 420px;
  background: #fff; border-radius: 20px; padding: 22px;
  border: 1px solid rgba(11,31,58,.06);
  box-shadow: 0 24px 44px -24px rgba(11,31,58,.45);
}
.cx .cx-next-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cx .cx-next-label { font-size: .875rem; font-weight: 700; color: var(--blue); }
.cx .cx-next-body { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.cx .cx-next-title { margin: 2px 0 12px; font-size: 1.1875rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; color: var(--navy); }
.cx .cx-next-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-radius: 12px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; font-size: .9375rem;
  transition: background .18s;
}
.cx .cx-next-btn:hover, .cx .cx-next-btn:focus { background: var(--blue); color: #fff; text-decoration: none; }
.cx .cx-next-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.cx .cx-next-btn .cx-ico { color: var(--orange); }
.cx .cx-next-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--text); }
.cx .cx-next-empty .cx-ico { color: var(--blue); }
.cx .cx-next-empty p { margin: 0; }

/* ---------- Filters ---------- */
.cx .cx-filters {
  margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px;
}
.cx .cx-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cx .cx-tabs::-webkit-scrollbar { display: none; }
.cx .cx-tab {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; margin: 0; border: 0; border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--text);
  font-size: .9375rem; font-weight: 600; transition: background .15s, color .15s;
}
.cx .cx-tab:hover, .cx .cx-tab:focus { background: var(--blue-wash); color: var(--navy); }
.cx .cx-tab[aria-pressed="true"] { background: var(--blue); color: #fff; }
.cx .cx-tab:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }

.cx .cx-select { position: relative; flex-shrink: 0; display: flex; align-items: center; margin: 0; }
.cx .cx-select select {
  appearance: none; -webkit-appearance: none; margin: 0;
  height: 42px; min-width: 210px; padding: 0 38px; line-height: 40px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-family: inherit; font-size: .9375rem; font-weight: 600; color: var(--navy); cursor: pointer;
}
.cx .cx-select select:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.cx .cx-select-pin, .cx .cx-select-chev { position: absolute; pointer-events: none; display: flex; }
.cx .cx-select-pin { left: 13px; color: var(--blue); }
.cx .cx-select-chev { right: 13px; color: var(--text); }

/* ---------- List ---------- */
.cx .cx-list-head {
  margin: clamp(48px, 6vw, 72px) 0 24px; scroll-margin-top: 100px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cx .cx-list-title { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; color: var(--navy); }
.cx .cx-count { margin: 6px 0 0; color: var(--muted); font-size: .9375rem; font-weight: 500; }

.cx .cx-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9375rem; font-weight: 600; color: var(--text); margin: 0; }
.cx .cx-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.cx .cx-toggle-track { width: 40px; height: 24px; border-radius: 999px; background: #CDD6E3; position: relative; transition: background .18s; flex-shrink: 0; }
.cx .cx-toggle-track span {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(11,31,58,.3); transition: transform .18s;
}
.cx .cx-toggle input:checked + .cx-toggle-track { background: var(--blue); }
.cx .cx-toggle input:checked + .cx-toggle-track span { transform: translateX(16px); }
.cx .cx-toggle input:focus-visible + .cx-toggle-track { outline: 3px solid var(--orange); outline-offset: 2px; }

.cx .cx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cx .cx-cards > li { display: flex; }
.cx .cx-card {
  position: relative; flex: 1; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.cx .cx-card::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--blue); opacity: 0; transition: opacity .18s;
}
.cx .cx-card:hover { border-color: #C3CFE2; transform: translateY(-3px); box-shadow: 0 20px 36px -22px rgba(11,31,58,.4); }
.cx .cx-card:hover::before { opacity: 1; }
.cx .cx-card:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.cx .cx-card.is-past { background: #FAFBFD; }
.cx .cx-card.is-past .cx-card-title, .cx .cx-card.is-past .cx-meta li { color: var(--muted); }

.cx .cx-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cx .cx-card-title { margin: 0 0 14px; font-size: 1.125rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; color: var(--navy); }
.cx .cx-card-title a { color: inherit; text-decoration: none; transition: color .15s; }
.cx .cx-card-title a:focus { outline: none; }
.cx .cx-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.cx .cx-card:hover .cx-card-title a { color: var(--blue); }
.cx .cx-card .cx-meta { margin-bottom: 18px; }

.cx .cx-card-foot {
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cx .cx-type { font-size: .8125rem; font-weight: 700; padding: 6px 11px; border-radius: 8px; background: var(--blue-wash); color: var(--blue); }
.cx .cx-more { display: inline-flex; align-items: center; gap: 2px; font-size: .875rem; font-weight: 700; color: var(--muted); transition: color .15s, gap .15s; }
.cx .cx-card:hover .cx-more { color: var(--blue); gap: 6px; }

.cx .cx-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 56px 24px; border: 1px dashed var(--line); border-radius: 20px; background: #FAFBFD; color: var(--text);
}
.cx .cx-empty .cx-ico { color: var(--blue); margin-bottom: 6px; }
.cx .cx-empty-title { margin: 0; font-weight: 800; font-size: 1.125rem; color: var(--navy); }
.cx .cx-empty-text { margin: 0 0 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) { .cx .cx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .cx .cx-hero { grid-template-columns: 1fr; border-radius: 40px 20px 20px 20px; }
  .cx .cx-title { max-width: 20ch; }
  .cx .cx-hero-visual { min-height: 0; }
  .cx .cx-filters { flex-direction: column; align-items: stretch; }
  .cx .cx-select select { width: 100%; }
}
@media (max-width: 620px) {
  .cx { padding-left: 16px; padding-right: 16px; }
  .cx .cx-cards { grid-template-columns: 1fr; }
  .cx .cx-btn { width: 100%; justify-content: center; }
  .cx .cx-next { padding: 18px; }
  .cx .cx-next-body { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx .cx-card, .cx .cx-btn, .cx .cx-tab, .cx .cx-more, .cx .cx-toggle-track, .cx .cx-toggle-track span { transition: none; }
  .cx .cx-card:hover, .cx .cx-btn:hover { transform: none; }
  .cx .cx-badge.is-live::before { animation: none; }
}
