/* =============================================================
   Agenda dell'Avvocato — Custom styles
   Tailwind handles 95% — this fills the gaps.
   ============================================================= */

/* Prose styles for markdown content (blog posts, pages) */
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; color: #111827; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.75rem; color: #1f2937; }
.prose p  { margin-bottom: 1.25rem; line-height: 1.75; color: #374151; }
.prose a  { color: #c0392b; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: #9b2226; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.4rem; line-height: 1.7; color: #374151; }
.prose blockquote { border-left: 3px solid #c0392b; padding: 0.5rem 1.25rem; margin: 1.5rem 0; color: #6b7280; font-style: italic; }
.prose img { border-radius: 0.75rem; max-width: 100%; height: auto; margin: 1.5rem 0; }
.prose code { background: #f3f4f6; padding: 0.15rem 0.4rem; border-radius: 0.25rem; font-size: 0.875em; color: #1f2937; }
.prose pre  { background: #1f2937; color: #f9fafb; padding: 1.25rem; border-radius: 0.75rem; overflow-x: auto; margin-bottom: 1.5rem; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { border-color: #e5e7eb; margin: 2rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9rem; display: block; overflow-x: auto; }
.prose thead { background: #f9fafb; }
.prose th { text-align: left; padding: 0.6rem 1rem; font-weight: 600; color: #111827; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.prose td { padding: 0.6rem 1rem; color: #374151; border-bottom: 1px solid #f3f4f6; vertical-align: top; }
.prose tr:last-child td { border-bottom: none; }
.prose tbody tr:hover { background: #fafafa; }

/* Line clamp utility */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Focus ring */
:focus-visible { outline: 2px solid #c0392b; outline-offset: 2px; }
