/* ===== JURISPRUDÊNCIA E DECISÕES ===== */

.law-featured {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.law-featured-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease;
}

.law-featured:hover .law-featured-bg {
  transform: scale(1.05);
}

.law-featured-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1));
}

.law-featured-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.law-badge {
  background: #10b981;
  color: #064e3b;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  align-self: flex-start;
  text-transform: uppercase;
}

.law-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}

.law-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
}

.law-meta {
  font-size: 0.75rem;
  opacity: 0.85;
  display: flex;
  gap: 0.4rem;
}

/* Lista lateral */
.law-item {
  background: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.3s;
  cursor: pointer;
}

.law-item:hover {
  background: #f3f4f6;
}

.law-item-badge {
  font-size: 0.6rem;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
}

.law-item-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.law-item-date {
  font-size: 0.7rem;
  color: #6b7280;
}

.law-item {
  display: flex;
  gap: 0.75rem;
  background: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.3s;
  cursor: pointer;
}

.law-item-thumb {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.law-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.law-item:hover .law-item-thumb img {
  transform: scale(1.05);
}

.law-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
