/*
Theme Name: Console Sobre
Template: generatepress
Version: 1.0.0
Description: Custom theme for Le Technicien Pragmatique
*/

/* GP gap fixes below — option-key-first, CSS only for gaps */

/* Body font weight — GP parent sets 300, override to 400 */
body {
  font-weight: 400;
}

/* Front-page H1 — visible tagline proposition (§26/§27 filter 5) */
.site-tagline-heading {
  display: block;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  color: inherit;
  margin: 0;
}

/* Submit-button palette rule */
body button.wpforms-submit,
body .wpcf7-submit,
body .ff-btn-submit {
  background-color: #1A56DB !important;
  color: #ffffff !important;
}
body button.wpforms-submit:hover,
body .wpcf7-submit:hover,
body .ff-btn-submit:hover {
  filter: brightness(0.88) !important;
}

/* Search form submit palette — 404 and sidebar */
body .search-form .search-submit,
body .search-form button[type="submit"],
body .search-form input[type="submit"] {
  background-color: #1A56DB !important;
  color: #ffffff !important;
}
body .search-form .search-submit:hover,
body .search-form button[type="submit"]:hover,
body .search-form input[type="submit"]:hover {
  filter: brightness(0.88) !important;
}

/* Mobile header logo — wordmark is very wide (long site name); constrain height so it doesn't blow out the mobile header layout */
#mobile-header .mobile-header-logo img {
  height: 28px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
#mobile-header .inside-navigation {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
#mobile-header .mobile-header-logo {
  flex: 1 1 auto;
  min-width: 0;
}
#mobile-header button.menu-toggle {
  flex: 0 0 auto;
  margin-left: auto;
  width: auto;
}
