/* Prefer system monospace fonts, fall back to common web monospaced fonts.
   Import webfonts for Inconsolata, Fira Mono and Source Code Pro as fallbacks. */
@import url('https://fonts.googleapis.com/css2?family=Inconsolata&family=Fira+Mono:wght@400;700&family=Source+Code+Pro:wght@400;700&display=swap');

/* Apply preferred font stack globally */
* {
  font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace !important;
}

body {
  font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace !important;
}

.list .main .profile .profile_inner h1,
.main .profile .profile_inner h1 {
  font-size: 24px !important;
  line-height: 1.05 !important;
}

.list .main .profile .profile_inner span,
.main .profile .profile_inner span {
  font-size: 14px !important;
  display: block !important;
  margin-top: 6px !important;
}

/* Left-align profile/home and listing content (override theme defaults) */
.main .profile {
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  flex-direction: column !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.profile .profile_inner {
  align-items: flex-start !important;
  text-align: left !important;
}

/* Ensure h1 and subtitle align left */
.main .profile h1,
.main .profile .profile_inner h1 {
  text-align: left !important;
}

.main .profile span,
.main .profile .profile_inner span {
  text-align: left !important;
}
/* Ensure entry lists are left aligned on list pages */
.list .first-entry,
.list .post-entry,
.list .entry-content,
.list .entry-header {
  text-align: left !important;
}

/* Make buttons align to the left inside profile-mode */
.main .profile .buttons {
  justify-content: flex-start !important;
}

/* Fix main container to ensure profile content is left-aligned */
.main {
  display: block !important;
  width: 100% !important;
}

.profile .buttons {
  width: 100% !important;
  display: flex !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
}

/* Reduce text sizes globally */
body {
  font-size: 14px !important;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 0.9em !important;
}

/* Post content text sizes */
.post-content,
.entry-content,
article p {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.entry-content {
  font-size: 12px !important;
}

/* Navbar underline and smaller site label */
.header {
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

.logo a {
  font-size: 16px !important;
  font-weight: 600 !important;
}

/* If label contains inline svg or img, keep them aligned */
.logo img { vertical-align: middle; }

/* Fix SVG sizing in h1 elements */
h1 svg {
  width: 18px !important;
  height: 18px !important;
  display: inline !important;
  vertical-align: middle !important;
  margin-left: 4px !important;
}

.buttons .buttons-inner {
    radius: 0px !important;
}