/* The training course catalogue (Courses.php, 2026-11-21): the header band, the course rows, the course page, My courses and the
   block on the Training page. The filter column, the bar and the chips are the vacancy board's (jobs-board.css), loaded beside this
   file on the catalogue only. Page-only: Courses::assets(), or the <link> the Training page block prints. */
.ndti-crs-i{flex:none;vertical-align:-.16em}

/* ---------- header band ---------- */
.ndti-crs-top{background:linear-gradient(120deg,#0b1620,#173026 60%,#1d4a2c);color:#fff;margin:0 0 26px}
.ndti-crs-top__in{max-width:1680px;margin:0 auto;padding:34px 32px 32px;display:flex;flex-wrap:wrap;gap:22px 40px;align-items:flex-end;justify-content:space-between;box-sizing:border-box}
.ndti-crs-top__text{min-width:0;flex:1 1 520px;max-width:820px}
.ndti-crs-top__k{display:inline-flex;align-items:center;gap:7px;margin:0 0 10px;font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#a9e0b0}
.ndti-crs-top h1{margin:0 0 10px;font-size:clamp(28px,3.4vw,40px);line-height:1.12;letter-spacing:-.02em;font-weight:800;color:#fff;text-wrap:balance}
.ndti-crs-top__lede{margin:0;font-size:16px;line-height:1.55;color:rgba(255,255,255,.84);max-width:68ch}
.ndti-crs-top__act{display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex:0 1 auto}
.ndti-crs-top__act .ndti-btn{display:inline-flex;align-items:center;gap:8px}
.ndti-crs-top__link{font-size:13.5px;font-weight:700;color:#cfeed4;text-decoration:none}
.ndti-crs-top__link:hover{color:#fff;text-decoration:underline}

/* ---------- rows ---------- */
.ndti-crs__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;container:crsrows / inline-size}
.ndti-course{position:relative;display:grid;grid-template-columns:46px minmax(0,1.5fr) minmax(0,1fr) minmax(0,1.15fr) minmax(0,.8fr);grid-template-areas:"logo title where spec foot" "logo by where spec foot";
  column-gap:16px;row-gap:3px;align-items:center;margin:0;padding:14px 18px;background:#fff;border:1px solid #e3e9ee;border-radius:14px;box-shadow:0 1px 2px rgba(11,22,32,.04);transition:border-color .15s,box-shadow .15s;
  font-size:14px;line-height:1.45;color:#26394a}
.ndti-course:hover{border-color:#b9dcbf;box-shadow:0 6px 18px rgba(11,22,32,.08)}
.ndti-course:focus-within{border-color:#44a047;box-shadow:0 0 0 3px rgba(68,160,71,.22)}
.ndti-course p{margin:0}
.ndti-course--featured{border-color:#e7c873;background:linear-gradient(90deg,#fffaf0 0,#fff 46%)}
.ndti-course__title{grid-area:title;align-self:end;margin:0;font-size:16px;line-height:1.3;font-weight:800;letter-spacing:-.005em;font-family:inherit}
.ndti-course__title a{color:#0b1620;text-decoration:none}
.ndti-course__title a::after{content:"";position:absolute;inset:0;border-radius:14px}
.ndti-course__title a:focus-visible{outline:none}
.ndti-course:hover .ndti-course__title a{color:#1f6f2d}
.ndti-course__logo{grid-area:logo;width:46px;height:46px;border-radius:10px;object-fit:contain;background:#fff;border:1px solid #e3e9ee}
.ndti-course__by{grid-area:by;align-self:start;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13.5px;color:#5f7183;min-width:0}
.ndti-course__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%}
.ndti-course__where{grid-area:where;min-width:0}
.ndti-course__place{display:flex;align-items:center;gap:6px;font-weight:700;color:#0b1620}
.ndti-course__place span{min-width:0;overflow-wrap:anywhere}
.ndti-course__flag{font-style:normal;font-size:16px;line-height:1}
.ndti-course__mode{font-size:13px;color:#5f7183}
.ndti-course__spec{grid-area:spec;min-width:0;display:grid;gap:5px}
.ndti-course__tags{display:flex;flex-wrap:wrap;gap:4px}
.ndti-course__tag{display:inline-flex;align-items:center;padding:3px 7px;border-radius:6px;background:#edf3f9;color:#28506f;font-size:12px;font-weight:800;line-height:1.35;letter-spacing:.02em;white-space:nowrap;text-decoration:none}
.ndti-course__tag.is-match{background:#1f6f2d;color:#fff}
.ndti-course__tag--lv{background:#fff;color:#0b1620;box-shadow:inset 0 0 0 1px #c5d2dc;letter-spacing:0}
.ndti-course__tag--more{padding-left:1px;padding-right:1px;background:none;color:#5f7183;font-weight:700;letter-spacing:0}
.ndti-course__terms{display:flex;flex-wrap:wrap;gap:2px 12px;font-size:13px;color:#5f7183}
.ndti-course__terms span{display:inline-flex;align-items:center;gap:5px}
.ndti-course__price{font-weight:700;color:#0b1620}
.ndti-course__foot{grid-area:foot;display:flex;flex-direction:column;align-items:flex-end;gap:5px;font-size:13px;color:#5f7183;text-align:right;min-width:0}
.ndti-course__when{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.ndti-course__pill{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:#fdf1cf;color:#7a5400;border:1px solid #ecd28a;font-size:11.5px;font-weight:800;letter-spacing:.02em;white-space:nowrap}
@container crsrows (max-width:900px){
  .ndti-course{grid-template-columns:46px minmax(0,1.4fr) minmax(0,1fr);grid-template-areas:"logo title where" "logo by where" "logo spec foot";row-gap:6px}
  .ndti-course__foot{align-items:flex-end}
}
@container crsrows (max-width:600px){
  .ndti-course{grid-template-columns:46px minmax(0,1fr);grid-template-areas:"logo title" "logo by" "where where" "spec spec" "foot foot";padding:14px}
  .ndti-course__title{align-self:start}
  .ndti-course__foot{flex-direction:row;align-items:center;justify-content:space-between;text-align:left}
}
.ndti-crs .ndti-jb__more{margin-top:18px}

/* ---------- the course page ---------- */
.ndti-crs-page{max-width:1240px;margin:0 auto;padding:26px 32px 48px;box-sizing:border-box;color:#26394a}
.ndti-crs-crumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 16px;font-size:13.5px;color:#5f7183}
.ndti-crs-crumb a{color:#1f6f2d;font-weight:700;text-decoration:none}
.ndti-crs-crumb a:hover{text-decoration:underline}
.ndti-crs-state{margin:0 0 18px;padding:11px 15px;border-radius:12px;background:#fff6e0;border:1px solid #ecd28a;color:#5c4200;font-size:14px;line-height:1.5}
.ndti-crs-state--ok{background:#eef6f0;border-color:#bfe0c6;color:#1f4d28}
.ndti-crs-state a{font-weight:700;color:inherit}
.ndti-crs-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.ndti-crs-main{min-width:0;background:#fff;border:1px solid #e3e9ee;border-radius:18px;padding:28px 30px 30px;box-shadow:0 1px 2px rgba(11,22,32,.04)}
.ndti-crs-head{display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;align-items:start;margin:0 0 18px}
.ndti-crs-head__logo{width:64px;height:64px;border-radius:14px;object-fit:contain;background:#fff;border:1px solid #e3e9ee}
.ndti-crs-head__by{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 6px;font-size:14.5px;font-weight:700;color:#5f7183}
.ndti-crs-head__by a{color:#1f6f2d;text-decoration:none}
.ndti-crs-head__by a:hover{text-decoration:underline}
.ndti-crs-head h1{margin:0 0 10px;font-size:clamp(24px,2.6vw,32px);line-height:1.18;letter-spacing:-.015em;font-weight:800;color:#0b1620;text-wrap:balance}
.ndti-crs-head__tags{display:flex;flex-wrap:wrap;gap:5px;margin:0}
.ndti-crs-head__tags .ndti-course__tag:hover{background:#dbe8f3}
.ndti-crs-summary{margin:0 0 18px;padding:0 0 18px;border-bottom:1px solid #e3e9ee;font-size:17px;line-height:1.55;color:#0b1620;max-width:70ch}
.ndti-crs-body{font-size:15.5px;line-height:1.65;max-width:72ch;overflow-wrap:anywhere}
.ndti-crs-body h2,.ndti-crs-body h3{margin:22px 0 8px;font-size:18px;line-height:1.3;color:#0b1620}
.ndti-crs-body p{margin:0 0 12px}
.ndti-crs-body ul,.ndti-crs-body ol{margin:0 0 14px;padding-left:22px}
.ndti-crs-body li{margin:0 0 5px}
.ndti-crs-enq{margin-top:28px;padding-top:24px;border-top:1px solid #e3e9ee;scroll-margin-top:96px}
.ndti-crs-enq h2{margin:0 0 6px;font-size:20px;line-height:1.3;color:#0b1620}
.ndti-crs-side{display:grid;gap:16px;min-width:0;position:sticky;top:96px}
.ndti-crs-card{background:#fff;border:1px solid #e3e9ee;border-radius:18px;padding:20px;box-shadow:0 1px 2px rgba(11,22,32,.04)}
.ndti-crs-card h2{margin:0 0 8px;font-size:16px;line-height:1.3;font-weight:800;color:#0b1620}
.ndti-crs-card p{margin:0 0 8px;font-size:14px;line-height:1.5;color:#5f7183}
.ndti-crs-card p:last-child{margin-bottom:0}
.ndti-crs-card a{color:#1f6f2d;font-weight:700}
.ndti-crs-facts{margin:0 0 16px;display:grid;gap:0}
.ndti-crs-facts div{display:grid;grid-template-columns:118px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid #eef2f5}
.ndti-crs-facts div:first-child{padding-top:0}
.ndti-crs-facts dt{margin:0;font-size:12.5px;font-weight:700;color:#5f7183}
.ndti-crs-facts dd{margin:0;font-size:14.5px;font-weight:700;color:#0b1620;overflow-wrap:anywhere}
.ndti-crs-card .ndti-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;box-sizing:border-box;text-align:center;color:#fff}
.ndti-crs-card .ndti-btn--ghost{color:#0b1620;margin-top:8px}
.ndti-crs-card__small{margin-top:12px!important;font-size:12.5px!important}
.ndti-crs-prov{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center;padding:14px 16px;background:#fff;border:1px solid #e3e9ee;border-radius:14px;text-decoration:none;color:#0b1620}
.ndti-crs-prov:hover{border-color:#b9dcbf}
.ndti-crs-prov img{width:40px;height:40px;border-radius:9px;object-fit:contain;border:1px solid #e3e9ee;background:#fff}
.ndti-crs-prov strong{display:block;font-size:14.5px;line-height:1.3}
.ndti-crs-prov small{display:block;font-size:12.5px;color:#5f7183}
.ndti-crs-others ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ndti-crs-others li a{display:block;font-size:14.5px;line-height:1.35;text-decoration:none}
.ndti-crs-others li a:hover{text-decoration:underline}
.ndti-crs-others small{font-size:12.5px;color:#5f7183}
@media (max-width:980px){
  .ndti-crs-grid{grid-template-columns:minmax(0,1fr)}
  .ndti-crs-side{position:static}
}
@media (max-width:640px){
  .ndti-crs-top__in{padding:26px 16px 24px}
  .ndti-crs-page{padding:18px 16px 36px}
  .ndti-crs-main{padding:20px 18px 22px}
  .ndti-crs-head{grid-template-columns:52px minmax(0,1fr);gap:14px}
  .ndti-crs-head__logo{width:52px;height:52px}
}

/* ---------- My courses ---------- */
.ndti-crs-acts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.ndti-crs-nums{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.ndti-crs-nums div{background:#fff;border:1px solid #e3e9ee;border-radius:14px;padding:14px 16px}
.ndti-crs-nums b{display:block;font-size:24px;line-height:1.15;font-weight:800;color:#0b1620;font-variant-numeric:tabular-nums}
.ndti-crs-nums b i{font-style:normal;font-size:14px;font-weight:700;color:#7f868f}
.ndti-crs-nums span{display:block;margin-top:2px;font-size:13px;color:#5f7183}
.ndti-crs-table td{vertical-align:top}
.ndti-crs-table__sub{margin-top:3px;font-size:12.5px;color:#7f868f}
.ndti-crs-table__note{margin-top:6px;padding:8px 10px;border-radius:8px;background:#fff6e0;border:1px solid #ecd28a;font-size:13px;color:#5c4200}
.ndti-crs-table__nums{font-size:13.5px;white-space:nowrap}
.ndti-crs-table__acts{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.ndti-crs-table__acts .ndti-btn{padding:7px 12px;font-size:13px}
.ndti-crs-inline{display:inline;margin:0}
.ndti-crs-st--publish{background:#e3f3e6;color:#1f6f2d;border:1px solid #bfe0c6}
.ndti-crs-st--pending,.ndti-crs-st--changes{background:#fff6e0;color:#7a5400;border:1px solid #ecd28a}
.ndti-crs-st--parked,.ndti-crs-st--expired{background:#eef2f5;color:#5f7183;border:1px solid #d9e1e7}
.ndti-crs-fine{margin:12px 0 0;font-size:13px;color:#5f7183}
@media (max-width:760px){
  .ndti-crs-nums{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ndti-crs-table thead{display:none}
  .ndti-crs-table tr{display:block;padding:12px 0;border-bottom:1px solid #e3e9ee}
  .ndti-crs-table td{display:block;padding:4px 0;border:0}
  .ndti-crs-table__nums{white-space:normal}
  .ndti-crs-table__acts{justify-content:flex-start}
}

/* ---------- the block on the Training page ---------- */
.ndti-crs-strip{padding:56px 0;background:#f6f8fa;border-top:1px solid #e3e9ee}
.ndti-crs-strip__head{display:flex;flex-wrap:wrap;gap:18px 40px;align-items:flex-end;justify-content:space-between;margin:0 0 22px}
.ndti-crs-strip__lede{margin:8px 0 0;max-width:66ch;font-size:16px;line-height:1.55;color:#42566a}
.ndti-crs-strip__act{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.ndti-crs-strip__fine{margin:18px 0 0;font-size:14px;line-height:1.5;color:#5f7183}
.ndti-crs-strip__fine a{color:#1f6f2d;font-weight:700}
/* A written "Other" subject or level (2026-11-21) can be long: cut with … inside a catalogue row, whole on the course page.
   The box that takes it on the course form sits close under its choices. */
.ndti-course__tags .ndti-course__tag{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:top}
.ndti-crs-head__tags .ndti-course__tag{white-space:normal}
/* The catalogue's card on the member and company dashboards (partials/dash-courses.php, 2026-11-21). */
.ndti-wrap.ndti-dcrs-wrap{margin-top:16px;margin-bottom:0}
.ndti-wrap.ndti-dcrs-wrap--below{margin-top:26px}   /* under the box that holds the vacancy or CV table */
.ndti-dcrs{display:grid;grid-template-columns:minmax(0,1fr);gap:22px 36px;padding:24px 26px;border:1px solid #cfe6d3;border-radius:16px;background:linear-gradient(135deg,#fff 0%,#fff 46%,#eef8ef 100%)}
.ndti-dcrs--list{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.ndti-dcrs p{margin:0}
.ndti-dcrs__main{display:flex;flex-direction:column;gap:10px;min-width:0}
.ndti-dcrs__k{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#1f6f2d}
.ndti-dcrs h2{margin:0;font-size:24px;line-height:1.2;font-weight:800;letter-spacing:-.015em;color:#0b1620}
.ndti-dcrs__lede{max-width:64ch;font-size:15.5px;line-height:1.55;color:#42566a}
.ndti-dcrs__yours{max-width:64ch;font-size:15px;line-height:1.55;font-weight:600;color:#0b1620}
.ndti-dcrs__act{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:6px!important}
.ndti-dcrs__act .ndti-btn{padding:10px 16px}
.ndti-dcrs__link{font-size:14.5px;font-weight:700;color:#1f6f2d;text-decoration:none}
.ndti-dcrs__link:hover{color:#14501f;text-decoration:underline}
.ndti-dcrs__side{display:flex;flex-direction:column;gap:10px;min-width:0;padding-left:36px;border-left:1px solid #dbe9de}
.ndti-dcrs__side-k{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#57697a}
.ndti-dcrs__side ul{display:grid;gap:0;list-style:none;margin:0;padding:0}
.ndti-dcrs__side li{margin:0;padding:9px 0;border-top:1px solid #e6efe8;list-style:none}
.ndti-dcrs__side li:first-child{padding-top:0;border-top:0}
.ndti-dcrs__side li a{display:block;font-size:15.5px;font-weight:700;line-height:1.35;color:#0b1620;text-decoration:none;overflow-wrap:anywhere}
.ndti-dcrs__side li a:hover{color:#1f6f2d;text-decoration:underline}
.ndti-dcrs__side small{display:block;margin-top:2px;font-size:13px;line-height:1.4;color:#5f7183;overflow-wrap:anywhere}
@media (max-width:860px){
  .ndti-dcrs,.ndti-dcrs--list{grid-template-columns:minmax(0,1fr);padding:20px 18px}
  .ndti-dcrs h2{font-size:21px}
  .ndti-dcrs__side{padding:18px 0 0;border-left:0;border-top:1px solid #dbe9de}
  .ndti-dcrs__act .ndti-btn{flex:1 1 100%;justify-content:center;text-align:center}
}
