/* ── Minimal Mono Style ─────────────────────────────────────────────────── */

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

:root {
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --font-size-base: 0.9rem;
  --line-height: 1.75;
  --letter-spacing: -0.01em;
}

/* Tutto in monospace */
html, body, * {
  font-family: var(--font-mono) !important;
  letter-spacing: var(--letter-spacing);
}

/* Dimensioni e spaziatura */
body {
  font-size: var(--font-size-base);
  line-height: var(--line-height);
}

/* Brand / logo */
nav a[href="/"],
nav a[href="/it/"],
nav a[href="/en/"] {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

/* Titoli post in lista — peso ridotto, niente serif */
.text-lg.font-bold {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Data post — stile timestamp */
.text-sm.font-bold.whitespace-nowrap {
  font-weight: 400;
  opacity: 0.5;
  font-size: 0.8rem;
}

/* Titolo singolo post */
h1 {
  font-weight: 700;
  font-size: 1.4rem !important;
  letter-spacing: -0.03em;
  line-height: 1.3 !important;
}

/* Heading interni */
h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Blocchi di codice — già mono, solo aggiustiamo il look */
pre, code {
  font-size: 0.85rem !important;
  background: #f5f5f5;
  border-radius: 3px;
}

pre {
  padding: 1rem !important;
  border-left: 3px solid #ddd;
  border-radius: 0 3px 3px 0 !important;
}

/* Descrizione post in lista */
.text-base.mb-2 {
  font-size: 0.82rem;
  opacity: 0.85;
  font-weight: 400;
  margin-top: 2px;
}

/* Greet homepage */
.text-3xl.font-bold {
  font-size: 1.3rem !important;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Status e description autore */
.home-intro, .mt-0.mb-0 {
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 400;
}

/* Menu links */
nav ul a {
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0.75;
  transition: opacity 0.15s;
}
nav ul a:hover {
  opacity: 1;
}

/* Footer */
footer {
  font-size: 0.78rem;
  opacity: 0.5;
}

/* "Recent posts" heading */
.text-2xl.font-bold {
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
  margin-bottom: 1rem !important;
}

/* Separatore tra post */
.container > div > div + div {
  border-top: 1px solid #f0f0f0;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}