/* Converted from Tailwind v4 to plain CSS for PHP-only hosting */

/* Base Styles */
body {
  font-family: ui-sans-serif, system-ui, sans-serif;
  color: #2a2a2a;
  background-color: #faf9f7;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

/* Article Content Styles */
.article-content {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #2a2a2a;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.875rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

.article-content h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a {
  color: #7a7568;
  text-decoration: underline;
}

.article-content a:hover {
  color: #3d3d3d;
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid #e5e3dd;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6b6b6b;
}

/* Hover Effects */
.article-link {
  transition: all 0.2s ease;
}

.article-link:hover {
  opacity: 0.7;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f5f4f1;
}

::-webkit-scrollbar-thumb {
  background: #7a7568;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3d3d3d;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #7a7568;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  header,
  footer,
  nav,
  .no-print {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .article-content {
    font-size: 12pt;
  }
}

/* Loading State */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Error State */
.error-message {
  background-color: #fee;
  border: 1px solid #fcc;
  color: #c33;
  padding: 1rem;
  border-radius: 0.25rem;
  margin: 1rem 0;
}

/* Success State */
.success-message {
  background-color: #efe;
  border: 1px solid #cfc;
  color: #3c3;
  padding: 1rem;
  border-radius: 0.25rem;
  margin: 1rem 0;
}
