/* Glass Nav */
.glass-nav {
  background: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(171, 179, 183, 0.08);
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* ============================================================
   Article / Post prose styles
   ============================================================ */
.post-content {
  color: #586064; /* on-surface-variant */
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.post-content > p:first-of-type {
  font-size: 1.25rem;
  color: #586064;
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 2rem;
}

.post-content p {
  margin-bottom: 1.5rem;
  color: #586064;
}

/* Headings */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: #2b3437; /* on-surface */
  line-height: 1.2;
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.post-content h1 { font-size: 2.25rem; }
.post-content h2 { font-size: 1.875rem; }
.post-content h3 { font-size: 1.5rem; }
.post-content h4 { font-size: 1.25rem; }

/* Strong & em */
.post-content strong {
  color: #2b3437;
  font-weight: 600;
}
.post-content em {
  font-style: italic;
}

/* Links */
.post-content a {
  color: #005bc1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-content a:hover {
  color: #004faa;
}

/* Blockquotes */
.post-content blockquote {
  background-color: #ffffff;
  border-left: 4px solid #005bc1;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  font-style: italic;
  font-size: 1.2rem;
  color: #2b3437;
  line-height: 1.65;
  border-radius: 0 0.5rem 0.5rem 0;
}

/* Inline code */
.post-content code {
  font-family: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 0.875em;
  background-color: #f1f4f6; /* surface-container-low */
  color: #2b3437;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
}

/* Code blocks */
.post-content pre {
  background-color: #f1f4f6; /* surface-container-low */
  border-radius: 0.5rem;
  padding: 1.75rem 2rem;
  overflow-x: auto;
  margin: 2.5rem 0;
  position: relative;
  border: 1px solid rgba(171, 179, 183, 0.08);
}
.post-content pre code {
  background: none;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #586064;
}

/* Highlight.js override — keep light theme consistent */
.post-content .highlight pre,
.post-content figure.highlight pre {
  background-color: #f1f4f6;
  border-radius: 0.5rem;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  overflow-x: auto;
}

/* Lists */
.post-content ul {
  list-style: disc;
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}
.post-content ol {
  list-style: decimal;
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}
.post-content li {
  margin-bottom: 0.5rem;
}

/* Images */
.post-content img {
  max-width: 100%;
  border-radius: 0.5rem;
  margin: 2rem auto;
  display: block;
}

/* Horizontal rule */
.post-content hr {
  border: none;
  border-top: 1px solid rgba(171, 179, 183, 0.2);
  margin: 3rem 0;
}

/* Tables */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}
.post-content th {
  background: #eaeff1;
  color: #2b3437;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-content td {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(171, 179, 183, 0.15);
}

/* Mark highlight */
.post-content mark {
      background-color: #E3F2FD;
      color: #1565C0;
      padding: 0 0.2em;
      border-radius: 0.2em;
    }