/* :root {
  --sj-blue: #003399;
  --sj-navy: #0a1254;
  --sj-yellow: #ffff00;
  --sj-neutral: #f1f1f1;
  --sj-white: #ffffff;
  --sj-black: #000000;
  --sj-blue-hover: #002578;
  --sj-text: #111111;
  --sj-text-2: #3a3a3a;
  --sj-text-3: #6a6a6a;
  --sj-text-4: #9a9a9a;
  --sj-line: #e6e6e6;
  --sj-line-2: #d0d0d0;
  --sj-paper: #f8f8f8;
  --badge-settlement-bg: #E1F5EE;
  --badge-settlement-fg: #075040;
  --badge-verdict-bg: #E8EEFC;
  --badge-verdict-fg: #002578;
  --font-display: 'Inter', 'Helvetica Neue Condensed', Impact, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --container: 1240px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;
} */

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  font-family: "Inter", "Helvetica Neue Condensed", Impact, sans-serif;
  letter-spacing: 0;
  margin: 0;
}

/* ============================================================
   Container
============================================================ */
#results-list.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
}
@media (min-width: 1200px) {
  #results-list.container {
    padding-top: 40px;
  }
}
@media (max-width: 640px) {
  #results-list.container {
    padding: 0;
  }
}
@media (max-width: 380px) {
  #results-list.container {
    padding: 0;
  }
}

/* ============================================================
   Outcome badges
============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 51, 153, 0.08);
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  white-space: nowrap;
  border: 1.5px solid transparent;
  background: rgba(0, 51, 153, 0.08) !important;
  color: #003399 !important;
}

/* ============================================================
   Filter sticky bar
============================================================ */
.filter-bar {
  position: sticky;
  top: 96px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  padding: 18px 0 8px;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 30px;
}
.filter-bar .filter-summary {
  font-size: 12px;
  color: #6a6a6a;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 640px) {
  .filter-bar {
    top: 76px;
    padding: 14px 0 4px;
  }
}

/* ============================================================
   Filter pills
============================================================ */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 10px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid #e6e6e6;
  background: #ffffff;
  color: #0a1254;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 120ms ease,
    background 120ms ease,
    color 120ms ease;
}
.filter-pill:hover {
  border-color: #0a1254;
  color: #003399;
}
.filter-pill .count {
  font-size: 11px;
  color: #9a9a9a;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.filter-pill.active,
.filter-pill.is-active {
  background: #003399;
  color: #ffffff;
  border-color: #003399;
}
.filter-pill.active .count,
.filter-pill.is-active .count,
.filter-pill.is-active .pill-count {
  color: rgba(255, 255, 255, 0.78);
}
.filter-pill .pill-count {
  font-size: 11px;
  color: #9a9a9a;
  background: rgba(0, 51, 153, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
}
.filter-pill.is-active .pill-count {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 640px) {
  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
    margin: 0 -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .filter-pill {
    flex-shrink: 0;
    padding: 9px 14px;
    font-size: 12.5px;
    min-height: 40px;
  }
}

/* ============================================================
   Intro headline + practice-area labels
============================================================ */
.results-intro {
  font-family: "Inter", "Helvetica Neue Condensed", Impact, sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: 0.005em;
  line-height: 1.15;
  color: #0a1254;
  margin: 25px auto 28px;
  text-align: center;
  text-wrap: balance;
}
@media (max-width: 640px) {
  .results-intro {
    font-size: 22px;
    margin: 4px 0 20px;
  }
}

.practice-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 8px 0 20px;
}
.practice-label {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 22px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a1254;
}
.practice-label + .practice-label {
  border-left: 1px solid #e6e6e6;
}
.practice-label .practice-count {
  font-size: 11px;
  color: #6a6a6a;
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .practice-row {
    gap: 14px 22px;
    padding: 4px 0 18px;
  }
  .practice-label {
    font-size: 16px;
    padding: 0 14px;
  }
}

.see-all-wrap {
  display: flex;
  justify-content: center;
  margin: -16px 0 36px;
}
.see-all-link {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #003399;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  transition:
    gap 180ms ease,
    color 180ms ease;
}
.see-all-link:hover {
  color: #0a1254;
  text-decoration: none;
  gap: 12px;
}
.see-all-link .arrow {
  display: inline-block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  transition: transform 180ms ease;
}
.see-all-link:hover .arrow {
  transform: translateX(2px);
}
@media (max-width: 640px) {
  .see-all-link {
    font-size: 12px;
  }
  .see-all-wrap {
    margin: -8px 0 24px;
  }
}

/* ============================================================
   Section heads (per practice area)
============================================================ */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  margin-bottom: 22px;
  scroll-margin-top: 200px;
  text-align: left;
}
section[data-category-section]:first-of-type .section-head {
  margin-top: 16px;
}
.section-head h2 {
  font-family: "Inter", "Helvetica Neue Condensed", Impact, sans-serif;
  font-size: clamp(24px, 2.8vw, 40px);
  letter-spacing: 0.01em;
  color: #0a1254;
  line-height: 1;
  margin: 0;
}
.section-head .count {
  font-size: 12px;
  color: #6a6a6a;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}
.section-head .section-meta {
  font-size: 12px;
  color: #6a6a6a;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 6px;
}
@media (max-width: 640px) {
  .section-head {
    align-items: flex-start;
    gap: 8px;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .section-head .count {
    font-size: 12px;
  }
}

/* ============================================================
   Card grid
============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ============================================================
   Card base
============================================================ */
.card-base {
  position: relative;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer !important;
  transition:
    transform 200ms cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 200ms ease,
    border-color 200ms ease;
  overflow: hidden;
  height: 100%;
}
.card-base:hover {
  text-decoration: none;
}

.card-compliance {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e6e6e6;
  font-size: 11px;
  color: #9a9a9a;
  font-style: italic;
  line-height: 1.55;
}

.card-cta {
  display: none;
}
.card-cta {
  color: #003399;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  transition: gap 180ms ease;
}
.card-base:hover .card-cta {
  gap: 14px;
}
.card-cta .arrow {
  display: inline-block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  transition: transform 180ms ease;
}
.card-base:hover .card-cta .arrow {
  transform: translateX(3px);
}

/* ============================================================
   Editorial card
============================================================ */
.card--editorial {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 26px 26px 22px;
  border-top: 4px solid #003399;
}
.card--editorial:hover {
  border-color: #e6e6e6;
  border-top-color: #ffff00;
  box-shadow: 0 12px 36px rgba(10, 18, 84, 0.1);
  transform: translateY(-3px);
}
.card--editorial .top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}
.card--editorial .top-row .loc {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a6a6a;
  font-weight: 700;
}
.card--editorial .amt {
  font-family: "Inter", "Helvetica Neue Condensed", Impact, sans-serif;
  font-size: clamp(56px, 6vw, 68px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
  line-height: 0.9;
  color: #0a1254;
  margin: 4px 0 16px;
}
.card--editorial .desc {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #111111;
  margin: 0 0 18px;
  text-wrap: pretty;
  min-height: 42px;
  font-weight: 500;
}

@media (min-width: 1200px) {
  .card--editorial .desc.full {
    font-size: 13px;
  }
}

@media (max-width: 680px) {
  .card--editorial {
    padding: 18px 18px 16px;
    border-top-width: 3px;
    display: grid;
    grid-template-rows: auto auto auto auto;
    column-gap: 16px;
    align-items: start;
  }
  .card--editorial .top-row {
    grid-column: 1 / -1;
    margin-bottom: 16px;
  }
  .card--editorial .amt {
    grid-column: 1;
    grid-row: 2 / 4;
    margin: 0;
    align-self: center;
  }
  .card--editorial .desc {
    grid-column: 2;
    grid-row: 2;
    line-height: 1.35;
    min-height: 0;
    margin: 0;
  }
  .card--editorial .card-cta {
    grid-column: 2;
    grid-row: 3;
    margin: 6px 0 0;
    font-size: 11px;
  }
  .card--editorial .card-compliance {
    grid-column: 1 / -1;
    margin-top: 14px;
    padding-top: 12px;
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .card--editorial {
    padding: 18px 18px 20px;
  }
  .card--editorial .amt {
    margin-bottom: 16px;
  }
  .card--editorial .desc {
    font-size: 15px;
    margin-bottom: 16px;
  }
  .card--editorial .badge {
    padding: 6px 12px;
  }
  .card--editorial .card-compliance {
    padding-top: 16px;
  }
}

/* ============================================================
   Load More
============================================================ */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.load-more {
  appearance: none;
  background: #ffffff;
  color: #0a1254;
  padding: 12px 24px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  border: 1px solid #ffee00;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition:
    background 300ms ease,
    color 300ms ease;
}
.load-more:hover {
  background: #ffff00;
  color: #0a1254;
}
.load-more:focus,
.load-more:active {
  background: #ffffff;
  color: #0a1254;
}
.load-more .lm-meta {
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

/* ============================================================
   Disclaimer block
============================================================ */
.disclaimer-block {
  margin-top: 88px;
  padding: 24px;
  background: #f8f8f8;
  border-left: 4px solid #003399;
  border-radius: 16px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 22px;
}
.disclaimer-block strong {
  display: block;
  color: #0a1254;
  margin-bottom: 12px;
}
.disclaimer-block :not(strong) {
  color: #3a3e58;
}
@media (max-width: 640px) {
  .disclaimer-block {
    padding: 20px 18px;
    margin-top: 32px;
    margin-bottom: 56px;
    font-size: 12.5px;
  }
}

/* ============================================================
   Pagination
============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 40px 0 8px;
  padding: 24px 0;
  border-top: 1px solid #e6e6e6;
}
.pagination .page-numbers {
  display: flex;
  gap: 4px;
}
.pagination .page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid transparent;
  color: #3a3a3a;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 120ms ease,
    color 120ms ease,
    border-color 120ms ease;
}
.pagination .page-num:hover {
  color: #003399;
  background: rgba(0, 51, 153, 0.06);
}
.pagination .page-num.is-active {
  background: #003399;
  color: #ffffff;
  border-color: #003399;
}
.pagination .page-arrow {
  background: transparent;
  border: 1px solid #e6e6e6;
  color: #0a1254;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 120ms ease,
    border-color 120ms ease,
    color 120ms ease;
}
.pagination .page-arrow:hover:not(:disabled) {
  background: #003399;
  border-color: #003399;
  color: #ffffff;
}
.pagination .page-arrow:disabled,
.pagination .page-arrow[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.pagination a.page-num,
.pagination a.page-arrow {
  text-decoration: none;
}
@media (max-width: 640px) {
  .pagination {
    gap: 12px;
    padding: 20px 0;
  }
  .pagination .page-arrow {
    padding: 8px 14px;
    font-size: 12px;
  }
  .pagination .page-num {
    min-width: 34px;
    height: 34px;
    font-size: 13px;
    padding: 0 8px;
  }
}

/* ============================================================
   Empty state
============================================================ */
.empty-state {
  padding: 60px 0;
  text-align: center;
  color: #6a6a6a;
}
.empty-state .big {
  font-family: "Inter", "Helvetica Neue Condensed", Impact, sans-serif;
  font-size: 32px;
  color: #0a1254;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

/* ============================================================
   Load More — hidden cards
============================================================ */
.cr-hidden {
  display: none !important;
}

/* ============================================================
   Gravity Forms — bottom form section spacing
============================================================ */
/* .gform_wrapper .gform_body { padding-top: 8px !important; }
.gform_wrapper .gfield { margin-bottom: 16px !important; }
.gform_wrapper .gfield:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.gform_wrapper .ginput_container_name span,
.gform_wrapper .ginput_complex span { margin-bottom: 0 !important; } */
/* Equal spacing between all fields including side-by-side name fields */
/* .gform_wrapper .ginput_complex .ginput_left,
.gform_wrapper .ginput_complex .ginput_right { padding: 0 6px !important; }
.gform_wrapper .ginput_complex { margin: 0 -6px !important; } */

/* ============================================================
   Elementor widget-wrap override — prevent external grid rules
   from collapsing the shortcode content
============================================================ */
.resultVideos .elementor-widget-wrap {
  display: flex !important;
}

/* ============================================================
   Full-width fix — ensure sections and grid stretch to 100%
============================================================ */
#results-list section,
#results-list .card-grid,
#results-list .filter-bar,
#results-list .disclaimer-block {
  width: 100%;
}

/* ============================================================
   Touch / reduced-motion
============================================================ */
@media (hover: none) and (pointer: coarse) {
  a,
  button,
  .filter-pill {
    -webkit-tap-highlight-color: rgba(0, 51, 153, 0.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  .card-base,
  .card--editorial,
  .card-cta,
  .see-all-link {
    transition: none;
  }
}
