html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Prose styling for Markdown content */
.prose {
  color: #374151;
  max-width: 65ch;
  line-height: 1.75;
}

.prose h1 {
  font-size: 2.25em;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
  color: #111827;
}

.prose h2 {
  font-size: 1.5em;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5em;
}

.prose h3 {
  font-size: 1.25em;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
  color: #111827;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose strong {
  font-weight: 600;
  color: #111827;
}

.prose ul {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
  list-style-type: disc;
}

.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
  list-style-type: decimal;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose li::marker {
  color: #6b7280;
}

.prose blockquote {
  font-style: italic;
  color: #4b5563;
  border-left: 4px solid #e5e7eb;
  padding-left: 1em;
  margin-top: 1.6em;
  margin-bottom: 1.6em;
}

.prose code {
  color: #111827;
  font-weight: 600;
  font-size: 0.875em;
  background-color: #f3f4f6;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
}

.prose pre {
  background-color: #1f2937;
  color: #e5e7eb;
  overflow-x: auto;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding: 1em;
}

.prose pre code {
  background-color: transparent;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  border-radius: 0;
}

.prose hr {
  border-color: #e5e7eb;
  margin-top: 3em;
  margin-bottom: 3em;
}

.prose a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 500;
}

.prose a:hover {
  color: #1d4ed8;
}

.prose-lg {
  font-size: 1.125rem;
  line-height: 1.7777778;
}

.max-w-none {
  max-width: none;
}

/* Dark mode for prose */
.dark .prose,
.prose-invert {
  color: #d1d5db;
}

.dark .prose h1,
.dark .prose h2,
.dark .prose h3,
.dark .prose strong,
.prose-invert h1,
.prose-invert h2,
.prose-invert h3,
.prose-invert strong {
  color: #f9fafb;
}

.dark .prose h2,
.prose-invert h2 {
  border-bottom-color: #374151;
}

.dark .prose li::marker,
.prose-invert li::marker {
  color: #9ca3af;
}

.dark .prose blockquote,
.prose-invert blockquote {
  color: #9ca3af;
  border-left-color: #4b5563;
}

.dark .prose code,
.prose-invert code {
  color: #f9fafb;
  background-color: #374151;
}

.dark .prose a,
.prose-invert a {
  color: #14b8a6;
}

.dark .prose a:hover,
.prose-invert a:hover {
  color: #2dd4bf;
}

.dark .prose hr,
.prose-invert hr {
  border-color: #374151;
}