/* Huplok-inspired typography */

/* Base typography */
html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: #444;
  background-color: #ffffff;
}

/* Headings - Instrument Serif */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: #222;
}

h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
  font-style: italic;
}

/* Links */
a {
  color: #222;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration: underline;
}

/* Code */
code, pre {
  font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
  font-size: 0.9em;
}

code {
  background-color: #f5f5f5;
  padding: 0.2em 0.4em;
  border-radius: 3px;
}

pre {
  background-color: #f8f8f8;
  padding: 1em 1.5em;
  overflow-x: auto;
  border-left: 3px solid #e5e5e5;
}

/* Selection */
::selection {
  background-color: #222;
  color: #fff;
}

/* Blog listing page styles */
.min-h-screen.bg-white.text-black.p-8 {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1.5rem;
  background-color: #ffffff;
}

.min-h-screen.bg-white.text-black.p-8 h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #222;
  margin-bottom: 2rem;
}

.min-h-screen.bg-white.text-black.p-8 ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.min-h-screen.bg-white.text-black.p-8 ul li {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.min-h-screen.bg-white.text-black.p-8 ul li a {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #222;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.min-h-screen.bg-white.text-black.p-8 ul li p {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #888;
  margin: 0;
  margin-left: auto;
  padding-left: 1rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  .min-h-screen.bg-white.text-black.p-8 ul li {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .min-h-screen.bg-white.text-black.p-8 ul li p {
    margin-left: 0;
    padding-left: 0;
    margin-top: 0.25rem;
  }
}