/* Shared page shell: background wrapper, header, logo, and main layout.
   Each page sets --bg-image before loading this file to pick its own background. */

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
  user-select: none;
  margin: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.7) 0 100%),
    var(--bg-image);
  background-size: cover;
  background-position: center;
  font-family: "Oswald", sans-serif;
  font-size: clamp(14px, 3vmin, 20px);
  color: white;
}

::backdrop {
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.7) 0 100%),
    var(--bg-image);
  background-size: cover;
  background-position: center;
}

main {
  display: block;
  margin: auto;
  text-align: center;
  align-content: center;
  height: auto;
  word-wrap: break-word;
  white-space: normal;
  width: 100%;
  max-width: 1100px;
  padding: 20px;
  padding-top: calc(64px + 20px);
  box-sizing: border-box;
}

.site-header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  background: #33604c;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.logo-wrap {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo {
  max-height: 72px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  body {
    font-size: clamp(14px, 4vmin, 18px);
  }

  .site-header {
    height: 56px;
    padding: 6px 12px;
  }

  .logo {
    max-height: 40px;
  }

  main {
    padding: 16px;
    padding-top: calc(56px + 16px);
  }
}
