.carrousel-card {
  max-width: 280px;
  aspect-ratio: 4 / 5;
}
.event-carousel {
  margin-top: 1.5rem;
}
.event-carousel__intro {
  margin: 0 0 1.2rem;
  padding: 0.7rem 1rem;
  background: #fff5f5;
  border-left: 3px solid var(--rouge-gc, #d9534f);
  border-radius: 4px;
  font-size: 0.95rem;
  color: #555;
}
.event-carousel__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}
.event-carousel__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  background: #fff;
  color: var(--rouge-gc, #d9534f);
  border: 2px solid var(--rouge-gc, #d9534f);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.event-carousel__tab:hover {
  background: #fff5f5;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.event-carousel__tab.is-active {
  background: var(--rouge-gc, #d9534f);
  color: #fff;
  box-shadow: 0 3px 10px rgba(217, 83, 79, 0.35);
}
.event-carousel__tab-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--rouge-gc, #d9534f);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}
.event-carousel__tab.is-active .event-carousel__tab-index {
  background: #fff;
  color: var(--rouge-gc, #d9534f);
}
.event-carousel__tab-title {
  white-space: nowrap;
}
.event-carousel__viewport {
  position: relative;
}
.event-carousel__slide {
  display: none;
  animation: eventCarouselFade 0.3s ease;
}
.event-carousel__slide.is-active {
  display: block;
}
.event-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
}
.event-carousel__nav {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--rouge-gc, #d9534f);
  border: 2px solid var(--rouge-gc, #d9534f);
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.event-carousel__nav > span {
  display: inline-block;
  margin-top: -3px;
}
.event-carousel__nav:hover {
  background: var(--rouge-gc, #d9534f);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(217, 83, 79, 0.3);
}
.event-carousel__counter {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: #666;
  font-variant-numeric: tabular-nums;
}
.event-carousel__counter-current {
  color: var(--rouge-gc, #d9534f);
  font-size: 1.2rem;
}
.event-carousel__counter-sep {
  opacity: 0.4;
}
@keyframes eventCarouselFade {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Pour les écrans de 768px et plus (ex. tablettes) */
@media only screen and (min-width: 768px) {
  body section .section-classic .section-classic__content .section-classic__content--text h1,
  body section .section-classic .section-classic__content .section-classic__content--text h2,
  body section .section-classic .section-classic__content .section-classic__content--text h3,
  body section .section-classic .section-classic__content .section-classic__content--text h4,
  body section .section-classic .section-classic__content .section-classic__content--text h5,
  body section .section-classic .section-classic__content .section-classic__content--text h6,
  body section .section-classic .section-classic__content .section-classic__content--text p {
    margin-inline: 0;
    text-align: left;
  }
}
body section.event-type-page {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  align-items: stretch;
  background: #0c0c0d;
  color: #f5f1ea;
}
body section.event-type-page .title-date {
  color: #f5f1ea;
}
body section.event-type-page .event-carousel__intro {
  background: rgba(191, 5, 5, 0.12);
  border-left-color: var(--rouge-gc, #bf0505);
  color: rgba(245, 241, 234, 0.85);
}
body section.event-type-page .event-carousel__tab {
  background: rgba(255, 255, 255, 0.06);
  color: var(--rouge-gc, #bf0505);
  border-color: var(--rouge-gc, #bf0505);
}
body section.event-type-page .event-carousel__tab:hover {
  background: rgba(191, 5, 5, 0.18);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
body section.event-type-page .event-carousel__tab.is-active {
  background: var(--rouge-gc, #bf0505);
  color: #fff;
}
body section.event-type-page .event-carousel__nav {
  background: rgba(255, 255, 255, 0.06);
  color: var(--rouge-gc, #bf0505);
  border-color: var(--rouge-gc, #bf0505);
}
body section.event-type-page .event-carousel__nav:hover {
  background: var(--rouge-gc, #bf0505);
  color: #fff;
}
body section.event-type-page .event-carousel__counter {
  color: rgba(245, 241, 234, 0.6);
}
body section.event-type-page .event-carousel__counter-current {
  color: var(--rouge-gc, #bf0505);
}
body section.event-type-page .section-classic {
  padding-inline: 0;
}
body section.event-type-page .section-classic .section-classic__conditions {
  max-width: 900px;
  margin-inline: auto;
  color: rgba(245, 241, 234, 0.7);
  border-top-color: rgba(255, 255, 255, 0.15);
}
body section.event-type-page .section-classic .section-classic__conditions a:not(.button) {
  color: var(--rouge-gc, #bf0505);
}
body section.event-type-page .section-classic .section-classic__conditions .legal {
  color: rgba(245, 241, 234, 0.5);
}
body section .section-classic .section-classic__content--stacked {
  display: flex !important;
  flex-direction: column;
  gap: 1.5rem;
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}
body section .section-classic .section-classic__content--stacked .section-classic__content--img {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}
body section .section-classic .section-classic__content--stacked .section-classic__content--img .event-flyer-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px) brightness(0.78);
  transform: scale(1.08);
  z-index: 0;
}
body section .section-classic .section-classic__content--stacked .section-classic__content--img img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 420px;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  margin-inline: auto;
}
body section .section-classic .section-classic__content--stacked .section-classic__content--text {
  display: block;
  transform: none;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  box-sizing: border-box;
  color: #f5f1ea;
}
body section .section-classic .section-classic__content--stacked .section-classic__content--text h1,
body section .section-classic .section-classic__content--stacked .section-classic__content--text h2,
body section .section-classic .section-classic__content--stacked .section-classic__content--text h3,
body section .section-classic .section-classic__content--stacked .section-classic__content--text h4,
body section .section-classic .section-classic__content--stacked .section-classic__content--text h5,
body section .section-classic .section-classic__content--stacked .section-classic__content--text h6 {
  color: #fff;
}
body section .section-classic .section-classic__content--stacked .section-classic__content--text a:not(.button) {
  color: var(--rouge-gc, #bf0505);
}
body section .section-classic .section-classic__content--stacked .section-classic__content--text a:not(.button):hover {
  color: #fff;
}
