.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  float: left;
  margin: 0 1rem 0.5rem 0;
}

/* ============================================================
   HOME PAGE ONLY — custom top navbar on its own line below the default header.
   - Wrapped in the same "md-header__inner md-grid" as the header bar above,
     so the left edge of the navbar exactly matches the logo/icon position.
   - Not full-bleed to the screen edge, not centered.
   - Minimal text links (About / Posts / Nodes & Edges).
   - Thinner text (font-weight: 400).
   - Uses only theme CSS variables so dark/light works automatically.
   - .home-page class is added only on the home page (via the home.html template).
   ============================================================ */

.home-page .md-header__inner.md-grid .home-top-nav,
.home-page .md-grid .home-top-nav {
  display: flex;
  gap: 1.25rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  font-weight: 300; /* thinner text */
  justify-content: flex-start; /* left-aligned, first link starts at same x as the logo above */
  width: 100%;
  margin: 0;
}

.home-page .md-header__inner.md-grid .home-top-nav a,
.home-page .md-grid .home-top-nav a {
  color: var(--md-default-fg-color);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.home-page .md-header__inner.md-grid .home-top-nav a:hover,
.home-page .md-grid .home-top-nav a:hover {
  opacity: 1;
}

.home-hero {
  position: fixed;
  bottom: 8rem;
  left: 6rem;
  z-index: 1;
}

.home-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
}

.home-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin: 0.75rem 0 0 0;
  opacity: 0.85;
}

[data-md-color-scheme="slate"] .home-hero-title,
[data-md-color-scheme="slate"] .home-hero-subtitle {
  color: white;
}

@media (max-width: 767px) {
  .home-hero {
    position: static;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}

.md-tabs__link {
  text-transform: lowercase;
}

/* Match footer to header's translucent frosted-glass look */
.md-footer {
  background-color: var(--md-default-bg-color--light);
  backdrop-filter: blur(0.4rem);
  -webkit-backdrop-filter: blur(0.4rem);
  border-top: none;
}

.md-footer-meta {
  background-color: transparent;
}