/* Semantic HTML Fixes - Maintain styling for elements that are no longer headings */

/* Formation metadata styling (formerly h6 elements) */
.formation-meta {
  font-size: 0.875rem;
  font-weight: 600;
  color: inherit;
  margin-bottom: 0.5rem;
  margin-top: 0;
  line-height: 1.4;
}

/* Maintain the original h6 styling */
.formation-meta.trainingPedagogicalModality,
.formation-meta.durationText,
.formation-meta.placeRoomGlobal {
  display: block;
  margin-bottom: 0.5rem;
}

/* Icons in formation metadata */
.formation-meta i {
  margin-right: 0.5rem;
}

/* Formateur role styling (formerly h6 in modals) */
.formateur-role {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 0;
  line-height: 1.2;
}

/* Ensure proper spacing and layout for formation cards */
.bloc_post .formation-meta {
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
}

.bloc_post .formation-meta:last-child {
  margin-bottom: 0;
}

/* Formation detail sidebar styling */
.formation-meta.trainingPedagogicalModality,
.formation-meta.durationText {
  border-left: 3px solid var(--turquoise-color, #00A4B3);
  padding-left: 12px;
  margin-bottom: 1rem;
}

/* Maintain proper hierarchy visual distinction */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  margin-top: 1rem;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  margin-top: 0.75rem;
}

/* Formation cards - ensure h3 titles look proper */
.title5 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

/* Accordion headers */
.accordion-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
}

/* Category descriptions on homepage */
.category-description {
  font-size: 0.9rem;
  color: #2c3e50; /* Darker gray for better contrast */
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-weight: 500; /* Slightly bolder for better readability */
}

/* Formation modality description */
.formation-modalite {
  font-size: 0.95rem;
  color: #495057;
  margin-bottom: 1rem;
}

/* Value descriptions on qui-sommes-nous page */
.value-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: left;
}

/* Team role descriptions */
.team-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2c3e50; /* Darker gray for better contrast */
  margin-bottom: 0.5rem;
}

/* Banner header spacing for desktop */
@media (min-width: 992px) {
  .banner_header {
    margin-top: 92px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .formation-meta {
    font-size: 0.8rem;
  }

  .formateur-role {
    font-size: 0.8rem;
  }

  .category-description {
    font-size: 0.85rem;
  }

  .value-description {
    font-size: 0.9rem;
  }

  .team-role {
    font-size: 0.8rem;
  }
}