
/* Northpoint Engage v0.1.1 - golfer-facing UI polish */
body:has(.npengage-page-marker) .entry-title,
body:has(.npengage-page-marker) .wp-block-post-title,
body:has(.npengage-page-marker) .page-title{
  display:none!important;
}
body:has(.npengage-page-marker) .entry-content,
body:has(.npengage-page-marker) .wp-block-post-content{
  margin-top:0;
}

.npengage-shell{
  max-width:1120px;
  margin:0 auto;
  padding:24px 20px 40px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#172019;
}
.npengage-shell *{box-sizing:border-box}

.npengage-hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:26px 28px;
  border-radius:22px;
  background:linear-gradient(135deg,#0d2549,#0d5e37);
  color:#fff;
  box-shadow:0 16px 34px rgba(12,47,34,.12);
}
.npengage-hero span{
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  color:#d6ad45;
}
.npengage-hero h1{
  margin:5px 0 6px;
  color:#fff;
  font-size:30px;
  line-height:1.12;
  letter-spacing:-.02em;
}
.npengage-hero p{
  margin:0;
  max-width:720px;
  color:#d8e2e8;
  font-size:15px;
  line-height:1.55;
}
.npengage-points{
  min-width:155px;
  text-align:center;
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  background:rgba(255,255,255,.08);
}
.npengage-points strong{
  display:block;
  font-size:30px;
  line-height:1;
}
.npengage-points span{
  display:block;
  margin-top:6px;
  color:#fff;
  letter-spacing:0;
  font-size:11px;
  font-weight:800;
}

.npengage-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 18px;
}
.npengage-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 16px;
  border-radius:11px;
  background:#eef4ef;
  color:#135d37;
  text-decoration:none;
  font-weight:850;
  font-size:14px;
}
.npengage-action.primary{
  background:#0b7a3e;
  color:#fff;
}

.npengage-public-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.npengage-card{
  padding:18px;
  border:1px solid #dde6df;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 22px rgba(15,49,27,.045);
}
.npengage-card h2{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.015em;
}
.npengage-card h3{
  margin:16px 0 8px;
  font-size:14px;
}
.npengage-card p{
  font-size:14px;
  line-height:1.5;
}

.npengage-card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
}
.npengage-card-head h2{margin:0}
.npengage-card-head>span{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 8px;
  border-radius:999px;
  background:#f1f5f2;
  color:#67746b;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}

.npengage-muted{
  margin:0;
  padding:14px;
  border:1px dashed #d6e0d8;
  border-radius:11px;
  background:#f8faf8;
  color:#6e7c72;
  font-size:13px;
}

.npengage-person,
.npengage-invite,
.npengage-group{
  padding:10px 0;
  border-bottom:1px solid #edf1ee;
}
.npengage-person:last-child,
.npengage-invite:last-child,
.npengage-group:last-child{
  border-bottom:0;
}
.npengage-person{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.npengage-person strong,
.npengage-invite strong,
.npengage-group strong{
  font-size:14px;
}
.npengage-person span,
.npengage-group span,
.npengage-invite span{
  display:block;
  color:#6b786f;
  font-size:11px;
}
.npengage-invite p{margin:7px 0}
.npengage-invite a{font-weight:800;margin-right:10px}

.npengage-mini-form,
.npengage-form{
  display:grid;
  gap:8px;
  margin-top:12px;
}
.npengage-mini-form{grid-template-columns:minmax(0,1fr) auto}
.npengage-form label{font-weight:700;font-size:12px}
.npengage-form input,
.npengage-form select,
.npengage-mini-form input{
  width:100%;
  min-height:40px;
  padding:9px 10px;
  border:1px solid #cbd6cd;
  border-radius:8px;
  font-size:13px;
  background:#fff;
}
.npengage-form button,
.npengage-mini-form button{
  min-height:40px;
  padding:9px 13px;
  border:0;
  border-radius:8px;
  background:#0b7a3e;
  color:#fff;
  font-weight:850;
  font-size:13px;
  cursor:pointer;
}

.npengage-badges{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.npengage-badge{
  padding:11px 8px;
  border-radius:11px;
  background:#f4f7f4;
  text-align:center;
}
.npengage-badge span{display:block;font-size:22px}
.npengage-badge strong{display:block;margin-top:3px;font-size:11px}
.npengage-badge small{color:#68766d;font-size:10px}

@media(max-width:760px){
  .npengage-shell{padding:16px 14px 30px}
  .npengage-public-grid{grid-template-columns:1fr}
  .npengage-hero{align-items:flex-start;flex-direction:column;padding:22px}
  .npengage-hero h1{font-size:26px}
  .npengage-points{min-width:0;width:100%;text-align:left}
  .npengage-actions{display:grid;grid-template-columns:1fr 1fr}
  .npengage-action{width:100%}
  .npengage-badges{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:500px){
  .npengage-actions{grid-template-columns:1fr}
  .npengage-card{padding:16px}
  .npengage-card h2{font-size:20px}
  .npengage-mini-form{grid-template-columns:1fr}
}
