/* ===== 49e GROUPE SCOUT - CSS ADDITIONNEL CONSOLIDÉ ===== */

/* Boutons bande de navigation */
.btn-small-accueil {
  align-items: center;
  background-color: initial;
  border: 1px solid #505050;
  border-radius: 3.5rem;
  color: #505050;
  cursor: pointer;
  display: flex;
  font-family: Poppins;
  font-size: 1.2rem;
  font-weight: 400;
  gap: 1.9rem;
  justify-content: center;
  letter-spacing: .46px;
  line-height: 170%;
  max-width: 100%;
  overflow: hidden;
  padding: .5rem 1rem;
  position: relative;
  text-align: center;
  transition: all .4s ease;
  width: max-content;
}
.btn-small-accueil .wp-block-button__link {
  background-color: #f8f7f7;
  color: #002d5a;
}

/* ===== MASQUER ÉLÉMENTS THÈME INUTILES ===== */
/* Pied de page thème */
.flavor-footer, .site-footer, #colophon, .site-info, footer#colophon { display: none !important; }
/* Panier WooCommerce */
.site-header-cart, .woocommerce-cart-link, .cart-contents, .widget_shopping_cart { display: none !important; }
/* Bannière WooCommerce demo */
.woocommerce-store-notice, .demo_store { display: none !important; }
/* Titre de page WordPress sur les nouvelles pages */
.page .entry-title, .page .page-title { display: none !important; }
/* Bouton Menu du thème */
.main-navigation, #site-navigation, .menu-toggle { display: none !important; }
/* Règlements généraux dans l'en-tête du thème */
.main-navigation .menu-item a[href*="reglements"],
.site-header .menu-item a[href*="reglements"] { display: none !important; }

/* ===== CONTENU PLEINE LARGEUR ===== */
.site-content, .content-area, .entry-content, .hentry, .wp-block-html,
.page .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page .entry-content { padding: 0 !important; margin: 0 auto !important; }
.page .hentry { max-width: 100% !important; padding: 0 !important; }
.site-header, .site-header-main, .site-branding-wrapper { max-width: 100% !important; width: 100% !important; }

/* ===== BANDE ROUGE - LARGEUR LIMITÉE ===== */
.top-bar-wrapper {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

/* ===== LOGO + TITRE ADAPTATIFS ===== */
.site-branding {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}
.site-title {
  font-size: clamp(0.9rem, 2.5vw, 1.6rem) !important;
  white-space: nowrap !important;
}
.custom-logo-link img, .custom-logo { max-height: 50px !important; width: auto !important; flex-shrink: 0 !important; }
@media(max-width:600px) {
  .site-title { font-size: 0.85rem !important; white-space: normal !important; line-height: 1.2 !important; }
  .custom-logo-link img, .custom-logo { max-height: 36px !important; }
}

/* ===== BANNIÈRES CENTRÉES ===== */
.flavor-header-top, .flavor-header-top-bar, .site-header .flavor-header-top {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 6px 0 !important;
}
.site-header .site-branding-wrapper, .site-header .custom-header {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.site-branding-wrapper, .site-branding {
  max-width: 100% !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

/* ===== WIDGET NAVIGATION STICKY ===== */
.widget-area-header-fullwidth, .sidebar-4 {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ===== RESPONSIVE GRANDS ÉCRANS ===== */
@media (min-width: 768px) {
  body, p, li, div, span, td, th { font-size: 16px !important; }
  .up2, .acd2, .icr49, .nt49, .sec-p, .std, .std3,
  .pcd, .pcd3, .cjcd, .up49 { font-size: 17px !important; line-height: 1.85 !important; }
  .t49, .ut2, .cjt, .sec-t, .upt { font-size: 24px !important; }
  .ach2, .ach49, .ict49, .kfv2, .drn, .drn3, .drn4, .ucn49, .stt { font-size: 16px !important; }
  .dra, .dra3, .kfl2, .uca49, .ndt49 { font-size: 14px !important; }
  .tbl3 td, .tbl td, .crow3, .crow4, .cchk, .cchk3, .cchk4 { font-size: 15px !important; }
  .ey49, .uey2, .ipey, .cjey, .upey { font-size: 13px !important; letter-spacing: 0.12em !important; }
  .hero49 h1, .uhero2 h1, .nuh h1, .cjh h1 { font-size: clamp(1.8rem, 3vw, 3rem) !important; }
}

/* ===== INFOS PRATIQUES 2x2 ===== */
.ig49 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}
@media (max-width: 768px) {
  .ig49 { grid-template-columns: 1fr !important; }
}

/* ===== SECTION ACTUALITÉS CENTRÉE ===== */
.ns49 { max-width: 780px !important; margin: 0 auto !important; }
.ni49 { padding: 16px 0 !important; }
.nt49 { font-size: 15px !important; line-height: 1.7 !important; }
@media (min-width: 1024px) { .nt49 { font-size: 16px !important; } }