/* ============================================================
   CAMPOUT MAP PAGE — password gate + placeholder content.
   Uses the default shared theme (brown footer, cream accents),
   same as the home page, until real map design is provided.
   ============================================================ */

body { background: var(--brown); }

/* ---------- PASSWORD GATE ---------- */

.map-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown);
  padding: 24px;
}

.map-gate-form {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.map-gate-label {
  color: var(--cream);
  font-size: 16px;
  letter-spacing: 0.02em;
  margin: 0;
}

.map-gate-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font-family: 'Serial B', sans-serif;
  font-size: 16px;
  text-align: center;
  box-sizing: border-box;
}

.map-gate-input::placeholder { color: rgba(255, 232, 211, 0.6); }
.map-gate-input:focus { outline: none; border-color: var(--cream); }

.map-gate-submit {
  padding: 12px 32px;
  border-radius: 14px;
  border: 2px solid var(--cream);
  background: var(--cream);
  color: var(--brown);
  font-family: 'Serial B', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: opacity 0.2s ease;
}

.map-gate-submit:hover { opacity: 0.85; }

.map-gate-error {
  color: #ffb3a7;
  font-size: 14px;
  margin: 0;
  display: none;
}

.map-gate-error.visible { display: block; }

/* ---------- MAP CONTENT ---------- */

.map-content { background: var(--brown); }

.map-embed-wrap {
  padding-top: var(--nav-h);
  line-height: 0; /* avoid a stray inline-element gap under the iframe */
}

.map-embed {
  display: block;
  width: 100%;
  height: 900px; /* overwritten immediately once the embed reports its real height */
  border: 0;
}
