/* Italian Cork — minimal custom CSS over Tailwind via CDN.
   Tailwind config (in includes/nav.php) defines the brand palette: terracotta,
   olive, golden, cream, charcoal. Fonts: Playfair Display for headings,
   Inter for body. */

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
}

/* Prose styling for blog post bodies. Reads warm and literary to match
   Carolina's voice. */
.prose {
  max-width: 70ch;
  line-height: 1.75;
  color: #2D2D2D;
}

.prose h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.35rem; }

.prose a {
  color: #C75B39; /* terracotta */
  text-decoration: underline;
  text-decoration-color: #D4795E;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.prose a:hover { color: #A84A2E; }

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.prose blockquote {
  border-left: 3px solid #D4A843; /* golden */
  padding-left: 1rem;
  color: #4A5D3A; /* olive */
  font-style: italic;
  margin: 1.5rem 0;
}

.prose code {
  background: #F0EBE1;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.92em;
}

.prose em { color: #4A5D3A; } /* italics in olive — feels Italian */

/* Italian-flavoured "ciao" / Italian-phrase styling helper */
.it { font-style: italic; color: #4A5D3A; }
