/*
Theme Name:   Mobiliteitscentrum 2026
Description:  Nieuwe huisstijl voor de vacaturesite van het Mobiliteitscentrum Regio West-Brabant. Child theme van FoundationPress: header, footer en home page zijn vervangen, de rest komt van het bestaande thema.
Template:      FoundationPress
Version:      0.1.0
Text Domain:  mobiliteitscentrum-2026
*/

:root {
  --mc-navy: #14213d;
  --mc-navy-2: #1d2f57;
  --mc-accent: #eb5636;
  --mc-accent-dark: #d1421f;
  --mc-accent-soft: #fdece7;
  --mc-ink: #1b2233;
  --mc-muted: #5d667a;
  --mc-line: #e4e7ee;
  --mc-bg: #f6f7fa;
  --mc-white: #fff;
  --mc-yellow: #fcc45c;
  --mc-teal: #00a89c;
  --mc-teal-d: #00877e;
  --mc-blue: #009cc0;
  --mc-blue-d: #00799a;
  --mc-purple: #80499b;
  --mc-radius: 16px;
  --mc-shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .07);
  --mc-shadow-hover: 0 2px 4px rgba(20, 33, 61, .08), 0 16px 36px rgba(20, 33, 61, .14);
  --mc-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

body.mc-theme {
  font-family: var(--mc-font);
  color: var(--mc-ink);
  -webkit-font-smoothing: antialiased;
}

.mc-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* Buttons */
.mc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.mc-btn-primary { background: var(--mc-accent); color: #fff; }
.mc-btn-primary:hover { background: var(--mc-accent-dark); color: #fff; }
.mc-btn-ghost { background: transparent; color: var(--mc-navy); border: 2px solid var(--mc-navy); padding: 10px 22px; }
.mc-btn-ghost:hover { background: var(--mc-navy); color: #fff; }
.mc-btn-sm { padding: 6px 16px; font-size: .8125rem; border-width: 1.5px; }
.mc-btn-light { background: #fff; color: var(--mc-navy); }
.mc-btn-light:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .2); color: var(--mc-navy); }
.mc-btn-outline { border: 2px solid rgba(255, 255, 255, .7); color: #fff; background: transparent; padding: 10px 22px; }
.mc-btn-outline:hover { background: rgba(255, 255, 255, .15); color: #fff; }

/* Top bar and header */
.mc-topbar { background: var(--mc-navy); color: #c9d1e6; font-size: .8125rem; }
.mc-topbar .mc-wrap { display: flex; justify-content: flex-end; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.mc-topbar a { color: inherit; }
.mc-topbar a:hover { color: #fff; }

.mc-header { background: var(--mc-white); }
.mc-header::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--mc-accent) 0 20%, var(--mc-yellow) 20% 40%, var(--mc-teal) 40% 60%, var(--mc-blue) 60% 80%, var(--mc-purple) 80% 100%);
}
.mc-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.mc-logo { display: block; min-width: 0; }
.mc-logo img { display: block; height: 32px; width: auto; max-width: 100%; }

.mc-nav { display: flex; align-items: center; gap: 32px; }
.mc-menu { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: .9375rem; }
.mc-menu li { position: relative; margin: 0; }
.mc-menu a { display: block; padding: 6px 0; color: var(--mc-ink); border-bottom: 2px solid transparent; }
.mc-menu a:hover,
.mc-menu .current-menu-item > a,
.mc-menu .current-menu-ancestor > a { border-color: var(--mc-accent); color: var(--mc-ink); }
.mc-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 20;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  box-shadow: var(--mc-shadow-hover);
}
.mc-menu li:hover > .sub-menu,
.mc-menu li:focus-within > .sub-menu { display: block; }
.mc-menu .sub-menu a { padding: 8px 12px; border: 0; border-radius: 8px; font-weight: 500; }
.mc-menu .sub-menu a:hover { background: var(--mc-bg); }

.mc-nav-toggle { display: none; background: none; border: 0; padding: 12px; cursor: pointer; }
.mc-nav-toggle-bars,
.mc-nav-toggle-bars::before,
.mc-nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: var(--mc-navy); border-radius: 2px; content: ""; position: relative; }
.mc-nav-toggle-bars::before { position: absolute; top: -7px; }
.mc-nav-toggle-bars::after { position: absolute; top: 7px; }

/* Home: hero */
.mc-home { background: var(--mc-bg); }
.mc-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mc-navy) 0%, var(--mc-navy-2) 60%, #2b3f72 100%);
  color: #fff;
  padding: 48px 0 56px;
}
.mc-hero::before,
.mc-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.mc-hero::before { width: 380px; height: 380px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(235, 86, 54, .55), rgba(235, 86, 54, 0) 70%); }
.mc-hero::after { width: 420px; height: 420px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(120, 150, 255, .35), rgba(120, 150, 255, 0) 70%); }
.mc-hero .mc-wrap { position: relative; z-index: 1; }
.mc-eyebrow { display: inline-block; margin-bottom: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffb4a3; }
.mc-hero h1 { margin: 0; max-width: 20em; font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: #fff; }
.mc-hero h1 em { font-style: normal; color: var(--mc-accent); }
.mc-lead { margin: 12px 0 0; max-width: 34em; font-size: 1rem; color: #cdd6ee; }

.mc-search {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 8px;
  max-width: 860px;
  margin: 24px 0 0;
  padding: 10px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}
.mc-field { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0 16px; color: var(--mc-muted); }
.mc-field + .mc-field { border-left: 1px solid var(--mc-line); }
.mc-field svg { flex: none; }
.mc-field input[type="text"] {
  width: 100%;
  margin: 0;
  padding: 16px 0;
  height: auto;
  border: 0;
  box-shadow: none;
  background: transparent;
  font: inherit;
  color: var(--mc-ink);
  outline: 0;
}
.mc-search .mc-btn { padding: 0 32px; font-size: 1rem; }
.mc-count { margin: 16px 0 0; font-size: .9375rem; color: #cdd6ee; }
.mc-count strong { color: #fff; font-size: 1.125rem; }

/* Home: latest vacancies (markup comes from the Careernet plugin) */
.mc-latest { padding: 56px 0 0; }
.mc-latest .wp-careernet-plugin { max-width: none; margin: 0; padding: 0; }
.mc-latest .cn-latest { margin: 0; padding: 0; border: 0; }
.mc-latest .cn-latest > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 28px; padding: 0; border: 0; }
.mc-latest .cn-latest > header h2 { margin: 0; font-size: 2rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--mc-ink); }
.mc-latest .cn-latest > header h2 img { display: none; }
.mc-latest .cn-latest > header > a { font-weight: 700; color: var(--mc-accent-dark); white-space: nowrap; text-decoration: none; }
.mc-latest .cn-latest > header > a:hover { text-decoration: underline; }

.mc-latest .cn-latest .jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mc-latest .cn-latest .jobs .job {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.mc-latest .cn-latest .jobs .job:hover { box-shadow: var(--mc-shadow-hover); transform: translateY(-3px); border-color: transparent; }
.mc-latest .cn-latest .jobs .job .logo { order: -1; display: flex; align-items: center; height: 48px; margin: 0; padding: 0; }
.mc-latest .cn-latest .jobs .job .logo img { max-height: 48px; max-width: 140px; width: auto; height: auto; object-fit: contain; }
.mc-latest .cn-latest .jobs .job .logo h5 { display: none; }
.mc-latest .cn-latest .jobs .job header { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; }
.mc-latest .cn-latest .jobs .job .dates { order: 2; margin: 0; }
.mc-latest .cn-latest .jobs .job .dates h5 { margin: 0; font-size: .8125rem; font-weight: 500; color: var(--mc-muted); }
.mc-latest .cn-latest .jobs .job .dates h5 strong { font-weight: 600; color: var(--mc-ink); }
.mc-latest .cn-latest .jobs .job .dates .closing-date { display: none; }
.mc-latest .cn-latest .jobs .job header h2 { order: 0; min-height: 0; margin: 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.mc-latest .cn-latest .jobs .job header h2 a { color: var(--mc-ink); text-decoration: none; word-break: normal; overflow-wrap: anywhere; }
.mc-latest .cn-latest .jobs .job header h2 a:hover { color: var(--mc-accent-dark); }
.mc-latest .cn-latest .jobs .job ul.meta-data { order: 1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mc-latest .cn-latest .jobs .job ul.meta-data li {
  margin: 0;
  padding: 5px 12px;
  background: var(--mc-bg);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--mc-muted);
}
.mc-latest .cn-latest .jobs .job ul.meta-data li::before { content: none !important; display: none !important; }
.mc-latest .cn-latest .jobs .job ul.meta-data li.org { background: var(--mc-accent-soft); color: var(--mc-accent-dark); }
.mc-latest .cn-latest .jobs .job .message { grid-column: 1 / -1; margin: 0; color: var(--mc-muted); }

/* Home: call to action */
.mc-cta-section { padding: 72px 0 0; }
.mc-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--mc-accent) 0%, #f0794f 100%);
  color: #fff;
}
.mc-cta::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -80px; top: -120px; background: rgba(255, 255, 255, .14); }
.mc-cta h2 { margin: 0; font-size: 2rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.mc-cta p { margin: 10px 0 0; max-width: 32em; color: #ffe7df; }
.mc-cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Footer */
.mc-footer { margin-top: 88px; padding: 56px 0 40px; background: var(--mc-navy); color: #b6c0da; font-size: .9375rem; }
.mc-home .mc-footer { margin-top: 88px; }
.mc-footer a { color: #b6c0da; }
.mc-footer a:hover { color: #fff; }
.mc-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.mc-footer-grid > * { min-width: 0; }
.mc-footer h6 { margin: 0 0 14px; font-size: .9375rem; font-weight: 700; color: #fff; }
.mc-footer ul { margin: 0; padding: 0; list-style: none; }
.mc-footer-menu { display: grid; gap: 8px; }
.mc-footer .mc-logo img { height: 28px; filter: brightness(0) invert(1); }
.mc-social { display: flex; gap: 16px; margin-top: 20px !important; font-size: 1.25rem; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 960px) {
  .mc-nav-toggle { display: block; }
  .mc-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 20;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px max(24px, env(safe-area-inset-left, 0px)) 24px;
    background: #fff;
    border-bottom: 1px solid var(--mc-line);
    box-shadow: var(--mc-shadow-hover);
  }
  .mc-nav.is-open { display: flex; }
  .mc-header { position: relative; }
  .mc-menu { flex-direction: column; gap: 4px; width: 100%; }
  .mc-menu .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 0 12px; border: 0; box-shadow: none; }
  .mc-latest .cn-latest .jobs { grid-template-columns: repeat(2, 1fr); }
  .mc-cta { grid-template-columns: 1fr; padding: 32px; }
  .mc-cta-actions { justify-content: flex-start; }
  .mc-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .mc-wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .mc-topbar { display: none; }
  .mc-hero { padding: 36px 0 40px; }
  .mc-search { grid-template-columns: 1fr; }
  .mc-field + .mc-field { border-left: 0; border-top: 1px solid var(--mc-line); }
  .mc-search .mc-btn { padding: 16px; justify-content: center; }
  .mc-latest .cn-latest > header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mc-latest .cn-latest .jobs { grid-template-columns: 1fr; }
  .mc-footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mc-btn,
  .mc-latest .cn-latest .jobs .job { transition: none; }
}

/* The parent theme's script loads 8 latest vacancies; the home page shows 6 (two full rows of three). */
.mc-latest .cn-latest .jobs .job:nth-child(n+7) { display: none; }

/* Latest vacancies are built by the parent theme's app.js: article.job > header > h5 (organisation) + h2 (title). */
.mc-latest .cn-latest .jobs .job { justify-content: flex-start; min-height: 140px; }
.mc-latest .cn-latest .jobs .job header h5 { order: -1; margin: 0; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.mc-latest .cn-latest .jobs .job header h5 a { color: var(--mc-accent-dark); text-decoration: none; }
.mc-latest .cn-latest .jobs .job header h5 a:hover { text-decoration: underline; }
.mc-latest .cn-latest .jobs .job header h2 { font-size: 1.25rem; }

/* Overrides for rules of the parent theme (Poppins, link colours, input/box styling) that win on specificity. */
body.mc-theme h1,
body.mc-theme h2,
body.mc-theme h3,
body.mc-theme h4,
body.mc-theme h5,
body.mc-theme h6,
body.mc-theme .mc-btn,
body.mc-theme .mc-menu,
body.mc-theme .mc-topbar,
body.mc-theme .mc-field input,
body.mc-theme .mc-footer { font-family: var(--mc-font); }

body.mc-theme a.mc-btn-primary,
body.mc-theme button.mc-btn-primary { background: var(--mc-accent); color: #fff; }
body.mc-theme a.mc-btn-primary:hover,
body.mc-theme button.mc-btn-primary:hover { background: var(--mc-accent-dark); color: #fff; }
body.mc-theme a.mc-btn-ghost { color: var(--mc-navy); background: transparent; }
body.mc-theme a.mc-btn-ghost:hover { color: #fff; background: var(--mc-navy); }
body.mc-theme a.mc-btn-light { color: var(--mc-navy); background: #fff; }
body.mc-theme a.mc-btn-outline { color: #fff; background: transparent; }
body.mc-theme a.mc-btn-outline:hover { background: rgba(255, 255, 255, .15); }

body.mc-theme .mc-search .mc-field input[type="text"] {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  height: auto;
  margin: 0;
  padding: 16px 0;
}
body.mc-theme .mc-search .mc-field input[type="text"]:focus { border: 0; background: transparent; box-shadow: none; }

body.mc-theme .mc-latest .cn-latest .jobs { background: none; box-shadow: none; border: 0; padding: 0; }
body.mc-theme .mc-latest .cn-latest .jobs .job h2::after,
body.mc-theme .mc-latest .cn-latest .jobs .job h2::before { content: none; display: none; }
body.mc-theme .mc-latest .cn-latest > header h2 { font-family: var(--mc-font); }
.mc-footer-subhead { margin-top: 28px !important; }
.mc-footer-widgets .widget { margin: 0 0 20px; }
.mc-footer-widgets h6 { margin: 0 0 8px; }
.mc-footer-widgets p { margin: 0 0 10px; line-height: 1.6; color: #b6c0da; }
.mc-footer-widgets strong { color: #fff; }

/* Parent theme sets letter-spacing on headings, a border on text inputs and an orange fill on buttons. */
body.mc-theme h1 { letter-spacing: -.025em; }
body.mc-theme h2 { letter-spacing: -.02em; }
body.mc-theme h5,
body.mc-theme h6 { letter-spacing: normal; }
body.mc-theme .mc-search .mc-field input[type="text"],
body.mc-theme .mc-search .mc-field input[type="text"]:focus { border: 0 !important; box-shadow: none !important; background: transparent !important; outline: 0; }
body.mc-theme button.mc-nav-toggle { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.mc-theme button.mc-nav-toggle:hover,
body.mc-theme button.mc-nav-toggle:focus { background: transparent !important; }
body.mc-theme .mc-nav-toggle:focus-visible { outline: 2px solid var(--mc-accent); outline-offset: 2px; }
body.mc-theme .mc-hero h1,
body.mc-theme .mc-cta h2,
body.mc-theme .mc-latest .cn-latest > header h2 { letter-spacing: -.02em !important; }

/* Links, list items and card text pick up another font from the parent theme; headings need a little more word space. */
body.mc-theme .mc-topbar a,
body.mc-theme .mc-header a,
body.mc-theme .mc-menu li,
body.mc-theme .mc-latest a,
body.mc-theme .mc-latest h5,
body.mc-theme .mc-footer a,
body.mc-theme .mc-footer li,
body.mc-theme .mc-footer p { font-family: var(--mc-font); }
body.mc-theme .mc-hero h1,
body.mc-theme .mc-cta h2,
body.mc-theme .mc-latest .cn-latest > header h2 { word-spacing: .1em; }
body.mc-theme .mc-latest .cn-latest .jobs .job header h5,
body.mc-theme .mc-latest .cn-latest .jobs .job header h2,
body.mc-theme .mc-latest .cn-latest .jobs .job header a,
body.mc-theme .mc-footer h6,
body.mc-theme .mc-footer p,
body.mc-theme .mc-footer li { word-spacing: .08em; letter-spacing: normal; }

/* Home: statistics overlapping the hero */
body.mc-theme .mc-hero { padding-bottom: 96px; }
.mc-stats { position: relative; z-index: 2; margin-top: -56px; }
.mc-stats-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #fff; border-radius: var(--mc-radius); box-shadow: var(--mc-shadow); }
.mc-stat { padding: 28px 32px; text-align: center; }
.mc-stat + .mc-stat { border-left: 1px solid var(--mc-line); }
.mc-stat strong { display: block; font-size: 2.25rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--mc-navy); font-variant-numeric: tabular-nums; }
.mc-stat span { font-size: .9375rem; color: var(--mc-muted); }

/* Home: latest vacancies, rendered by the theme from the Careernet API */
.mc-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
body.mc-theme .mc-section-head h2 { margin: 0; font-size: 2rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em !important; word-spacing: .1em; color: var(--mc-ink); }
.mc-section-head p { margin: 6px 0 0; color: var(--mc-muted); }
body.mc-theme a.mc-link-arrow { font-weight: 700; color: var(--mc-accent-dark); white-space: nowrap; text-decoration: none; }
body.mc-theme a.mc-link-arrow:hover { text-decoration: underline; }
.mc-empty { margin: 0; padding: 32px; background: #fff; border-radius: var(--mc-radius); color: var(--mc-muted); }

.mc-jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.mc-theme a.mc-job {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  color: var(--mc-ink);
  text-decoration: none;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
body.mc-theme a.mc-job:hover { box-shadow: var(--mc-shadow-hover); transform: translateY(-3px); border-color: transparent; color: var(--mc-ink); }
body.mc-theme a.mc-job:focus-visible { outline: 2px solid var(--mc-accent); outline-offset: 2px; }
.mc-job-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mc-avatar { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; font-weight: 800; color: #fff; }
.mc-avatar-logo { background: #fff; border: 1px solid var(--mc-line); padding: 4px; }
.mc-avatar-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.mc-job-org { display: flex; flex-direction: column; min-width: 0; font-size: .9375rem; line-height: 1.35; }
.mc-job-org b { font-weight: 700; overflow-wrap: anywhere; }
.mc-job-org small { font-size: .875rem; color: var(--mc-muted); }
body.mc-theme .mc-job h3 { margin: 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; word-spacing: .08em; color: var(--mc-ink); overflow-wrap: anywhere; }
.mc-job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.mc-tag { padding: 5px 12px; background: var(--mc-bg); border-radius: 999px; font-size: .8125rem; font-weight: 600; line-height: 1.4; color: var(--mc-muted); }
.mc-tag-new { background: var(--mc-accent-soft); color: var(--mc-accent-dark); }
.mc-job-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--mc-line); font-size: .875rem; color: var(--mc-muted); }
.mc-job-foot b { color: var(--mc-accent-dark); }

@media (max-width: 960px) {
  .mc-jobs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mc-jobs { grid-template-columns: 1fr; }
  .mc-stats-row { grid-auto-flow: row; }
  .mc-stat + .mc-stat { border-left: 0; border-top: 1px solid var(--mc-line); }
  .mc-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  body.mc-theme .mc-hero { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  body.mc-theme a.mc-job { transition: none; }
}

/* ==========================================================================
   Vacancy overview (/vacatures): Careernet plugin markup, restyled
   ========================================================================== */
body.mc-theme:has(.cn-job-list) .app-scroller { background: var(--mc-bg); }
body.mc-theme:has(.cn-job-list) article > header { display: none; }

.mc-page-head { position: relative; overflow: hidden; padding: 36px 0 56px; background: linear-gradient(135deg, var(--mc-navy) 0%, var(--mc-navy-2) 70%, #2b3f72 100%); color: #fff; }
.mc-page-head::before { content: ""; position: absolute; width: 340px; height: 340px; right: -100px; top: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(235, 86, 54, .5), rgba(235, 86, 54, 0) 70%); pointer-events: none; }
.mc-page-head .mc-wrap { position: relative; }
.mc-crumbs { margin-bottom: 10px; font-size: .8125rem; color: #aab5d3; }
.mc-crumbs a { color: inherit; }
.mc-crumbs a:hover { color: #fff; }
body.mc-theme .mc-page-head h1 { margin: 0; font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em !important; word-spacing: .08em; color: #fff; }

/* Page frame: the plugin output sits in the parent's (Elementor) containers */
body.mc-theme:has(.cn-job-list) .main-container,
body.mc-theme:has(.cn-job-list) .main-grid,
body.mc-theme:has(.cn-job-list) .article-container { max-width: none; padding-left: 0; padding-right: 0; background: transparent; box-shadow: none; border: 0; }
body.mc-theme:has(.cn-job-list) .elementor-section .elementor-container { max-width: 1160px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
body.mc-theme:has(.cn-job-list) .elementor-widget-container > p:first-child { margin: 32px 0 24px; max-width: 44em; color: var(--mc-muted); }

.wp-careernet-plugin .cn-job-list {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.wp-careernet-plugin .cn-job-list > * { min-width: 0; }

/* Filters */
body.mc-theme .cn-job-list nav.sub-nav { position: sticky; top: 16px; float: none; width: auto; margin: 0; padding: 20px; background: #fff; border: 0; border-radius: var(--mc-radius); box-shadow: var(--mc-shadow); }
body.mc-theme .cn-job-list nav.sub-nav form.filter { margin: 0; padding: 0; background: transparent; }
body.mc-theme .cn-job-list .string-search { display: grid; gap: 8px; margin: 0 0 8px; padding: 0; }
body.mc-theme .cn-job-list .string-search.hours { grid-template-columns: 1fr 1fr; }
body.mc-theme .cn-job-list nav.sub-nav input[type="text"],
body.mc-theme .cn-job-list nav.sub-nav input[type="number"],
body.mc-theme .cn-job-list nav.sub-nav select {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 11px 12px;
  border: 1.5px solid var(--mc-line);
  border-radius: 12px;
  background-color: #fff;
  box-shadow: none;
  font: inherit;
  font-size: .9375rem;
  color: var(--mc-ink);
}
body.mc-theme .cn-job-list nav.sub-nav input:focus,
body.mc-theme .cn-job-list nav.sub-nav select:focus { border-color: var(--mc-navy); outline: 0; box-shadow: none; }

body.mc-theme .cn-job-list .properties { margin-top: 12px; }
body.mc-theme .cn-job-list .properties > div { border-top: 1px solid var(--mc-line); margin: 0; padding: 0; }
body.mc-theme .cn-job-list .properties h3 {
  position: relative;
  display: block;
  margin: 0;
  padding: 14px 24px 14px 2px;
  border: 0;
  background: none;
  font-family: var(--mc-font);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
  color: var(--mc-ink);
  cursor: pointer;
}
body.mc-theme .cn-job-list .properties h3::before { content: none !important; display: none !important; }
body.mc-theme .cn-job-list .properties h3::after {
  content: "" !important;
  position: absolute;
  right: 6px;
  top: 50%;
  float: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--mc-muted);
  border-bottom: 2px solid var(--mc-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .15s;
}
body.mc-theme .cn-job-list .properties .active > h3::after { transform: translateY(-30%) rotate(-135deg); }
body.mc-theme .cn-job-list .properties .options { padding: 0 0 12px; }
body.mc-theme .cn-job-list .properties .options label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 2px; font-size: .9375rem; font-weight: 400; line-height: 1.35; color: var(--mc-ink); cursor: pointer; }
body.mc-theme .cn-job-list .properties .options input[type="checkbox"],
body.mc-theme .cn-job-list .properties .options input[type="radio"] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--mc-accent); }

body.mc-theme .cn-job-list .buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 0; padding: 16px 0 0; border-top: 1px solid var(--mc-line); }
body.mc-theme .cn-job-list .buttons button { display: flex; justify-content: center; width: auto; margin: 0; padding: 11px 16px; border: 1.5px solid transparent; border-radius: 999px; font-family: var(--mc-font); font-size: .9375rem; font-weight: 700; line-height: 1.4; cursor: pointer; box-shadow: none; }
body.mc-theme .cn-job-list .buttons button[type="submit"]:not(.create-filter) { order: 1; background: var(--mc-accent); color: #fff; }
body.mc-theme .cn-job-list .buttons button[type="submit"]:not(.create-filter):hover { background: var(--mc-accent-dark); }
body.mc-theme .cn-job-list .buttons .reset-all-button { order: 2; background: transparent; color: var(--mc-navy); border-color: var(--mc-line); }
body.mc-theme .cn-job-list .buttons .reset-all-button:hover { border-color: var(--mc-navy); }
body.mc-theme .cn-job-list .buttons .create-filter { order: 3; grid-column: 1 / -1; background: var(--mc-accent-soft); color: var(--mc-accent-dark); }
body.mc-theme .cn-job-list .buttons .create-filter:hover { background: #fbd9d0; }

/* Results */
body.mc-theme .cn-job-list section.jobs { display: block; float: none; width: auto; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.mc-rows { display: grid; gap: 12px; }
.mc-row { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 18px; align-items: center; margin: 0; padding: 20px 24px; background: #fff; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); transition: box-shadow .2s, transform .2s, border-color .2s; }
.mc-row:hover { transform: translateY(-2px); border-color: transparent; box-shadow: var(--mc-shadow-hover); }
.mc-row-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--mc-radius); }
.mc-row-link:focus-visible { outline: 2px solid var(--mc-accent); outline-offset: 2px; }
.mc-row .mc-avatar { align-self: start; }
.mc-avatar-blue { background: var(--mc-blue-d); }
.mc-avatar-teal { background: var(--mc-teal-d); }
.mc-avatar-purple { background: var(--mc-purple); }
.mc-avatar-orange { background: var(--mc-accent); }
.mc-avatar-navy { background: var(--mc-navy); }
.mc-avatar-navy2 { background: var(--mc-navy-2); }
.mc-row-main { min-width: 0; }
.mc-row-org { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .875rem; color: var(--mc-muted); }
.mc-row-org b { font-weight: 700; color: var(--mc-accent-dark); }
body.mc-theme .mc-row h3 { margin: 2px 0 0; font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; word-spacing: .08em; color: var(--mc-ink); overflow-wrap: anywhere; }
.mc-row-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mc-row-tags:empty { display: none; }
.mc-row-side { display: grid; gap: 2px; justify-items: end; text-align: right; font-size: .8125rem; color: var(--mc-muted); white-space: nowrap; }
.mc-row-side b { font-weight: 600; color: var(--mc-ink); }
.mc-row-go { margin-top: 8px; font-size: .875rem; font-weight: 700; color: var(--mc-accent-dark); }
.mc-fav { position: relative; z-index: 2; margin: 4px 0 0; }

/* Pagination */
body.mc-theme .cn-job-list nav.pagination { margin: 28px 0 0; padding: 0; background: none; }
body.mc-theme .cn-job-list nav.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.mc-theme .cn-job-list nav.pagination li { margin: 0; padding: 0; }
body.mc-theme .cn-job-list nav.pagination li a,
body.mc-theme .cn-job-list nav.pagination li span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--mc-line); border-radius: 999px; background: #fff; font-size: .9375rem; font-weight: 700; color: var(--mc-ink); text-decoration: none; }
body.mc-theme .cn-job-list nav.pagination li a:hover { border-color: var(--mc-navy); }
body.mc-theme .cn-job-list nav.pagination li.active a,
body.mc-theme .cn-job-list nav.pagination li.active span { background: var(--mc-navy); border-color: var(--mc-navy); color: #fff; }

@media (max-width: 960px) {
  .wp-careernet-plugin .cn-job-list { grid-template-columns: 1fr; }
  body.mc-theme .cn-job-list nav.sub-nav { position: static; }
}
@media (max-width: 640px) {
  .mc-row { grid-template-columns: 48px minmax(0, 1fr); padding: 18px; }
  .mc-row-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; justify-items: start; text-align: left; white-space: normal; padding-top: 12px; border-top: 1px solid var(--mc-line); }
  .mc-row-go { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-row { transition: none; }
}

/* Overview: fixes for parent rules (fixed widths, absolute checkboxes, clearfix pseudo-elements, purple headings) */
body.mc-theme .cn-job-list .mc-rows .mc-row { width: auto; max-width: none; justify-self: stretch; margin: 0; }
body.mc-theme .cn-job-list .string-search::before,
body.mc-theme .cn-job-list .string-search::after { content: none; display: none; }
body.mc-theme .cn-job-list nav.sub-nav .string-search input,
body.mc-theme .cn-job-list nav.sub-nav .string-search select { width: 100%; max-width: none; }
body.mc-theme .cn-job-list nav.sub-nav select { padding-right: 36px; background-position: right 12px center; background-size: 10px 8px; }
body.mc-theme .cn-job-list nav.sub-nav input::placeholder { font-style: normal; color: #8a93a6; opacity: 1; }
body.mc-theme .cn-job-list .properties .options input[type="checkbox"],
body.mc-theme .cn-job-list .properties .options input[type="radio"] { position: static; left: auto; top: auto; }
body.mc-theme .cn-job-list .properties .options { display: block; float: none; width: auto; height: auto; }

body.mc-theme .cn-job-list nav.cn-list-pagination { margin: 28px 0 0; padding: 0; background: none; }
body.mc-theme .cn-job-list nav.cn-list-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.mc-theme .cn-job-list nav.cn-list-pagination li { margin: 0; padding: 0; }
body.mc-theme .cn-job-list nav.cn-list-pagination li a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--mc-line); border-radius: 999px; background: #fff; font-family: var(--mc-font); font-size: .9375rem; font-weight: 700; color: var(--mc-ink); text-decoration: none; }
body.mc-theme .cn-job-list nav.cn-list-pagination li a:hover { border-color: var(--mc-navy); }
body.mc-theme .cn-job-list nav.cn-list-pagination li.active a { background: var(--mc-navy); border-color: var(--mc-navy); color: #fff; }

/* Text below the overview */
body.mc-theme:has(.cn-job-list) .entry-content h2,
body.mc-theme:has(.cn-job-list) .entry-content h3 { margin: 40px 0 10px; font-family: var(--mc-font); font-weight: 800; letter-spacing: -.01em; color: var(--mc-ink); }
body.mc-theme:has(.cn-job-list) .entry-content h2 { font-size: 1.5rem; }
body.mc-theme:has(.cn-job-list) .entry-content h3 { font-size: 1.25rem; }
body.mc-theme:has(.cn-job-list) .entry-content p { max-width: 70ch; color: var(--mc-muted); line-height: 1.7; }
body.mc-theme:has(.cn-job-list) .entry-content p a { color: var(--mc-accent-dark); font-weight: 600; }
body.mc-theme:has(.cn-job-list) .entry-content img[alt] { max-width: 100%; height: auto; }

/* Overview: remaining specificity fixes */
body.mc-theme .cn-job-list nav.sub-nav .string-search input,
body.mc-theme .cn-job-list nav.sub-nav .string-search select { width: 100% !important; box-sizing: border-box; }
body.mc-theme .cn-job-list .properties h3 { margin: 0 !important; padding: 14px 24px 14px 2px !important; font-size: .9375rem !important; line-height: 1.3 !important; min-height: 0 !important; height: auto !important; }
body.mc-theme .cn-job-list .properties > div { margin: 0 !important; padding: 0 !important; }
body.mc-theme .cn-job-list .mc-row h3 { margin: 2px 0 0 !important; padding: 0 !important; font-size: 1.25rem !important; line-height: 1.3 !important; min-height: 0 !important; }
body.mc-theme .cn-job-list .mc-row-main { display: block; padding: 0; margin: 0; }
body.mc-theme:has(.cn-job-list) .entry-content h2,
body.mc-theme:has(.cn-job-list) .entry-content h3 { color: var(--mc-ink) !important; }

/* Overview: align with the page gutters, full-width search rows */
body.mc-theme:has(.cn-job-list) { background: var(--mc-bg); }
body.mc-theme:has(.cn-job-list) .elementor-section .elementor-container { padding-left: max(24px, env(safe-area-inset-left, 0px)) !important; padding-right: max(24px, env(safe-area-inset-right, 0px)) !important; }
body.mc-theme:has(.cn-job-list) .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
body.mc-theme:has(.cn-job-list) .elementor-widget-wrap.elementor-element-populated { padding: 0 !important; }
body.mc-theme:has(.cn-job-list) .main-container,
body.mc-theme:has(.cn-job-list) .main-grid,
body.mc-theme:has(.cn-job-list) main { padding-top: 0; margin-top: 0; }
body.mc-theme .cn-job-list nav.sub-nav .string-search { width: 100% !important; max-width: none !important; border: 0 !important; padding: 0 !important; margin: 0 0 8px !important; }
body.mc-theme .cn-job-list nav.sub-nav .string-search input,
body.mc-theme .cn-job-list nav.sub-nav .string-search select { font-size: .875rem; }

/* Overview: the location/distance rows were sized by their inputs; filters collapse behind a button on small screens */
body.mc-theme .cn-job-list nav.sub-nav .string-search { grid-template-columns: minmax(0, 1fr); }
body.mc-theme .cn-job-list nav.sub-nav .string-search.hours { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
body.mc-theme .cn-job-list .mc-filter-toggle { display: none; }
@media (max-width: 960px) {
  body.mc-theme .cn-job-list .mc-filter-toggle { display: flex; justify-content: center; width: 100%; }
  body.mc-theme .cn-job-list nav.sub-nav.mc-filters-collapsed:not(.is-open) { display: none; }
}

/* Review fixes: gutters aligned with the title band, result count, filter title, placeholder contrast */
body.mc-theme:has(.cn-job-list) article.page { width: 100%; max-width: 1160px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
body.mc-theme:has(.cn-job-list) .elementor-section .elementor-container { max-width: none; }
.mc-results-head { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; }
.mc-results-head strong { font-size: 1.125rem; font-weight: 800; color: var(--mc-ink); }
.mc-results-head span { font-size: .9375rem; color: var(--mc-muted); }
body.mc-theme .cn-job-list nav.sub-nav form.filter::before { content: "Filter vacatures"; display: block; margin: 0 0 14px; font-size: 1.0625rem; font-weight: 800; color: var(--mc-ink); }
body.mc-theme .mc-search .mc-field input[type="text"]::placeholder { color: #7b8497; opacity: 1; }

/* Sticky filter: the plugin wrapper had overflow:auto (clearfix), which stops sticky; the filter scrolls inside itself when taller than the screen */
.wp-careernet-plugin .cn-job-list { overflow: visible; }
body.mc-theme .cn-job-list nav.sub-nav { align-self: start; }

/* Intro text moved into the title band */
body.mc-theme .mc-page-head .mc-page-intro { margin: 12px 0 0; max-width: 44em; color: #cdd6ee; font-size: 1rem; line-height: 1.6; }
body.mc-theme .mc-page-head .mc-page-intro,
body.mc-theme .mc-page-head .mc-page-intro span { font-family: var(--mc-font) !important; color: #cdd6ee !important; font-size: 1rem !important; font-weight: 400 !important; }
.wp-careernet-plugin .cn-job-list { margin-top: 32px; } /* replaced by the overlap rule at the end of the file */

/* Filter overlaps the title band (like the mockup); results start below it. The filter stays in view while scrolling. */
body.mc-theme:has(.cn-job-list) .mc-page-head { padding-bottom: 104px; }
.wp-careernet-plugin .cn-job-list { position: relative; z-index: 2; margin-top: -64px; }
body.mc-theme .cn-job-list section.jobs { padding-top: 76px; }
body.mc-theme .cn-job-list nav.sub-nav { top: 16px; }
body.mc-theme .cn-job-list .properties .options label { padding-top: 4px; padding-bottom: 4px; }
@media (max-width: 960px) {
  body.mc-theme:has(.cn-job-list) .mc-page-head { padding-bottom: 72px; }
  body.mc-theme .cn-job-list section.jobs { padding-top: 0; }
}

/* Results head: count and sort, then the active filters as chips (like the mockup) */
body.mc-theme .cn-job-list .mc-results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0 0 14px; }
.mc-results-count { display: flex; align-items: baseline; gap: 8px; }
.mc-sort { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .875rem; font-weight: 400; color: var(--mc-muted); }
body.mc-theme .cn-job-list .mc-sort select { width: auto; margin: 0; padding: 7px 34px 7px 14px; border: 1.5px solid var(--mc-line); border-radius: 999px; background-color: #fff; font: inherit; font-weight: 600; color: var(--mc-ink); box-shadow: none; background-position: right 12px center; background-size: 10px 8px; }
.mc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.mc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--mc-navy); color: #fff; font-size: .8125rem; font-weight: 600; line-height: 1.3; }
body.mc-theme .mc-chip button { display: grid; place-items: center; width: 18px; height: 18px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; font-size: .85rem; line-height: 1; cursor: pointer; }
body.mc-theme .mc-chip button:hover { background: rgba(255, 255, 255, .35); }
body.mc-theme .cn-job-list a.mc-chip-clear { padding: 6px 4px; font-size: .8125rem; font-weight: 700; color: var(--mc-accent-dark); text-decoration: none; }
body.mc-theme .cn-job-list a.mc-chip-clear:hover { text-decoration: underline; }

/* Results start lower, below the part of the title band the filter overlaps (as in the mockup); select arrow position */
body.mc-theme .cn-job-list section.jobs { padding-top: 138px; }
body.mc-theme .cn-job-list .mc-sort select { background-origin: padding-box; background-repeat: no-repeat; background-position: right 14px center; }
@media (max-width: 960px) {
  body.mc-theme .cn-job-list section.jobs { padding-top: 0; }
}

/* Filter borders: the parent theme's grey borders (inputs, group dividers) replaced by the design's light line colour */
body.mc-theme .cn-job-list nav.sub-nav input[type="text"],
body.mc-theme .cn-job-list nav.sub-nav input[type="number"],
body.mc-theme .cn-job-list nav.sub-nav select { border: 1.5px solid var(--mc-line) !important; }
body.mc-theme .cn-job-list nav.sub-nav input[type="text"]:focus,
body.mc-theme .cn-job-list nav.sub-nav input[type="number"]:focus,
body.mc-theme .cn-job-list nav.sub-nav select:focus { border-color: var(--mc-navy) !important; }
body.mc-theme .cn-job-list .properties > div { border-top: 1px solid var(--mc-line) !important; border-bottom: 0 !important; }

/* Distance dropdown: same size as the inputs, chevron at the right edge */
body.mc-theme .cn-job-list nav.sub-nav .string-search select {
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 11px 36px 11px 12px;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--mc-ink);
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235d667a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-origin: padding-box;
  background-position: right 14px center;
  background-size: 12px 8px;
}

/* Distance dropdown as tall as the inputs; no extra line above the filter groups */
body.mc-theme .cn-job-list nav.sub-nav .string-search select { padding: 8px 36px 8px 12px !important; line-height: 21px; }
body.mc-theme .cn-job-list .properties { border-top: 0 !important; }

/* More air in the overview list */
body.mc-theme .cn-job-list .mc-rows { gap: 20px; }
body.mc-theme .cn-job-list .mc-rows .mc-row { padding: 28px 32px; gap: 22px; }
body.mc-theme .cn-job-list .mc-row h3 { margin-top: 6px !important; line-height: 1.35 !important; }
.mc-row-tags { margin-top: 16px; gap: 8px 10px; }
.mc-row-side { gap: 4px; }
.mc-row-go { margin-top: 12px; }
@media (max-width: 640px) {
  body.mc-theme .cn-job-list .mc-rows .mc-row { padding: 22px 20px; }
}

/* ==========================================================================
   Vacancy detail (/vacatures/<slug>): title band, description card, sticky apply column, application form
   ========================================================================== */
body.mc-theme:has(.cn-job-detail) { background: var(--mc-bg); overflow-x: clip; }
body.mc-theme:has(.cn-job-detail) .app-scroller { background: var(--mc-bg); }
body.mc-theme:has(.cn-job-detail) article.page > header { display: none; }
body.mc-theme:has(.cn-job-detail) .main-container,
body.mc-theme:has(.cn-job-detail) .main-grid,
body.mc-theme:has(.cn-job-detail) .article-container,
body.mc-theme:has(.cn-job-detail) main { max-width: none; padding-top: 0; padding-bottom: 0; margin-top: 0; background: transparent; box-shadow: none; border: 0; }
body.mc-theme:has(.cn-job-detail) article.page { width: 100%; max-width: 1160px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
body.mc-theme:has(.cn-job-detail) .elementor-section .elementor-container { max-width: none; padding-left: max(24px, env(safe-area-inset-left, 0px)) !important; padding-right: max(24px, env(safe-area-inset-right, 0px)) !important; }
body.mc-theme:has(.cn-job-detail) .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
body.mc-theme:has(.cn-job-detail) .elementor-widget-wrap.elementor-element-populated { padding: 0 !important; }
body.mc-theme:has(.cn-job-detail) .wp-careernet-plugin,
body.mc-theme:has(.cn-job-detail) .cn-job-detail { overflow: visible; max-width: none; margin: 0; padding: 0; background: transparent; }

/* Title band: full width, whatever container it sits in */
.mc-detail-band { position: relative; overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 32px 0 112px; background: linear-gradient(135deg, var(--mc-navy) 0%, var(--mc-navy-2) 70%, #2b3f72 100%); color: #fff; }
.mc-detail-band::before { content: ""; position: absolute; width: 340px; height: 340px; right: -100px; top: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(235, 86, 54, .5), rgba(235, 86, 54, 0) 70%); pointer-events: none; }
.mc-detail-band-inner { position: relative; max-width: 1160px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.mc-detail-band .mc-crumbs { margin-bottom: 18px; }
.mc-detail-band .mc-crumbs a { color: inherit; text-decoration: none; }
.mc-detail-band .mc-crumbs a:hover { color: #fff; }
.mc-org-line { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .9375rem; color: #cdd6ee; }
.mc-org-line b { color: #fff; }
body.mc-theme .mc-detail-band h1 { margin: 0; max-width: 20em; font-size: clamp(1.75rem, 3.6vw, 2.625rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em !important; word-spacing: .08em; color: #fff; }
.mc-subtitle { margin: 8px 0 0; font-size: 1.125rem; color: #cdd6ee; }
.mc-facts-inline { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; padding: 0; list-style: none; font-size: .9375rem; color: #cdd6ee; }
.mc-facts-inline li { margin: 0; padding: 0; }
.mc-avatar-lg { width: 56px; height: 56px; border-radius: 14px; font-size: 1.0625rem; }

/* Layout */
.mc-detail-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin-top: -64px; }
.mc-detail-layout > * { min-width: 0; }
.mc-card { background: #fff; border-radius: var(--mc-radius); box-shadow: var(--mc-shadow); }
body.mc-theme .mc-detail-main { padding: 40px 44px; background: #fff; border-radius: var(--mc-radius); box-shadow: var(--mc-shadow); float: none; width: auto; margin: 0; }
.mc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.mc-tags:empty { display: none; }
.mc-detail-main .teaser,
.mc-detail-main .regional-note { margin: 0 0 24px; padding: 18px 20px; border-radius: 12px; background: var(--mc-accent-soft); color: #7a2c18; font-size: .9375rem; }
.mc-detail-main .teaser > :last-child,
.mc-detail-main .regional-note > :last-child { margin-bottom: 0; }

/* Description text (rich text from the CMS) */
body.mc-theme .mc-detail-main .job-description { padding: 0; margin: 0; font-size: 1rem; line-height: 1.7; color: #3b4357; }
body.mc-theme .mc-detail-main .job-description h2,
body.mc-theme .mc-detail-main .job-description h3,
body.mc-theme .mc-detail-main .job-description h4,
body.mc-theme .mc-detail-main .job-attachment h3 { margin: 0 0 12px; font-family: var(--mc-font); font-weight: 800; line-height: 1.25; letter-spacing: -.01em !important; color: var(--mc-ink) !important; }
body.mc-theme .mc-detail-main .job-description h2,
body.mc-theme .mc-detail-main .job-description h3 { font-size: 1.375rem; }
body.mc-theme .mc-detail-main .job-description h4 { font-size: 1.125rem; }
body.mc-theme .mc-detail-main .job-description p { max-width: 68ch; margin: 0 0 12px; color: #3b4357; }
body.mc-theme .mc-detail-main .job-description ul,
body.mc-theme .mc-detail-main .job-description ol { max-width: 68ch; margin: 0 0 14px; padding-left: 1.3em; }
body.mc-theme .mc-detail-main .job-description li { margin: 0 0 8px; }
body.mc-theme .mc-detail-main .job-description li::marker { color: var(--mc-accent); }
body.mc-theme .mc-detail-main .job-description a,
body.mc-theme .mc-detail-main .job-attachment a { color: var(--mc-accent-dark); font-weight: 600; }
body.mc-theme .mc-detail-main .mc-part { margin: 0; padding: 0; }
body.mc-theme .mc-detail-main .mc-part + .mc-part { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--mc-line); }
body.mc-theme .mc-detail-main .highlight { margin-top: 16px; padding: 16px 20px; border-radius: 12px; background: var(--mc-bg); }
body.mc-theme .mc-detail-main .highlight img { max-width: 100%; height: auto; border-radius: 8px; }
body.mc-theme .mc-detail-main .highlight iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; }
body.mc-theme .mc-detail-main .job-attachment { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--mc-line); }
body.mc-theme .mc-detail-main .login-register { margin-top: 20px; padding: 24px; border-radius: 12px; background: var(--mc-bg); }

/* Sticky column */
.mc-detail-aside { position: sticky; top: 16px; display: grid; gap: 16px; align-self: start; }
.mc-apply-card,
.mc-org-card { padding: 24px; }
.mc-deadline { margin: 0 0 16px; font-size: .9375rem; color: var(--mc-muted); }
.mc-deadline b { color: var(--mc-ink); }
.mc-closed { margin: 0; font-size: .9375rem; color: var(--mc-muted); }
body.mc-theme .mc-detail-aside .mc-btn { display: flex; justify-content: center; width: 100%; text-align: center; text-decoration: none; }
.mc-btn-line { background: transparent; color: var(--mc-navy); border: 1.5px solid var(--mc-line); padding: 10.5px 24px; }
body.mc-theme a.mc-btn-line { color: var(--mc-navy); background: transparent; }
body.mc-theme a.mc-btn-line:hover { border-color: var(--mc-navy); color: var(--mc-navy); }
.mc-favorite { margin: 10px 0 0; }
.mc-dl { display: grid; margin: 20px 0 0; border-top: 1px solid var(--mc-line); }
.mc-dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--mc-line); font-size: .9375rem; }
.mc-dl dt { margin: 0; color: var(--mc-muted); }
.mc-dl dd { margin: 0; font-weight: 600; text-align: right; }
.mc-org-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
body.mc-theme .mc-org-card h3 { margin: 0; font-size: 1.0625rem; font-weight: 800; line-height: 1.3; color: var(--mc-ink); }
.mc-org-card small { color: var(--mc-muted); }
.mc-org-card p { margin: 0 0 8px; font-size: .9375rem; color: #3b4357; }
.mc-org-card a:not(.mc-btn) { color: var(--mc-accent-dark); font-weight: 600; overflow-wrap: anywhere; }
.mc-org-card .contact-socialmedia a { margin-right: 12px; }
.mc-org-card .mc-btn { margin-top: 10px; }
.mc-share { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; font-size: .9375rem; color: var(--mc-muted); }
.mc-share-links { display: flex; gap: 8px; }
body.mc-theme .mc-share-links a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mc-bg); color: var(--mc-navy); font-size: .8125rem; font-weight: 800; text-decoration: none; }
body.mc-theme .mc-share-links a:hover { background: var(--mc-navy); color: #fff; }

/* Application form */
body.mc-theme .mc-apply { margin: 40px 0 0; padding: 40px 44px; background: #fff; border: 0; border-radius: var(--mc-radius); box-shadow: var(--mc-shadow); scroll-margin-top: 16px; }
body.mc-theme .mc-apply h2 { margin: 0; font-size: 1.625rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em !important; color: var(--mc-ink); }
body.mc-theme .mc-apply .mc-apply-sub,
body.mc-theme .mc-apply .info { margin: 8px 0 0; max-width: 60ch; color: var(--mc-muted); }
body.mc-theme .mc-apply .login { margin: 8px 0 0; color: var(--mc-muted); }
body.mc-theme .mc-apply a { color: var(--mc-accent-dark); font-weight: 600; }
body.mc-theme .mc-apply a.mc-btn { color: #fff; }
body.mc-theme .mc-apply .form { margin-top: 24px; }
body.mc-theme .mc-apply h3,
body.mc-theme .mc-apply h4 { margin: 0 0 14px; font-family: var(--mc-font); font-size: 1.0625rem; font-weight: 800; color: var(--mc-ink); letter-spacing: normal; }
body.mc-theme .mc-apply label { display: block; margin: 0 0 6px; font-size: .875rem; font-weight: 600; color: var(--mc-ink); }
body.mc-theme .mc-apply label .description { font-weight: 400; color: var(--mc-muted); }
body.mc-theme .mc-apply .item { margin: 0 0 16px; }
body.mc-theme .mc-apply input[type="text"],
body.mc-theme .mc-apply input[type="email"],
body.mc-theme .mc-apply input[type="tel"],
body.mc-theme .mc-apply input[type="number"],
body.mc-theme .mc-apply input[type="password"],
body.mc-theme .mc-apply select,
body.mc-theme .mc-apply textarea { width: 100% !important; height: auto; margin: 0; padding: 11px 14px !important; border: 1.5px solid var(--mc-line) !important; border-radius: 12px; background-color: #fff; box-shadow: none; font: inherit; font-size: .9375rem; color: var(--mc-ink); }
body.mc-theme .mc-apply input:focus,
body.mc-theme .mc-apply select:focus,
body.mc-theme .mc-apply textarea:focus { border-color: var(--mc-navy) !important; outline: 0; box-shadow: none; }
body.mc-theme .mc-apply input[readonly] { background: var(--mc-bg); color: var(--mc-muted); }
body.mc-theme .mc-apply select { -webkit-appearance: none; appearance: none; padding-right: 38px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235d667a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-origin: padding-box; background-position: right 14px center; background-size: 12px 8px; }
body.mc-theme .mc-apply input[type="file"] { width: 100%; padding: 14px; border: 2px dashed #c9d0de; border-radius: 14px; background: var(--mc-bg); font: inherit; font-size: .875rem; color: var(--mc-muted); cursor: pointer; }
body.mc-theme .mc-apply input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--mc-navy); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
body.mc-theme .mc-apply input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--mc-accent); }
body.mc-theme .mc-apply .buttons { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--mc-line); }
body.mc-theme .mc-apply button[type="submit"],
body.mc-theme .mc-apply .button { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 12px 28px; border: 0; border-radius: 999px; background: var(--mc-accent); color: #fff; font-family: var(--mc-font); font-size: 1rem; font-weight: 700; line-height: 1.4; cursor: pointer; text-decoration: none; box-shadow: none; }
body.mc-theme .mc-apply button[type="submit"]:hover,
body.mc-theme .mc-apply .button:hover { background: var(--mc-accent-dark); color: #fff; }
body.mc-theme .mc-apply .callout { margin: 16px 0 0; padding: 14px 18px; border: 0; border-radius: 12px; background: var(--mc-bg); color: var(--mc-ink); font-size: .9375rem; }
body.mc-theme .mc-apply .callout.success { background: #e8f6f4; color: #0b5d56; }
body.mc-theme .mc-apply .callout.alert,
body.mc-theme .mc-apply .callout.warning { background: var(--mc-accent-soft); color: #7a2c18; }
body.mc-theme .mc-apply .regional-note { margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: var(--mc-accent-soft); color: #7a2c18; font-size: .9375rem; }

@media (max-width: 960px) {
  .mc-detail-layout { grid-template-columns: minmax(0, 1fr); margin-top: -56px; }
  .mc-detail-aside { position: static; order: -1; }
  body.mc-theme .mc-detail-main,
  body.mc-theme .mc-apply { padding: 28px 24px; }
}
@media (max-width: 640px) {
  .mc-detail-band { padding-bottom: 96px; }
  .mc-detail-band-inner { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  body.mc-theme:has(.cn-job-detail) .elementor-section .elementor-container { padding-left: max(16px, env(safe-area-inset-left, 0px)) !important; padding-right: max(16px, env(safe-area-inset-right, 0px)) !important; }
}

/* Detail page: no Elementor container here, so the page gutters come from the plugin wrapper */
body.mc-theme:has(.cn-job-detail) .cn-job-detail { padding-left: max(24px, env(safe-area-inset-left, 0px)) !important; padding-right: max(24px, env(safe-area-inset-right, 0px)) !important; }
@media (max-width: 640px) {
  body.mc-theme:has(.cn-job-detail) .cn-job-detail { padding-left: max(16px, env(safe-area-inset-left, 0px)) !important; padding-right: max(16px, env(safe-area-inset-right, 0px)) !important; }
}

/* Detail page: the parent theme's tinted application box and cyan headings */
body.mc-theme .cn-job-detail article.apply.mc-apply { padding: 40px 44px !important; background: #fff !important; border: 0 !important; border-radius: var(--mc-radius) !important; box-shadow: var(--mc-shadow); margin-top: 40px; }
body.mc-theme .cn-job-detail article.apply.mc-apply .grid-container { max-width: none; padding-left: 0; padding-right: 0; }
body.mc-theme .cn-job-detail .mc-apply h3,
body.mc-theme .cn-job-detail .mc-apply h4,
body.mc-theme .cn-job-detail .mc-apply h2 { color: var(--mc-ink) !important; }
body.mc-theme .cn-job-detail .mc-apply .buttons { padding-left: 0; }
@media (max-width: 960px) {
  body.mc-theme .cn-job-detail article.apply.mc-apply { padding: 28px 24px !important; }
}

/* Detail page: CMS text must wrap inside the card (inline white-space/width styles), cyan form headings */
body.mc-theme .mc-detail-main .job-description * { max-width: 100%; white-space: normal !important; overflow-wrap: anywhere; }
body.mc-theme .mc-detail-main .job-description img,
body.mc-theme .mc-detail-main .job-description table,
body.mc-theme .mc-detail-main .job-description iframe { height: auto; }
body.mc-theme .cn-job-detail .mc-apply .cell h3,
body.mc-theme .cn-job-detail .mc-apply .cell h4 { color: var(--mc-ink) !important; }

/* Icons in the title band's facts */
.mc-facts-inline li { display: inline-flex; align-items: center; gap: 8px; }
.mc-facts-inline svg { flex: none; opacity: .85; }

/* Detail page review: title band spacing, side column, text separators, application form */
body.mc-theme .mc-facts-inline { margin-top: 24px !important; }
.mc-deadline { display: flex; align-items: center; gap: 10px; }
.mc-deadline svg { flex: none; }
body.mc-theme .mc-dl dt { font-weight: 400; color: var(--mc-muted); }
body.mc-theme .mc-dl dd { font-weight: 600; color: var(--mc-ink); }
.mc-share > span:first-child { white-space: nowrap; }
body.mc-theme .mc-share-links { gap: 6px; }
body.mc-theme .mc-share-links a { width: 34px; height: 34px; }

/* Headings inside the CMS text get a separator and air, like the mockup's sections */
body.mc-theme .mc-detail-main .job-description :is(h2, h3):not(:first-child) { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--mc-line); }
body.mc-theme .mc-detail-main .mc-part > h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Application form: columns without the grid gutters, pill button, dashed upload fields */
body.mc-theme .mc-apply .grid-x.grid-margin-x { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 32px; margin: 0; }
body.mc-theme .mc-apply .grid-x.grid-margin-x > .cell { width: auto !important; max-width: none; margin: 0 !important; padding: 0; flex: none; }
@media (max-width: 960px) {
  body.mc-theme .mc-apply .grid-x.grid-margin-x { grid-auto-flow: row; gap: 8px; }
}
body.mc-theme .mc-apply .mc-apply-sub,
body.mc-theme .mc-apply .info,
body.mc-theme .mc-apply .login { font-size: 1rem !important; line-height: 1.55 !important; margin: 8px 0 0 !important; }
body.mc-theme .mc-apply .form { margin-top: 28px; }
body.mc-theme .mc-apply .form p,
body.mc-theme .mc-apply .item p { font-size: .9375rem; line-height: 1.55; color: #3b4357; }
body.mc-theme .cn-job-detail .mc-apply input[type="file"] { width: 100% !important; padding: 18px 16px !important; border: 2px dashed #c9d0de !important; border-radius: 14px !important; background: var(--mc-bg) !important; }
body.mc-theme .cn-job-detail .mc-apply input[type="file"]:hover { border-color: var(--mc-accent) !important; }
body.mc-theme .cn-job-detail .mc-apply button[type="submit"],
body.mc-theme .cn-job-detail .mc-apply .button { border-radius: 999px !important; padding: 12px 28px !important; }
body.mc-theme .cn-job-detail .mc-apply .buttons { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--mc-line); }

/* Detail page review, round 2: aside width, subtitle width, file inputs, form headings */
.mc-detail-aside { grid-template-columns: minmax(0, 1fr); }
.mc-detail-aside > * { min-width: 0; }
.mc-share { padding: 18px 20px; }
body.mc-theme .mc-apply .mc-apply-sub,
body.mc-theme .mc-apply .info { max-width: 760px !important; width: auto !important; }
body.mc-theme .cn-job-detail .mc-apply input[type="file"] { height: auto !important; min-height: 0 !important; line-height: 1.5 !important; overflow: visible !important; }
body.mc-theme .cn-job-detail .mc-apply input[type="file"]::file-selector-button { line-height: 1.4; }
body.mc-theme .cn-job-detail .mc-apply .cell h3,
body.mc-theme .cn-job-detail .mc-apply .cell h4 { font-size: 1.0625rem !important; }

/* Submit state: the parent theme disables the button and shows a spinning icon. Its container had overflow:auto,
   so the rotating icon made a scrollbar appear; the icon and the disabled button also looked off-brand. */
body.mc-theme .cn-job-detail .mc-apply,
body.mc-theme .cn-job-detail .mc-apply .form,
body.mc-theme .cn-job-detail .mc-apply form.application-form { overflow: visible !important; }
body.mc-theme .cn-job-detail .mc-apply .buttons { display: flex; align-items: center; gap: 14px; overflow: visible !important; }
body.mc-theme .mc-apply .buttons .fa-spinner { flex: none; width: 1.5rem; height: 1.5rem; margin: 0; font-size: 1.25rem; line-height: 1.5rem; text-align: center; color: var(--mc-accent); overflow: visible; }
body.mc-theme .cn-job-detail .mc-apply button[type="submit"]:disabled { background: var(--mc-accent) !important; color: #fff !important; opacity: .55; cursor: progress; }
body.mc-theme .mc-apply .buttons .fa-spinner { display: inline-flex; align-items: center; justify-content: center; align-self: center; width: 1.75rem; height: 1.75rem; font-size: 1.5rem; line-height: 1; }
body.mc-theme .mc-apply .buttons .fa-spinner::before { display: block; line-height: 1; }
body.mc-theme .cn-job-detail .mc-apply .buttons .fa-spinner { margin: 0 !important; }

/* The loading overlay of the filter reload covers the whole results box, padding included: use margin for the
   space under the title band instead, so the overlay starts at the first row. */
body.mc-theme .cn-job-list section.jobs { padding-top: 0; margin-top: 138px; }
@media (max-width: 960px) {
  body.mc-theme .cn-job-list section.jobs { margin-top: 0; }
}

/* Row padding as in the mockup (20px 24px, 18px between avatar, text and dates); the extra air stays between rows and tags */
body.mc-theme .cn-job-list .mc-rows .mc-row { padding: 20px 24px; gap: 18px; }
@media (max-width: 640px) {
  body.mc-theme .cn-job-list .mc-rows .mc-row { padding: 18px; }
}

/* Validation errors are a <ul class="callout">: its bullets hang outside the padding, so give the list room for them */
body.mc-theme .cn-job-detail .mc-apply ul.callout { margin: 20px 0 0; padding: 18px 24px 18px 44px !important; list-style: disc outside; }
body.mc-theme .cn-job-detail .mc-apply ul.callout li { margin: 0; padding: 0; line-height: 1.5; }
body.mc-theme .cn-job-detail .mc-apply ul.callout li + li { margin-top: 4px; }
body.mc-theme .cn-job-detail .mc-apply ul.callout li::marker { color: var(--mc-accent-dark); }

/* Account pages: the grey content area ends before the footer's top margin; let that space share the grey */
body.mc-theme:has(.main-container.account) { background: #f5f5f5; }
body.mc-theme:has(.main-container.account) .app-scroller { background: #f5f5f5; }

/* ==========================================================================
   Organization page (/organisaties/<slug>): shares the title band, layout and cards of the vacancy detail page
   ========================================================================== */
body.mc-theme:has(.cn-organization-details) { background: var(--mc-bg); overflow-x: clip; }
body.mc-theme:has(.cn-organization-details) .app-scroller { background: var(--mc-bg); }
body.mc-theme:has(.cn-organization-details) article.page > header { display: none; }
body.mc-theme:has(.cn-organization-details) .main-container,
body.mc-theme:has(.cn-organization-details) .main-grid,
body.mc-theme:has(.cn-organization-details) .article-container,
body.mc-theme:has(.cn-organization-details) main { max-width: none; padding-top: 0; padding-bottom: 0; margin-top: 0; background: transparent; box-shadow: none; border: 0; }
body.mc-theme:has(.cn-organization-details) article.page { width: 100%; max-width: 1160px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
body.mc-theme:has(.cn-organization-details) .wp-careernet-plugin,
body.mc-theme:has(.cn-organization-details) .cn-organization-details { overflow: visible; max-width: none; margin: 0; background: transparent; }
body.mc-theme:has(.cn-organization-details) .cn-organization-details { padding: 0 max(24px, env(safe-area-inset-right, 0px)) !important; }
@media (max-width: 640px) {
  body.mc-theme:has(.cn-organization-details) .cn-organization-details { padding: 0 max(16px, env(safe-area-inset-right, 0px)) !important; }
}

.mc-org-head { display: flex; align-items: center; gap: 20px; }
.mc-avatar-xl { width: 72px; height: 72px; border-radius: 18px; font-size: 1.375rem; }
body.mc-theme .mc-org-head h1 { margin: 0; font-size: clamp(1.75rem, 3.6vw, 2.625rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em !important; word-spacing: .08em; color: #fff; }
.mc-stats-inline { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.mc-stats-inline li { display: flex; flex-direction: column; margin: 0; padding: 0; }
.mc-stats-inline strong { font-size: 1.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: #fff; }
.mc-stats-inline span { font-size: .875rem; color: #aab5d3; }

.mc-org-main { display: grid; gap: 24px; min-width: 0; }
.mc-org-main > * { min-width: 0; }
body.mc-theme .mc-about { padding: 36px 40px; }
body.mc-theme .mc-about h2 { margin: 0 0 14px; font-size: 1.5rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em !important; color: var(--mc-ink); }
body.mc-theme .mc-about .mc-lead { margin: 0 0 14px; font-size: 1.125rem; color: var(--mc-ink); }
body.mc-theme .mc-about-text { font-size: 1rem; line-height: 1.7; color: #3b4357; }
body.mc-theme .mc-about-text p { max-width: 68ch; margin: 0 0 12px; color: #3b4357; }
body.mc-theme .mc-about-text a { color: var(--mc-accent-dark); font-weight: 600; }
.mc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 24px; }
.mc-fact { padding: 16px 18px; border-radius: 14px; background: var(--mc-bg); }
.mc-fact span { display: block; font-size: .8125rem; color: var(--mc-muted); }
.mc-fact b { display: block; margin-top: 2px; font-size: 1.0625rem; }
.mc-quote { margin: 24px 0 0; padding: 20px 24px; border: 0; border-radius: 14px; background: var(--mc-accent-soft); color: #7a2c18; font-size: 1.0625rem; line-height: 1.55; }
.mc-quote cite { display: block; margin-top: 8px; font-size: .875rem; font-style: normal; font-weight: 700; color: var(--mc-accent-dark); }
body.mc-theme .mc-labor { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--mc-line); }
body.mc-theme .mc-labor h3 { margin: 0 0 10px; font-family: var(--mc-font); font-size: 1.25rem; font-weight: 800; color: var(--mc-ink) !important; }

.mc-media { padding: 28px 32px; }
body.mc-theme .mc-media h3 { margin: 0 0 12px; font-family: var(--mc-font); font-size: 1.125rem; font-weight: 800; color: var(--mc-ink); }
.mc-media iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; margin: 0 0 20px; border: 0; border-radius: 12px; }
.mc-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.mc-photos img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 12px; }

.mc-jobs-card { padding: 32px 36px 36px; }
.mc-jobs-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
body.mc-theme .mc-jobs-head h2 { margin: 0; font-size: 1.5rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em !important; color: var(--mc-ink); }
.mc-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--mc-bg); }
body.mc-theme .mc-tabs button { margin: 0; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; box-shadow: none; font: inherit; font-size: .9375rem; font-weight: 700; color: var(--mc-muted); cursor: pointer; }
body.mc-theme .mc-tabs button[aria-selected="true"] { background: #fff; color: var(--mc-navy); box-shadow: 0 1px 3px rgba(20, 33, 61, .12); }
.mc-panel[hidden] { display: none; }
.mc-empty { margin: 0; padding: 8px 0; color: var(--mc-muted); }
.mc-orow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; margin: 0; padding: 20px 0; border-top: 1px solid var(--mc-line); }
.mc-orow:first-child { border-top: 0; padding-top: 4px; }
body.mc-theme .mc-orow h3 { margin: 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: var(--mc-ink); overflow-wrap: anywhere; }
.mc-orow:hover h3 { color: var(--mc-accent-dark); }
.mc-orow .mc-row-tags { margin-top: 10px; }
.mc-orow.is-closed .mc-orow-main,
.mc-orow.is-closed .mc-row-side { opacity: .6; }
.mc-badge-closed { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: var(--mc-bg); font-size: .75rem; font-weight: 700; color: var(--mc-muted); }

body.mc-theme .mc-contact-card { padding: 24px; }
body.mc-theme .mc-contact-card h3 { margin: 0 0 14px; font-family: var(--mc-font); font-size: 1.0625rem; font-weight: 800; color: var(--mc-ink); }
.mc-contact-line { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--mc-line); font-size: .9375rem; overflow-wrap: anywhere; }
.mc-contact-line:first-of-type { padding-top: 0; border-top: 0; }
.mc-contact-line svg { flex: none; margin-top: 3px; color: var(--mc-muted); }
.mc-contact-line small { display: block; font-size: .8125rem; color: var(--mc-muted); }
body.mc-theme .mc-contact-line a { color: var(--mc-accent-dark); font-weight: 600; }
body.mc-theme .mc-contact-card .mc-btn { margin-top: 14px; }
.mc-org-social { display: flex; gap: 8px; margin-top: 16px; }
body.mc-theme .mc-org-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mc-bg); color: var(--mc-navy); font-size: .8125rem; font-weight: 800; text-decoration: none; }
body.mc-theme .mc-org-social a:hover { background: var(--mc-navy); color: #fff; }
.mc-alert-card { padding: 24px; background: linear-gradient(120deg, var(--mc-accent) 0%, #f0794f 100%); color: #fff; }
body.mc-theme .mc-alert-card h3 { margin: 0 0 8px; font-family: var(--mc-font); font-size: 1.125rem; font-weight: 800; line-height: 1.3; color: #fff; }
.mc-alert-card p { margin: 0; font-size: .9375rem; color: #ffe7df; }
body.mc-theme .mc-alert-card .mc-btn { margin-top: 16px; background: #fff; color: var(--mc-navy); }
body.mc-theme .mc-alert-card .mc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }

@media (max-width: 960px) {
  body.mc-theme .mc-about,
  .mc-jobs-card { padding: 28px 24px; }
}
@media (max-width: 640px) {
  .mc-orow { grid-template-columns: minmax(0, 1fr); }
  .mc-orow .mc-row-side { grid-auto-flow: column; justify-content: space-between; justify-items: start; padding-top: 12px; border-top: 1px solid var(--mc-line); text-align: left; white-space: normal; }
  .mc-orow .mc-row-go { margin-top: 0; }
  .mc-org-head { gap: 14px; }
  .mc-avatar-xl { width: 56px; height: 56px; font-size: 1.125rem; }
}

/* Organization page: parent theme resets padding on <article> */
body.mc-theme .cn-organization-details article.mc-about { padding: 36px 40px !important; background: #fff !important; border-radius: var(--mc-radius) !important; box-shadow: var(--mc-shadow); }
body.mc-theme .cn-organization-details article.mc-orow { padding: 20px 0 !important; margin: 0 !important; border-top: 1px solid var(--mc-line) !important; border-bottom: 0 !important; background: transparent !important; }
body.mc-theme .cn-organization-details .mc-panel > article.mc-orow:first-child { padding-top: 4px !important; border-top: 0 !important; }
@media (max-width: 960px) {
  body.mc-theme .cn-organization-details article.mc-about { padding: 28px 24px !important; }
}

/* Dark initials blocks (navy) vanish against the navy title band: give them a light ring */
.mc-detail-band .mc-avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .22); }
