/* Section Stats Styles - Judicial Ledger */
.section-stats {
  padding: 75px 0;
  background-color: var(--primary);
  background-image: linear-gradient(135deg, #0a101a 0%, #121c2d 100%);
  color: #ffffff;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.judicial-ledger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(184, 145, 70, 0.35);
  background: rgba(255, 255, 255, 0.02);
}

.ledger-cell {
  padding: 36px 28px;
  border-right: 1px solid rgba(184, 145, 70, 0.25);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.ledger-cell:last-child {
  border-right: none;
}

.ledger-cell:hover {
  background: rgba(184, 145, 70, 0.08);
}

.ledger-roman {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 10px;
}

.ledger-value {
  font-family: var(--font-title);
  font-size: 2.45rem;
  font-weight: 700;
  color: #e6c67c;
  line-height: 1.1;
  margin-bottom: 10px;
}

.ledger-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.ledger-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
  margin: 0;
}

.bar-affiliation-strip {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.affiliation-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #e6c67c;
}

.affiliation-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.aff-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 145, 70, 0.3);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.aff-item i {
  color: var(--accent);
}

@media (max-width: 991px) {
  .judicial-ledger-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ledger-cell:nth-child(2) {
    border-right: none;
  }
  .ledger-cell:nth-child(1),
  .ledger-cell:nth-child(2) {
    border-bottom: 1px solid rgba(184, 145, 70, 0.25);
  }
}

@media (max-width: 575px) {
  .judicial-ledger-grid {
    grid-template-columns: 1fr;
  }
  .ledger-cell {
    border-right: none;
    border-bottom: 1px solid rgba(184, 145, 70, 0.25);
  }
  .ledger-cell:last-child {
    border-bottom: none;
  }
}
