/* wallPen Privacy Policy Pages */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f0f2f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Helvetica, Arial, sans-serif;
}

/* Hide the floating dark-mode toggle injected by markdown-to-html-cli */
dark-mode {
  display: none !important;
}

/* ── Header ──────────────────────────────────────────────── */

.page-header {
  background-color: #323E48;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.page-header .brand {
  color: #CAD500;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
}

.page-header .back {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-header .back:hover {
  color: #CAD500;
}

/* ── Content ─────────────────────────────────────────────── */

.page-content {
  flex: 1;
  padding: 48px 24px;
}

/* Override the inline styles on <markdown-style> */
markdown-style {
  display: block !important;
  max-width: 780px !important;
  margin: 0 auto !important;
  padding: 56px !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

/* ── Footer ──────────────────────────────────────────────── */

.page-footer {
  background-color: #323E48;
  padding: 18px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-footer a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-footer a:hover {
  color: #CAD500;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 860px) {
  markdown-style {
    padding: 36px !important;
  }
}

@media (max-width: 600px) {
  .page-header {
    padding: 0 16px;
  }

  .page-content {
    padding: 0;
  }

  markdown-style {
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 24px !important;
  }
}
