.nxm-directory{
  --nxm-primary:#0B4D8C;
  --nxm-primary-dark:#083a6b;
  --nxm-text:#1A1F36;
  --nxm-muted:#5E6478;
  --nxm-border:#E4E8F0;
  --nxm-bg-soft:#F4F7FB;
  --nxm-radius:14px;
  --nxm-logo-h:7.5rem;
  --nxm-name-h:calc(1rem * 1.28 * 2);
  --nxm-meta-h:calc(0.75rem * 1.35);
  --nxm-action-h:2.55rem;
  color:var(--nxm-text);
}

.nxm-directory .icciuk-page-intro{margin-bottom:1.75rem}
.nxm-directory .icciuk-page-intro h1{letter-spacing:-0.02em;margin:0 0 .65rem}
.nxm-directory .icciuk-page-eyebrow{
  margin:0 0 .55rem;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--nxm-primary);
}
.nxm-directory .icciuk-lead{
  max-width:42rem;
  margin:0 auto;
  color:var(--nxm-muted);
  line-height:1.55;
}

.nxm-directory .nxm__error{color:#b91c1c;margin:0 0 1rem}
.nxm-directory .nxm__empty{
  grid-column:1 / -1;
  margin:1.5rem 0;
  text-align:center;
  color:var(--nxm-muted);
}

.nxm-directory .icciuk-filters{
  margin:0 0 .35rem;
  padding:1rem 1.1rem;
  border:1px solid var(--nxm-border);
  border-radius:var(--nxm-radius);
  background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--nxm-bg-soft) 70%,#fff) 100%);
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset;
}
.nxm-directory .icciuk-row[data-role="filters"]{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.85rem;
  width:100%;
}
.nxm-directory .icciuk-filters input,
.nxm-directory .icciuk-filters select{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  padding:.72rem 2.35rem .72rem .95rem;
  border:1px solid var(--nxm-border);
  background:#fff;
  border-radius:10px;
  font:inherit;
  font-size:.9rem;
  line-height:1.4;
  color:var(--nxm-text);
}
.nxm-directory .icciuk-filters input{padding-right:.95rem}
.nxm-directory .icciuk-filters select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24'%3E%3Cpath d='M8 10l4 4 4-4' fill='none' stroke='%230B4D8C' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right .9rem center;
  background-size:11px 11px;
}
.nxm-directory .icciuk-filters input:focus,
.nxm-directory .icciuk-filters select:focus{
  outline:none;
  border-color:color-mix(in srgb,var(--nxm-primary) 45%,var(--nxm-border));
  box-shadow:0 0 0 3px color-mix(in srgb,var(--nxm-primary) 14%,transparent);
}
.nxm-directory .nxm__filter-actions{
  grid-column:1 / -1;
  display:flex;
  justify-content:flex-end;
  gap:.65rem;
}
.nxm-directory .nxm__filter-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:2.55rem;
  padding:.55rem 1.15rem;
  border:1px solid var(--nxm-primary);
  border-radius:10px;
  background:var(--nxm-primary);
  color:#fff;
  font:inherit;
  font-size:.9rem;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
}
.nxm-directory .nxm__filter-btn--ghost{
  background:#fff;
  color:var(--nxm-primary);
}
.nxm-directory .nxm__count{
  margin:1rem 0 .25rem;
  font-size:.875rem;
  color:var(--nxm-muted);
}

.nxm-directory .nxm__list{
  list-style:none;
  margin:0;
  padding:1.5rem 0 .35rem;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:1.15rem;
  align-items:stretch;
}
.nxm-directory .nxm__item{
  position:relative;
  background:#fff;
  border:1px solid var(--nxm-border);
  border-radius:var(--nxm-radius);
  padding:1.15rem 1.05rem 1.1rem;
  min-height:100%;
  display:grid;
  grid-template-rows:auto auto 1fr;
  gap:.95rem;
  box-shadow:0 6px 22px rgba(26,31,54,.045);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
/* Author display:grid overrides the UA [hidden] rule — keep filtered/paginated cards invisible. */
.nxm-directory .nxm__item[hidden]{
  display:none !important;
}
.nxm-directory .nxm__item:hover{
  transform:translateY(-4px);
  border-color:color-mix(in srgb,var(--nxm-primary) 22%,var(--nxm-border));
  box-shadow:0 14px 34px rgba(11,77,140,.1);
}
.nxm-directory .nxm__logo{
  width:100%;
  height:var(--nxm-logo-h);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1rem 1.1rem;
  border:0;
  border-radius:0;
  background:transparent;
  box-sizing:border-box;
  overflow:hidden;
}
.nxm-directory .nxm__logo.is-branded{
  border-color:transparent;
  background-image:none;
}
.nxm-directory .nxm__logo img{
  display:block;
  max-width:100%;
  max-height:calc(var(--nxm-logo-h) - 2.1rem);
  object-fit:contain;
  border-radius:0;
}
.nxm-directory .nxm__body{display:grid;grid-template-rows:auto auto 1fr;gap:.35rem;min-width:0}
.nxm-directory .nxm__name{
  margin:0;
  min-height:var(--nxm-name-h);
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  font-size:1rem;
  font-weight:700;
  line-height:1.28;
  letter-spacing:-.015em;
  text-align:center;
  text-wrap:balance;
}
.nxm-directory .nxm__meta{
  margin:0;
  min-height:var(--nxm-meta-h);
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--nxm-primary);
  text-align:center;
  line-height:1.35;
}
.nxm-directory .nxm__field{
  margin:.35rem 0 0;
  font-size:.84rem;
  color:var(--nxm-muted);
  text-align:center;
}
.nxm-directory .nxm__label{font-weight:600;color:var(--nxm-text);margin-right:.35rem}
.nxm-directory .nxm__label::after{content:":"}
.nxm-directory .nxm__value{color:var(--nxm-muted)}
.nxm-directory .icciuk-ellipsis{
  display:inline-flex;
  align-items:center;
  min-width:1.5rem;
  justify-content:center;
  color:var(--nxm-muted);
  user-select:none;
}
.nxm-directory .icciuk-pagebtn:disabled{
  opacity:.45;
  cursor:default;
}
.nxm-directory .nxm__actions{
  margin-top:auto;
  display:flex;
  align-items:stretch;
  width:100%;
  min-height:var(--nxm-action-h);
}
.nxm-directory .nxm__website-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  width:100%;
  min-height:var(--nxm-action-h);
  padding:.6rem 1rem;
  border:1px solid var(--nxm-primary);
  border-radius:10px;
  background:var(--nxm-primary);
  color:#fff !important;
  font-size:.84rem;
  font-weight:700;
  letter-spacing:.01em;
  line-height:1.2;
  text-decoration:none !important;
  box-sizing:border-box;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.nxm-directory .nxm__website-btn::after{
  content:"";
  width:.72rem;height:.72rem;flex:0 0 auto;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.5 2.5H3.75A1.25 1.25 0 0 0 2.5 3.75v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25V9.5h-1.5v2.75a.25.25 0 0 1-.25.25h-8.5a.25.25 0 0 1-.25-.25v-8.5a.25.25 0 0 1 .25-.25H6.5v-1.5zm2.25 0V4H12l-5.25 5.25 1 1L13 5v3.25h1.5V2.5H8.75z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.5 2.5H3.75A1.25 1.25 0 0 0 2.5 3.75v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25V9.5h-1.5v2.75a.25.25 0 0 1-.25.25h-8.5a.25.25 0 0 1-.25-.25v-8.5a.25.25 0 0 1 .25-.25H6.5v-1.5zm2.25 0V4H12l-5.25 5.25 1 1L13 5v3.25h1.5V2.5H8.75z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nxm-directory .nxm__website-btn:hover,
.nxm-directory .nxm__website-btn:focus-visible{
  background:var(--nxm-primary-dark);
  border-color:var(--nxm-primary-dark);
  color:#fff !important;
  box-shadow:0 8px 18px rgba(11,77,140,.22);
}

.nxm-directory .icciuk-pagination{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:.45rem;
  margin-top:.35rem;
  padding:1.5rem 0 .35rem;
  border-top:1px solid color-mix(in srgb,var(--nxm-border) 70%,transparent);
}
.nxm-directory .icciuk-pagebtn{
  min-width:2.55rem;
  padding:.5rem .9rem;
  border:1px solid var(--nxm-border);
  background:#fff;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font:inherit;
  font-size:.9rem;
  font-weight:600;
  color:var(--nxm-text);
  text-decoration:none;
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}
.nxm-directory .icciuk-pagebtn:hover{
  border-color:var(--nxm-primary);
  color:var(--nxm-primary);
}
.nxm-directory .icciuk-pagebtn.is-active,
.nxm-directory .icciuk-pagebtn[aria-current="page"]{
  background:var(--nxm-primary);
  color:#fff;
  border-color:var(--nxm-primary);
}

.nxm-directory .nxm__sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

@media (max-width:1024px){
  .nxm-directory .icciuk-row[data-role="filters"]{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .nxm-directory .icciuk-filters{padding:.85rem}
  .nxm-directory .icciuk-row[data-role="filters"]{grid-template-columns:1fr;gap:.65rem}
  .nxm-directory .nxm__list{grid-template-columns:1fr}
}

/* Join / subscribe: light professional */
.nxm-join .icciuk-page-intro{text-align:center;max-width:58rem;margin:0 auto 1.25rem}
.nxm-join__shell{
  max-width:64rem;
  margin:0 auto;
  background:linear-gradient(180deg,#f8fbff 0%,#f1f5f9 100%);
  border:1px solid #d8e2ee;
  border-radius:18px;
  padding:1rem;
}
.nxm-join__form{display:grid;gap:1rem;max-width:58rem;margin:0 auto}
.nxm-join__step{
  background:#fff;
  border:1px solid var(--nxm-border);
  border-radius:14px;
  padding:1.05rem 1.05rem 1.15rem;
  box-shadow:0 4px 16px rgba(15,23,42,.05);
}
.nxm-join__step-title{margin:0 0 .75rem;font-size:1.08rem;font-weight:700;color:#0f172a}
.nxm-join__types{display:grid;gap:.7rem}
.nxm-join__pick-lead{margin:0 0 1rem;color:var(--nxm-muted);font-size:.95rem;line-height:1.5}
.nxm-join__type{
  display:grid;grid-template-columns:auto 1fr;gap:.85rem;align-items:start;
  border:1px solid #d7dfeb;border-radius:12px;padding:.9rem;cursor:pointer;background:#f8fbff;
}
.nxm-join__type:has(input:checked){border-color:#0f766e;box-shadow:0 0 0 1px #0f766e}
.nxm-join__type-link{text-decoration:none;color:inherit;display:block}
.nxm-join__type-link:hover{border-color:#0f766e;box-shadow:0 0 0 1px #0f766e;background:#f0fdfa}
.nxm-join__type--selected{border-color:#0f766e;background:#f0fdfa}
.nxm-join__type-body{display:grid;gap:.32rem}
.nxm-join__type-title{font-weight:700}
.nxm-join__type-desc{color:var(--nxm-muted);font-size:.93rem}
.nxm-join__type-price{font-weight:700;color:#0f766e}
.nxm-join__type-oneoff{display:block;margin-top:.25rem;font-size:.9rem;color:#334155}
.nxm-join__type-total{display:block;margin-top:.15rem;font-size:.95rem;font-weight:700;color:#0f172a}
.nxm-join__fields{display:grid;gap:.9rem}
@media (min-width:720px){
  .nxm-join__fields{grid-template-columns:1fr 1fr}
  .nxm-join__field:has(textarea),
  .nxm-join__field--checkbox{grid-column:1 / -1}
}
.nxm-join__field > label{display:block;font-size:.9rem;font-weight:600;margin-bottom:.35rem}
.nxm-join__field--checkbox{display:flex;align-items:center;min-height:2.5rem}
.nxm-join__field .nxm-join__checkbox{
  display:inline-flex !important;
  align-items:center;
  gap:.65rem;
  margin:0;
  font-size:.9rem;
  font-weight:600;
  color:#0f172a;
  cursor:pointer;
}
.nxm-join__field .nxm-join__checkbox input[type="checkbox"]{
  width:1.1rem !important;
  height:1.1rem !important;
  min-height:0 !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:3px !important;
  flex:0 0 auto;
  accent-color:#0f766e;
}
.nxm-join__field .nxm-join__checkbox span{line-height:1.25;font-weight:600}
.nxm-join__field input:not([type="checkbox"]):not([type="radio"]),
.nxm-join__field select,
.nxm-join__field textarea{
  width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;
  padding:.68rem .8rem;font:inherit;background:#fff;color:#0f172a;
}
.nxm-join__field input:not([type="checkbox"]):not([type="radio"]):focus,
.nxm-join__field select:focus,
.nxm-join__field textarea:focus{
  outline:none;border-color:#0f766e;box-shadow:0 0 0 3px rgba(15,118,110,.12);
}
.nxm-join__help{display:block;margin-top:.35rem;color:#475569;font-size:.78rem}
.nxm-join__modes{display:grid;gap:.75rem;margin-bottom:1rem}
.nxm-join__pay-later-note{
  margin:0 0 1rem;padding:.75rem .9rem;border-radius:10px;border:1px solid #fde68a;
  background:#fefce8;color:#1e293b;font-size:.92rem;line-height:1.45;
}
.nxm-seg{display:flex;flex-wrap:wrap;width:100%;padding:.2rem;gap:.15rem;border-radius:.75rem;background:#e2e8f0;border:1px solid #cbd5e1}
.nxm-seg__opt{display:block;flex:1 1 0;min-width:6.5rem;margin:0;cursor:pointer}
.nxm-seg__opt input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.nxm-seg__opt span{display:flex;align-items:center;justify-content:center;min-height:2.5rem;padding:.45rem .75rem;border-radius:.55rem;text-align:center;font-size:.92rem;font-weight:500;color:#475569;line-height:1.3;transition:background .15s ease,color .15s ease,box-shadow .15s ease}
.nxm-seg__opt input:checked + span{background:#fff;color:#0B4D8C;font-weight:700;box-shadow:0 1px 2px rgba(15,23,42,.08)}
.nxm-seg__opt input:focus-visible + span{outline:2px solid #0B4D8C;outline-offset:1px}
.nxm-switch{display:flex;align-items:center;justify-content:space-between;gap:.75rem 1rem;width:100%;margin:0;cursor:pointer;user-select:none}
.nxm-switch__label{flex:1 1 auto;min-width:0;color:#1e293b;font-size:.95rem;font-weight:500;line-height:1.35}
.nxm-switch > input[type="checkbox"]{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.nxm-switch__track{position:relative;flex:0 0 auto;width:2.75rem;height:1.55rem;border-radius:999px;background:#cbd5e1;border:1px solid #94a3b8;transition:background .15s ease,border-color .15s ease}
.nxm-switch__thumb{position:absolute;top:2px;left:2px;width:1.15rem;height:1.15rem;border-radius:999px;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.2);transition:transform .15s ease}
.nxm-switch > input[type="checkbox"]:checked + .nxm-switch__track{background:#0B4D8C;border-color:#0B4D8C}
.nxm-switch > input[type="checkbox"]:checked + .nxm-switch__track .nxm-switch__thumb{transform:translateX(1.15rem)}
.nxm-switch > input[type="checkbox"]:focus-visible + .nxm-switch__track{outline:2px solid #0B4D8C;outline-offset:2px}
.nxm-join__mode{
  display:flex;align-items:center;gap:.55rem;border:1px solid var(--nxm-border);
  border-radius:10px;padding:.75rem 1rem;background:#fff;
}
.nxm-join__methods{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:.5rem 0 0;padding:0}
.nxm-join__methods li{
  border:1px solid var(--nxm-border);border-radius:999px;padding:.35rem .75rem;font-size:.85rem;background:#f8fafc;
}
.nxm-join__methods-label{margin:0;color:var(--nxm-muted);font-size:.9rem}
.nxm-join__renew{margin:1rem 0 1.25rem}
.nxm-join__renew .nxm-join__help{margin:.25rem 0 .75rem}
.nxm-join__promo-row{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  align-items:stretch;
}
.nxm-join__promo-row input{
  flex:1 1 12rem;
  min-width:0;
}
.nxm-join__promo-apply{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:2.75rem;
  padding:.65rem 1.1rem;
  border:0;
  border-radius:10px;
  background:#0B4D8C;
  color:#fff;
  font-weight:700;
  font-size:.95rem;
  cursor:pointer;
  white-space:nowrap;
}
.nxm-join__promo-apply:hover{background:#0a3f73}
.nxm-join__promo-apply:disabled{opacity:.65;cursor:wait}
.nxm-join__promo-msg{margin:.45rem 0 0;font-size:.88rem;color:#0f766e}
.nxm-join__promo-msg.is-error{color:#b91c1c}
.nxm-join__promo-msg.is-ok{color:#0f766e}
.nxm-join__totals{
  margin:1.1rem 0 0;
  padding:1rem 1.05rem;
  border:1px solid #c5ced9;
  border-radius:12px;
  background:#f7f9fb;
}
.nxm-join__totals-list{margin:.55rem 0 0;padding:0;display:grid;gap:.45rem}
.nxm-join__totals-list > div{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  font-size:.95rem;
  color:#1e293b;
}
.nxm-join__totals-list dt{margin:0;font-weight:500;color:#475569}
.nxm-join__totals-list dd{margin:0;font-weight:600;text-align:right}
.nxm-join__totals-total{
  margin-top:.35rem;
  padding-top:.55rem;
  border-top:1px solid #cbd5e1;
  font-size:1.05rem;
}
.nxm-join__totals-total dt,
.nxm-join__totals-total dd{color:#0B4D8C;font-weight:750}
.nxm-join__actions{display:flex;gap:.75rem;flex-wrap:wrap}
.nxm-join__success{
  border:1px solid #86efac;background:#f0fdf4;border-radius:12px;padding:1rem 1.1rem;max-width:48rem;
  margin:0 auto;
}
.nxm-thanks{
  max-width:36rem;
  margin:1.5rem auto 2rem;
  padding:0 0.5rem;
}
.nxm-thanks__card{
  background:#fff;
  border:1px solid #c5ced9;
  border-radius:14px;
  padding:1.5rem 1.35rem;
  box-shadow:0 10px 28px rgba(11,77,140,.08);
  text-align:center;
}
.nxm-thanks__eyebrow{
  margin:0 0 .4rem;
  font-size:.72rem;
  font-weight:750;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#0B4D8C;
}
.nxm-thanks h1{
  margin:0 0 .55rem;
  font-size:clamp(1.45rem,3vw,1.85rem);
  color:#0B4D8C;
  letter-spacing:-.02em;
}
.nxm-thanks__lead{
  margin:0;
  line-height:1.55;
  color:#1e293b;
}
.nxm-thanks__ref{
  margin:1rem 0 0;
  padding:.75rem 1rem;
  border-radius:10px;
  background:#f1f5f9;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.06em;
  color:#0f172a;
}
.nxm-thanks__hint{
  margin:1rem 0 0;
  font-size:.9rem;
  color:#64748b;
  line-height:1.45;
}
.nxm-join__pay-lead{margin:.75rem 0;color:#0f172a;font-weight:600}
.nxm-join__stripe{
  margin:.75rem auto 0;min-height:320px;border:1px solid #c5ced9;border-radius:12px;overflow:hidden;background:#fff;
  width:100%;max-width:520px;
}
.nxm-join__ref{color:var(--nxm-muted);font-size:.9rem}
@media (max-width:640px){
  .nxm-join__shell{padding:.7rem;border-radius:14px}
}
