/**
* ################# Colonne latérale ################
*/

.sidebar {
  background-color: var(--bleu-fonce);
  padding-bottom: 40px;
}

.sidebar .widget_block:has(.sidebar-bloc) {
  display: none;
}

 .sidebar.widget-area .widget {
  margin-bottom: 0;
 }

 .sidebar.widget-area .widget .titre-sidebar {
  font-family: "Montserrat Alternates", serif;
  font-size: 28px;
  text-transform: uppercase;
  font-weight: 700;
 }

 .sidebar aside {
  position: relative;
 }

 .sidebar .has-triangle-before::before {
  content: "";
  display: inline-block;
  height: 0;
  width: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--orange-clair);
  position: absolute;
  left: 0;
  top: 6px;
 }

 .sidebar .has-triangle-before {
  margin-bottom: 0;
 }

 .sidebar .horaires {
  position: relative;
  padding-left: 20px;
 }

 .sidebar aside:has(.titre-sidebar) {
  /* margin-top: 40px; */
  margin-bottom: 0;
 }

.sidebar aside:has(.horaires) {
  margin-bottom: 0;
}

.sidebar aside:has(.horaires.has-triangle-before) {
  padding-bottom: 0;
}

 @media (max-width: 768px) {
  .is-left-sidebar.sidebar {
    width: 100vw;
    margin-left: -30px;
  }

  .inside-left-sidebar {
    /* padding-top: 30px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    column-gap: 40px;
  }

  /* .sidebar.widget-area .widget {
    padding: 0;
  } */

  .sidebar.widget-area .widget {
    width: 295px;
    padding-right: 20px;
    padding-left: 20px;
  }

 }



 @media (min-width: 769px) {
  .sidebar {
    width: clamp(254px, 20%, 384px);
    flex-shrink: 0;
    padding-top: 30px;

  }

  .sidebar.widget-area .widget {
    padding: 0 10%;
  }

   .sidebar aside:has(.titre-sidebar) {
    margin-top: 40px;
    /* margin-bottom: 0; */
  }
 }