/* NILA Connect v21.22 corrections
   Restores original category system and returns the visual direction to the greener NILA palette.
*/
:root{
  --v21-paper:#F7F4EA;
  --v21-paper-2:#EEF4EC;
  --v21-card:#FFFCF5;
  --v21-ink:#10231D;
  --v21-ink-2:#193B31;
  --v21-ink-3:#426156;
  --v21-mute:#647A72;
  --v21-line:#DCE8DD;
  --v21-line-2:#EAF1E9;
  --v21-ember:#1F7A5C;
  --v21-ember-2:#0E5A43;
  --v21-amber:#D8A84B;
  --v21-sage:#2E6F5E;
  --v21-sage-2:#183E34;
  --v21-cream:#F5ECCD;
}
.v21-hero{
  background:
    radial-gradient(760px 460px at 0% 0%, rgba(31,122,92,.13), transparent 62%),
    radial-gradient(700px 420px at 100% 8%, rgba(216,168,75,.12), transparent 64%),
    var(--v21-paper) !important;
}
.v21-h1 em{ color:var(--v21-ember-2)!important; background:linear-gradient(180deg,transparent 62%,rgba(216,168,75,.26) 62%,rgba(216,168,75,.26) 92%,transparent 92%)!important; }
.v21-btn.primary,.v21-search .v21-go,.v21-dir-search .v21-go{ background:var(--v21-ember-2)!important; color:#fff!important; }
.v21-btn.primary:hover,.v21-search .v21-go:hover,.v21-dir-search .v21-go:hover{ background:var(--v21-ink)!important; }
.v21-nav-cta .solid{ background:var(--v21-ember-2)!important; }
.v21-nav-cta .solid:hover{ background:var(--v21-ink)!important; }
.v21-hero-visual{ min-height:420px; border-radius:26px; }
.v21-hero-visual::after{ background:linear-gradient(180deg,transparent,rgba(16,35,29,.48)); }
.v21-hero-visual .badge-tl{ color:var(--v21-ember-2); }
.v21-hero-visual .ovr .dot,.v21-hero-visual .badge-tl::before,.v21-eyebrow .pulse{ background:var(--v21-ember); }
/* Original category system, not Loveable's merged four groups */
.v21-cat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
.v21-cat.v22-cat-card{
  display:grid!important;
  grid-template-columns:104px 1fr!important;
  min-height:128px;
  border-radius:20px!important;
  background:rgba(255,252,245,.94)!important;
  border:1px solid var(--v21-line)!important;
  box-shadow:0 12px 32px -24px rgba(16,35,29,.25)!important;
}
.v21-cat.v22-cat-card:hover{ transform:translateY(-2px)!important; box-shadow:0 26px 55px -38px rgba(16,35,29,.32)!important; border-color:rgba(31,122,92,.35)!important; }
.v21-cat.v22-cat-card .ph{ aspect-ratio:auto!important; height:100%; min-height:128px; border-radius:18px 0 0 18px; position:relative; }
.v21-cat.v22-cat-card .ph::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(16,35,29,.08),rgba(16,35,29,.26)); }
.v22-cat-icon{ position:absolute; left:10px; bottom:10px; z-index:2; width:34px; height:34px; border-radius:12px; display:grid; place-items:center; background:rgba(255,252,245,.9); border:1px solid rgba(255,255,255,.65); box-shadow:0 12px 22px rgba(0,0,0,.12); }
.v21-cat.v22-cat-card .meta{ padding:14px 14px 13px!important; display:flex; flex-direction:column; justify-content:center; }
.v21-cat.v22-cat-card .meta h3{ font-size:17px!important; color:var(--v21-ink)!important; }
.v21-cat.v22-cat-card .meta p{ font-size:12.5px!important; line-height:1.35!important; color:var(--v21-ink-3)!important; }
.v21-cat.v22-cat-card .meta .more{ color:var(--v21-ember-2)!important; font-size:12.5px!important; margin-top:8px!important; }
@media(max-width:1050px){ .v21-cat-grid{ grid-template-columns:repeat(3,minmax(0,1fr))!important; } }
@media(max-width:760px){ .v21-cat-grid{ grid-template-columns:repeat(2,minmax(0,1fr))!important; } .v21-cat.v22-cat-card{ grid-template-columns:82px 1fr!important; min-height:112px; } .v21-cat.v22-cat-card .ph{ min-height:112px; } }
@media(max-width:480px){ .v21-cat-grid{ grid-template-columns:1fr!important; } }
/* Directory chips must show the original categories clearly */
.v21-cat-rail .v22-dir-chip{ background:#fff!important; border-color:var(--v21-line)!important; color:var(--v21-ink-2)!important; }
.v21-cat-rail .v22-dir-chip.active,
.v21-cat-rail .v22-dir-chip:hover{ background:var(--v21-ember-2)!important; border-color:var(--v21-ember-2)!important; color:#fff!important; }
/* Provider profile: fix the cut-out look and low contrast */
.v21-pp-cover{ height:210px!important; max-width:1120px!important; margin:18px auto 0!important; border-radius:24px!important; box-shadow:0 18px 46px -32px rgba(16,35,29,.30)!important; }
.v21-pp-cover::after{ background:linear-gradient(180deg,rgba(16,35,29,.05),rgba(16,35,29,.44))!important; }
.page-provider .premium-provider{ background:var(--v21-paper)!important; color:var(--v21-ink)!important; }
.page-provider .premium-hero{
  background:linear-gradient(135deg,#fffdf7 0%,#f1f7f0 54%,#e6f0e7 100%)!important;
  color:var(--v21-ink)!important;
  border:1px solid var(--v21-line)!important;
  border-radius:28px!important;
  max-width:1120px!important;
  margin:18px auto 0!important;
  box-shadow:0 24px 64px -44px rgba(16,35,29,.35)!important;
  overflow:visible!important;
}
.page-provider .premium-hero-bg{ display:none!important; }
.page-provider .premium-hero-inner{ padding:34px 28px!important; gap:22px!important; }
.page-provider .premium-headline h1{ color:var(--v21-ink)!important; text-shadow:none!important; font-size:clamp(34px,4.5vw,58px)!important; line-height:.98!important; opacity:1!important; visibility:visible!important; }
.page-provider .premium-headline p,.page-provider .premium-microcopy{ color:var(--v21-ink-3)!important; opacity:1!important; }
.page-provider .premium-avatar{ background:var(--v21-ember-2)!important; color:#fff!important; border-color:rgba(31,122,92,.18)!important; box-shadow:0 18px 38px -20px rgba(16,35,29,.45)!important; }
.page-provider .premium-pill{ background:#fff!important; border:1px solid var(--v21-line)!important; color:var(--v21-ink-2)!important; }
.page-provider .plan-pill{ background:#ecf5df!important; color:var(--v21-ember-2)!important; }
.page-provider .premium-score-card div{ background:#fff!important; border:1px solid var(--v21-line)!important; box-shadow:0 12px 30px -24px rgba(16,35,29,.35)!important; }
.page-provider .premium-score-card b{ color:var(--v21-ember-2)!important; }
.page-provider .premium-score-card span{ color:var(--v21-ink-3)!important; }
.page-provider .premium-body{ padding-top:22px!important; }
.page-provider .premium-action-bar{ margin:0 auto 22px!important; max-width:1120px; padding:0 18px; }
.page-provider .premium-action.primary{ background:var(--v21-ember-2)!important; color:#fff!important; }
.page-provider .premium-action.quote{ background:var(--v21-ink)!important; color:#fff!important; }
.page-provider .premium-action.soft{ background:#fff!important; color:var(--v21-ink)!important; border:1px solid var(--v21-line)!important; }
.page-provider .premium-panel{ border-color:var(--v21-line)!important; box-shadow:0 18px 48px -38px rgba(16,35,29,.30)!important; }
.v22-profile-kicker{ display:inline-flex; margin-bottom:8px; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--v21-ember-2); }
@media(max-width:850px){ .page-provider .premium-hero{ margin:12px 14px 0!important; } .page-provider .premium-hero-inner{ grid-template-columns:1fr!important; padding:24px 20px!important; } .page-provider .premium-score-card{ grid-template-columns:repeat(3,1fr)!important; min-width:0!important; } .v21-pp-cover{ margin-left:14px!important; margin-right:14px!important; height:180px!important; } }
