/*
Theme Name: Terrain Ouvert
Template: generatepress
Version: 1.0.0
Description: Thème personnalisé pour L'Arène Sportive
*/

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

/* Ligne éditoriale mobile visible */
@media (max-width: 767px) {
  .inside-navigation::before {
    content: "Suivre le cyclisme français et le rugby amateur comme on vit chaque instant";
    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: #4D7C0F !important;
  color: #ffffff !important;
}
body button.wpforms-submit:hover,
body .wpcf7-submit:hover,
body .ff-btn-submit:hover {
  filter: brightness(0.88) !important;
}

/* Search submit button */
body .search-form .search-submit {
  background-color: #4D7C0F !important;
  color: #ffffff !important;
}
body .search-form .search-submit:hover {
  filter: brightness(0.88) !important;
}

/* Post card styling */
.post-card,
.inside-article {
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border-radius: 4px;
}

.inside-article:hover {
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

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