/* base.css (Reviewed 2026-02-04) */
html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--text-color-dark);
  background-color: #132842;
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  margin: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: transparent;
}

hr {
  border: none;
  border-top: 1px solid var(--accent-color);
  width: 100%;
  margin: 1rem auto;
  opacity: 0.5;
}

a {
  text-decoration: none;
  color: var(--primary-blue);
}

a:hover {
  color: var(--accent-color);
}

/* Global page shell: keep footer pinned to viewport bottom on short pages. */
.bg-wrapper {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: #132842;
}

@supports not (height: 100svh) {
  .bg-wrapper {
    min-height: 100vh;
  }
}

.bg-wrapper > .site-content {
  flex: 1 0 auto;
}

.bg-wrapper > footer,
.bg-wrapper > .site-footer {
  margin-top: auto;
}
