/* ============================================================
   JP ROBOTIC — HEADER BRANDING (v2 / streamlined)

   Changed from the original: hardcoded #00a2ed swapped for
   var(--blue) so it tracks the shared brand token instead of a
   second, slightly-different blue (#00a2ed vs the token's
   #0099e6) living only here.
   ============================================================ */

.site-branding__name,
#site-name,
.navbar-brand .site-title { display: none !important; }

.jpr-header-lockup { display: flex; align-items: center; padding: 5px 0; }
.jpr-brand-link {
  text-decoration: none !important;
  font-family: var(--fd) !important;
  font-weight: 800 !important;
  font-size: 28px !important;
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
}
.jpr-blue-jp { color: var(--blue) !important; margin-right: 8px; }
.jpr-white-robotic { color: #ffffff !important; text-transform: uppercase; }

.region-header, .navbar-container { display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 767px) {
  .jpr-header-lockup { justify-content: center; width: 100%; }
}

/* Search bar (isolated to header/footer so admin search forms aren't styled) */
.region-header .search-form input,
.jpr-footer .search-form input,
#block-search-form #edit-keys,
#search-block-form #edit-keys {
  background-color: #1a1d21 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  padding: 8px 12px !important;
  font-family: var(--fb) !important;
  transition: border-color 0.3s ease;
}
.search-form input:focus { border-color: var(--blue) !important; outline: none !important; }

.region-header .search-form button,
.region-header .search-form input[type="submit"],
.jpr-footer .search-form button,
#block-search-form #edit-submit,
#search-block-form #edit-submit {
  background-color: var(--blue) !important;
  background-image: none !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 20px !important;
  font-family: var(--fd) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease !important;
  appearance: none;
}
.region-header .search-form button:hover,
#block-search-form #edit-submit:hover {
  background-color: var(--blue2) !important;
  box-shadow: 0 0 12px rgba(0, 162, 237, 0.5) !important;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .search-form { display: flex !important; justify-content: center; width: 100%; margin-top: 15px; }
}
