/* Footer centered (and not affected by floated photo) */
.site-footer{
  clear: both;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  text-align: center;

  /* Typography: force footer to use the same font stack as the rest of the page */
  font-family: inherit !important;
  font-size: 0.95em;
  line-height: inherit;
}

/* Ensure everything inside the footer inherits the same typography */
body .site-footer,
body .site-footer *{
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* underline for a few phrases (does NOT touch links) */
.u{
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* Prevent theme wrappers from clipping floats */
main, .content, .container, article{
  overflow: visible !important;
}

/* Profile photo: float left + consistent sizing */
.profile-photo{
  display: block;
  float: left;
  width: 180px;
  max-width: 180px;
  height: auto;
  margin: 0 2rem 1rem 0;
}

/* Fallback: if class isn't applied, still make the first image behave */
main img{
  float: left;
  margin-right: 2rem;
  margin-bottom: 1rem;
  max-width: 180px;
  height: auto;
}

/* Hard-fallback for this specific filename (kept, but without debug styling) */
img[src="/images/me_flowers.jpeg"]{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  float: left !important;
  width: 180px !important;
  max-width: 180px !important;
  height: auto !important;
  margin: 0 2rem 1rem 0 !important;
}


.nav-disabled{
  opacity: 0.6;
  cursor: default;
  text-decoration: none;
}

/* страховка: даже если где-то останутся <a>, клики по ним выключены
   (работает и для /research, и для /~user/research и т.п.) */
header nav a[href*="/research"],
header nav a[href*="/service"],
header nav a[href*="/blog"]{
  pointer-events: none !important;
  cursor: default !important;
  opacity: 0.6;
  text-decoration: none !important;
}

/* 1) Одинаковый шрифт по всей странице */
html, body {
  font-family: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 2) На всякий случай — футер точно такой же */
.site-footer, .site-footer * {
  font-family: inherit;
}


.fake-link {
  color: var(--color-primary);   /* тот же цвет, что у ссылок */
  text-decoration: underline;
  cursor: default;               /* чтобы не было "руки" */
}