/* Prosta Umowa Blog — minimal styles on top of Tailwind CDN */

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html, body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #FAF7F3;
  color: #1E2A44;
}

.font-serif {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* Hide scrollbar utility */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Line clamp (for older browsers; Tailwind JIT-CDN also provides it) */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Prose styles for Markdown content rendered by Hugo */
.prose {
  color: #2E3A50;
  font-size: 18px;
  line-height: 1.8;
}
.prose > * + * { margin-top: 1.4em; }
.prose h2 {
  font-family: 'Fraunces', Georgia, serif;
  color: #1E2A44;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 2.4em;
  margin-bottom: 0.6em;
}
.prose h3 {
  color: #1E2A44;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.35;
  margin-top: 2em;
  margin-bottom: 0.5em;
}
.prose h4 {
  color: #1E2A44;
  font-weight: 600;
  font-size: 18px;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}
.prose p { margin-bottom: 1.4em; color: #2E3A50; }
.prose strong { color: #1E2A44; font-weight: 600; }
.prose a {
  color: #1E2A44;
  text-decoration: underline;
  text-decoration-color: rgba(30, 42, 68, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.prose a:hover { text-decoration-color: #1E2A44; }
.prose ul, .prose ol {
  padding-left: 1.5em;
  margin: 1.2em 0;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.6em; color: #2E3A50; }
.prose li::marker { color: #7A8496; }
.prose blockquote {
  border-left: 4px solid #1E2A44;
  background: #E8F0FE;
  padding: 1.25rem 1.5rem;
  border-radius: 0 16px 16px 0;
  margin: 2em 0;
  color: #2A3650;
  font-style: normal;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code {
  background: #F0EBE3;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color: #1E2A44;
}
.prose pre {
  background: #1E2A44;
  color: #F5F1E9;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  overflow-x: auto;
  margin: 1.8em 0;
  font-size: 15px;
  line-height: 1.6;
}
.prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}
.prose img {
  border-radius: 16px;
  margin: 2em 0;
  max-width: 100%;
  height: auto;
}
.prose hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #D6CDB9, transparent);
  margin: 3em 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: 15px;
}
.prose th, .prose td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #E9E2D6;
}
.prose th { background: #F5F1E9; color: #1E2A44; font-weight: 600; }
