/* ====== Sidebar spacing / fit (moderate top + bottom) ====== */

/* Moderate spacing above/below the whole sidebar block */
header{
  /* keep fixed sidebar behavior */
  position: fixed !important;

  /* moderate top spacing (not too close to the top) */
  top: 30px !important;

  /* moderate internal padding */
  padding-top: 0px !important;
  padding-bottom: 18px !important;
}

/* Moderate gap between name and photo */
header h1{
  margin: 0 0 6px 0 !important;
}

/* Photo: keep a tight but clean gap */
header img{
  margin-top: 4px !important;
  margin-bottom: 8px !important;
}

/* Social icons row: reduce extra whitespace */
header div[style*="display:flex"]{
  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

/* Citation image: small gap from icons, moderate bottom breathing room */
.citation-img{
  display: block;
  margin-top: 4px !important;
  margin-bottom: 5px !important;
  height: 200px !important;     /* adjust: 170–210 */
  width: auto;
  max-width: 100%;
}

/* Remove "Hosted on GitHub Pages — Theme by orderedlist" footer */
footer,
footer p,
footer a{
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
