/*
Theme Name: SPED Staging Preview
Theme URI: https://www.spedtt.com/
Author: SPED
Description: Staging-only WordPress shell for reviewing the approved SPED React website while native templates and integrations are completed.
Version: 0.9.9
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: sped-staging-preview
*/

:root {
  --sped-navy: #082b45;
  --sped-blue: #37596d;
  --sped-orange: #ef5838;
  --sped-line: #dbe3e8;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: #152535;
  background: #f7f9fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.sped-preview-frame {
  display: block;
  width: 100%;
  height: 100vh;
  border: 0;
  background: #fff;
}
.admin-bar .sped-preview-frame { height: calc(100vh - 32px); }
.sped-wp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 9px max(20px, calc((100vw - 1180px) / 2));
  color: var(--sped-navy);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--sped-line);
  box-shadow: 0 4px 18px rgba(8, 43, 69, .06);
}
.sped-wp-header img { display: block; width: 150px; height: 46px; object-fit: contain; }
.sped-wp-header nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; font-weight: 700; }
.sped-wp-header a { text-decoration: none; transition: color .18s ease; }
.sped-wp-header nav a:hover { color: var(--sped-orange); }
.sped-wp-content {
  width: min(1120px, calc(100% - 32px));
  min-height: 65vh;
  margin: 32px auto;
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid var(--sped-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 45px rgba(8, 43, 69, .08);
}
.sped-wp-content h1 { margin-top: 0; color: var(--sped-navy); font-size: clamp(32px, 5vw, 52px); }
.sped-wp-footer {
  padding: 26px 20px;
  text-align: center;
  color: #d9e5ec;
  background: var(--sped-navy);
}
@media (max-width: 782px) {
  .admin-bar .sped-preview-frame { height: calc(100vh - 46px); }
  .sped-wp-header { align-items: center; flex-direction: column; gap: 8px; padding-block: 9px; }
  .sped-wp-header nav { justify-content: center; gap: 10px 16px; font-size: 12px; }
}
