/* ─────────────────────────────────────────────
   superchauss66.fr — Custom styles
   TailwindCSS loaded via CDN
   ───────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* Prose overrides */
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.prose table { font-size: 0.9rem; }

/* Blockquote — carte accent avec icone guillemet */
.prose blockquote {
  position: relative;
  background: #faf7f5;
  border-radius: 0.75rem;
  padding: 1.75rem 1.75rem 1.75rem 3.5rem;
  margin: 2rem 0;
  border: 1px solid #e7e5e4;
}

.prose blockquote::before {
  content: "\201C";
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  line-height: 1;
  color: #d4a574;
  opacity: 0.6;
}

.prose blockquote p {
  color: #57534e;
  font-style: normal;
  margin: 0;
}

/* Line clamp */
.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; }

/* Focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Transitions */
a, button { transition: color 0.2s ease, background-color 0.2s ease; }

/* Print */
@media print {
  header, footer, nav, #reading-progress { display: none !important; }
  .prose { max-width: 100%; }
}
