/* assets/nbsx/pages/admission-process.css — templates/admission-process.php only.

   Loaded by inc/nbsx-enqueue.php after core.css → pages.css → sections/*.css,
   so it never has to fight anything: every rule below is namespaced
   .nbsx-adm__* and nothing shared (.nbsx-sec, .nbsx-h2, .nbsx-rail,
   .nbsx-pagehero, .nbsx-anchors, .nbsx-pform, .nbsx-btn, .nbsx-link,
   .nbsx-portrait) is redefined. Tokens come from the .nbsx-sec each block sits
   in. Motion is transform / opacity only; no !important anywhere. */

/* ══ 2 — intakes ═════════════════════════════════════════════════════════ */
.nbsx-adm__scroll{margin-top:40px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.nbsx-adm__table{width:100%;border-collapse:collapse;text-align:left}
.nbsx-adm__table th,
.nbsx-adm__table td{padding:18px var(--gutter) 18px 0;border-top:1px solid var(--hair);vertical-align:baseline}
.nbsx-adm__table thead th{
  border-top:0;padding-top:0;
  font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);
}
.nbsx-adm__table tbody th{font-size:var(--t-title);font-weight:500;line-height:1.25;white-space:nowrap}
.nbsx-adm__table tbody td{font-size:var(--t-small);color:var(--muted)}
.nbsx-adm__table tbody tr:last-child th,
.nbsx-adm__table tbody tr:last-child td{border-bottom:1px solid var(--hair)}

.nbsx-adm__sub{margin:clamp(48px,6vw,80px) 0 0}
.nbsx-adm__plist{list-style:none;margin:32px 0 0;padding:0}
.nbsx-adm__pitem{margin:0}
.nbsx-adm__prow{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) 24px;
  gap:var(--gutter);align-items:baseline;padding:24px 0;border-top:1px solid var(--hair);
  color:inherit;text-decoration:none;transition:background-color .15s var(--ease);
}
.nbsx-adm__pitem:last-child .nbsx-adm__prow{border-bottom:1px solid var(--hair)}
a.nbsx-adm__prow:hover{background-color:var(--warm);color:inherit;text-decoration:none}
.nbsx-adm__phead{display:flex;flex-direction:column;gap:6px;min-width:0}
.nbsx-adm__plevel{font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.nbsx-adm__pname{
  font-size:var(--t-row);font-weight:500;line-height:1.1;
  background:linear-gradient(currentColor,currentColor) no-repeat 0 100%/0 1px;
  transition:background-size .25s var(--ease);
}
a.nbsx-adm__prow:hover .nbsx-adm__pname,
a.nbsx-adm__prow:focus-visible .nbsx-adm__pname{background-size:100% 1px}
.nbsx-adm__pcell{display:flex;flex-direction:column;gap:4px;min-width:0}
.nbsx-adm__plabel{font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.nbsx-adm__pvalue{font-size:var(--t-small);line-height:1.4}
.nbsx-adm__parrow{display:inline-flex;align-items:center;justify-self:end;color:var(--muted)}
.nbsx-adm__parrow svg{width:16px;height:16px;transition:transform .2s var(--ease)}
a.nbsx-adm__prow:hover .nbsx-adm__parrow svg{transform:translateX(6px)}

/* ══ 3 — the four stages + the recap ═════════════════════════════════════ */
.nbsx-adm__rail-wrap{margin-top:clamp(40px,5vw,64px)}
.nbsx-adm__docs{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.nbsx-adm__docs-h{margin:0 0 12px}
.nbsx-adm__doc{margin:0;padding-left:20px;position:relative}
.nbsx-adm__doc::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:1px;background:currentColor;opacity:.5}
.nbsx-adm__doc-name{display:block;font-weight:500}
.nbsx-adm__doc-help{display:block;margin-top:4px;font-size:var(--t-small);line-height:1.5;color:var(--muted)}
.nbsx-adm__stage-desc{margin:0 0 20px;line-height:1.6;text-wrap:pretty}
.nbsx-adm__stage-cta{margin:20px 0 0}

.nbsx-adm__recap{margin-top:clamp(56px,7vw,96px);padding-top:clamp(40px,5vw,56px);border-top:1px solid var(--hair)}
.nbsx-adm__recap-h{margin:0;max-width:22ch}
.nbsx-adm__recap-list{
  list-style:none;margin:32px 0 0;padding:0;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gutter);
}
.nbsx-adm__recap-item{
  margin:0;padding-top:16px;border-top:1px solid var(--hair);
  font-size:var(--t-title);font-weight:500;line-height:1.25;text-wrap:balance;
}
.nbsx-adm__recap-more{margin:32px 0 0}

/* ══ 4 — fees per programme ══════════════════════════════════════════════ */
.nbsx-adm__fgrid{
  list-style:none;margin:clamp(40px,5vw,64px) 0 0;padding:0;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gutter);
}
.nbsx-adm__fcard{margin:0;padding-top:20px;border-top:1px solid var(--hair);min-width:0}
.nbsx-adm__flevel{margin:0 0 8px}
.nbsx-adm__fname{margin:0 0 16px}
.nbsx-adm__flink{color:inherit;text-decoration:none;background:linear-gradient(currentColor,currentColor) no-repeat 0 100%/0 1px;transition:background-size .25s var(--ease)}
.nbsx-adm__flink:hover,.nbsx-adm__flink:focus-visible{color:inherit;background-size:100% 1px}
.nbsx-adm__ftitle{margin:0 0 8px}
.nbsx-adm__flist,.nbsx-adm__facts{margin:0}
.nbsx-adm__facts{margin-top:16px;padding-top:12px;border-top:1px solid var(--hair)}
.nbsx-adm__frow,.nbsx-adm__fact{display:flex;justify-content:space-between;gap:12px;padding:6px 0}
.nbsx-adm__fopt,.nbsx-adm__fact-k{margin:0;color:var(--muted);font-size:var(--t-small);min-width:0}
.nbsx-adm__fsum{margin:0;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.nbsx-adm__fact-v{margin:0;font-size:var(--t-small);text-align:right;min-width:0}

/* ══ 5 — living in Barcelona ═════════════════════════════════════════════ */
.nbsx-adm__logos{
  list-style:none;margin:clamp(40px,5vw,64px) 0 0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:var(--gutter);
}
.nbsx-adm__logo{margin:0;min-width:0}
.nbsx-adm__logo-link{
  display:flex;flex-direction:column;align-items:center;gap:12px;
  padding:20px 12px;border:1px solid var(--hair);background:var(--paper);
  color:inherit;text-decoration:none;height:100%;
  transition:transform .25s var(--ease),border-color .25s var(--ease);
}
a.nbsx-adm__logo-link:hover,a.nbsx-adm__logo-link:focus-visible{color:inherit;text-decoration:none;transform:translateY(-2px);border-color:var(--indigo)}
.nbsx-adm__logo-img{width:100%;max-width:132px;height:56px;object-fit:contain;object-position:center}
.nbsx-adm__logo-name{text-align:center;line-height:1.3}

/* ══ 6 — talk to us ══════════════════════════════════════════════════════ */
.nbsx-adm__talk-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,80px);align-items:start}
.nbsx-adm__ways{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:16px}
.nbsx-adm__way{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}
.nbsx-adm__way-label{font-size:var(--t-eyebrow);font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);min-width:88px}
.nbsx-adm__way-meta{color:var(--muted)}
.nbsx-adm__amb-h{margin:0}
.nbsx-adm__amb{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:20px}
.nbsx-adm__amb-card{margin:0;display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:start}
.nbsx-adm__amb-portrait{width:64px;height:64px;display:block}
.nbsx-adm__amb-portrait img{width:100%;height:100%;object-fit:cover}
.nbsx-adm__amb-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.nbsx-adm__amb-name{font-weight:500;line-height:1.3}
.nbsx-adm__amb-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}

/* ══ 7 — the enquiry form band ═══════════════════════════════════════════ */
.nbsx-adm__form .nbsx-pform__inner{max-width:720px}

/* ══ tablet ══════════════════════════════════════════════════════════════ */
@media (max-width:1024px){
  .nbsx-adm__prow{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px}
  .nbsx-adm__phead{grid-column:1/-1}
  .nbsx-adm__recap-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nbsx-adm__fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nbsx-adm__talk-grid{grid-template-columns:minmax(0,1fr);gap:48px}
}

/* ══ mobile ══════════════════════════════════════════════════════════════ */
@media (max-width:700px){
  .nbsx-adm__table th,.nbsx-adm__table td{padding-right:16px}
  .nbsx-adm__table tbody th{font-size:17px}
  .nbsx-adm__prow{grid-template-columns:minmax(0,1fr);gap:12px;padding:20px 0}
  .nbsx-adm__parrow{justify-self:start}
  .nbsx-adm__recap-list{grid-template-columns:minmax(0,1fr);gap:0}
  .nbsx-adm__recap-item{padding:16px 0}
  .nbsx-adm__fgrid{grid-template-columns:minmax(0,1fr)}
  .nbsx-adm__logos{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nbsx-adm__logo-img{height:44px}
  .nbsx-adm__way-label{min-width:0}
}

/* ══ reduced motion ══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion:reduce){
  .nbsx-adm__prow,.nbsx-adm__pname,.nbsx-adm__parrow svg,
  .nbsx-adm__flink,.nbsx-adm__logo-link{transition:none}
  a.nbsx-adm__prow:hover .nbsx-adm__parrow svg{transform:none}
  a.nbsx-adm__logo-link:hover,a.nbsx-adm__logo-link:focus-visible{transform:none}
}
