.nmcfch{--nmcfch-accent:#e65a46;--nmcfch-button:#162f3a;--nmcfch-button-text:#fff;color:#2c3940;font-family:inherit;max-width:1200px;margin:0 auto;padding:16px 0 35px}
.nmcfch *{box-sizing:border-box}.nmcfch-heading{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:30px}.nmcfch-eyebrow{color:var(--nmcfch-accent);text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.17em}.nmcfch-heading h2{font-size:clamp(29px,4vw,47px);letter-spacing:-.045em;margin:7px 0 9px!important;line-height:1.13;color:#162f3a;font-weight:800}.nmcfch-heading p{font-size:16px;color:#66727b;margin:0}.nmcfch-count{white-space:nowrap;border:1px solid #e8e9e7;padding:13px 17px;border-radius:30px;font-size:13px;color:#66727b;background:#fff}.nmcfch-count strong{font-size:19px;color:#163642}.nmcfch-tools{display:flex;gap:15px;margin-bottom:24px}.nmcfch-tools label{display:flex;flex-direction:column;gap:7px;color:#64727b;font-size:12px;font-weight:700;flex:1}.nmcfch-tools .nmcfch-search-label{flex:2}.nmcfch-tools input,.nmcfch-tools select{width:100%;background:#fff;border:1px solid #d9dfe1;border-radius:11px;min-height:50px;padding:12px 15px;font:inherit;color:#20343c;font-weight:500}.nmcfch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.nmcfch-card{background:#fff;border:1px solid #e4e8e9;border-radius:18px;padding:28px;display:flex;flex-direction:column;min-height:292px;box-shadow:0 8px 32px rgba(8,35,39,.035);transition:box-shadow .2s,transform .2s}.nmcfch-card:hover{box-shadow:0 18px 45px rgba(8,35,39,.09);transform:translateY(-2px)}.nmcfch-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.nmcfch-tag{background:#f8f3ef;color:#815d52;padding:7px 11px;border-radius:30px;font-size:11px;font-weight:800;max-width:79%}.nmcfch-open{color:#24765c;font-weight:750;font-size:12px;white-space:nowrap}.nmcfch-card h3{font-size:clamp(20px,2.1vw,26px);line-height:1.2;letter-spacing:-.025em;font-weight:800;color:#183643;margin:20px 0 10px}.nmcfch-summary{margin:0 0 18px;font-size:14px;line-height:1.65;color:#657179;flex:1}.nmcfch-meta{display:flex;flex-wrap:wrap;gap:9px 19px;color:#66727b;font-size:12px;padding-bottom:18px}.nmcfch-actions{border-top:1px solid #ecedeb;padding-top:17px}.nmcfch-button{border:0;border-radius:10px;background:var(--nmcfch-button);color:var(--nmcfch-button-text)!important;padding:12px 18px;cursor:pointer;text-decoration:none!important;font-size:13px;font-weight:750;display:inline-flex;align-items:center;gap:20px;justify-content:space-between;transition:background .2s}.nmcfch-button:hover{background:var(--nmcfch-accent)}.nmcfch-no-match,.nmcfch-empty{border:1px dashed #cad3d5;text-align:center;padding:35px;background:#fbfcfb;border-radius:16px}.nmcfch-empty span{font-size:30px;color:var(--nmcfch-accent)}.nmcfch-empty h3{margin:12px 0}.nmcfch-help{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f6f1eb;border-radius:17px;padding:25px 28px;margin-top:26px}.nmcfch-help strong{font-size:19px;color:#153640}.nmcfch-help p{margin:6px 0 0;color:#66727b;font-size:14px}.nmcfch-help-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;border:1px solid #ebded0;font-size:23px;color:var(--nmcfch-accent);flex-shrink:0}.nmcfch-dialog{border:0;padding:0;border-radius:20px;max-width:min(720px,94vw);max-height:min(88vh,850px);width:100%;box-shadow:0 22px 100px rgba(0,0,0,.28);color:#18343e}.nmcfch-dialog::backdrop{background:rgba(8,22,28,.68)}.nmcfch-dialog-body{padding:32px 38px;overflow:auto}.nmcfch-dialog h3{font-size:clamp(25px,3vw,36px);letter-spacing:-.03em;line-height:1.15;margin:10px 0}.nmcfch-detail-meta{color:#63727b;font-size:13px;border-bottom:1px solid #e7ebea;padding-bottom:18px}.nmcfch-dismiss{float:right;border:0;background:#f5f6f4;border-radius:50%;width:36px;height:36px;cursor:pointer;font-size:25px;color:#223a44}.nmcfch-description{font-size:14px;line-height:1.75;margin:20px 0}.nmcfch-attachments{border:1px solid #e3e8e6;background:#f8faf9;border-radius:12px;padding:18px;margin-bottom:18px}.nmcfch-attachments h4{font-size:15px;margin:0 0 8px}.nmcfch-attachments a{display:block;color:#126b6e;font-size:14px;margin:9px 0}.nmcfch-attachments p{font-size:13px;color:#798388}.nmcfch-apply{padding-top:8px}.nmcfch-apply p{font-size:12px;color:#6d7a80;line-height:1.6;margin-bottom:0}.nmcfch-apply .nmcfch-button{display:inline-flex}@media(max-width:767px){.nmcfch-heading{align-items:flex-start;flex-direction:column}.nmcfch-grid{grid-template-columns:1fr}.nmcfch-tools{flex-direction:column}.nmcfch-card{min-height:auto;padding:21px}.nmcfch-dialog-body{padding:24px 20px}.nmcfch-help{padding:20px}.nmcfch-help-icon{display:none}}@media(prefers-reduced-motion:reduce){.nmcfch-card,.nmcfch-button{transition:none}}
.nmcfch [hidden]{display:none!important}

/* NMCF Careers Hub v1.0 — grid / list layouts, responsive column governance */
.nmcfch .nmcfch-grid{grid-template-columns:repeat(var(--nmcfch-columns-desktop,2),minmax(0,1fr))}
.nmcfch-view-bar{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin:-4px 0 19px;color:#5d6c74;font-size:12px;font-weight:750}
.nmcfch-view-bar span{margin-right:9px}
.nmcfch-view-choice{border:1px solid #d9e1e0;background:#fff;color:#35515a;border-radius:9px;padding:9px 14px;font-weight:750;font-size:12px;cursor:pointer;min-height:40px}
.nmcfch-view-choice[aria-pressed="true"]{background:#163641;border-color:#163641;color:#fff}
.nmcfch .nmcfch-layout-list .nmcfch-grid,.nmcfch.nmcfch-layout-list .nmcfch-grid{grid-template-columns:minmax(0,1fr)!important}
.nmcfch.nmcfch-layout-list .nmcfch-card{min-height:0;display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,1.5fr) auto;gap:8px 22px;align-items:start;padding:22px 24px}
.nmcfch.nmcfch-layout-list .nmcfch-card-top{grid-column:1/3;grid-row:1}
.nmcfch.nmcfch-layout-list .nmcfch-card h3{grid-column:1;grid-row:2;margin:3px 0 0;font-size:clamp(18px,1.9vw,24px)}
.nmcfch.nmcfch-layout-list .nmcfch-summary{grid-column:2;grid-row:2;margin:2px 0 0}
.nmcfch.nmcfch-layout-list .nmcfch-meta{grid-column:1/3;grid-row:3;padding:0}
.nmcfch.nmcfch-layout-list .nmcfch-actions{grid-column:3;grid-row:1/4;align-self:center;border:0;padding:0}
.nmcfch-job-type{font-weight:750;color:#315e61}
@media(max-width:1024px){.nmcfch .nmcfch-grid{grid-template-columns:repeat(var(--nmcfch-columns-tablet,2),minmax(0,1fr))}.nmcfch.nmcfch-layout-list .nmcfch-card{grid-template-columns:minmax(160px,1fr) minmax(0,1.7fr)}.nmcfch.nmcfch-layout-list .nmcfch-card-top{grid-column:1/-1}.nmcfch.nmcfch-layout-list .nmcfch-actions{grid-column:1/-1;grid-row:4;justify-self:start}}
@media(max-width:767px){.nmcfch .nmcfch-grid{grid-template-columns:repeat(var(--nmcfch-columns-mobile,1),minmax(0,1fr))}.nmcfch.nmcfch-layout-list .nmcfch-card{display:flex;flex-direction:column;gap:10px}.nmcfch.nmcfch-layout-list .nmcfch-card h3{margin:0}.nmcfch.nmcfch-layout-list .nmcfch-actions{padding-top:10px;border-top:1px solid #ecedeb;width:100%}.nmcfch-view-bar{justify-content:flex-start;flex-wrap:wrap}}
@media(max-width:420px){.nmcfch .nmcfch-grid{grid-template-columns:1fr}}
/* v1.1: contextual job type and working-hours filters */
.nmcfch-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-11px 0 19px;min-height:32px}
.nmcfch-filter-summary{color:#68777e;font-size:12px;font-weight:650}
.nmcfch-clear-filters,.nmcfch-empty-reset{border:1px solid #d5dfdd;border-radius:8px;background:#fff;color:#17414b;min-height:34px;padding:7px 12px;cursor:pointer;font-size:12px;font-weight:750}
.nmcfch-clear-filters:hover,.nmcfch-empty-reset:hover{border-color:#184450;background:#f6faf8}
.nmcfch-clear-filters:focus-visible,.nmcfch-empty-reset:focus-visible{outline:3px solid #ecb96a;outline-offset:2px}
.nmcfch-pending{font-weight:600;color:#7d8589}
.nmcfch-no-match strong{font-size:17px;color:#153640}
.nmcfch-no-match p{font-size:13px;color:#718087;margin:7px 0 18px}
.nmcfch-tools select option:disabled{color:#899193}
@media(max-width:767px){.nmcfch-filter-footer{margin:-11px 0 16px;align-items:flex-start;flex-wrap:wrap}}

/* v1.3.0: respect the full Elementor Loop Item design inside filtered listings. */
.nmcfch .nmcfch-card--elementor{min-height:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;transform:none;overflow:visible}
.nmcfch .nmcfch-card--elementor:hover{box-shadow:none;transform:none}
.nmcfch .nmcfch-card--elementor .nmcfch-loop-content{width:100%;flex:1;min-width:0}
.nmcfch .nmcfch-card--elementor .nmcfch-actions{padding:12px;border:0}
.nmcfch .nmcfch-loop-content .elementor-element{max-width:100%}

/* v1.4: Optional document CTA on native cards and Elementor loop cards. */
.nmcfch-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nmcfch .nmcfch-download-button{background:var(--nmcfch-download-bg,#f4f9f9);color:var(--nmcfch-download-text,#154951)!important;border:1px solid #c7dcdc;text-align:center;gap:12px}
.nmcfch .nmcfch-download-button:hover{background:var(--nmcfch-download-hover,#e7f3f0);color:var(--nmcfch-download-text,#103c43)!important}
@media(max-width:480px){.nmcfch-card-actions>.nmcfch-button{width:100%;justify-content:space-between}}

/* v1.4.1: private, editor-only sample cards. Fully scoped and visibly non-live. */
.nmcfch-editor-warning{display:flex;flex-direction:column;gap:6px;background:#fff8e3;border:1px solid #e6bb63;border-left:5px solid #ad7829;color:#5b441d;border-radius:10px;padding:13px 18px;margin:0 0 22px;font-size:13px;line-height:1.5}
.nmcfch-editor-warning strong{font-size:12px;letter-spacing:.06em}
.nmcfch-editor-preview .nmcfch-card{opacity:.94}
.nmcfch-editor-preview .nmcfch-card .nmcfch-button:disabled{cursor:not-allowed;opacity:.65}
.nmcfch-editor-preview .nmcfch-tools :disabled,.nmcfch-editor-preview .nmcfch-view-choice:disabled{opacity:.72;cursor:not-allowed}

/* v1.4.2: viewport-centred vacancy modal on desktop, tablet and mobile.
   NMCF theme/Elementor can override the browser's native <dialog> margin,
   top and position defaults. Constrain ONLY an opened Careers dialog and
   retain the native showModal() top layer / keyboard focus / Escape handling.
   The inner content scrolls instead of pushing the dialog off-screen. */
html body .nmcfch dialog.nmcfch-dialog[open] {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  inset: 0 !important;
  margin: auto !important;
  transform: none !important;
  display: block !important;
  width: min(720px, calc(100vw - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
  height: auto !important;
  max-height: calc(100vh - 40px) !important;
  max-height: calc(100dvh - 40px) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}
html body .nmcfch dialog.nmcfch-dialog[open] .nmcfch-dialog-body {
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 767px) {
  html body .nmcfch dialog.nmcfch-dialog[open] {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    border-radius: 15px;
  }
  html body .nmcfch dialog.nmcfch-dialog[open] .nmcfch-dialog-body {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
}
