/* ════════════════════════════════════════════════════════════════════
 * Kanevsky Law — Site overrides
 * Loaded ALONGSIDE the bundled Next.js CSS. Lives outside _next/static/
 * so it isn't trapped by the immutable cache directive — updates take
 * effect on the next reload, not a year from now.
 * ════════════════════════════════════════════════════════════════════ */

/* ─── Missing Tailwind class (referenced by 7 components) ──────────── */
.bg-slate { background-color: rgb(15, 23, 42); }

/* ─── Force-show elements pre-set to opacity:0 + transform ─────────── */
/* These are scroll-fade-in placeholders that React would have animated.
   Without the React IntersectionObserver, they'd stay invisible. */
[style*="opacity:0"][style*="transform"],
[style*="opacity: 0"][style*="transform"] {
  opacity: 1 !important;
  transform: none !important;
}

/* ─── Practice Areas hover dropdown ────────────────────────────────── */
.kl-dropdown { position: relative; display: inline-block; }
.kl-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  cursor: pointer;
  text-decoration: none;
}
.kl-dd-arrow {
  display: inline-block;
  font-size: 11px;
  transition: transform 0.2s ease;
  color: #94a3b8;
}
.kl-dropdown:hover .kl-dd-arrow,
.kl-dropdown:focus-within .kl-dd-arrow {
  transform: rotate(180deg);
  color: #dc2626;
}
.kl-dd-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 280px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.kl-dropdown:hover .kl-dd-panel,
.kl-dropdown:focus-within .kl-dd-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.kl-dd-item {
  display: block;
  padding: 8px 16px;
  color: #334155;
  font-size: 14px;
  text-decoration: none;
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.kl-dd-item:hover,
.kl-dd-item:focus {
  background: #fef2f2;
  color: #dc2626;
  outline: none;
}
.kl-dd-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 6px 0;
}
.kl-dd-allitems {
  font-weight: 600;
  color: #dc2626 !important;
}
