/* LEGACORP V8 — stable icon/layout recovery */

.lc-v8-hide{
  display:none !important;
}

/* Navigation */
.lc-v8-nav-link,
.lc-v8-access{
  display:inline-flex !important;
  align-items:center !important;
  gap:.46rem !important;
}

.lc-v8-nav-icon{
  width:.94rem !important;
  height:.94rem !important;
  flex:0 0 auto !important;
  opacity:.82;
}

.lc-v8-search{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.lc-v8-search-icon{
  width:1.05rem !important;
  height:1.05rem !important;
}

/* KPI white strip — keep original columns, fix icon placement only */
.lc-v8-metric-card{
  position:relative !important;
  min-height:112px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  padding-left:96px !important;
  padding-right:24px !important;
  overflow:hidden !important;
}

.lc-v8-metric-icon{
  position:absolute !important;
  left:28px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:46px !important;
  height:46px !important;
  min-width:46px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:13px !important;
  border:1px solid rgba(255,107,26,.40) !important;
  color:var(--lc-accent,var(--theme-accent,#ff6b1a)) !important;
  background:linear-gradient(180deg,rgba(255,107,26,.045),rgba(255,255,255,.98)) !important;
  box-shadow:0 7px 16px rgba(7,24,43,.055), inset 0 1px 0 rgba(255,255,255,.9) !important;
  z-index:2 !important;
}

.lc-v8-metric-svg{
  width:22px !important;
  height:22px !important;
}

/* CTA cleanup */
.lc-v8-explore,
.lc-v8-project-cta{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.52rem !important;
}

.lc-v8-explore::before,
.lc-v8-explore::after,
.lc-v8-project-cta::before,
.lc-v8-project-cta::after{
  display:none !important;
  content:none !important;
}

.lc-v8-arrow{
  width:1rem !important;
  height:1rem !important;
  flex:0 0 auto !important;
}

/* Project card: style only; do not move or re-parent it */
.lc-v8-project-card{
  border-radius:18px !important;
  border:1px solid rgba(255,107,26,.40) !important;
  box-shadow:0 22px 48px rgba(2,8,18,.28) !important;
  overflow:hidden !important;
}

/* Neutralize only the old experimental runtime classes if they survive in markup */
.lc-hero-project-card-v4,
.lc-hero-model-mini-v4,
.lc-v7-project-card{
  transform:none !important;
}

/* Do not let previous experimental CSS enlarge arrows/buttons */
.lc-v8-project-cta .lc-v8-arrow,
.lc-v8-explore .lc-v8-arrow{
  width:1rem !important;
  height:1rem !important;
}

@media(max-width:900px){
  .lc-v8-metric-card{
    min-height:96px !important;
    padding-left:78px !important;
  }
  .lc-v8-metric-icon{
    left:20px !important;
    width:42px !important;
    height:42px !important;
  }
}