.delay-transition * {
  transition: none !important;
}
.delay-transition .contextual {
  display: none;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Typography */
html {
  font-size: 16px; /* Base font size (1rem = 16px) */
  line-height: 1.5; /* Comfortable line height */
  --drupal-displace-offset-top: 0px;
  --drupal-local-tasks-offset-top: 0px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(
    var(--drupal-displace-offset-top) + var(--drupal-local-tasks-offset-top) +
      100px
  ) !important;
  overflow-x: hidden;
}

body {
  font-family: "Work Sans", sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scrollbar-gutter: stable;
  padding-top: calc(
    var(--drupal-displace-offset-top) + var(--drupal-local-tasks-offset-top)
  ) !important;
  text-wrap: pretty;
}
#main {
    overflow: hidden;
    width: 100%;
}
@media (min-width: 1119px) {
  .path-frontpage body {
    padding-top: calc(
      var(--drupal-displace-offset-top) + var(--drupal-local-tasks-offset-top) +
        2.5rem
    ) !important;
  }
}

#page-wrapper {
  isolation: isolate;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--red);
}
main h1 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  line-height: clamp(2.25rem, 3.5vw, 2.75rem);
}
main h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: clamp(2rem, 3.5vw, 2.5rem);
}
main h3 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: clamp(1.75rem, 3.5vw, 2.25rem);
}

.inline {
  display: inline;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
p {
  margin-bottom: 1.2rem;
}

*:not(h1, h2, h3, h4, h5, h6) a {
  color: var(--red);
  text-decoration: none;
}
*:is(h1, h2, h3, h4, h5, h6) a {
  text-decoration: none;
}
:is(h1, h2, h3, h4, h5, h6) a:hover {
  color: var(--red);
}

ul,
ol {
  list-style: none;
  margin-bottom: 1.2rem;
}
:is(.hero-chapo) ul {
  list-style: disc;
  padding-inline-start: 1.5rem;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input,
button,
textarea,
select {
  font: inherit;
}
a,
li,
button {
  transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 609px) {
  html {
    --drupal-displace-offset-top: 0px !important;
  }
}
.path-user .layout--pass--content-medium #block-cnam-primary-local-tasks > ul {
position: static;
background-color: var(--red);
width: 75%;
margin: -30px auto 30px;
border-radius: .5rem;
}

#block-cnam-primary-local-tasks > ul {
  position: fixed;
  top: var(--drupal-displace-offset-top);
  left: 0;
  z-index: 10000;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  height: 48px;
  width: 100%;
  background-color: var(--dark-blue);
  padding-inline: 1rem;
  margin: 0;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
#block-cnam-primary-local-tasks > ul li {
  white-space: nowrap;
}
#block-cnam-primary-local-tasks > ul li a {
  --underline-img: none;
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: white;
  transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
#block-cnam-primary-local-tasks > ul li a:hover {
  background-color: var(--medium-blue);
}

html:has(#block-cnam-primary-local-tasks > ul) {
  --drupal-local-tasks-offset-top: 48px;
}

#colorbox {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  /* width: 80vw !important;
  height: 80vh !important;
  max-width: 1280px !important;
  max-height: 720px !important; */
}

@media (max-width: 614px) {
  #block-cnam-primary-local-tasks > ul {
    height: 96px;
    font-size: 0.9rem;
    align-items: center;
  }
  html:has(#block-cnam-primary-local-tasks > ul) {
    --drupal-local-tasks-offset-top: 96px;
  }
  .main-content__container.container {
      margin: auto;
  }
}
