/*
Theme Name: Kadence Child Mairie
Template: kadence
Version: 1.0
*/

:root {
  --primary-color: #1e3a8a;
  --secondary-color: #f1f5f9;
}

body {
  font-family: Arial, sans-serif;
  color: #1f2937;
}

a {
  color: var(--primary-color);
}

.site-header {
  background: var(--primary-color);
}

.site-header a {
  color: white;
}

.site-footer {
  background: #111827;
  color: white;
  padding: 20px;
}

.button, .wp-block-button__link {
  background: var(--primary-color);
  color: white;
  border-radius: 6px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}


.cf7-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.cf7-col {
    flex: 1;
    min-width: 0;
}

/* Force tous les champs à prendre la largeur */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    box-sizing: border-box;
}

/* Corrige les labels qui créent du décalage */
.wpcf7-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.wpcf7-form textarea {
    height: 180px;
    border-radius: 8px;
    padding: 12px;
    resize: none;
}

.wpcf7-submit {
    display: block;
    margin: 30px auto 0 auto;
    padding: 16px 50px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
        text-align: center;
    border: none;
    border-radius: 10px;

    background: #e67e22;
    color: white;

    cursor: pointer;
    transition: 0.3s ease;
}

.wpcf7-submit:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.tribe-common .tribe-common-c-btn-border {
color: #3182CE !important;
border-color: #3182CE !important;
}

.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
  background-color: #01a100 !important;
  color: #fff !important;
  border-color: #01a100 !important;
}

.tribe-common .tribe-common-c-btn-border:hover {
    border-color: #01a100 !important;
}

.header-navigation li.menu-item > a {
  font-weight: bold;
}

body.social-brand-colors .social-show-brand-hover .social-link-twitter:not(.ignore-brand):not(.skip):not(.ignore):hover{
  background-color: #000 !important;
}

body.social-brand-colors .social-show-brand-hover .social-link-instagram:not(.ignore-brand):not(.skip):not(.ignore):hover{
  background-color: #ff27e7 !important;
}

.tribe-events-single a{
  color:#01a100 !important;
}

.page-id-419 .a2a_kit {
    display: none !important;
}

/* MOBILE */
@media (max-width: 600px) {
    .cf7-row {
        flex-direction: column;
        gap: 10px;
    }
}