/**
 * Pages intérieures (body.ctx-inner) : contenu en texte simple sur fond #eff0ed (comme l’accueil).
 * Menu + footer : inchangés (clip-path désactivé sur le wrapper).
 * Ordre : main.min.css → ce fichier → ctx-bitd-overrides.css
 */

body.theme-light.ctx-inner {
  font-family: BackInTheDayz, sans-serif;
}

body.ctx-inner main[data-barba="wrapper"] {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  width: 100%;
  box-sizing: border-box;
}

@media all and (max-width: 992px) {
  body.ctx-inner main[data-barba="wrapper"] {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

body.ctx-inner [data-scroll-global] {
  display: block !important;
  min-height: 100vh;
  min-height: calc((var(--vh, 1vh) * 100));
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

body.ctx-inner .ctx-inner-section.container-fluid {
  width: 100%;
  max-width: 100%;
}

body.ctx-inner main section.ctx-inner-section {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.ctx-inner main section.ctx-inner-section > .container-fluid {
  height: auto !important;
  min-height: 0 !important;
  max-width: 100%;
}

/* Texte seul : pas de carte, fond hérité du site */
body.ctx-inner .page-main {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 1.15rem 2.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
}

@media all and (min-width: 993px) {
  body.ctx-inner .page-main {
    padding: 1.25rem 1.5rem 3.5rem;
  }
}

body.ctx-inner .page-main h1 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
  line-height: 1.2;
}

body.ctx-inner .page-main .lead {
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.92;
  margin-bottom: 1.1rem;
}

body.ctx-inner .page-main p {
  margin: 0 0 0.95rem;
  line-height: 1.55;
  max-width: 40em;
}
