/* CLIEAIR Sealed Pathways */

.sp-section-lede {
  color: #a9b6cb;
  font-size: 0.95rem;
  font-style: italic;
  margin: 0 0 1rem;
}

.sp-result, .sp-federal-grid, .sp-doctrines-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  margin-top: 0.6rem;
}
@media (min-width: 780px) {
  .sp-federal-grid, .sp-doctrines-grid { grid-template-columns: 1fr 1fr; }
}

.sp-card {
  background: #1a2738;
  border-radius: 8px;
  border-left: 4px solid #c9a227;
  padding: 0.95rem 1.1rem;
}
.sp-card--state    { border-left-color: #c9a227; }
.sp-card--federal  { border-left-color: #7cb8ff; }
.sp-card--doctrine { border-left-color: #ff9fb6; }

.sp-card__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}
.sp-card__title {
  margin: 0;
  font-size: 1rem;
  color: #f3eddc;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.sp-card__badge {
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-weight: 600;
}
.sp-card__badge--state    { color: #c9a227; background: rgba(201, 162, 39, 0.08); border: 1px solid rgba(201, 162, 39, 0.35); }
.sp-card__badge--federal  { color: #7cb8ff; background: rgba(124, 184, 255, 0.08); border: 1px solid rgba(124, 184, 255, 0.35); }
.sp-card__badge--doctrine { color: #ff9fb6; background: rgba(255, 159, 182, 0.08); border: 1px solid rgba(255, 159, 182, 0.35); }

.sp-card__body { display: flex; flex-direction: column; gap: 0.4rem; }
.sp-row { margin: 0; font-size: 0.88rem; line-height: 1.55; color: #d9d3c4; }
.sp-row strong { color: #f0e6d2; }
.sp-row-link, .sp-ext {
  color: #c9a227;
  text-decoration: none;
  border-bottom: 1px dotted rgba(201, 162, 39, 0.4);
  word-break: break-word;
}
.sp-row-link:hover, .sp-ext:hover, .sp-row-link:focus, .sp-ext:focus {
  border-bottom-style: solid; color: #ffd54a; outline: none;
}

/* ----------------- Print ----------------- */
@media print {
  body { background: #fff !important; color: #000 !important; font-size: 10pt; }
  .rg-hero { background: none !important; padding: 0.5rem 0; }
  .rg-hero__title { color: #000; font-size: 16pt; }
  .rg-hero__sub, .rg-hero__cta { display: none; }
  .ac-picker, .ac-state-chips, .sp-section-lede { display: none !important; }
  .sp-result, .sp-federal-grid, .sp-doctrines-grid { grid-template-columns: 1fr !important; }
  .sp-card { background: none !important; border-left-color: #000 !important; page-break-inside: avoid; }
  .sp-card__title, .sp-row { color: #000; }
  .sp-card__badge { background: #eee !important; color: #000 !important; border-color: #000 !important; }
  .sp-row-link, .sp-ext { color: #000 !important; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #444; }
}
