:root{--bg:#f2f6fb;--card:#fff;--blue:#0d3b66;--blue-2:#1761a0;--red:#b2212b;--ink:#0f2b46;--muted:#6b7f92;--ring:rgba(13,59,102,.25);--radius:18px;--shadow:0 10px 24px rgba(6,35,66,.12),0 2px 6px rgba(6,35,66,.12)}
*{box-sizing:border-box}html,body{margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;background:linear-gradient(180deg,#eaf3ff 0%,#f7fbff 22%,#fff 100%);color:var(--ink);line-height:1.5}
.container{max-width:1120px;margin:0 auto;padding:0 20px}
.site-header{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 2px 12px rgba(6,35,66,.08)}
.navbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}
.brand{display:flex;align-items:center;gap:14px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--blue);text-decoration:none}
.brand img{height:36px;width:auto}
.nav{list-style:none;display:flex;gap:28px;margin:0;padding:0}
.nav a{text-decoration:none;color:var(--ink);font-weight:700}.nav a:hover{color:var(--blue-2)}

.hero{padding:32px 0 10px}.hero-row{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:stretch}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}
.logo-card{display:flex;align-items:center;justify-content:center;min-height:240px}
.logo-card img{max-width:88%;height:auto}
.cta-card{background:linear-gradient(135deg,#0d3b66 0%,#1761a0 100%);color:#fff}
.cta-card h1{font-size:42px;line-height:1.05;margin:0 0 12px}
.cta-card p{color:#dbe8f6;margin:0 0 18px}
.hero-actions{display:flex;gap:16px}
.btn{display:inline-block;padding:12px 18px;border-radius:16px;border:2px solid transparent;text-decoration:none;font-weight:800}
.btn-primary{background:#fff;color:var(--blue);border-color:#fff}
.btn-outline{background:transparent;color:#fff;border-color:#7fb1e0}
.btn-outline:hover{background:rgba(255,255,255,.1)}

.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:14px 0 24px}
.feature .tag{display:inline-block;background:#eaf3ff;color:var(--blue);border-radius:999px;padding:6px 10px;font-weight:900}

.state-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.state-grid a.state{display:flex;justify-content:space-between;padding:14px 16px;border-radius:16px;background:#f2f6fb;box-shadow:inset 0 0 0 1px #e6eef7;text-decoration:none;color:var(--ink);font-weight:700}
.state-grid a.state:hover{background:#eaf3ff}

.table{width:100%;border-collapse:separate;border-spacing:0}
.table th,.table td{text-align:left;padding:12px 14px}
.table thead th{background:#f4f7fb}
.table tbody tr:nth-child(odd) td{background:#fbfdff}
.table tbody tr:nth-child(even) td{background:#f7fbff}
.table a{color:var(--blue-2)}

form .form-row,form .form-row-3{display:grid;gap:16px}.form-row{grid-template-columns:1fr 1fr}.form-row-3{grid-template-columns:1fr 1fr 1fr}
label{font-weight:800;color:var(--ink);display:block;margin-bottom:6px}
input,select,textarea{width:100%;padding:12px 14px;border-radius:14px;border:1px solid #d7e2ef;background:#fff;outline:none}
input:focus,select:focus,textarea:focus{border-color:#9cc2e9;box-shadow:0 0 0 4px var(--ring)}
textarea{min-height:140px}

.site-footer{background:linear-gradient(180deg,#0d3b66 0%,#0a2f55 100%);color:#dbe8f6;margin-top:28px}
.footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;padding:24px 0}
.site-footer a{color:#dbe8f6;text-decoration:none}.site-footer a:hover{color:#fff}
.copy{font-size:13px;margin-top:8px;color:#aac5df}

@media(max-width:900px){.hero-row{grid-template-columns:1fr}.state-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.features{grid-template-columns:1fr}}


/* v9g tweaks */
.hero{padding:24px 0 8px}
.hero-row{gap:20px}
.logo-card{min-height:200px}
.logo-card img{max-width:80%}
.cta-card{padding:18px}
.cta-card h1{font-size:36px}
.btn{padding:12px 20px;border-width:2px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;min-width:160px}
/* brand USA red */
.brand-text .usa{color:var(--red)}
/* state search input */
.state-search{margin:8px 0 14px;display:flex;gap:8px}
.state-search input[type="search"]{flex:1;padding:12px 14px;border-radius:14px;border:1px solid #d7e2ef}
.state-search input[type="search"]:focus{border-color:#9cc2e9;box-shadow:0 0 0 4px var(--ring)}



/* === UltraRaceUSA: Button Rendering Fix === */
.btn, button[type=submit], input[type=submit], .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 12px 18px !important;
  min-width: 160px;
  border-radius: 14px !important;
  border: 2px solid transparent !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

.btn-primary, .wp-block-button__link.is-style-fill, button[type=submit].btn-primary, input[type=submit].btn-primary {
  background: #0b5ed7 !important;
  color: #fff !important;
  border-color: #0b5ed7 !important;
}

.btn-outline, .wp-block-button__link.is-style-outline {
  background: transparent !important;
  color: #0b5ed7 !important;
  border-color: #0b5ed7 !important;
}

.hero-actions .btn + .btn { margin-left: 10px; }



/* === UltraRaceUSA: small tweaks === */
/* Subtle helper note under section headings */
.subtle-note{
  margin:.25rem 0 1rem;
  font-size:.95rem;
  color:#5b6b7a;
  opacity:.95;
}

/* Light, smaller boxed button for Contact page */
.btn-soft{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;
  min-width:120px;
  border-radius:12px;
  border:1.5px solid #cbd5e1;
  background:#f1f5f9;
  color:#0b1b2b;
  font-weight:700;
  text-decoration:none;
}
.btn-soft:hover{ background:#e9eef5; }



/* === UltraRaceUSA: make both hero CTA buttons match (solid light blue with white text) === */
.hero .hero-actions .btn-outline{
  background:#0b5ed7 !important;
  color:#fff !important;
  border-color:#0b5ed7 !important;
}

