html {
  font-size: 14px;
  /* Reserve the vertical scrollbar gutter on every page so centered content
     doesn't shift when a page is long enough to show a scrollbar. */
  scrollbar-gutter: stable;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Home hero: full-bleed skyline (logo + tagline are baked into the image).
   No fixed height — the image's natural aspect ratio drives the height. */
.hero-skyline {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.hero-skyline .hero-bg {
  display: block;
  width: 100%;
  height: auto;
}

/* Transparent navbar that floats over the hero on the home page */
.navbar-transparent {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

/* When the navbar collapses (below lg), give it a solid background so the
   menu is readable, and put it back in the flow above the hero. */
@media (max-width: 991.98px) {
  .navbar-transparent {
    background: #212529;
    position: relative;
  }
}

/* Dark footer matching the live site */
.footer-dark {
  background-color: #1a1a1a;
  color: #cccccc;
}

.footer-dark a {
  color: #ffffff;
}

/* Blog post content (migrated HTML + rendered Markdown) */
.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
  margin: 0.5rem 0;
}

.blog-post-content pre {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1rem;
  overflow-x: auto;
}

.blog-post-content code {
  background: #f8f9fa;
  border-radius: 0.25rem;
  padding: 0.125rem 0.375rem;
}

.blog-post-content pre code {
  background: none;
  padding: 0;
}

.blog-post-content blockquote {
  border-left: 4px solid #dee2e6;
  padding-left: 1rem;
  color: #6c757d;
}