/*
 * CLP product signatures
 * Shared differentiation layer for reference answers, interactive tools and
 * long-form national guides. Keep structural rules in family stylesheets.
 */
.clp-product {
  --clp-product-accent: #0f6b64;
  --clp-product-ink: #102b40;
  --clp-product-paper: #fbfaf6;
}

/* Quick Answers: compact reference sheet, with the answer before navigation. */
.clp-product--reference.clp-legal-decision-desk {
  --clp-amber: #0f6b64;
  --clp-sage-deep: #0f6b64;
}
.clp-product--reference .decision-desk {
  min-height: 0;
  color: #102b40;
  background: #eef5f2 !important;
  border-top: 5px solid #0f6b64;
  box-shadow: none;
}
.clp-product--reference .decision-desk::before,
.clp-product--reference .decision-desk::after { display: none; }
.clp-product--reference .decision-desk .eyebrow,
.clp-product--reference .decision-desk h1,
.clp-product--reference .decision-desk .hero-dek,
.clp-product--reference .decision-desk .provenance { color: #102b40; }
.clp-product--reference .decision-desk .hero-main h1 { color: #102b40 !important; }
.clp-product--reference .decision-desk .hero-main .eyebrow { color: #0f6b64 !important; }
.clp-product--reference .decision-desk .hero-main .hero-dek { color: #435d66 !important; }
.clp-product--reference .decision-desk .hero-dek { color: #435d66; }
.clp-product--reference .hero-side {
  background: rgba(255,255,255,.62);
  border-left-color: #bfd5cf;
}
.clp-product--reference .hero-side .hero-side-heading,
.clp-product--reference .hero-side .label,
.clp-product--reference .hero-side .tiny { color: #52716b; }
.clp-product--reference .hero-side strong { color: #102b40; }
.clp-product--reference .hero-foot { border-top-color: #bfd5cf; }
.clp-product--reference .button-paper {
  color: #fff !important;
  background: #0f6b64;
}
.clp-product--reference .button-outline-paper {
  color: #102b40 !important;
  border-color: #7aa49b;
}
.clp-product--reference > .answer-statement--lead {
  margin: 28px 0 0;
  padding: 28px 36px 30px 44px;
  background: #fff;
  border: 1px solid #d6e2de;
  border-bottom: 1px solid #d6e2de;
  box-shadow: 7px 7px 0 #dceae5;
}
.clp-product--reference > .answer-statement--lead::before {
  top: 28px;
  bottom: 30px;
  background: #0f6b64;
}
.clp-product--reference .desk-chapter-art { display: none; }
.clp-product--reference .workbench { margin-top: 38px; }

/* Legal Tools: the workspace is the product; supporting explanation recedes. */
.clp-product--tool { --clp-product-accent: #bc5945; }
.clp-product--tool .lt-hero { border-top: 5px solid #bc5945; }
.clp-product--tool .lt-route-note strong { display: none; }
.clp-product--tool .lt-workspace {
  outline: 1px solid rgba(188,89,69,.3);
  outline-offset: 7px;
}
.clp-product--tool .lt-context,
.clp-product--tool .lt-notes { margin-top: 42px; }

/* National guides: a restrained reading dossier, not another dashboard. */
.clp-product--guide.cll-l3 {
  --navy: #142f2c;
  --navy2: #214944;
  --gold: #b78331;
  --goldsoft: #f7f2e8;
  --goldborder: #dfcfad;
  --bg: #f2f4f1;
}
.clp-product--guide .cll-l3-hero {
  background: #142f2c;
}
.clp-product--guide .cll-l3-hero::before {
  background: linear-gradient(90deg, transparent 0 66%, rgba(255,255,255,.035) 66% 67%, transparent 67%);
}
.clp-product--guide .cll-l3-hero-icon { display: none; }
.clp-product--guide .cll-l3-hero h1 {
  max-width: 860px;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(2rem,4vw,3.35rem);
}
.clp-product--guide .cll-l3-trust {
  max-width: 760px;
  border-top-color: rgba(255,255,255,.2);
}
.clp-product--guide .cll-l3-panel {
  border-radius: 0;
  box-shadow: none;
  border-color: #dbe1dc;
}
.clp-product--guide .cll-l3-body h2,
.clp-product--guide .cll-l3-sec-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
}
.clp-product--guide .cll-l3-sidetoc {
  border: 0;
  border-left: 3px solid #b78331;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

@media (max-width: 760px) {
  .clp-product--reference > .answer-statement--lead {
    margin-top: 18px;
    padding: 22px 20px 24px 31px;
    box-shadow: 4px 4px 0 #dceae5;
  }
  .clp-product--reference > .answer-statement--lead::before {
    top: 22px;
    bottom: 24px;
  }
}

/* Wiki index: search and definitions first; no decorative process rail. */
.clp-product--wiki-index .wiki-hero,
.clp-product--wiki-index .wiki-hero__inner { min-height: 500px; }
.clp-product--wiki-index .hero-copy { margin-top: 70px; }
.clp-product--wiki-index .hero-proof { display: none; }
.clp-product--wiki-index .definition-card__topline { justify-content: flex-start; }
.clp-product--wiki-index .section-number { color: #a64f3d; font-weight: 800; }

/* Tools index: compact long-tail rows preserve crawlable links and filtering. */
.clp-tools-card--compact { min-height: 62px; padding-top: 8px; padding-bottom: 8px; }
.clp-tools-card--compact .clp-tools-card-icon { width: 27px; height: 27px; }
.clp-tools-card--compact h4 { margin: 2px 0; font-size: 16px; }
.clp-tools-card--compact small { font-size: 8px; }

/* City markets: local evidence and institutions own the family signature. */
.clp-product--city-market { --clp-product-accent: #147b8a; }
.clp-product--city-market .cll-ml-hero { border-top: 5px solid #147b8a; }
.clp-product--city-market .cll-ml-map-section,
.clp-product--city-market .cll-ml-inst { box-shadow: inset 5px 0 0 #147b8a; }
.clp-product--city-market .cll-ml-inst-list { border-top: 1px solid rgba(20,123,138,.35); }

/* Insights: publication date and legal change replace ornamental numbering. */
.clp-product--insights .cll-sig-principles > div { grid-template-columns: 1fr; }
.clp-product--insights .cll-sig-principles b { display: none; }
.clp-product--insights .cll-sig-card { min-height: 220px; border-top: 4px solid #243f52; }
.clp-product--insights .cll-sig-card__visual { display: none; }
.clp-product--insights .cll-sig-card__meta { margin-top: 2px; }
