@font-face {
  font-family: 'OstrichHeavy';
  src: url('/wp-content/themes/yatatheme/fonts/OstrichSans-Heavy.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.section-home-prochainsevenements {
  position: relative;
}
.section-home-prochainsevenements::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 395px;
  height: 395px;
  background: url('/wp-content/themes/yatatheme-child/assets/images/spirale.svg') no-repeat center center;
  z-index: 0;
}
.section-home-prochainsevenements .section_introduction {
  margin: auto;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.section-home-prochainsevenements .section_introduction h2.section_titre,
.section-home-prochainsevenements .section_introduction h3.section_soustitre,
.section-home-prochainsevenements .section_introduction p.section_description {
  color: #00A79B;
}
.section-home-prochainsevenements .section_introduction h3.section_soustitre {
  font-size: 4rem;
  font-weight: 400;
}
.section-home-prochainsevenements .evenements {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 3rem;
  z-index: 1;
}
.section-home-prochainsevenements .evenements .alaune_item {
  background-color: #00A79B;
  border-top-right-radius: 25% 50%;
  border-bottom-right-radius: 25% 50%;
  height: 555px;
  display: flex;
  flex-direction: row;
  padding: 5rem 5vw 5rem 5vw;
  gap: 3.3rem;
}
.section-home-prochainsevenements .evenements .alaune_item .event_image {
  width: 318px;
  height: 455px;
}
.section-home-prochainsevenements .evenements .alaune_item .event_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-home-prochainsevenements .evenements .alaune_item .infos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 50%;
}
.section-home-prochainsevenements .evenements .alaune_item .infos .category {
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 20px;
  width: fit-content;
  margin-top: 6.3rem;
}
.section-home-prochainsevenements .evenements .alaune_item .infos .date_debut,
.section-home-prochainsevenements .evenements .alaune_item .infos .date_fin {
  color: #ffffff;
  font-size: 2.2rem;
}
.section-home-prochainsevenements .evenements .alaune_item .infos .date_debut {
  margin-top: 2.7rem;
}
.section-home-prochainsevenements .evenements .alaune_item .infos .event_title {
  color: #ffffff;
  font-size: 3.4rem;
  margin-top: 3.5rem;
  height: fit-content;
}
.section-home-prochainsevenements .evenements .alaune_item .infos .bouton1 {
  font-weight: 700;
}
.section-home-prochainsevenements .evenements .alaune_item a.ensavoirplus i {
  background-color: #ffffff;
}
.section-home-prochainsevenements .evenements .alaune_item a.ensavoirplus i::before {
  color: #00A79B;
}
.section-home-prochainsevenements .evenements .alaune_item a.ensavoirplus span {
  color: #ffffff;
}
.section-home-prochainsevenements .evenements .others {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.section-home-prochainsevenements .evenements .others .event_item {
  background-color: #ffffff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.section-home-prochainsevenements .evenements .others .event_item .category {
  border: 1px solid #00A79B;
  color: #00A79B;
}
.section-home-prochainsevenements .evenements .others .event_item .date_debut,
.section-home-prochainsevenements .evenements .others .event_item .date_fin {
  font-size: 2.0rem;
  color: #00A79B;
}
.section-home-prochainsevenements .evenements .others .event_item .date_debut {
  margin-top: 2.9rem;
}
.section-home-prochainsevenements .evenements .others .event_item .event_title {
  margin-top: 2.8rem;
  color: #00A79B;
  height: fit-content;
}
.section-home-prochainsevenements .evenements .others .event_item .lien_event {
  align-self: flex-end;
  font-weight: 700;
  text-decoration: underline;
  color: #00A79B;
}
.section-home-prochainsevenements .evenements .others .event_item .lien_event i {
  display: inline-flex;
  width: 45px;
  height: 45px;
  background-color: #00A79B;
  border-radius: 50%;
  margin-left: 1.2rem;
}
.section-home-prochainsevenements .evenements .others .event_item .lien_event i::before {
  color: #ffffff;
  font-size: 1.8rem;
  margin: auto;
}
.section-home-prochainsevenements .evenements .category {
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  width: fit-content;
}
.section-home-prochainsevenements .evenements .date_debut,
.section-home-prochainsevenements .evenements .date_fin {
  font-weight: 500;
  text-transform: uppercase;
}
.section-home-prochainsevenements .evenements .event_title {
  font-weight: 700;
  text-transform: uppercase;
}
.section-home-prochainsevenements .evenements a.ensavoirplus {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
}
.section-home-prochainsevenements .evenements a.ensavoirplus span {
  font-weight: 700;
  text-decoration: underline;
}
.section-home-prochainsevenements .evenements a.ensavoirplus i {
  background-color: #00A79B;
  padding: 10px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
}
.section-home-prochainsevenements .evenements a.ensavoirplus i::before {
  color: #ffffff;
}
@media (max-width: 1400px) {
  .section-home-prochainsevenements .evenements {
    flex-direction: column;
  }
  .section-home-prochainsevenements .evenements .others {
    flex-direction: row;
    margin: auto;
  }
}
@media (max-width: 991px) {
  .section-home-prochainsevenements .section_introduction h2.section_titre {
    font-size: 4.1rem;
  }
  .section-home-prochainsevenements .section_introduction h3.section_soustitre {
    font-size: 3rem;
  }
}
@media (max-width: 768px) {
  .section-home-prochainsevenements .evenements .alaune_item {
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-top-right-radius: 100%;
    border-bottom-right-radius: 100%;
    gap: 1rem;
  }
  .section-home-prochainsevenements .evenements .alaune_item .event_image {
    width: 100%;
    height: 50%;
  }
  .section-home-prochainsevenements .evenements .alaune_item .infos {
    padding: 3rem 15rem 3rem 10rem;
    width: 90%;
  }
  .section-home-prochainsevenements .evenements .alaune_item .infos .category {
    margin-top: 0;
  }
  .section-home-prochainsevenements .evenements .alaune_item .infos .date_debut {
    margin-top: 1rem;
    font-size: 2rem;
  }
  .section-home-prochainsevenements .evenements .alaune_item .infos .date_fin {
    font-size: 2rem;
  }
  .section-home-prochainsevenements .evenements .alaune_item .infos .event_title {
    height: auto;
    margin-top: 1rem;
    font-size: 2.5rem;
  }
  .section-home-prochainsevenements .evenements .alaune_item .infos a.ensavoirplus {
    margin-right: 2rem;
  }
  .section-home-prochainsevenements .evenements .others {
    flex-direction: column;
    margin: auto;
  }
}
@media (max-width: 560px) {
  .section-home-prochainsevenements .evenements .alaune_item .infos {
    padding: 3rem;
  }
  .section-home-prochainsevenements .evenements .alaune_item .infos a.ensavoirplus {
    justify-content: flex-start;
  }
}
