/*
Theme Name: Quartz Repère
Template: generatepress
Version: 1.0.0
Description: Custom theme for Signal Grenoble
*/

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

/* Signature de site en mobile */
@media (max-width: 767px) {
  .inside-navigation::before {
    content: "Transformer les défis numériques en opportunités de croissance";
    font-style: italic;
    position: absolute;
    left: var(--gap-small, 8px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-color);
  }
  .inside-navigation { position: relative; }
}

/* Submit-button palette rule */
body button.wpforms-submit,
body .wpcf7-submit,
body .ff-btn-submit {
  background-color: #334155 !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 button — legacy form + block widget variants */
body .search-form .search-submit,
body .wp-block-search__button {
  background-color: #334155 !important;
  color: #ffffff !important;
}
body .search-form .search-submit:hover,
body .wp-block-search__button:hover {
  filter: brightness(0.88) !important;
}

/* Mobile menu toggle — GP's default assumes a dark mobile header bar and
   renders the "Menu" label in white; this site's mobile header is light. */
@media (max-width: 768px) {
  #mobile-header button.menu-toggle,
  .mobile-menu-control-wrapper button.menu-toggle {
    color: #0F172A;
  }
  #mobile-header button.menu-toggle .mobile-menu,
  .mobile-menu-control-wrapper button.menu-toggle .mobile-menu {
    color: #0F172A;
  }
}

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