/**
Theme Name: Thème enfant ASTRA
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/* ==========================================================================
   Template "Astra Modern Event" pour Events Manager
   Léger, responsive et sans dépendances.
   ========================================================================== */
/* Supprime les liens souligné dans tous le site */
a {
  text-decoration: none !important;
}

/*************************************************
   /* Exemple : Style pour les événements passés */
/************************************************
.tribe-events-calendar-list__event--past {
  opacity: 0.7;
}


/* Empêche le débordement horizontal */
html,
body {
  overflow-x: hidden;
}

/* Correction du conteneur des événements à la une */
.section-featured-events,
.section-featured-events .wp-block-group,
.section-featured-events .elementor-widget-container {
  max-width: 100% !important;
  overflow-x: hidden;
}

/* Forcer les cartes à s’adapter au mobile */
.section-featured-events .event-card,
.section-featured-events article {
  max-width: 100% !important;
  flex: 1 1 auto !important;
  box-sizing: border-box;
}

/* Sécurité pour les images et iframes */
img,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Style pour les boutons personnalisés */
.btn-custom {
  @apply inline-block px-6 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 transition-colors;
}

/* Style pour les cartes d'événements au survol */
.tribe-events-calendar-list__event--featured {
  @apply border-l-4 border-blue-600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Style personnalisé pour le bouton d'inscription */
.custom-register-btn {
  background-color: #4caf50 !important;
  color: white !important;
  padding: 10px 20px !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: background-color 0.3s !important;
}

.custom-register-btn:hover {
  background-color: #45a049 !important;
}

.custom-register-btn.already-registered {
  background-color: #cccccc !important;
  cursor: not-allowed !important;
}

/*
 * Personnalisation du bouton d'inscription de WP Event Manager
 */

.registration_button.wpem-theme-button {
  background-color: #d9534f !important; /* Rouge */
  color: #ffffff !important; /* Texte blanc */
  border: none;
  border-radius: 5px;
}

.registration_button.wpem-theme-button:hover {
  background-color: #c9302c !important; /* Rouge plus foncé au survol */
  color: #ffffff !important;
}

/*Pour éviter d'afficher la date de création et l'auteur wp events manager*/
.entry-meta {
  display: none;
}

.entry-title {
  text-shadow: 1px 1px 2px #666;
}

.page-title {
  text-shadow: 1px 1px 2px #666;
}
/* masquer le lieux dans l'affichage de la fiche evenement*/
.single-event .event-venue {
  display: none;
}

/*


/* =====================================================
== CSS CORRECTIF POUR LE DROPDOWN GTRANSLATE DANS ASTRA ==
===================================================== */
