/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.text-script-red {
  font-family: Style Script;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  color: #bb2332;
  line-height: 110%;
}
.image {
  border: 7px solid #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0px 0px 48px 0px rgba(0, 0, 0, 0.2);
}

.image6,
.image5,
.image4 {
  right: 0;
  left: auto !important;
}

.carousel-container {
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.carousel-container button {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  height: 230px;
  overflow: hidden;
  perspective: 600px;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 50% !important;
  transform: translateX(-50%);
  width: 228.86px;
  height: 200px;
  object-fit: cover;
  transition: box-shadow 0.3s ease;
  will-change: transform;
  box-shadow: 0px 3px 5.8px 0px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  overflow: hidden;
}

.carousel-content h3 {
  margin-bottom: 16px;
}

@media screen and (min-width: 768px) {
  .carousel {
    height: 423px;
  }
  .carousel-image {
    height: 397px;
    width: 463.24px;
  }
}

@media screen and (min-width: 1024px) {
  .carousel {
    height: 261px;
  }
  .carousel-image {
    height: 245px;
    width: 286.42px;
  }
}

@media screen and (min-width: 1440px) {
  .carousel {
    height: 372px;
  }
  .carousel-image {
    height: 350px;
    width: 407.75px;
  }
}

.carousel-content-2,
.carousel-content-3 {
  display: none;
  opacity: 0;
  transition: all 0.3s;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.carousel-prev,
.carousel-next {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  margin: 0 8px;
}

.carousel-prev:disabled,
.carousel-next:disabled {
  opacity: 0.3;
  cursor: default;
}

.custom-carousel .swiper-wrapper {
  height: 622px;
}

.custom-carousel .elementor-loop-container.elementor-grid {
  display: flex !important; /* passe en flex */
  flex-wrap: nowrap !important; /* interdiction du retour à la ligne */
  overflow-x: auto !important; /* scroll horizontal si overflow */
  -webkit-overflow-scrolling: touch;
  padding: 48px; /* pour laisser de l'espace aux ombres sur les bords */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.custom-carousel .e-loop-item {
  flex: 0 0 auto !important; /* 0 = ne grandit pas, 0 = ne rétrécit pas, auto = taille intrinsèque */
  max-width: 362px; /* ajustez selon la largeur souhaitée */
}

.custom-carousel .elementor-loop-container.elementor-grid::-webkit-scrollbar {
  display: none;
}

.liste-disciplines-enseignees {
  padding: 0;
  margin: 0;
  list-style: none;
}

.discipline-item {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
}

.discipline-image {
  width: 48px !important;
  height: 48px !important;
  border-radius: 4px !important;
  object-fit: cover;
}

.discipline-info {
  display: flex;
  flex-direction: column;
}

.discipline-nom {
  color: var(--Common-Neutral-Hight, #4b5563);
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
}

.discipline-style-de-danse {
  color: var(--Common-Neutral-Medium, #9ca3af);
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%; /* 21px */
}

.discipline-link {
  margin-left: auto;
  color: var(--Common-Neutral-Medium, #fef3f2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 999px;
  background: #bb2332;
}

.discipline-link:hover {
  background: #7e1d2d;
}

.discipline-link:hover {
  color: white;
}

.discipline-link svg {
  width: 100%;
  height: 100%;
}

.spectacle-title {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: "Style Script";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
}

/* 2) Inversez automatiquement pour tous les items pairs */
.spectacles-grid
  .elementor-grid
  div[data-elementor-type="loop-item"]:nth-of-type(2n)
  .e-con-inner {
  flex-direction: row-reverse !important;
}

/* Event Date Styles */
.event-date {
  text-align: left;
}

/* Styles for stage dates */
.stage-date .event-days {
  color: var(--Common-Secondary-brand-Highter, #18181b);
  font-family: Poppins;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.stage-date .event-month {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  text-transform: uppercase;
}

/* Styles for soiree dates */
.soiree-date .event-day {
  color: var(--Common-Secondary-brand-Highter, #18181b);
  font-family: Poppins;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.soiree-date .event-month {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  text-transform: uppercase;
  margin-left: 8px;
}

.soiree-date .event-time {
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  margin-top: 8px;
}

.event-programme {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cours-listing,
.tarifs-listing {
  border-radius: 24px;
  box-shadow: 0px 0px 48px 0px rgba(0, 0, 0, 0.08);
  padding: 0;
  margin: 0;
  width: 100%;
  overflow-x: unset;
  -webkit-overflow-scrolling: unset;
}

.cours-listing-header,
.tarifs-listing-header {
  margin-bottom: 0;
  padding: 0;
  display: flex;
  min-width: 200px;
  overflow-x: unset;
  -webkit-overflow-scrolling: unset;
}

.cours-table,
.tarifs-table {
  margin: 0;
  border: none;
  width: 100%;
  min-width: 1000px;
}

.cours-listing-header .jour-link,
.tarifs-listing-header .type-link {
  padding: 24px;
  flex: 1;
  text-align: center;
  border-radius: 0;
  color: var(--Common-Secondary-brand-Hight, #3f3f46);
  text-align: center;
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 24px */
  text-transform: uppercase;
  background-color: #f8f8f8;
  border: 1px solid #efefef;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.tarifs-listing-header-subtitle {
  color: var(--Common-Secondary-brand-Hight, #3f3f46);
  text-align: center;
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 120%; /* 24px */
}

.type-link.active .tarifs-listing-header-subtitle {
  color: var(--Common-Primary-brand-Hight, #bb2332);
}

.type-link.active .tarif-note-container {
  background: var(--Common-Primary-brand-Hight, #bb2332);
}

.cours-listing-header .jour-link.active,
.tarifs-listing-header .type-link.active {
  background-color: white;
  border-bottom: 5px solid var(--Common-Primary-brand-Hight, #bb2332);
  font-weight: 600;
  color: var(--Common-Primary-brand-Hight, #bb2332);
}

.cours-table *,
.tarifs-table * {
  border: none;
  background-color: white;
}

.cours-table th,
table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
  background-color: white;
}

table tbody tr:hover > td,
table tbody tr:hover > th {
  background-color: white;
}

.cours-table td,
.tarifs-table td {
  padding: 16px;
  vertical-align: middle;
}

.cours-info,
.tarif-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tarif-info-label {
  color: var(--Common-Neutral-Highter, #374151);
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%; /* 18.2px */
}

.cours-value,
.tarif-value {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  text-align: center;
  /* Old/Txt* */
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
}

.cours-label,
.tarif-label {
  color: var(--Common-Neutral-Highter, #374151);
  text-align: center;
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
}

.tarif-row td {
  flex: 1 !important;
  width: 50% !important;
}

.tarif-row td:first-child {
  background: #fcfcfc !important;
}

.tarif-row td:first-child * {
  background: #fcfcfc !important;
}

.tarif-type {
  color: var(--Common-Neutral-Highter, #374151);
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%; /* 18.2px */
}

.tarifs-table tr td {
  flex: 1 !important;
  border: 1px solid #efefef;
}

.tarifs-table tr td:nth-child(odd),
.tarifs-table tr td:nth-child(odd) * {
  background: white;
}

.danses-categories-switcher {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.switcher-container {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  background: #f8f8f8;
  padding: 8px;
  align-items: center;
  gap: 4px;
  align-self: stretch;
  width: 100%;
}

@media (min-width: 768px) {
  .switcher-container {
    flex-direction: row;
    max-width: 466px;
  }
}

.switcher-container input[type="radio"] {
  display: none;
}

.switcher-container label {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Poppins;
  font-size: var(--Typeface-Size-XL, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--Typeface-Size-2XL, 24px);
  /* 120% */
  text-transform: uppercase;
  color: #646464;
  text-align: center;
  border-radius: 4px;
}

.switcher-container input[type="radio"]:checked + label {
  color: white;
  border: 1px solid #dfdfdf;
  background: #fff;
  box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1),
    0px 1px 3px 0px rgba(0, 0, 0, 0.1);
  color: #202020;
  width: 100%;
}

@media (min-width: 768px) {
  .switcher-container input[type="radio"]:checked + label {
    width: fit-content;
  }
}

.dance-style-group {
  margin-bottom: 40px;
}

.style-title {
  color: var(--Common-Secondary-brand-Hightest, #09090b);
  text-align: center;
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

.dances-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dance-item {
  padding: var(--sizes-button-input-nav-medium-padding-v, 8px) 10px;
  color: var(--Common-Primary-brand-Hight, #bb2332);
  text-align: center;
  /* Buttons/Small */
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
  text-transform: uppercase;
  border-radius: var(--Common-Radius-Round, 9999px);
  border: 1px solid var(--Common-Primary-brand-Hight, #bb2332);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dance-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--Common-Primary-brand-Hight, #bb2332);
  color: white;
}

.dance-item h3 {
  margin: 0;
  font-size: 18px;
}

.loading-spinner {
  text-align: center;
  padding: 20px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f8f8f8;
  border-top: 4px solid var(--Common-Primary-brand-Hight, #bb2332);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.html5-video-player .ytp-show-cards-title {
  display: none !important;
}

/* Professeur Disciplines Styles */
.professeur-disciplines-container {
  width: 100%;
  overflow: hidden;
}

.professeur-disciplines-list {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.professeur-disciplines-list::-webkit-scrollbar {
  display: none;
}

.professeur-discipline-item {
  flex: 0 0 350px;
  border-radius: 24px;
  border: 7px solid #fff;
  box-shadow: 0px 0px 48px 0px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.professeur-discipline-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  gap: 6px;
}

.professeur-discipline-item a:hover {
  border: 1px solid var(--Button-Tertiary-Hover-Border, #d1d5db);
  background: var(--Button-Tertiary-Hover-Background, #f3f4f6);
}

.professeur-discipline-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.professeur-discipline-item h3 {
  margin: 15px;
  font-size: 18px;
  text-align: center;
  color: #333;
}

.professeur-discipline-item .dance-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 50% 20%;
  width: 200px;
  z-index: 99;
}

.professeur-discipline-item .dance-image {
  background: #f5eee7;
  display: flex;
  justify-content: center;
  align-items: center;
}

.professeur-discipline-item .cours-info {
  padding: 24px;
  gap: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  /* height: 100%; */
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.18) inset;
}

.professeur-discipline-item .cours-details-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.professeur-discipline-item .cours-details {
  display: flex;
  flex-direction: column;
}

.professeur-discipline-item .creneau {
  font-weight: 600;
  color: #333;
}

.professeur-discipline-item .public {
  font-size: 14px;
  color: #666;
}

.professeur-discipline-item h3::before {
  content: "/";
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 28.8px */
  margin-right: 2px;
}

.voir-plus {
  border-radius: var(--Common-Radius-Round, 9999px);
  border: 1px solid var(--Common-Primary-brand-Hight, #bb2332);
  background: transparent;
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: var(--Typeface-Family-text, Barlow);
  font-size: var(--Typeface-Size-S, 14px);
  font-style: normal;
  font-weight: var(--Typeface-Weight-normal, 400);
  line-height: var(--Typeface-Size-XL, 20px);
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  padding: var(--sizes-button-input-nav-medium-padding-v, 8px)
    var(--sizes-button-input-nav-medium-padding-h, 16px);
  justify-content: center;
  align-items: center;
  gap: var(--sizes-button-input-nav-medium-gap, 6px);
  align-self: last baseline;
  transition: all 0.3s ease;
}

.voir-plus:hover {
  background: var(--Common-Primary-brand-Hight, #bb2332);
  color: white;
}

.rejoindre-cours {
  max-width: 1248px;
  margin: 0 auto;
}

.rejoindre-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rejoindre-cours p,
.rejoindre-cours h3,
.rejoindre-cours h4 {
  margin: 0;
}

.rejoindre-cours h3 {
  margin-bottom: 8px;
}

.special-title {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: "Style Script";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
}

@media (min-width: 1640px) {
  .banner {
    background-position: 65% 50% !important;
  }
}

.discipline-image {
  width: 48px !important;
  height: 48px !important;
  border-radius: 4px;
  background: #f5eee7;
  object-fit: cover;
  border: none;
}

.special {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: "Style Script";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
}

.is-active .e-n-menu-title-container span {
  color: #7e1d2d !important;
  font-family: Poppins;
  font-size: var(--Typeface-Size-M, 16px);
  font-style: normal;
  font-weight: 700 !important;
  line-height: var(--Typeface-Size-2XL, 24px); /* 150% */
  letter-spacing: 0.96px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 12%; /* 1.92px */
  text-underline-offset: 50%; /* 8px */
  text-underline-position: from-font;
  text-transform: uppercase;
}

.e-n-menu-heading .e-n-menu-title-container:hover span {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 12%; /* 1.92px */
  text-underline-offset: 50%; /* 8px */
  text-underline-position: from-font;
}

@media screen and (max-width: 768px) {
  .precedent,
  .suivant {
    position: absolute;
    bottom: 0;
  }

  .precedent {
    left: 40%;
    transform: translateX(-40%);
  }

  .suivant {
    right: 40%;
    transform: translateX(40%);
  }

  .button-container {
    padding-bottom: 130px;
  }
}

.new-header {
  display: none;
  position: absolute;
  z-index: 999;
  top: 0;
  left: 0;
}

.type-link {
  position: relative;
}

.tarif-note-container {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 4px;
  background: var(--Common-Secondary-brand-Hight, #3f3f46);
  display: flex;
  padding: 0px 4px;
  justify-content: center;
  align-items: center;
}

.tarif-note-text {
  color: var(--Common-Neutral-Lowest, #fff);
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: var(--Typeface-Weight-normal, 400);
  line-height: var(--Typeface-Size-3XL, 30px);
}

.dance-image {
  position: relative;
}

.dance-image-overlay {
  position: absolute;
  background-image: url(https://ecolededansegiannone.pycofa.fr/wp-content/uploads/2025/05/vector-2.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
}

.professeur-disciplines-list-empty {
  color: var(--Common-Neutral-Highter, #374151) !important;
  font-family: Poppins !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 300 !important;
  line-height: 150% !important; /* 24px */
}

.hover-div {
  min-height: 160px !important;
  display: none;
  transition: all 3s ease !important;
}

#contact-form-footer .elementor-field:focus,
#contact-form-contact .elementor-field:focus {
  border-color: #bb2332 !important;
}

.dances-content {
  max-width: 600px;
}

.danses-listing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dances-list {
  justify-content: center;
}

.le-studio,
.events,
.professeurs,
.informations,
.disciplines,
.menu-content-container {
  box-shadow: 0 48px 48px -2px rgba(0, 0, 0, 0.1) !important;
}

.fixed-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.3s ease;
  box-shadow: 0 16px 48px -2px rgba(0, 0, 0, 0.1) !important;
}

.reseaux-sociaux {
  display: flex;
  gap: 10px;
}

/* Mobile centering for professeur discipline cards */
@media screen and (max-width: 768px) {
  .professeur-disciplines-list {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-left: calc(50vw - 175px);
    padding-right: calc(50vw - 175px);
  }

  .professeur-discipline-item {
    scroll-snap-align: center;
  }
}

/* Styles pour les boutons de navigation du carousel professeur */
.professeur-disciplines-container + .elementor-widget-container button,
.professeur-disciplines-container ~ * button[aria-label*="Next"],
.professeur-disciplines-container ~ * button[aria-label*="Previous"],
.professeur-disciplines-container ~ * .e-n-carousel__next-button,
.professeur-disciplines-container ~ * .e-n-carousel__prev-button,
button#suivant-professeurs-grid,
button#precedent-professeurs-grid,
.elementor-widget-container button svg circle {
  stroke: var(--Common-Primary-brand-Hight, #bb2332) !important;
}

/* Style pour les boutons de navigation avec cercle */
.elementor-widget-container button[aria-label*="Next"] circle,
.elementor-widget-container button[aria-label*="Previous"] circle,
.e-n-carousel__next-button circle,
.e-n-carousel__prev-button circle {
  stroke: var(--Common-Primary-brand-Hight, #bb2332) !important;
  fill: none !important;
}

/* Style pour les flèches */
.elementor-widget-container button[aria-label*="Next"] path,
.elementor-widget-container button[aria-label*="Previous"] path,
.e-n-carousel__next-button path,
.e-n-carousel__prev-button path {
  fill: var(--Common-Primary-brand-Hight, #bb2332) !important;
}

/* Hover state */
.elementor-widget-container button[aria-label*="Next"]:hover circle,
.elementor-widget-container button[aria-label*="Previous"]:hover circle,
.e-n-carousel__next-button:hover circle,
.e-n-carousel__prev-button:hover circle {
  fill: var(--Common-Primary-brand-Hight, #bb2332) !important;
}

.elementor-widget-container button[aria-label*="Next"]:hover path,
.elementor-widget-container button[aria-label*="Previous"]:hover path,
.e-n-carousel__next-button:hover path,
.e-n-carousel__prev-button:hover path {
  fill: white !important;
}

.style-danse-hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 555px;
}

.style-danse-hero-image {
  max-height: 555px;
  width: 100%;
  object-fit: contain;
}

.fixed-menu-container .banner .e-con-inner {
  max-width: 1440px !important;
}

.tarifs-table {
  display: none;
}

.tarifs-table-mobile {
  display: table;
  margin-bottom: 0;
}

.tarifs-table-mobile tr td {
  border: 1px solid #efefef;
}

.tarifs-table-mobile td {
  background: #ffffff;
}

@media screen and (min-width: 768px) {
  .tarifs-table {
    display: table;
  }

  .tarifs-table-mobile {
    display: none;
  }
  .tarifs-listing {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  .cours-listing-header {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100%;
    min-width: max-content;
    display: flex;
    flex-wrap: nowrap;
  }
  .cours-listing-header .jour-link {
    min-width: 120px;
    flex: 0 0 auto;
  }
  .cours-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100%;
  }
  .tarifs-listing {
    overflow-x: hidden !important;
  }
  .tarifs-listing-header {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100%;
    min-width: max-content;
    display: flex;
    flex-wrap: nowrap;
  }
  .tarifs-listing-header .type-link {
    min-width: 220px;
    flex: 0 0 auto;
  }
}

.cours-listing-header {
  scrollbar-color: #bb2332 #f8f8f8;
  scrollbar-width: thin;
}

.cours-listing-header::-webkit-scrollbar {
  height: 8px;
  background: #f8f8f8;
}
.cours-listing-header::-webkit-scrollbar-thumb {
  background: #bb2332;
  border-radius: 4px;
}
.cours-listing-header::-webkit-scrollbar-thumb:hover {
  background: #7e1d2d;
}

.cours-table-wrapper {
  scrollbar-color: #bb2332 #f8f8f8;
  scrollbar-width: thin;
}

.cours-table-wrapper::-webkit-scrollbar {
  height: 8px;
  background: #f8f8f8;
}
.cours-table-wrapper::-webkit-scrollbar-thumb {
  background: #bb2332;
  border-radius: 4px;
}
.cours-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #7e1d2d;
}

.tarifs-listing-header {
  scrollbar-color: #bb2332 #f8f8f8; /* couleur du thumb et du track */
  scrollbar-width: thin; /* pour Firefox */
}

/* Pour Chrome, Edge, Safari */
.tarifs-listing-header::-webkit-scrollbar {
  height: 8px;
  background: #f8f8f8; /* couleur du track */
}
.tarifs-listing-header::-webkit-scrollbar-thumb {
  background: #bb2332; /* couleur du thumb */
  border-radius: 4px;
}
.tarifs-listing-header::-webkit-scrollbar-thumb:hover {
  background: #7e1d2d; /* couleur du thumb au hover */
}

/* Responsive adjustments for cours listing filter buttons */
@media (max-width: 768px) {
  .cours-listing-header .jour-link {
    padding: 16px 12px !important;
    font-size: 18px !important;
  }

  .category-filter-btn {
    padding: 8px 12px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .cours-listing-header .jour-link {
    padding: 12px 8px !important;
    font-size: 16px !important;
    min-width: auto !important;
  }

  .category-filter-btn {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }

  .category-filter-btn .count {
    display: none !important;
  }

  /* Réduire aussi l'espace entre les boutons */
  .cours-listing-header {
    gap: 2px !important;
  }

  .category-filters {
    gap: 4px !important;
    flex-wrap: wrap !important;
  }
}

/* Navigation controls for cours listing */
.cours-navigation-controls {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
  background: #fff;
}

.cours-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  text-decoration: none;
  outline: none;
}

.cours-nav-btn-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--Common-Primary-brand-Hight, #bb2332);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.cours-nav-btn svg {
  width: 20px;
  height: 20px;
}

.cours-nav-btn svg path {
  stroke: var(--Common-Primary-brand-Hight, #bb2332);
  stroke-width: 2.5;
  transition: stroke 0.2s ease;
}

.cours-nav-btn span {
  display: block;
  font-family: Poppins;
  font-size: 14px;
  font-weight: 500;
  color: var(--Common-Primary-brand-Hight, #bb2332);
  text-transform: uppercase;
  line-height: 1;
}

.cours-nav-btn:hover .cours-nav-btn-icon {
  background: var(--Common-Primary-brand-Hight, #bb2332);
  transform: scale(1.05);
}

.cours-nav-btn:hover svg path {
  stroke: white;
}

.cours-nav-btn:active .cours-nav-btn-icon {
  transform: scale(0.95);
}

@media (max-width: 1024px) {
  .cours-navigation-controls {
    padding: 0px 0px 16px 0px !important;
    display: flex;
  }
  .cours-navigation-controls button:active,
  .cours-navigation-controls button:focus,
  .cours-navigation-controls button:hover {
    background-color: transparent !important;
  }

  .cours-navigation-controls button {
    padding: 0px !important;
    background-color: transparent;
  }
}
