@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
  padding: 0;
  background: #0f0f0f;
  color: #b8b8b8;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */

.wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

header {
  position: static;
  width: auto;
  float: none;
  padding: 48px 0 36px;
  text-align: center;
  border-bottom: 1px solid #1e1e1e;
  margin-bottom: 52px;
}

section {
  width: auto;
  float: none;
  padding-bottom: 60px;
}

footer {
  position: static;
  width: auto;
  float: none;
}

/* ── Header nav ── */

img.home {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  display: block;
  margin: 0 auto 20px;
  transition: border-color 0.2s ease;
}

img.home:hover {
  border-color: #555;
}

header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #e0e0e0;
  margin: 0 0 16px;
}

header p {
  margin: 6px 0;
  font-size: 0.85rem;
}

header p a {
  color: #666;
  transition: color 0.2s ease;
}

header p a:hover {
  color: #aaa;
}

/* ── Typography ── */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #f0f0f0;
  line-height: 1.3;
  margin: 1.75em 0 0.4em;
}

h2 {
  font-size: 1.45rem;
  font-weight: 600;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #c8c8c8;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1.25em;
}

p.date {
  font-size: 0.8rem;
  color: #555;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 2em;
}

p.content {
  margin: 0 0 1.25em;
}

a {
  color: #7eb8f7;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:visited {
  color: #7eb8f7;
}

a:hover {
  color: #b0d4ff;
}

blockquote {
  border-left: 3px solid #2a2a2a;
  margin: 1.5em 0;
  padding: 0.25em 1.5em;
  color: #777;
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid #1e1e1e;
  margin: 40px 0;
}

/* ── Images & captions ── */

img.content {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 8px 0 0;
  display: block;
}

img.hold {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 8px 0 0;
  display: block;
  border: none;
}

p.content-image {
  margin: 32px 0 0;
  text-align: center;
}

p.blogcaption {
  font-size: 0.78rem;
  color: #555;
  text-align: center;
  margin: 10px 0 36px;
  line-height: 1.5;
  background: none;
  opacity: 1;
  padding: 0;
}

/* ── Code ── */

pre {
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 20px 24px;
  overflow-x: auto;
  margin: 0 0 1.5em;
  font-size: 0.85rem;
  line-height: 1.6;
}

code {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
  color: #c8c8c8;
}

p code {
  background: #1e1e1e;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}

ul, ol {
  padding-left: 1.5em;
  margin: 0 0 1.25em;
  color: #b8b8b8;
}

li {
  margin-bottom: 0.4em;
}

/* ── Pagination ── */

p.right {
  text-align: right;
}

p.right a,
p.left a {
  font-size: 0.875rem;
  color: #666;
}

p.right a:hover,
p.left a:hover {
  color: #aaa;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .wrapper {
    padding: 0 16px 60px;
  }

  header {
    padding: 32px 0 24px;
  }

  h2 {
    font-size: 1.25rem;
  }
}
