/* Card base */
.lr-card { padding: 24px; border-radius: 14px; border: 1px solid #ddd; box-shadow: 0 2px 8px rgba(0,0,0,0.05); background: #fff; }
.lr-section-container { border-left: 4px solid #0057ff; }
.lr-section-badge { font-size: 14px; font-weight: bold; color: #0057ff; margin-bottom: 6px; }
.lr-section-title { font-size: 22px; font-weight: 700; margin: 4px 0; }
.lr-section-subtitle { font-size: 16px; color: #444; margin-bottom: 12px; }
.lr-section-content { font-size: 16px; line-height: 1.65; color: #222; margin-top: 10px; }

.lr-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  margin-bottom: 16px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.lr-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(16,24,40,0.12); }
.lr-card-left { flex: 0 0 64px; }
.lr-card-icon { width:64px; height:64px; display:flex; align-items:center; justify-content:center; background:#f8fafc; border-radius:12px; }
.lr-card-body { flex: 1; }
.lr-card-badge { font-size: 12px; display:inline-block; background:#fde68a; padding:6px 10px; border-radius:999px; margin-bottom:8px; font-weight:600; }
.lr-card-title { font-size: 18px; margin:0; font-weight:700; color:#0f172a; }
.lr-card-subtitle { font-size: 13px; color:#475569; margin-top:6px; }
.lr-card-desc { margin-top:10px; color:#475569; font-size:14px; line-height:1.45; }
.lr-card-cta { margin-left: 16px; }
.lr-cta-link { display:inline-block; padding:10px 14px; border-radius:10px; background:#052244; color:white; text-decoration:none; font-weight:600; }
.lr-cta-link.disabled { background:#cbd5e1; color:#334155; }

/* Category-specific subtle accents (you can change colors) */
.lr-card[data-category="IPC"] .lr-card-icon { background: #eef2ff; }
.lr-card[data-category="CrPC"] .lr-card-icon { background: #ecfeff; }
.lr-card[data-category="Evidence"] .lr-card-icon { background: #fff7ed; }
.lr-card[data-category="BNS"] .lr-card-icon { background: #f0fdf4; }
.lr-card[data-category="BNSS"] .lr-card-icon { background: #fff1f2; }
.lr-card[data-category="BSA"] .lr-card-icon { background: #f8fafc; }

/* Grid helper (if you want to display multiple cards in grid) */
.lr-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

@media (max-width:900px) {
  .lr-card { padding: 24px; border-radius: 14px; border: 1px solid #ddd; box-shadow: 0 2px 8px rgba(0,0,0,0.05); background: #fff; }
.lr-section-container { border-left: 4px solid #0057ff; }
.lr-section-badge { font-size: 14px; font-weight: bold; color: #0057ff; margin-bottom: 6px; }
.lr-section-title { font-size: 22px; font-weight: 700; margin: 4px 0; }
.lr-section-subtitle { font-size: 16px; color: #444; margin-bottom: 12px; }
.lr-section-content { font-size: 16px; line-height: 1.65; color: #222; margin-top: 10px; }

.lr-card { align-items:flex-start; }
  .lr-card-cta { margin-left: 0; margin-top: 8px; }
}

@media (max-width:480px) {
  .lr-card { padding: 24px; border-radius: 14px; border: 1px solid #ddd; box-shadow: 0 2px 8px rgba(0,0,0,0.05); background: #fff; }
.lr-section-container { border-left: 4px solid #0057ff; }
.lr-section-badge { font-size: 14px; font-weight: bold; color: #0057ff; margin-bottom: 6px; }
.lr-section-title { font-size: 22px; font-weight: 700; margin: 4px 0; }
.lr-section-subtitle { font-size: 16px; color: #444; margin-bottom: 12px; }
.lr-section-content { font-size: 16px; line-height: 1.65; color: #222; margin-top: 10px; }

.lr-card { padding: 12px; gap: 10px; }
  .lr-card-left { flex: 0 0 52px; }
  .lr-card-icon { width:52px; height:52px; }
}