/* =========================
   Global layout stability
   ========================= */

/* Keep normal document flow (prevents flex-based sticky footer layouts in some themes) */
.site-wrap {
  display: block !important;
  min-height: auto !important;
}

/* =========================
   Navigation
   ========================= */

.site-nav {
  margin: 1.5em 0;
}

.site-nav a {
  margin-right: 1em;
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* =========================
   Footer
   ========================= */

/* Force a normal, static footer in document flow (never fixed/sticky) */
.site-footer {
  margin-top: 4em;
  font-size: 0.9em;
  color: #666;

  position: static !important;
  bottom: auto !important;

  float: none !important;
  clear: both !important;
  display: block !important;

  width: auto !important;
  max-width: none !important;
}

.site-footer hr {
  width: 100%;
}

.footer-socials {
  margin-top: 0.5em;
}

/* =========================
   Posts
   ========================= */

.post-header {
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #eee;
}

.post-header h1 {
  margin: 0 0 0.25rem 0;
  line-height: 1.25;
}

.post-date {
  margin: 0;
  font-size: 0.9em;
  opacity: 0.75;
}

.post-content > :first-child {
  margin-top: 0;
}
