/* Forcer le div #content à s'étendre sur toute la largeur */
#content.hentry {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 15px !important; /* padding horizontal léger pour confort */
  box-sizing: border-box;
}

/*padding top du container au debut de la page*/
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  padding-top: 50px;
}

/*padding top du container au debut de la page petite ecran*/
.tribe-events .tribe-events-l-container {
  padding-top: 30px;
}

/*titre de categories*/
.tribe-events .tribe-events-header__title h1.tribe-events-header__title-text{
  font-family: Oswald, Arial, Helvetica, sans-serif !important;
}

/*div d'un evenement dans la vue liste*/
.tribe-events-calendar-day__event-content, 
.tribe-events-calendar-latest-past__event,
.tribe-events-calendar-list__event {
  border-top-width: 2px !important;
  border-right-width: 2px !important;
  border-bottom-width: 2px !important;
  border-left-width: 0 !important;
  border-style: solid !important; 
  border-color: rgb(42, 46, 70) !important;
  padding: 20px !important;
  background-color: #f1f1f1;
  margin-bottom: 20px;
  border-radius: 0 8px 8px 0;
}
.tribe-events-calendar-day__event,
.tribe-events-calendar-list__event-row{
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
}
.tribe-events-calendar-latest-past__event-row:hover,
.tribe-events-calendar-day__event:hover,
.tribe-events-calendar-list__event-row:hover {
  transform: scale(1.01);
  transition: transform 0.2s ease;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-details,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-details{
    width: calc(var(--tec-grid-width-1-of-8) * 8) !important;
}

/*separateur par mois (liste) et heure (jour)*/
.tribe-events-calendar-list__month-separator time{
  color: #e7344c !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
}
.tribe-events-calendar-day__time-separator time{
  color: #e7344c !important;
  font-weight: bold !important;
}
.tribe-events .tribe-events-calendar-list__month-separator:after,
.tribe-events .tribe-events-calendar-day__time-separator:after {
  background-color: #e7344c !important;
}

/*date dans la vue liste dehors la div evenement*/
.tribe-events-calendar-latest-past__event-date-tag-datetime span,
.tribe-events-calendar-list__event-date-tag-datetime span {
  color: #fff !important;
}
/*vue liste*/
.tribe-events-calendar-latest-past__event-date-tag,
.tribe-events .tribe-events-calendar-list__event-date-tag{
  background-color: #e7344c;
  border-radius: 8px 0 0 8px;
}
/*vue jour*/
.tribe-events-calendar-day__event{
  background-color: #e7344c;
  border-radius: 8px 8px 8px 8px;
}
.tribe-events .tribe-events-calendar-latest-past__event-date-tag-datetime,
.tribe-events .tribe-events-calendar-list__event-date-tag-datetime {
  padding-top: 20px !important;
}

/*date dans la vue liste dans la div evenement*/
.tribe-events-calendar-latest-past__event-header .tribe-common-b2 time,
.tribe-events-calendar-list__event-header .tribe-common-b2 time{
  color: #e7344c!important;
}

/*titre dans la div evenement*/
.tribe-events-calendar-list__event-header h3 a{
  color: #fff !important;
}

/*souligne titre quand hover*/
.tribe-common .tribe-common-anchor-thin,
.tribe-common .tribe-common-anchor-thin:active,
.tribe-common .tribe-common-anchor-thin:hover {
  border-bottom: none !important;
}

/*description dans un evenement dans la vue liste*/
.tribe-events-calendar-latest-past__event .tribe-events-calendar-latest-past__event-details .tribe-common-b2,
.tribe-events-calendar-list__event .tribe-events-calendar-list__event-details .tribe-common-b2{
  color: #2A2E46 !important;
}

/*En savoir plus*/
.tribe-events-calendar-list__event-description a {
  color: #e7344c !important
}

/*barre de recherche button chercher*/
.tribe-events-c-search button{
  background-color: #2A2E46 !important;
}

/*ajouer au calendrier button*/
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
  background-color: #2A2E46 !important;
}
.tribe-common .tribe-common-c-btn-border{
  border: 1px solid #2A2E46;
  color: #2A2E46;
}

/*calendrier*/
.datepicker-days table th{
  background-color: #fff;
}
.datepicker-days table th:hover{
  background-color: #f7f6f6 !important;
}

/*titre date des evenement en bas de la barre de recherche*/
.tribe-events button.tribe-events-c-top-bar__datepicker-button {
  color: #e7344c !important;
}
.tribe-common .tribe-common-c-svgicon__svg-fill{
  fill: #e7344c !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar{
  flex-direction: row-reverse !important;
}

/*fleche*/
.tribe-common .tribe-common-c-btn-icon--caret-left .tribe-common-c-btn-icon__icon-svg path, 
.tribe-common .tribe-common-c-btn-icon--caret-right .tribe-common-c-btn-icon__icon-svg path {
  fill: #2A2E46;
}
.tribe-events-c-top-bar__nav-list{
  margin-bottom: 0 !important;
}
.tribe-events-c-top-bar__nav-link:hover svg,
.tribe-events-c-top-bar__nav-link:focus svg {
  transform: scale(1.5); /* agrandit de 50% */
  transition: transform 0.2s ease-in-out;
}
.tribe-common .tribe-common-c-btn-icon--caret-right:hover .tribe-common-c-btn-icon__icon-svg path,
.tribe-common .tribe-common-c-btn-icon--caret-left:hover .tribe-common-c-btn-icon__icon-svg path{
  fill: #e7344c;
}
.tribe-common .tribe-common-c-btn-icon--caret-left:disabled .tribe-common-c-btn-icon__icon-svg path, 
.tribe-common .tribe-common-c-btn-icon--caret-right:disabled .tribe-common-c-btn-icon__icon-svg path {
  fill: #d5d5d5;
}

/*button aujordhui*/
.tribe-common .tribe-common-c-btn-border-small, .tribe-common a.tribe-common-c-btn-border-small {
  border: 1px solid #e7344c;
}
.tribe-common a:not(.tribe-common-anchor--unstyle),
.tribe-common a:not(.tribe-common-anchor--unstyle):visited {
  color: #e7344c !important;
}
.tribe-common .tribe-common-c-btn-border-small:active, .tribe-common a.tribe-common-c-btn-border-small:active {
    border-color: #e7344c !important;
}

/*fleche evenement precedent, suivants*/
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev-icon-svg path,
.tribe-events .tribe-events-c-nav__prev-icon-svg path,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next-icon-svg path,
.tribe-events .tribe-events-c-nav__next-icon-svg path {
  fill: #e7344c;
}
.tribe-events .tribe-events-c-nav__next:focus svg, 
.tribe-events .tribe-events-c-nav__next:hover svg,
.tribe-events .tribe-events-c-nav__prev:focus svg, 
.tribe-events .tribe-events-c-nav__prev:hover svg{
  transform: scale(1.5); 
  transition: transform 0.2s ease-in-out;
}

/*probleme avec la div evenements quand lecran est plus petite de 902px*/
@media (max-width: 902px) {
  .tribe-events-calendar-latest-past__event, .tribe-events-calendar-list__event {
    padding: 20px 0 !important;
    margin-left: 0.2px !important;
  }
}










/* ----------------Carte événement -------------------*/

/* Styles pour tous les événements */
div.tribe_events {
  /* background: #2A2E46; */
  color: white;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

/* Animation au survol */
div.tribe_events:hover {
  transform: translateY(-8px);
}

/* Titre dans la description */
div.tribe-events-single-event-description p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #2A2E46;
  position: relative;
  padding-left: 15px;
  text-align: justify;
}

/* Petite barre rouge à gauche du titre */
div.tribe-events-single-event-description p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 100%;
  background-color: #e7344c;
  border-radius: 3px;
}

/* Bouton "Ajouter au calendrier" */
@media (min-width: 768px) {
    .tribe-events-schedule {
      display: flex;
      justify-content: space-between;
    }
  }

/* Sections détails et lieu */
div.tribe-events-single-section {
  padding: 15px 20px;
  border-radius: 10px;
  margin-top: 20px;
  color: #2A2E46;
  font-size: 1rem;
}

.tribe-events-event-meta {
  flex-wrap: nowrap !important;
  flex-direction: column;
}

@media (min-width: 768px) {
    .tribe-events-event-meta.primary, .tribe-events-event-meta.secondary{
      width: 100%;
    }
    .tribe-events-meta-group{
      width: 100%;
      padding: 0 40px;
    }
    .tribe-events-event-meta {
      flex-direction: row;
    }
  }


/* Titres des sections */
.tribe-events-meta-group .tribe-events-single-section-title {
  color: #e7344c;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.3rem;
  border-bottom: 2px solid #e7344c;
  padding-bottom: 5px;
}

/* Labels dt */
div.tribe-events-single-section dl dt {
  font-weight: 600;
  margin-top: 8px;
  color: #e7344c;
}

/* Valeurs dd */
div.tribe-events-single-section dl dd {
  margin-left: 15px;
  margin-bottom: 6px;
  color: #2A2E46;
}

/* Adresse */
div.tribe-venue-location address {
  font-style: normal;
  color: #2A2E46;
  font-size: 0.95rem;
  margin-top: 4px;
}

/* Animation légère d’apparition */
div.tribe_events {
  animation: fadeInUp 0.7s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(15px);
  }
}

/*date eventement*/
.tribe-events-schedule h2 {
  color: #e7344c !important;
}