html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: scroll;         /* always reserve vertical scrollbar space */
  scrollbar-gutter: stable;   /* modern browsers keep layout stable */
}

body {
  background-color: #fff !important;
  color: #000 !important;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Fira Code', monospace;
}

body.home {
  background-size: cover;
  background-attachment: fixed;
  background-color: white !important;
  color: #fff !important;
}

h1, h2, h3 {
  color: #000 !important;
}

body.home h1,
body.home h2,
body.home h3 {
  color: black !important;
}

.content strong {
  color: #000 !important;
}

body.home .content strong {
  color: black !important;
}

.hero, .main, .section, section {
  background: transparent !important;
  margin: 0;
  padding: 0;
}

#main, #content {
  background: transparent !important;
  margin: 0;
  padding: 0;
}

.hero-body {
  position: relative;
  height: 100%;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.landing-caption {
  position: absolute;
  top: 0in;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  z-index: 1;
  overflow: visible;
}

.hero .title {
  font-size: 72pt;
  font-weight: bold;
  color: black;
  position: relative;
}

.hero .subtitle {
  color: black !important;
  font-weight: bold;
  font-size: 32pt;
  margin-top: 16px;
}

.landing-caption a.button {
  display: none !important;
}

:root {
  --bulma-navbar-item-img-max-height: 80px !important;
}

.navbar {
  background-color: white !important;
  border-bottom: 4px solid #0047AB; /* adjust thickness and color as needed */
}

.navbar .navbar-item,
.navbar .navbar-link {
  color: black !important;
}

.navbar .navbar-item:hover,
.navbar .navbar-link:hover {
  background-color: white !important;
  color: red !important;
}

.navbar-item {
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center !important;
}

.navbar-item img {
  height: 48px !important;
  width: 48px !important;
  max-height: 64px !important;
  display: block !important;
}

.navbar.is-fresh .navbar-brand img {
  height: auto !important;
  max-height: 80px !important;
}

.author-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.author-block img {
  width: 150px;
  margin-right: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid black;
  flex-shrink: 0;
}

body:not(.home) .hero,
body:not(.home) .hero-body,
body:not(.home) section,
body:not(.home) .main {
  margin-top: 20px !important;
  padding-top: 0 !important;
}

.content > h1:first-child {
  margin-top: 1rem !important; /* or 0 if needed */
}

/* === MOBILE RESPONSIVE STYLES === */

@media screen and (max-width: 768px) {
  .content,
  .section,
  .main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    margin-top: 1.5rem; /* Add spacing above the title */
  }

  .hero-body {
    display: block !important;
    padding: 2rem 1rem 1rem 1rem !important;
    height: auto !important;
  }

  .landing-caption {
    position: static !important;
    transform: none !important;
    margin-top: 0 !important;
    padding-top: 1in;
  }

  .hero .title {
    font-size: 2rem;
    margin-top: -1.5in;
  }

  .hero .subtitle {
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: bold;
   }

  .navbar-menu {
    background-color: white !important;
  }

  .navbar-menu .navbar-item,
  .navbar-menu .navbar-link {
    color: black !important;
    font-size: 1.25rem; /* Increase font size here (e.g., 20px) */
  }

  .navbar-menu .navbar-item:hover,
  .navbar-menu .navbar-link:hover {
    background-color: #111 !important;
    color: #ffdddd !important;
  }

  .navbar-burger span {
    background-color: black !important;
  }

  .author-block {
    flex-direction: row;
    align-items: flex-start;
  }

  .author-block img {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }

  .author-block div {
    max-width: 100%;
  }

  .author-block h3,
  .author-block p {
    text-align: left;
  }
}