/* EQUORS Global v5.1 — unified card system + participation/application page. */
:root{
  --eq51-ink:#111514;
  --eq51-muted:#646c67;
  --eq51-line:#d9ddda;
  --eq51-soft:#f4f5f2;
  --eq51-red:#d92d20;
  --eq51-green:#237a46;
}

/* --------------------------------------------------------------------------
   UNIFIED CARD SYSTEM
   Use the About > STRUCTURE / One identity. Local execution. cards as the
   visual reference: separate white panels, one-pixel border, generous space,
   flat geometry, clear top label and strong heading.
   -------------------------------------------------------------------------- */
.eq5-snapshot,
.eq5-problems,
.eq5-readiness,
.eq5-allocation,
.eq5-lifecycle,
.eq5-deliverables,
.eq5-partners,
.eq5-impact-grid,
.eq5-source-grid,
.eq5-country-facts{
  gap:24px!important;
  border:0!important;
  background:transparent!important;
}
.eq5-snapshot > div,
.eq5-problem,
.eq5-readiness article,
.eq5-allocation article,
.eq5-lifecycle article,
.eq5-deliverables article,
.eq5-partners article,
.eq5-impact-grid article,
.eq5-source-grid article,
.eq5-country-facts article{
  border:1px solid var(--eq51-line)!important;
  background:#fff!important;
  padding:30px!important;
  min-height:210px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.eq5-snapshot > div{
  min-height:155px!important;
  justify-content:space-between!important;
}
.eq5-snapshot > div:last-child,
.eq5-snapshot > div:nth-child(2),
.eq5-snapshot > div:nth-child(-n+2){border:1px solid var(--eq51-line)!important}
.eq5-problem,.eq5-readiness article,.eq5-allocation article,.eq5-lifecycle article,
.eq5-deliverables article,.eq5-partners article,.eq5-impact-grid article,.eq5-source-grid article,
.eq5-country-facts article{border-right:1px solid var(--eq51-line)!important;border-bottom:1px solid var(--eq51-line)!important}
.eq5-readiness article:after{display:none!important}
.eq5-num,.eq5-level,.eq5-source-meta,.eq5-lifecycle article:before{
  margin-bottom:28px!important;
  color:var(--eq51-red)!important;
  font-size:11px!important;
  line-height:1.3!important;
  letter-spacing:.12em!important;
  font-weight:850!important;
}
.eq5-readiness article:nth-child(4) .eq5-level,
.eq5-readiness article:nth-child(5) .eq5-level,
.eq5-impact-grid article:nth-child(3n) .eq5-num{
  color:var(--eq51-green)!important;
}
.eq5-h3{font-size:25px!important;line-height:1.08!important}
.eq5-problem p,.eq5-card p,.eq5-deliverables article p,.eq5-partners article p,
.eq5-impact-grid article p,.eq5-source-grid article p,.eq5-country-facts article p{
  font-size:15px!important;line-height:1.65!important;color:var(--eq51-muted)!important;margin-top:14px!important
}
.eq5-source-grid article{min-height:240px!important}
.eq5-source-grid a,.eq61-link{margin-top:auto!important;padding-top:22px!important}

/* Older EQUORS grids: make panel groups read as independent cards too. */
.eq61-flow,.eq61-feature-row,.eq61-mini-grid{
  gap:18px!important;
  border:0!important;
  background:transparent!important;
}
.eq61-flow div,.eq61-feature-row div,.eq61-mini{
  border:1px solid var(--eq51-line)!important;
  background:#fff!important;
  padding:22px!important;
}
.eq61-flow div{min-height:130px}
.eq61-feature-row div{min-height:100px}

/* Keep existing STRUCTURE cards as the exact visual anchor. */
.eq61-path-grid{gap:24px!important}
.eq61-path-card{border:1px solid var(--eq51-line)!important;border-radius:0!important}
.eq61-path-body{padding:30px!important}
.eq61-path-num{margin-bottom:28px!important;font-size:11px!important}
.eq61-path-body p{font-size:15px!important;line-height:1.65!important}

/* --------------------------------------------------------------------------
   JOIN / APPLY PAGE
   -------------------------------------------------------------------------- */
.eq51-join-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
}
.eq51-join-card{
  border:1px solid var(--eq51-line);
  background:#fff;
  padding:30px;
  min-height:320px;
  display:flex;
  flex-direction:column;
}
.eq51-kicker{
  font-size:11px;
  line-height:1.3;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:850;
  color:var(--eq51-red);
  margin-bottom:30px;
}
.eq51-join-card:nth-child(4) .eq51-kicker{color:var(--eq51-green)}
.eq51-join-card h3{font-size:26px;line-height:1.06;letter-spacing:-.035em;margin:0;color:var(--eq51-ink);font-weight:800}
.eq51-join-card p{font-size:15px;line-height:1.65;color:var(--eq51-muted);margin:14px 0 0}
.eq51-join-card ul{padding:0;margin:20px 0 0;list-style:none}
.eq51-join-card li{font-size:13px;line-height:1.5;color:#5f6762;margin:9px 0;padding-left:15px;position:relative}
.eq51-join-card li:before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;background:#1c201e}
.eq51-join-card a{margin-top:auto;padding-top:24px;color:#111;font-size:13px;font-weight:800;text-decoration:none;border-bottom:1px solid #111;width:max-content;max-width:100%}

.eq51-process{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
}
.eq51-process article{border:1px solid var(--eq51-line);background:#fff;padding:28px;min-height:190px}
.eq51-process .eq51-step{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:850;color:var(--eq51-red);margin-bottom:26px}
.eq51-process h3{font-size:22px;line-height:1.1;margin:0;font-weight:800;color:var(--eq51-ink)}
.eq51-process p{font-size:14px;line-height:1.6;color:var(--eq51-muted);margin:12px 0 0}

.eq51-form-shell{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:36px;align-items:start}
.eq51-form-aside{border:1px solid var(--eq51-line);background:#fff;padding:32px;position:sticky;top:132px}
.eq51-form-aside h3{font-size:28px;line-height:1.04;letter-spacing:-.035em;margin:0;color:var(--eq51-ink);font-weight:800}
.eq51-form-aside p{font-size:14px;line-height:1.65;color:var(--eq51-muted);margin:16px 0 0}
.eq51-form-aside ul{list-style:none;padding:0;margin:24px 0 0;border-top:1px solid var(--eq51-line)}
.eq51-form-aside li{padding:14px 0;border-bottom:1px solid var(--eq51-line);font-size:13px;line-height:1.5;color:#545c57}
.eq51-form-aside a{color:#111;font-weight:800}
.eq51-form-panel{border:1px solid var(--eq51-line);background:#fff;padding:36px}
.eq51-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 20px}
.eq51-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.eq51-field.full{grid-column:1/-1}
.eq51-field label,.eq51-legend{font-size:12px;line-height:1.4;font-weight:800;color:#252a27}
.eq51-field input,.eq51-field select,.eq51-field textarea{
  width:100%;box-sizing:border-box;border:1px solid #bfc5c1;background:#fff;color:#111;
  min-height:52px;padding:12px 13px;font:inherit;font-size:15px;line-height:1.45;border-radius:0!important;outline:none
}
.eq51-field textarea{min-height:150px;resize:vertical}
.eq51-field input:focus,.eq51-field select:focus,.eq51-field textarea:focus{border-color:#111;box-shadow:0 0 0 1px #111}
.eq51-help{font-size:11px;line-height:1.5;color:#747b77}
.eq51-check{display:flex;gap:11px;align-items:flex-start;font-size:12px;line-height:1.55;color:#59605c}
.eq51-check input{width:18px;height:18px;flex:0 0 18px;margin-top:1px}
.eq51-form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;padding-top:26px;border-top:1px solid var(--eq51-line)}
.eq51-submit,.eq51-secondary{
  min-height:50px;padding:0 20px;border:1px solid #111;background:#111;color:#fff;border-radius:0!important;
  font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;cursor:pointer
}
.eq51-secondary{background:#fff;color:#111}
.eq51-submit:hover{background:#2b2f2d}.eq51-secondary:hover{background:#f3f4f1}
.eq51-form-status{margin-top:18px;padding:14px;border-left:3px solid var(--eq51-green);background:#f2f7f2;font-size:13px;line-height:1.55;color:#3e4b42;display:none}
.eq51-form-status.show{display:block}
.eq51-privacy-note{font-size:12px;line-height:1.65;color:#6a726d;margin:20px 0 0}
.eq51-privacy-note strong{color:#242927}

@media(max-width:1279px){
  .eq51-join-grid{grid-template-columns:repeat(2,1fr)}
  .eq51-process{grid-template-columns:repeat(2,1fr)}
  .eq51-form-shell{grid-template-columns:1fr}
  .eq51-form-aside{position:static}
}
@media(max-width:640px){
  .eq5-snapshot,.eq5-problems,.eq5-readiness,.eq5-allocation,.eq5-lifecycle,.eq5-deliverables,.eq5-partners,.eq5-impact-grid,.eq5-source-grid,.eq5-country-facts{gap:16px!important}
  .eq5-snapshot > div,.eq5-problem,.eq5-readiness article,.eq5-allocation article,.eq5-lifecycle article,.eq5-deliverables article,.eq5-partners article,.eq5-impact-grid article,.eq5-source-grid article,.eq5-country-facts article{padding:24px!important;min-height:0!important}
  .eq61-path-grid{gap:16px!important}.eq61-path-body{padding:24px!important}
  .eq61-flow,.eq61-feature-row,.eq61-mini-grid{gap:14px!important}
  .eq51-join-grid,.eq51-process{grid-template-columns:1fr;gap:16px}
  .eq51-join-card{min-height:0;padding:24px}
  .eq51-form-panel,.eq51-form-aside{padding:24px}
  .eq51-form-grid{grid-template-columns:1fr;gap:18px}
  .eq51-field.full{grid-column:auto}
  .eq51-form-actions{flex-direction:column}.eq51-submit,.eq51-secondary{width:100%}
}
