.has-title-xl-font-size {
  font-size: 5rem !important;
}

footer .header__menu__social ul li {
  margin: 0 auto !important;
}

footer .header__menu__social ul li a {
  width: fit-content !important;
  display: flex !important;
  text-decoration: none;
}

@media (max-width: 460px) {
  .has-title-xl-font-size {
    font-size: 3rem !important;
  }

  .has-title-lg-2-font-size {
    font-size: 2.7rem !important;
  }
}

.header__logo {
  margin: inherit !important;
}

@media (max-width: 1399px) {
  .wrapper {
    width: 80% !important;
  }

  .home .block__slider__item img {
    width: 100%;
    height: 100% !important;
  }
}

@media (min-width: 1400px) {
  .wrapper {
    width: 50% !important;
  }

  .home .slider__item__desktop {
    width: 100vw !important;
  }
}

@media (min-width: 3000px) {
  .wrapper {
    max-width: 1600px !important;
  }

  .home .slider__item__desktop {
    width: 100vw !important;
  }
}

/*Home*/

@media (max-width: 768px) {
  .home .wp-container-19,
  .home .wp-container-17 {
    margin: inherit !important;
  }

  .mobile-none {
    display: none;
  }

  .iframe-sib {
    margin-top: -50px !important;
  }
}

/*Global*/
@media (min-width: 768px) {
  .wrapper-container {
    margin-left: 15% !important;
    margin-right: 15% !important;
  }
}

.card__evenement__cat {
  margin-bottom: 0 !important;
  margin-top: auto !important;
  padding-top: 5px;
}

@media (min-width: 992px) {
  .card__evenement {
    min-height: 500px;
  }
}

.card__evenement__info {
  display: flex;
  flex-direction: column;
}

@media (min-width: 769px) and (max-width: 1200px) {
  .card__evenement__alert {
    padding: 8 10px !important;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .card__evenement__info {
    height: 230px;
  }
}

.card__evenement__info::after {
  bottom: 10px;
}

.slider__item__mobile {
  display: none !important;
}

/*Single événement*/
.evenement__slider__photo img {
  object-fit: cover;
  width: 100%;
}

.evenement__top h1,
.evenement__top h2 {
  padding-bottom: 15px;
}

.evenement__slider {
  margin-bottom: 10px !important;
}

.evenement__slider__items {
  margin-bottom: 50px;
}

@media (max-width: 576px) {
  .evenement__slider__items {
    margin-bottom: 20px;
  }
}

.evenement__slider__caption {
  right: -2%;
}

.slider__item__mobile {
  display: none !important;
}

.slider__item__desktop {
  display: block !important;
}

@media (max-width: 767px) {
  .text__for__banner {
    position: relative !important;
    bottom: 8px !important;
  }

  .block__slider__item {
    height: initial !important;
    min-height: inherit !important;
  }

  .home .block__slider__item img {
    width: 100%;
    /* height: 250px !important; */
    object-fit: cover;
  }
}

/*Calendrier sur home*/

@media (max-width: 991px) {
  .block-calendar {
    margin-top: 30px;
  }

  .block-calendar .has-title-lg-font-size {
    font-size: 15px;
  }

  #block__calendar__month .filter__item {
    padding-left: inherit !important;
    font-size: 12px !important;
  }

  #block__calendar__month .filter__item:hover,
  #block__calendar__month:hover {
    cursor: pointer;
  }

  .block__calendar__date__arrow {
    padding: 10px 0 !important;
  }

  .block__calendar__date__event {
    padding-bottom: 10px !important;
    display: inline-block;
  }

  .home #block__calendar__content {
    display: none !important;
  }

  .block__calendar {
    overflow-x: hidden !important;
  }
}

/*Résoudre le soucis d'apparition des contenus dans le listing accordéon*/

.block-accordeon.active .block-accordeon-content,
.block-accordeon.is-admin .block-accordeon-content {
  max-height: fit-content !important;
}

/*Footer*/

footer .header__menu__social li span {
  left: inherit !important;
  right: 0;
}

/*Pointer on hover slider evenements*/
.block__calendar__date.has-event:hover,
.block__calendar__date.has-event img:hover {
  cursor: pointer !important;
}

html.menu-opened {
  overflow: hidden;
}

/*Responsive*/
html:not(.menu-opened) .responsive .header__menu__main {
  display: none;
}

.menu-opened .responsive .header__menu__main {
  position: fixed !important;
  /* width: 100vw; */
  overflow-y: scroll;
  top: 210px !important;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background-color: #000;
}

.header__second .container {
  display: flex;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .header__second {
    display: none;
  }
}

@media (max-width: 991px) {
  .header__second .header__searchbox {
    /* height: 60px;
        width: 60px; */
    left: 0;
    top: 150px;
  }

  .menu-opened .header__searchbox {
    max-height: inherit !important;
  }

  .responsive .header__searchbox {
    top: 150px;
  }

  .menu-opened header {
    height: 150px !important;
    position: sticky;
    transition: height 0.5s ease-in-out;
  }

  header {
    height: 89px;
    transition: height 0.5s ease-in-out;
  }

  .header__first .header__accessibility {
    display: none !important;
  }

  .wp-block-columns {
    margin: 0 !important;
  }

  /* .block__slider__text {
        padding: 20px !important;
    } */

  .block__slider .wrapper {
    width: 100% !important;
  }
}

/* .block__calendar:not(.dropdown-enabled)+#block__calendar__content {
    display: none !important;
} */

.mlr-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 822px) {
  .block__slider__text {
    padding: 35px;
  }

  footer .wrapper {
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

.fa-twitter::before {
  display: none !important;
}

.fa-twitter::after {
  content: "";
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../../dist/images/icons/x.svg);
  height: 23px;
  width: 23px;
}

footer .fa-twitter::after {
  filter: invert(1) !important;
}

.fa-twitter:hover::after {
  background-image: url(../../dist/images/icons/x-hover.svg);
}

.video-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.video-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.block__slider__text.text__for__banner {
  bottom: 8px;
}

@media (max-width: 992px) {
  .block__slider__text.has-primary-background-color.has-white-color.text__for__banner {
    position: relative;
    margin-top: -8px;
  }
}

.wp-element-button {
  color: #000 !important;
}

/********** Évolutions Site Web 2025 **********/
.header__new {
  padding: 3rem 0;
}

.header__new_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__new_flex .header__new_flex__logo {
  margin: 0 47px 0 0;
  max-width: 30rem;
}
.header__new_flex_nav {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 2.8rem;
}
.header__new .site__navigation ul li a {
  color: #000;
  font-feature-settings: "ss01" on;
  font-family: Maax;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
}
.header__new .site__navigation ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.header__new .site__navigation ul .bouton_rouge a {
  padding: 10px;
  background: #ff0d3c;
  color: #fff;
}
.header__new .site__navigation ul li.menu-item ul {
  display: none;

  position: absolute;
}
.header__new .site__navigation ul li.menu-item ul li {
  display: flex;
}
.header__new .site__navigation ul li.menu-item ul li a {
  color: #fff;
  padding: 1rem 2rem;
  width: 100%;
  background: #ff0d3c;
}
.header__new .site__navigation ul li.menu-item ul li a:hover {
  background: #000;
}

.header__new .site__navigation ul .menu-item-has-children:hover ul {
  display: block;
  z-index: 99;
  padding: 0.5rem 0;
}
.header__logo__mobile {
  width: 60%;
  margin: 0 auto;
}
.billeterie_mobile a {
  padding: 10px;
  background: #ff0d3c;
  color: #fff !important;
  text-decoration: none;
}
@media (min-width: 1024px) {
  .header__new_flex_nav {
    display: flex;
  }
  .header__menu__btn,
  .billeterie_mobile {
    display: none;
  }
}
@media (min-width: 1280px) {
  .header__new .container {
    width: fit-content;
  }
}
