/**
 * SEO entity profile pages — judges and advocates
 */

.sk-entity-page {
  padding-bottom: 2rem;
}

.sk-entity-layout {
  width: 100%;
  align-items: start;
}

.sk-entity-layout .sk-search-main {
  min-width: 0;
}

.sk-detail-hero--entity {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 45%, #f0fdf4 100%);
  border-color: #c7d2fe;
}

.sk-detail-hero--entity-judge {
  background: linear-gradient(135deg, #f0f7ff 0%, #eef2ff 50%, #f8fafc 100%);
  border-color: #bfdbfe;
}

.sk-detail-hero--entity-advocate {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 40%, #f8fafc 100%);
  border-color: #fcd34d;
}

.sk-detail-hero--entity .sk-page-title {
  font-size: 1.625rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.sk-detail-hero__icon--entity {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.sk-detail-hero--entity-advocate .sk-detail-hero__icon--entity {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.sk-entity-hero__subtitle {
  margin: 0;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.45;
}

.sk-entity-hero__chips {
  margin-top: 0.875rem;
}

.sk-entity-hero__chips .sk-case-badge .fa {
  font-size: 0.75rem;
  opacity: 0.85;
}

.sk-entity-judgments.sk-case-panel {
  margin-top: 0.25rem;
  padding: 1.25rem 1.375rem 1.375rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.sk-trust-notice {
  margin: 1rem 0 1.25rem;
  padding: 0.875rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #475569;
}

.sk-trust-notice--compact p {
  margin: 0 0 0.5rem;
}

.sk-trust-notice--compact p:last-child {
  margin-bottom: 0;
}

.sk-trust-notice a {
  color: #1F4E79;
  font-weight: 600;
  text-decoration: none;
}

.sk-trust-notice a:hover,
.sk-trust-notice a:focus {
  text-decoration: underline;
}

.sk-entity-trust--sidebar {
  margin: 0 0 1rem;
}

.sk-entity-judgments__head {
  margin-bottom: 1rem;
}

.sk-entity-judgments__head .sk-page-meta {
  margin: 0.25rem 0 0;
}

.sk-entity-judgment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sk-entity-judgment-card {
  margin: 0;
}

.sk-entity-judgment-card__link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.sk-entity-judgment-card__link:hover,
.sk-entity-judgment-card__link:focus {
  border-color: #c7d2fe;
  background: #fafbff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.sk-entity-judgment-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sk-entity-judgment-card__title {
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.45;
  color: #0f172a;
}

.sk-entity-judgment-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.35;
}

.sk-entity-judgment-card__court {
  color: #475569;
  font-weight: 500;
}

.sk-entity-judgment-card__sep {
  margin: 0 0.125rem;
}

.sk-entity-judgment-card__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.75rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.sk-entity-judgment-card__link:hover .sk-entity-judgment-card__arrow,
.sk-entity-judgment-card__link:focus .sk-entity-judgment-card__arrow {
  background: #eef2ff;
  color: #4f46e5;
}

.sk-entity-judgments__cta {
  margin-top: 1.25rem;
}

.sk-entity-judgments__btn,
.sk-entity-empty__btn,
.sk-entity-sidebar-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  text-decoration: none;
}

.sk-entity-empty {
  margin-top: 0.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.sk-entity-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 1.25rem;
}

.sk-entity-empty__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}

.sk-entity-empty__text {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

/* Sidebar */
.sk-entity-sidebar-card {
  margin-bottom: 1rem;
  padding: 1.25rem 1.25rem 1.375rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.sk-entity-sidebar-card__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6366f1;
}

.sk-entity-sidebar-card__name {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.sk-entity-sidebar-stats {
  margin: 0 0 1.125rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid #e8ecf0;
}

.sk-entity-sidebar-stats__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
}

.sk-entity-sidebar-stats__row:last-child {
  margin-bottom: 0;
}

.sk-entity-sidebar-stats__row dt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
}

.sk-entity-sidebar-stats__row dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
}

.sk-entity-sidebar-links {
  padding: 1rem 1.125rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  background: #f8fafc;
}

.sk-entity-sidebar-links__title {
  margin: 0 0 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.sk-entity-sidebar-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sk-entity-sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1F4E79;
  text-decoration: none;
}

.sk-entity-sidebar-links a:hover,
.sk-entity-sidebar-links a:focus {
  color: #163a5c;
  text-decoration: underline;
}

.sk-entity-sidebar-links .fa {
  width: 1rem;
  text-align: center;
  opacity: 0.8;
}

@media (min-width: 1024px) {
  .sk-entity-trust--mobile {
    display: none;
  }

  .sk-entity-judgments__cta--mobile {
    display: none;
  }

  .sk-entity-hero__chips--inline {
    display: none;
  }
}

@media (max-width: 1023px) {
  .sk-entity-trust--sidebar {
    display: none;
  }

  .sk-entity-sidebar {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .sk-detail-hero--entity .sk-page-title {
    font-size: 1.375rem;
  }

  .sk-entity-judgment-card__link {
    padding: 0.75rem 0.875rem;
  }

  .sk-entity-judgment-card__title {
    font-size: 0.875rem;
  }

  .sk-entity-judgments.sk-case-panel {
    padding: 1rem;
  }

  .sk-entity-empty {
    padding: 1.5rem 1rem;
  }
}
