/* Keeps the saved billetterie layout inside the screen on phones, tablets and desktops. */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
picture,
video,
canvas,
iframe,
embed,
object {
  max-width: 100%;
}

.block-partner-block .partners-li img {
  width: auto;
  height: auto;
  max-width: 130px;
  max-height: 48px;
  object-fit: contain;
}

.node__content img,
.field--name-body img,
.field__item > img,
article img,
.layout-builder__layout img {
  height: auto;
}

.slick-slider,
.entity-slider,
.js-slider-wrapper,
.arena,
.svg_map.arena_map,
#mainSVG,
#seat-mode-496,
.seat-mode-content {
  max-width: 100%;
}

/* One hero frame until the carousel starts, so the slides do not stack on reload. */
.path-frontpage .hp-landing-offers .js-slider-wrapper:not(.slick-initialized) {
  overflow: hidden;
}

.path-frontpage .hp-landing-offers .js-slider-wrapper:not(.slick-initialized) > li:not(:first-child) {
  display: none;
}

.path-frontpage .hp-landing-offers .js-slider-wrapper:not(.slick-initialized) > li:first-child img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 400;
  object-fit: cover;
}

h1,
h2,
h3,
p,
li,
td,
th,
a,
summary {
  overflow-wrap: break-word;
}

.path-frontpage .ubb-faq h2 {
  font-size: clamp(1.75rem, 8vw, 3rem) !important;
}

.ubb-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ubb-faq summary::after {
  float: none;
  flex: none;
}

@supports (padding: max(0px)) {
  #header,
  header.header,
  .site-footer {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .site-footer {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
}

#espace-client-root,
#nous-contacter-root {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 1.5rem 1rem 3rem;
}

.ubb-espace {
  width: min(560px, 100%);
  margin: 1.5rem auto 2rem;
  padding: 2rem 1.5rem 2.15rem;
  text-align: center;
  color: #263140;
  font-family: Poppins, Arial, sans-serif;
  background: #fff;
  border: 1px solid rgba(105, 27, 51, 0.22);
  border-radius: 1.25rem;
  box-shadow: 0 18px 42px rgba(74, 12, 34, 0.1);
}

.ubb-espace h1 {
  margin: 0 0 0.75rem;
  text-align: center;
  color: #691b33;
  font-family: Mongoose, Impact, sans-serif;
  font-style: italic;
  font-size: clamp(2.4rem, 8vw, 3.5rem);
  line-height: 0.95;
}

.ubb-espace__kicker {
  margin: 0 0 0.35rem;
  color: #922e4c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ubb-espace__lead,
.ubb-espace p {
  font-size: 1rem;
  line-height: 1.55;
}

.ubb-espace__form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}

.ubb-espace label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  gap: 0.4rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: #4a0c22;
}

.ubb-espace input,
.ubb-espace select,
.ubb-espace textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(105, 27, 51, 0.28);
  border-radius: 0.7rem;
  text-align: center;
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  color: #263140;
  background: #fff;
}

.ubb-espace textarea {
  min-height: 140px;
  text-align: left;
  resize: vertical;
}

.ubb-espace input:focus,
.ubb-espace select:focus,
.ubb-espace textarea:focus {
  outline: 2px solid #922e4c;
  outline-offset: 1px;
}

.ubb-espace__error {
  margin: 0;
  color: #8d1d2c;
  font-weight: 600;
}

.ubb-espace__mail {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  background: #f7eef1;
  color: #4a0c22;
  font-weight: 700;
}

.ubb-espace__mail a {
  color: #691b33;
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
}

.ubb-espace__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ubb-espace__primary,
.ubb-espace__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.ubb-espace__primary {
  justify-self: center;
  width: fit-content;
  border: 0;
  background: #691b33;
  color: #fff;
}

.ubb-espace__ghost {
  border: 1px solid #691b33;
  background: #fff;
  color: #691b33;
}

@media (max-width: 767.98px) {
  .hubber-menu-toggler {
    min-width: 44px;
    min-height: 44px;
  }

  .ubb-faq {
    margin-left: 0;
    margin-right: 0;
  }
}

.sale-btn.unavailable {
  pointer-events: none;
}

.ubb-complet {
  max-width: 640px;
  margin: 3rem auto 4rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(105, 27, 51, 0.22);
  border-radius: 1.25rem;
  box-shadow: 0 18px 42px rgba(74, 12, 34, 0.1);
  font-family: Poppins, Arial, sans-serif;
  color: #263140;
}

.ubb-complet h1 {
  margin: 0 0 0.75rem;
  color: #691b33;
  font-family: Mongoose, Impact, sans-serif;
  font-style: italic;
  font-size: clamp(2.8rem, 8vw, 4rem);
  line-height: 0.95;
}

.ubb-complet__kicker {
  margin: 0 0 0.4rem;
  color: #922e4c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ubb-complet__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: #691b33;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
