/*
Theme Name: Terre
Text Domain: terre
Template: blankslate
*/

/* FONT-FACES */

/* RESET */

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

* {
  margin: 0;
  padding: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
}

input,
button,
textarea,
select {
  font: inherit;
  cursor: auto;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}

body,
html {
  /*height: 100%; */
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  margin-top: 0 !important;
}

#wpadminbar {
  top: auto !important;
  bottom: 0 !important;
}

/* INIT */

:root {
  --primary: #004c91;
  --secondary: #ffce00;
  --darker: #081a3c;
  --lighter: #fce277;
  --bg: white;
  --lightgray: #f2f2f2;
  --shadow: 0 0.05rem 1.4rem #05305726;
  --lightblue: rgba(0, 76, 145, 0.2);

  --mw: -webkit-fill-available;
  --break: 55rem;
  --ratio: 1.61;
  --spacer: 2rem;
  --radius: 1rem;

  --body-s: 1.1rem;
  --body-m: 1.25rem;
  --body-l: 1.5rem;
  --bodyfont: "Space Grotesk", sans-serif;
}

html {
  font-size: clamp(16px, 1.05vw, 30px);
}

@media screen and (max-width: 55rem) {
  html {
    font-size: clamp(14px, 1.2vw, 30px);
  }
}

body {
  color: var(--primary);
  font-family: var(--bodyfont);
  font-optical-sizing: auto;
  font-weight: 400;
  background: var(--bg);
  font-size: var(--body-s);
}

@media screen and (max-width: 55rem) {
  :root {
    --box-width: 16;
  }
}

::selection {
  background-color: var(--secondary);
  color: var(--bg);
}

/* TYPE */

p {
  font-size: var(--body-s);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.p-l {
  font-size: var(--body-l);
}

.content ul,
ol,
li {
  margin-bottom: 1rem;
  line-height: 1.5;
}

a {
  color: var(--primary);
}

a:hover {
  /*color: var(--secondary);*/
}

h1 {
  /* font-size: calc(2 * var(--ratio) * 1rem); */
  font-size: clamp(2.2rem, 8vw, 7rem);
  font-weight: 500;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 500;
  text-transform: uppercase;
}

h2 span {
  color: var(--secondary);
}

.subtitle {
  color: var(--primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 0.7rem;
  display: block;
}

.text__col {
  columns: 2;
  padding-left: 12.5%;
  margin-top: 2.7rem;
}

@media screen and (max-width: 55rem) {
  .text__col {
    columns: 1;
    padding-left: 0;
  }

  h2 {
    font-size: 2.25rem;
  }
}

/* GLOBAL LAYOUT */

section {
  padding: 6rem 0;
  position: relative;
  overflow-x: hidden;
}

/* main section:last-of-type:not(.team__member) {
    padding-bottom: 0;
} */

/*.wp-block-group__inner-container,*/

.ctn {
  max-width: var(--mw);
  width: 100%;
  margin: 0 auto !important;
  padding: 0 calc(var(--spacer) * 2);
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
/*
.row > * {
  flex: 1;
}*/

section:not(:has(.ctn)) {
  padding: 2rem 1rem;
}

@media screen and (max-width: 55rem) {
  .wp-block-group__inner-container,
  .ctn {
    padding: 0 var(--spacer);
  }

  .hero {
    min-height: auto;
    padding: 5rem 0 0;
  }
}
.pb-0 {
  padding-bottom: 0 !important;
}

/* COMPONENTS */

button,
.btn,
.wp-block-button__link,
input.wpcf7-form-control.wpcf7-submit.has-spinner {
  background: var(--secondary);
  font-size: 1rem;
  /* text-transform: uppercase; */
  padding: 1rem 2rem;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  border-radius: 2rem;
  border: none;
  text-transform: uppercase;
  color: var(--primary);
  /* letter-spacing: .1rem; */
  cursor: pointer;
}

button:hover,
.btn:hover,
.wp-block-button__link:hover,
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
  background: var(--secondary);
  /*border: 1px solid var(--secondary);*/
  transition: all 0.25s ease;
}

.btn.invert {
  border: 2px solid white;
  background: transparent;
}

.btn.invert:hover {
  background: white;
  color: var(--primary) !important;
}

a.btn.icon,
.footer__cta .btn.icon {
  display: flex;
  gap: 1rem;
  width: fit-content;
  padding: 0.5rem 0.7rem 0.5rem 1rem;
  align-items: center;
  background: var(--bg);
  color: var(--darker);
}

.btn.icon svg {
  width: 2.2rem;
  /* height: 3.3rem; */
  background: var(--secondary);
  padding: 0.4rem;
  aspect-ratio: 1;
  border-radius: 100%;
}

.sm {
  padding: 0 4vw;
}

/* GUTENBERG COMPONENTS */

.wp-block-details {
  box-sizing: border-box;
  border-bottom: 1px solid #dbe2eb;
  padding: 2.5rem 0;
}

.mission__acc {
  padding: 1.5rem 0;
}

details.missions__acc:first-of-type {
  padding-top: 0;
}

.wp-block-details {
  box-sizing: border-box;
  border-bottom: 1px solid var(--secondary);
  padding: 1.5rem 0;
}

.col-reverse {
  flex-direction: row-reverse;
}

.center {
  text-align: center;
  flex-wrap: wrap !important;
}

h2.wp-block-heading {
  font-size: 2.5rem;
  text-transform: none;
}

.wp-block-image img {
  border-radius: var(--radius);
}
.content ul,
#bulles ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.content ul li,
#bulles ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
}

.content ul li::before,
#bulles ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 1.2rem;
  height: 1rem;
  background: url('data:image/svg+xml,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 114 53"><path d="M113.99 28.3c-.02-.35-.06-.69-.12-1.04-.03-.15-.07-.3-.11-.44-.06-.21-.13-.5-.26-.81-.06-.15-.13-.3-.2-.45-.11-.23-.23-.46-.39-.71-.09-.15-.2-.29-.3-.43-.1-.14-.19-.27-.3-.4L98.24 7.7c-1.33-1.54-3.26-2.43-5.3-2.43-1.68 0-3.3.6-4.57 1.7-2.92 2.52-3.25 6.95-.73 9.87l4.09 4.74H28.58C20.54 21.58 14 15.04 14 7c0-3.86-3.14-7-7-7S0 3.16 0 7.02C0 22.78 12.82 35.6 28.58 35.6h63.53l-4.57 5.52c-2.46 2.97-2.05 7.39.92 9.86 1.25 1.04 2.84 1.61 4.46 1.61 2.09 0 4.06-.92 5.39-2.54l14.07-16.99c.09-.11.18-.23.26-.36.1-.14.2-.28.29-.43.12-.2.24-.41.35-.64.08-.17.16-.34.23-.52.11-.28.18-.53.24-.75.05-.19.09-.34.12-.5.05-.29.09-.59.1-.91.01-.1.02-.22.02-.36v-.3.01Z" fill="%23FFCE00"/></svg>')
    no-repeat center center;
  background-size: contain;
}

ul.no-marker {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

ul.no-marker li::before,
ul.no-marker li::marker {
  content: none;
  display: none;
}


details summary {
  font-size: var(--body-l);
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  border-radius: 5px;
  margin-bottom: 5px;
  position: relative;
  padding: 0;
  font-weight: 400;
  transition: all 0.45s ease-in-out;
  padding-right: 4rem;
}

details p {
  font-size: var(--body-m);
  margin-top: 1rem;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::marker {
  display: none;
}

/*details summary:hover {
  padding-left: calc(var(--spacer) / 2);
}*/

details summary::after {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 -4 18 18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M.3 1.31A1.1 1.1 0 0 1 1.4.21c1.827 0 3.877.46 5.48 1.9a7.04 7.04 0 0 1 1.588 2.096 7.234 7.234 0 0 1 1.845-2.144C12.107.658 14.383.21 16.398.21a1.1 1.1 0 1 1 0 2.2c-1.74 0-3.465.393-4.731 1.385-1.142.894-2.048 2.382-2.157 4.898l-.012.517-.005.112a1.1 1.1 0 0 1-2.19 0L7.3 9.21l-.01-.527c-.097-2.56-.902-4.058-1.88-4.936-1.067-.958-2.517-1.338-4.01-1.338a1.1 1.1 0 0 1-1.1-1.1Z' fill='%23FFCE00' /%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
  position: absolute;
  right: 10px;
  top: 5px;
  transition: transform 0.15s ease;
}

details summary h3 {
  all: unset;
  width: 94%;
  display: block;
  font-weight: 500;
}

details[open] summary::after {
  transform: rotate(180deg);
}

.wp-block-details {
  box-sizing: border-box;
  border-bottom: 1px solid #ffffff38;
  padding: 1.5rem 0;
}

.wp-block-details {
  box-sizing: border-box;
  border-bottom: 1px solid var(--secondary);
  padding: 1.5rem 0;
}

h3.wp-block-heading {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

h2.wp-block-heading.bigstroke {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  margin: 4rem 0;
}

h2.wp-block-heading.bigstroke::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: -50vw;
  right: 0;
  bottom: 0;
  font-size: clamp(10rem, 20vw, 14rem);
  color: transparent;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* overflow: hidden; */
  width: 210vw;
  /* left: 0; */
  -webkit-text-stroke: 1px var(--secondary);
  text-stroke: 1px var(--secondary);
  z-index: -1;
  paint-order: stroke fill;
}

.full {
  width: 100vw;
  margin-left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  padding: 4rem 0;
}

.no-padding {
  padding: 0 !important;
}

hr.wp-block-separator {
  margin: 2rem 0;
  border: 0.5px solid lightgrey;
}

@media screen and (max-width: 55rem) {
  h2.wp-block-heading.bigstroke::before {
    content: "";
    display: none;
  }

  h2.wp-block-heading.bigstroke {
    margin: 1rem 0;
  }

  .wp-block-image .alignright {
    float: right;
    margin: 0;
  }
}

.has-medium-font-size {
  font-size: var(--body-m) !important;
}

/* HEADER */

header {
  color: var(--bg);
  padding: var(--spacer) 0;
  position: absolute;
  width: 100%;
  z-index: 9;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  filter: drop-shadow(2px 4px 6px #00000016);
  top: calc(var(--spacer) / 2);
}

svg.header__stroke {
  position: absolute;
  margin: 0 auto;
  width: 16rem;
  bottom: -1rem;
}

/*header .ctn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9;
    position: relative;
    max-width: none;
    padding: 0 calc(var(--spacer) * 1.5);
}*/

header .ctn {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 calc(var(--spacer) * 1.5);
}

.header__cta {
  justify-self: end;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12rem 0;
  flex-direction: column;
  background: var(--primary);
  background-image: var(--hero-bg);
  color: white;
  width: calc(100% - var(--spacer));
  margin: 1rem auto;
  border-radius: var(--radius);
  min-height: 65dvh;
  max-height: 85dvh;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary);
  z-index: 1;
  opacity: 0.8;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero__band {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: calc(var(--spacer) / 1.5);
  background: var(--secondary);
  z-index: 2;
  display: flex;
}

.hero__icon {
  z-index: 2;
  position: absolute;
  width: 60%;
  right: -10%;
  transform: rotate(-6deg);
}

.hero__band > div {
  flex: 1;
}

.hero__band div:nth-child(1) {
  background-color: var(--lighter);
}

.hero__band div:nth-child(2) {
  background-color: var(--secondary);
}

.hero__band div:nth-child(3) {
  background-color: var(--primary);
}

.hero__band div:nth-child(4) {
  background-color: var(--darker);
}

.hero .ctn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero h1 {
  line-height: 1;
  font-size: 3.8rem;
  text-align: left;
  margin-bottom: calc(var(--spacer) / 1.5);
  font-weight: 500;
  text-wrap: balance;
}

.hero h1 span {
  background-image: url('data:image/svg+xml,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 439 142"><path d="M372.383 52.472c-170.217-46.04-498.482 9.633-316.11 68.239 85.106 29.296 316.11 29.296 376.897-35.17 24.319-23.436-68.89-102.554-230.999-79.11" stroke="%23FFCE00" stroke-width="3.64" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50%;
  padding: 1rem;
  white-space: nowrap;
}

.hero p {
  font-size: 1.2rem;
  margin: 0.5rem 0 0 0;
  text-align: left;
  font-weight: 500;
}

header a {
  color: var(--bg);
}

header img,
.header__logo svg {
  width: 6rem;
  max-width: none;
}

.header__socials svg {
  height: 1.2rem;
}

.header__socials a:first-child svg {
  height: 1.3rem;
}

.header__socials {
  display: flex;
  gap: 1rem;
}

.light .cls-3 {
  fill: var(--bg);
}

header img:hover {
  opacity: 0.8;
}

header.wide {
  background: none;
  border-bottom: 1px solid #253d914a;
}

header.wide ul li a {
  color: var(--primary);
}

header.wide ul li a:hover {
  color: var(--secondary);
}

.breadcrumb {
  /* text-transform: uppercase; */
  /* font-weight: 300; */
  font-size: var(--body-s);
  display: flex;
  gap: 0.4rem;
  color: var(--lighter);
  justify-content: flex-start;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.breadcrumb svg {
  width: 1rem;
}

.breadcrumb span,
.breadcrumb a {
  color: var(--secondary);
  padding: 0.15rem 0.35rem;
  font-weight: 500;
}

.breadcrumb a:first-child {
  color: var(--bg);
}

span.breadcrumb__separator {
  color: var(--secondary);
  padding: 0;
  font-size: 0.5rem;
  display: contents;
}

.breadcrumb a {
  text-decoration: none;
}

svg.hero__arrow {
  display: none;
}

@media screen and (max-width: 55rem) {
  svg.hero__arrow {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: 1rem;
    display: block;
  }

  .hero__icon {
    right: -22%;
    bottom: 0;
  }

  .hero {
    min-height: auto;
    padding: 7rem 0;
  }

  .hero h1 {
    font-size: 3rem;
    padding: 0 !important;
  }

  header {
    padding: 0;
  }

  header .ctn {
    padding: 1rem var(--spacer);
    display: flex;
    justify-content: space-between;
    z-index: 3;
  }

  .hero__image {
    left: -15rem;
    top: -8rem;
    display: none;
  }

  .intro-circle {
    opacity: 0.26;
    width: 62.5vw;
    height: 62.5vw;
    margin-right: -30% !important;
  }
}

/* TOPBAR */

.topbar {
  background: var(--accent);
  color: var(--bg);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.5rem 0;
}

.topbar .ctn {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
}

.topbar__block {
  display: flex;
  align-items: center;
}

.topbar__block svg {
  margin-left: 0.3rem;
  transform: translateY(-1px);
}

.topbar a {
  text-decoration: none;
  color: var(--bg);
}

/* NAV */

nav {
  display: flex;
}

nav ul {
  list-style-type: none;
  display: flex;
  /*gap: 1rem;*/
}

nav a,
a.header__cta {
  text-decoration: none;
  color: var(--bg);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  transition: all 0.45s ease-in-out;
  font-weight: 500;
  text-decoration-color: var(--secondary);
  text-shadow: var(--darker) 0px 0 1.7rem;
}

.no__hero nav a {
  text-shadow: none;
}

nav li {
  margin-bottom: 0 !important;
  padding: 0.75rem 1rem;
  display: flex;
}

nav ul a:hover {
  /*color: var(--secondary);*/
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-color: var(--secondary);
}

.header__cta {
  background-color: var(--bg);
  border-radius: 2rem;
  margin-left: 0.5rem;
  transition: all 0.45s ease;
  padding: 0.5rem 0.7rem 0.5rem 0.7rem;
  display: flex;
  align-items: center;
  position: relative;
}

.header__cta p {
  margin: 0;
  position: absolute;
  top: -1.5rem;
  font-size: 1rem;
  line-height: 1;
  left: 0.7rem;
  font-weight: 500;
}

.header__cta a {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--primary);
  font-size: 0.9rem;
  border-radius: 4rem;
  padding: calc(var(--spacer) / 4) calc(var(--spacer) / 2);
  background: none;
  transition: background 0.3s;
}

.header__cta a {
  background: none;
}

.header__cta a.active {
  background: var(--secondary);
}

.header__cta a:hover {
  background: var(--secondary);
}

.header__cta:has(a:hover:not(.active)) a.active {
  background: none;
}

.header__cta:not(:has(a.active)) a:last-child {
  background: var(--secondary);
}

.header__cta:not(:has(a.active)):has(a:hover:not(:last-child)) a:last-child {
  background: none;
}

ul.sub-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  color: var(--bg);
  margin-top: 2rem;
  position: absolute;
  display: none;
  border-radius: 0.25rem;
  box-shadow: 0 7px 20px #00000017;
}

ul.sub-menu li {
  padding: 0.25rem 1.5rem;
}

ul.sub-menu li a {
  text-shadow: none;
}

ul.sub-menu a {
  color: var(--primary);
  text-transform: none;
  font-size: 1.1rem;
  text-decoration-color: var(--secondary);
}

ul.sub-menu li:first-child {
  padding-top: 1rem;
}

ul.sub-menu li:last-child {
  padding-bottom: 1rem;
}

ul.sub-menu a:hover {
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-color: var(--secondary);
}

.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: 0.3rem;
  margin-top: 0.3rem;
  transition: transform 0.15s ease;
  background-color: var(--secondary);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 -4 18 18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M.3 1.31A1.1 1.1 0 0 1 1.4.21c1.827 0 3.877.46 5.48 1.9a7.04 7.04 0 0 1 1.588 2.096 7.234 7.234 0 0 1 1.845-2.144C12.107.658 14.383.21 16.398.21a1.1 1.1 0 1 1 0 2.2c-1.74 0-3.465.393-4.731 1.385-1.142.894-2.048 2.382-2.157 4.898l-.012.517-.005.112a1.1 1.1 0 0 1-2.19 0L7.3 9.21l-.01-.527c-.097-2.56-.902-4.058-1.88-4.936-1.067-.958-2.517-1.338-4.01-1.338a1.1 1.1 0 0 1-1.1-1.1Z' fill='%23FFCE00' /%3E%3C/svg%3E%0A");
  mask-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 -4 18 18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M.3 1.31A1.1 1.1 0 0 1 1.4.21c1.827 0 3.877.46 5.48 1.9a7.04 7.04 0 0 1 1.588 2.096 7.234 7.234 0 0 1 1.845-2.144C12.107.658 14.383.21 16.398.21a1.1 1.1 0 1 1 0 2.2c-1.74 0-3.465.393-4.731 1.385-1.142.894-2.048 2.382-2.157 4.898l-.012.517-.005.112a1.1 1.1 0 0 1-2.19 0L7.3 9.21l-.01-.527c-.097-2.56-.902-4.058-1.88-4.936-1.067-.958-2.517-1.338-4.01-1.338a1.1 1.1 0 0 1-1.1-1.1Z' fill='%23FFCE00' /%3E%3C/svg%3E%0A");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.logo__none {
  fill: none;
}

.logo__name {
  fill: var(--primary);
}

.logo__and {
  fill: var(--primary);
  opacity: 0.5;
}

.logo__highlight {
  fill: var(--secondary);
}

.menu-item-has-children.active > a::after {
  transform: rotate(180deg);
}

.menu__button {
  height: 2rem;
  display: none;
}

.menu__icon svg {
  width: 2.5rem;
}

.menu__icon .line {
  /* stroke: var(--bg);*/
}

.menu__icon .cross {
  display: none;
}

.open .menu__icon .line {
  display: none;
}

.open .menu__icon .cross {
  display: block;
}

.open path.cross {
  /*stroke: var(--bg);*/
}

.nav__right {
  display: none;
}

/* a.header__cta {
    background: var(--secondary);
    text-transform: uppercase;
    padding: 1rem 2rem;
    color: var(--bg);
    position: relative;
    text-decoration: none;
    font-size: .8rem;
    text-transform: uppercase;
    border-radius: 3.2rem;
    padding: .8rem 1.6rem;
}

a.header__cta:hover {
    background: #cc610a;
    transition: all .25s ease;
} */

.current-menu-item a,
.current_page_item a,
.current-menu-ancestor > a {
  /*color: var(--secondary);*/
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-color: var(--secondary);
}

@media screen and (max-width: 55rem) {
  .header__cta {
    display: none;
  }

  header {
    flex-direction: row-reverse;
  }

  .header__menu {
    justify-content: flex-end;
    transform: translateY(-0.5rem);
  }

  .header__menu-left,
  .header__menu-right li:not(.header__socials) {
    display: none;
  }

  .header__menu-right {
    justify-content: flex-start;
    margin-left: 0;
  }

  .header__logo svg {
    width: 5rem;
  }

  .header__socials {
    padding-right: 0;
  }

  .menu__button {
    height: 1.5rem;
    display: block;
    cursor: pointer;
    transform: translateY(-0.5rem);
    z-index: 9;
  }

  .nav__right {
    height: 100dvh;
    position: fixed;
    z-index: 1;
    background: var(--primary);
    top: 0;
    width: 100%;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: calc(var(--spacer) * 2.5);
  }

  .nav__right.open .header__cta {
    display: flex;
    justify-content: center;
  }

  .nav__right .header__cta a {
    color: var(--primary) !important;
  }

  .nav__right .header__cta p {
    margin: 0 auto;
    position: absolute;
    top: -2rem;
    left: unset;
    font-weight: 500;
  }

  .nav__right.open {
    display: flex;
    z-index: 2;
  }

  .nav__right ul {
    list-style-type: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .nav__right li {
    margin-bottom: 0;
  }

  .nav__right a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(1rem, 4vw, 1.8rem);
    color: white;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav#menu {
    display: none;
  }

  header.wide .nav__right a {
    color: var(--bg);
  }

  a.header__cta {
    display: none;
  }

  .topbar {
    display: none;
  }

  ul.sub-menu {
    width: 100vw;
    position: relative;
    display: none;
    background: none;
    margin-top: 1rem;
    box-shadow: none;
    gap: 0;
  }

  ul.sub-menu a {
    padding: 0;
    opacity: 0.7;
  }

  ul.sub-menu a {
    color: var(--bg);
  }

  ul.sub-menu li:last-child {
    padding-bottom: 0;
  }

  ul.sub-menu li:first-child {
    padding-top: 0;
  }

  .menu-item-has-children > a::after {
    background: var(--secondary);
  }
}

/* FOOTER */

footer {
  background: var(--darker);
  color: var(--bg);
  padding: 6rem 0;
  font-size: 0.7rem;
  position: relative;
  z-index: 9;
}

footer .ctn:first-of-type {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.footer__end {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .site__logo {
  width: 8rem;
  justify-self: end;
}

footer h2 {
  text-transform: none;
  font-size: 4rem;
}

footer h2 span {
  color: var(--secondary);
}

footer h3 {
  font-size: 1.3rem !important;
  /* text-transform: uppercase; */
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: calc(var(--spacer) / 1.75) !important;
}

.footer__btn {
  display: flex;
  gap: calc(var(--spacer) / 2);
  margin-top: calc(var(--spacer) * 2);
  flex-wrap: wrap;
}

@media screen and (min-width: 55rem) {
  .footer__column {
    flex: 1;
  }

  footer .row .footer__column:last-child {
    text-align: right;
    flex: 3;
  }
}

footer li {
  font-size: 0.7rem;
  margin: 0;
  list-style: none;
}

footer .row {
  margin-top: calc(var(--spacer) * 3);
}

footer .row p {
  align-items: flex-start;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

footer a {
  color: var(--bg);
}

footer p {
  font-size: 0.8rem;
}

.footer__cta {
  padding: 3rem 0 !important;
  position: relative;
  background: var(--secondary);
  color: var(--primary);
  z-index: 9;
}

.footer__cta .ctn {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: var(--mw) !important;
}

.footer__cta .ctn > div:first-child {
  flex: 1 1 33%;
}

.footer__cta .btn.icon {
  color: var(--primary);
}

.footer__cta button {
}

/* .footer__cta a {
    text-decoration: none;
    color: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    height: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
} */

.footer__cta h3 {
  font-size: var(--body-l);
  line-height: 1.2;
  font-weight: 500;
  flex: 1.5;
}

.footer__cta p {
  margin: 0 0 1.5rem;
  font-weight: 400;
}

.footer__cta form {
  display: flex;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  flex: 1;
}

.footer__cta form > div:first-child {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  justify-content: space-between;
}

.footer__cta form input {
  width: 50%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  background-color: var(--bg);
  color: var(--primary);
  font-size: 1rem;
  flex: 2;
  /* border: 2px solid var(--primary); */
}

input[type="email"] {
  width: 100% !important;
}

.footer__cta form input::placeholder {
  color: var(--primary);
  opacity: 0.8;
}

.footer__cta form button {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}

.footer__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  font-weight: 400;
  margin-bottom: 4rem;
  text-align: center;
}

.footer__info svg {
  margin-top: 0.5rem;
  width: 6rem;
}
.footer__info path {
  margin-top: 0.5rem;
  width: 6rem;
}

.footer__info li {
  list-style-type: none;
  margin-bottom: 0.5rem;
}

.footer__sm {
  text-align: center;
}

.footer__sm {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  list-style-type: none;
  margin-top: 1rem;
}

.footer__sm svg {
  fill: var(--bg);
  width: 2rem;
  transition: all 0.25s ease-in-out;
}

.footer__sm svg:hover {
  transform: scale(1.05);
}

.footer__sm svg:hover path {
  fill: var(--secondary) !important;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.7rem;
  border-top: 1px solid #343434;
  padding-top: 2rem;
}

.footer__menu {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin-top: 2rem;
  font-size: 0.85rem;
  flex-direction: row;
  gap: 1rem;
}

.partners-list {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.partners-list img {
  height: 3rem;
}

.partners-list a:first-child img {
  transform: scale(1.5);
}

.footer__menu a {
  text-decoration: none;
}

@media screen and (max-width: 55rem) {
  footer {
    text-align: center;
  }

  .footer__cta .ctn {
    flex-direction: column;
  }

  .footer__cta ul {
    justify-content: center;
  }

  .footer__cta h3 {
    text-align: center;
  }

  .footer__cta form > div:first-child {
    flex-direction: column;
    align-items: center;
  }

  .footer__column {
    width: 100%;
  }

  footer .row {
    gap: 2rem;
    text-align: center;
    flex-direction: column;
  }

  .footer__sm {
    justify-content: center;
  }

  footer h2 {
    font-size: 2rem;
  }
  footer .site__logo {
    justify-self: center;
  }

  .footer__end {
    flex-direction: column;
    gap: var(--spacer);
  }
  .footer__btn {
    justify-content: center;
  }
}

/* HOMEPAGE */

.page-template-page-homepage .hero::before {
  background: var(--darker);
  opacity: 0.4;
}

.page-template-default .hero__content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

section:has(.slider) {
  background-image: url(https://www.studiocolibri.be/ecorce/wp-content/uploads/2024/12/home-kleft.svg);
  background-repeat: no-repeat;
  background-size: 50%;
  padding-bottom: 2rem;
}

.has-beige-background-color svg {
  position: absolute;
  bottom: 0;
}

.has-beige-background-color {
  padding-top: 6rem !important;
}

@media screen and (min-width: 55rem) {
  .page-template-default .hero__content {
    padding-right: 30%;
  }
}

@media screen and (max-width: 55rem) {
  .hero {
    /*margin-top: 3rem;*/
  }

  section#workshops {
    overflow-x: hidden;
  }

  .hero__content {
    padding-top: var(--spacer);
  }
}

.hero__sticker {
  background: var(--secondary);
  border-radius: 50%;
  padding: clamp(0.1rem, 0.7vw, 0.4rem);
  position: fixed;
  bottom: clamp(1rem, 5vw, 4rem);
  right: clamp(1rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out;
  z-index: 8;
}

.hero__sticker:hover {
  transform: scale(1.1);
}

.page-id-650 .hero__sticker {
  display: none;
}

@keyframes infiniteRotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero__sticker-circle {
  width: clamp(7rem, 13vw, 7.5rem);
  transform: rotate(0);
  animation: infiniteRotation 20s linear infinite;
}

svg.hero__sticker-icon {
  width: clamp(1.7rem, 6.5vw, 2.5rem);
  position: absolute;
  fill: var(--bg);
  transition: transform 0.2s ease-in-out;
  transform: translateX(0.28vw);
  margin-left: -0.4rem;
}

/*.hero__sticker:hover .hero__sticker-icon {
    transform: rotate(10deg); 
}*/

#team {
  min-height: 90dvh;
  background: var(--sable);
  display: flex;
  background-size: cover;
}

#team .ctn {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

#realisations {
  background: var(--sable);
  scroll-margin-top: 1000px; /* Ajuste selon la hauteur de ton menu */
}

#realisations .ctn {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(49%, 1fr));
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  justify-items: end;
}

#realisations .ctn > * {
  flex: 1;
}

#realisations button,
#realisations .btn {
  margin-right: 0.4rem;
}

#realisations button svg,
#realisations .btn svg {
  height: 1.3rem;
  margin-right: 0.5rem;
  margin-left: -0.5rem;
  fill: white !important;
}

@media screen and (max-width: 55rem) {
  .quoted {
    background-size: 10% auto, 10% auto;
    background-position: 2% 10%, 98% 90%;
  }

  #team .ctn {
    justify-content: center;
  }

  #team {
    min-height: 74vw;
    background-repeat: no-repeat;
    background-position: center;
  }
}

/* A-PROPOS */

#a-propos p {
  font-size: var(--body-l);
}

#a-propos .ctn {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

#a-propos ul {
  list-style-type: none;
  width: 100%;
  margin-top: var(--spacer);
}

#a-propos li {
  border-bottom: 1px solid var(--lightgray);
  padding: 1.25rem 0;
  margin-bottom: 0;
}

#a-propos li a {
  display: flex;
  text-decoration: none;
  justify-content: space-between;
  align-items: center;
}

#a-propos li a img {
  height: 2.5rem;
  aspect-ratio: 1;
}

#a-propos li h3 {
  text-transform: uppercase;
  font-size: 1.5rem;
}

@media screen and (min-width: 55rem) {
  #a-propos .ctn div:last-child {
    padding-right: calc(var(--spacer) * 2);
  }
}

@media screen and (max-width: 55rem) {
  #a-propos {
    padding-top: var(--spacer);
  }
}

/* SERVICES */

#services {
  background: var(--lightgray);
}

#services .ctn {
  display: flex;
  gap: calc(var(--spacer) * 2);
  padding-right: 0;
}

.services__content {
  flex: 2.15;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services__image {
  flex: 1;
}

.services__image img {
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

#services .embla__controls {
  display: none;
}

#services .embla__dots {
  margin-top: 12.5%;
}

@media screen and (max-width: 30rem) {
  #services .ctn {
    flex-direction: column-reverse;
  }

  .services__image {
    width: calc(100% - 1rem);
  }

  .services__content {
    gap: var(--spacer);
  }
}

/* FIGURES */

#figures {
  background: var(--primary);
  max-width: calc(100% - var(--spacer));
  margin: 6rem auto 0;
  border-radius: var(--radius);
  color: var(--bg);
  padding: var(--spacer) 0;
}

#figures .ctn > div {
  position: relative;
}

#figures .ctn > div:first-child {
  padding: var(--spacer);
  /*display: flex;
    flex-direction: column;
    justify-content: space-around;*/
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

#figures .ctn {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  padding: 0 calc(var(--spacer) * 1);
}

#figures h2 {
  text-transform: none;
}

#figures h2 span {
  color: var(--secondary);
}

.figures__block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.figures__block > dl {
  display: flex;
  justify-content: center;
  gap: var(--spacer);
  align-items: center;
  padding: 0 calc(var(--spacer) * 2);
  margin-top: var(--spacer);
  flex-direction: row-reverse;
}

.figures__img {
  text-align: right;
}

#figures dd {
  font-size: 4.5rem;
  font-weight: 600;
  text-align: right;
  width: 3ch;
  flex-shrink: 0;
}

#figures dt {
  font-size: 1.1rem;
}

#figures dt h3 {
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

#figures dt p {
  margin-bottom: 0;
  font-size: 1.2rem;
}

#figures img {
  border-radius: var(--radius);
  height: 100%;
  object-fit: cover;
}

#figures .btn {
  position: absolute;
  right: calc(var(--spacer) * 1.5);
  bottom: calc(var(--spacer) * 1.5);
}

@media screen and (max-width: 30rem) {
  #figures {
    background: var(--primary);
    max-width: calc(100% - var(--spacer));
    margin: calc(var(--spacer) * 2) auto 0;
    border-radius: var(--radius);
    color: var(--bg);
    padding: 0;
  }

  #figures .ctn {
    padding: 0;
    gap: var(--spacer);
  }

  #figures .btn {
    right: unset;
    bottom: calc(var(--spacer) * 1.5);
  }

  .figures__img {
    display: flex;
    justify-content: center;
  }
}

/* BULLES */

#bulles {
  overflow-x: visible;
}

#bulles p:first-child {
  font-size: var(--body-l);
}
#bulles .ctn {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

#bulles .ctn > div:last-child {
  /*   padding-right: calc(var(--spacer)*2);*/
}

.bulles__slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: calc(var(--spacer) * 2);
}

.bulles__img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bulles__img svg {
  width: 23rem;
}

.bulles__spots {
  position: absolute;
}

a[data-embla="2"] {
  background: var(--secondary);
  aspect-ratio: 1;
  width: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  /* padding: 1rem; */
  font-size: 0.8rem;
  /* border: 16px solid gray; */
  box-shadow: 0 0 3px 6px rgba(255, 206, 0, 0.5);
  cursor: pointer;
  animation: glow 2s infinite;
}
/*
}
@keyframes glow {
    0% { box-shadow: 0 3px 5px rgba(255, 206, 0, 0.5); }
    50% { box-shadow: 0 3px 15px rgba(255, 206, 0, 1); }
    100% { box-shadow: 0 3px 5px rgba(255, 206, 0, 0.5); }
}*/

a[data-embla="2"][data-slide="0"] {
  transform: translate(-14rem, 2rem);
}

a[data-embla="2"][data-slide="1"] {
  transform: translate(-1rem, 20rem);
}

a[data-embla="2"][data-slide="2"] {
  transform: translate(3rem, -3rem);
}

a[data-embla="2"][data-slide="3"] {
  transform: translate(8rem, 2rem);
}

a[data-embla="2"][data-slide="4"] {
  transform: translate(-7rem, -20rem);
}

#bulles .embla {
  max-width: var(--mw);
  --slide-height: 19rem;
  --slide-spacing: 1rem;
  --slide-size: 55%;
  margin-top: calc(var(--spacer) * 2);
}

#bulles .embla__slide {
  background: var(--secondary);
  aspect-ratio: 0.9;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--spacer) * 1.5);
  text-align: left;
  position: relative;
  margin-right: 2rem;
  overflow: hidden;
  cursor: grab;
}

#bulles .embla__slide p {
  margin: 0;
}

#bulles .embla__link {
  background: var(--bg);
  height: 3rem;
  width: 3rem;
  border-radius: 100%;
  position: absolute;
  bottom: calc(var(--spacer));
  right: calc(var(--spacer));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#bulles .embla__link svg {
  width: 1.5rem;
  stroke: var(--primary);
}

#bulles span.embla__number {
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  display: block;
  font-size: 1.5rem;
  background: var(--lighter);
  width: 7rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
}

#bulles .embla__viewport {
  margin-bottom: var(--spacer);
}

#bulles .embla__dot.is-selected {
  background: var(--primary);
}

.bulles__bg {
  aspect-ratio: 1;
  width: 40rem;
  height: 40rem;
  background: var(--primary);
  position: absolute;
  bottom: -8rem;
  left: -23rem;
  border-radius: 100%;
  opacity: 0.35;
  z-index: -1;
}

@media screen and (max-width: 55rem) {
  .bulles__img {
    transform: scale(0.85);
    margin-left: var(--spacer);
  }

  #bulles .embla {
    padding-left: var(--spacer);
  }

  #bulles span.embla__number {
    font-size: 1rem;
    width: 6rem;
    height: 6rem;
  }

  #bulles .embla__link {
    bottom: calc(var(--spacer) / 1.5);
    right: calc(var(--spacer) / 1.5);
  }

  #bulles .embla__slide {
    aspect-ratio: 0.825;
  }
}

/* NEWS */

#news h2 {
  margin: 0;
}

.news__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: center;
}

.news__heading a {
  color: var(--primary) !important;
}

.news__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--spacer);
  margin-top: calc(var(--spacer) * 2);
}

.news__img img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.news__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.news__content h3 a {
  text-decoration: none;
  text-transform: uppercase;
}

#news .btn.icon {
  color: var(--primary);
}

@media screen and (max-width: 55rem) {
  .news__heading a {
    font-size: 0;
  }

  #news {
    padding: 0;
  }
}

/* NEWS SINGLE */

.no__hero nav li a {
  color: var(--primary);
}

.no__hero .header__cta p {
  color: var(--primary);
}

.no__hero .hero {
  background: transparent;
  color: var(--primary);
  min-height: auto;
}

@media screen and (min-width: 55rem) {
  .no__hero .hero {
    padding: 12rem 0 3rem;
  }
}

@media screen and (max-width: 55rem) {
  .no__hero .hero {
    padding-bottom: var(--spacer);
  }

  .no__hero .hero .ctn {
    padding: 0 calc(var(--spacer) / 2);
  }
}

.no__hero .hero::before {
  content: none;
}

.no__hero .breadcrumb a:first-child {
  color: var(--primary);
}

.no__hero .breadcrumb svg path {
  fill: var(--primary);
}

.no__hero h1 {
  padding-right: 10%;
  text-wrap: balance;
}

.no__hero .ctn:not(header .ctn, footer .ctn) {
  max-width: 85rem;
}

.no__hero section:has(.content) {
  padding-top: calc(var(--spacer) * 2);
}

.news__related {
  padding-top: 0;
}

.news__related h2 {
  text-transform: uppercase !important;
}

.single__bg {
  width: calc(100% - var(--spacer));
  margin: 0 auto;
  display: flex;
  border-radius: var(--radius);
  height: 25rem;
  /*object-fit: cover;*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

img.single__bg {
    object-fit: cover;
}

.hero__infos {
  display: flex;
  align-content: center;
  justify-content: space-between;
  font-weight: 500;
}

.hero__infos a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__infos a svg {
  width: 1rem;
}

@media screen and (max-width: 55rem) {
  .no__hero section:has(.content) {
    padding-top: calc(var(--spacer) * 1.5);
  }

  .single__bg {
    background-attachment: unset;
  }
}

/* NEWS INDEX */

.blog section:has(.content) {
  padding-top: 0;
}

/* PARTNERS */

#partners {
  padding: calc(var(--spacer) * 1.5) 0 calc(var(--spacer) * 2) 0;
}

.partners__list {
  display: flex;
  align-items: center;
  gap: var(--spacer);
}

.partners__list img {
  width: 5rem;
}

/* SERVICES */

#commander {
  background: var(--lightgray);
  padding-bottom: var(--spacer);
}

#commander .ctn {
  max-width: 80rem;
}

#commander h2 {
  text-transform: none;
}

#commander h2 span {
  color: var(--secondary);
}

#commander form {
  margin-top: calc(var(--spacer) * 2);
}

#commander form label {
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-left: 1rem;
  /* padding-bottom: 1rem; */
}

#commander form input,
#commander form textarea {
  margin-top: 0.4rem;
}

.wpcf7-spinner {
  
}

.wpcf7-not-valid-tip {
  display: none;
}

@media screen and (min-width: 55rem) {
  form {
    width: 80%;
    margin: 0 auto;
  }
  form > p {
    width: calc(50% - 1rem);
    display: inline-block;
  }

  form > p:nth-of-type(odd) {
    margin-right: 1rem;
  }

  form > p:nth-of-type(even) {
  }
}

form > p:has(textarea) {
  width: calc(100% - 1rem);
}
#commander form p:has(input[type="submit"]) {
  width: calc(100% - 1rem);
  text-align: right;
  cursor: pointer;
}

#more {
  background: var(--lightgray);
}

.rounded__fw {
  background: var(--primary);
  color: var(--bg);
  padding: calc(var(--spacer) * 3) calc(var(--spacer) * 3);
  border-radius: var(--radius);
}

.rounded__fw a {
  color: var(--bg);
  text-decoration-color: var(--secondary);
}

.single-services section:has(.content) {
 padding-top: calc(var(--spacer)*2);
}

.services__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: calc(var(--spacer) * 2);
}

.services__details img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  width: 85%;
}

.services__details > div:last-child {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacer) / 1);
}

.services__cols h3 {
  margin: 0;
  text-transform: uppercase;
}

@media screen and (max-width: 55rem) {
  form > p:has(textarea) {
    width: 100%;
  }

  .rounded__fw {
    padding: var(--spacer);
  }

  .services__details {
    gap: calc(var(--spacer) * 2);
  }

  .services__details img {
    width: 100%;
  }

  .services__details > div:last-child {
    gap: calc(var(--spacer) / 2);
  }
}

/* SHOPS SINGLE */

.single-boutiques #content h2:first-of-type {
  margin-bottom: var(--spacer);
}


ul.shop__articles {
  display: flex;
  gap: calc(var(--spacer) / 2);
  margin-bottom: var(--spacer);
}

.shop__articles img {
    width: 2.5rem;
}



.shop__articles li {
  all:unset!important;
}


.shop__content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: calc(var(--spacer) * 2);
}

.shop__content div:first-of-type {
  flex: 3.3;
}

.shop__card {
  background: var(--primary);
  color: var(--bg);
  padding: var(--spacer);
  border-radius: var(--radius);
  flex: 1;
  align-self: flex-start;
}

.shop__card h3 {
  color: var(--secondary);
  text-transform: uppercase;
  font-size: 0.8rem;
}

.shop__card .btn.icon {
  width: 100%;
  justify-content: space-between;
  color: var(--primary);
  margin-top: var(--spacer);
}

.shop__card ul {
  margin-bottom: 0;
}

.shop__card ul li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.shop__socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

ul.shop__socials li {
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

.shop__socials svg {
  width: 2rem;
}

.single-boutiques div#map {
  width: 100%;
  height: 30rem;
  margin-bottom: calc(var(--spacer) * 3);
  /*filter: grayscale(1);*/
}

.shops__related {
  padding-top: 0;
}

.shops__item ul li {
  list-style-type: none !important;
  margin: 0;
  padding: 0.2rem;
  display: flex;
  gap: 0.25rem;
}

.shops__item ul li svg {
  width: 1rem;
  margin-right: .25rem;
}

.shops__item {
  flex: 1;
  border: 1px solid var(--primary);
  padding: calc(var(--spacer) / 1);
  border-radius: var(--radius);
  display: grid;
  flex-direction: column;
  gap: 1rem;
  min-width: 22rem;
}

.shops__item a:has(h3) {
  text-decoration: none;
}

.shops__item li p {
  margin: 0;
  font-size: 0.9rem;
}

.shops__item li {
  font-size: 0.9rem;
}

.shops__list a.btn.icon {
  justify-self: flex-end;
  color: var(--primary);
  padding: 0;
}

.shops__list {
  display: flex;
  gap: var(--spacer);
  margin-top: var(--spacer);
  flex-wrap: wrap;
  margin-top: calc(var(--spacer) * 2);
}

.shops__related .ctn {
  max-width: var(--mw) !important;
}


.marker-custom.mapboxgl-marker.mapboxgl-marker-anchor-center {
    background-size: contain;
    width: 44px;
    height: 60px;
    pointer-events: auto;
    background-repeat: no-repeat;
}

@media screen and (max-width:55rem) {
  .shop__content {
    flex-direction: column;
  }

  .shop__card {
    width: 100%;
  }
}


/* TROUVER */

.page-template-page-map .hero .ctn {
  display: block;
}

.page-template-page-map .no__hero .hero {
  padding: 12rem 0 0;
}

.ctn.fw {
  max-width: var(--mw) !important;
  padding: 0 calc(var(--spacer) * 1);
}

/*
background-image: url(https://www.studiocolibri.be/terre/wp-content/uploads/2025/06/icon__ppl.svg);
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: 120% 20%; */

.page-template-page-map,
.page-template-page-map-bulles {
  background-image: var(--hero-bg);
  background-repeat: no-repeat;
  background-size: 60%;
  background-position: calc(100% + 6rem) top;
}

.map__search {
  box-shadow: var(--shadow);
  border-radius: 10rem;
  border: 0;
  padding: 0.75rem 1rem 0.75rem 2rem;
  background: var(--bg);
  width: 100%;
  z-index: 8;
  display: flex;
  position: sticky;
  /* bottom: var(--spacer); */
  margin: var(--spacer) 0;
  top: 2rem;
  max-width: calc(100% - 4rem);
  margin: var(--spacer) auto;
}

.map__search button {
  cursor: pointer;
}

.map__search input {
  width: 100%;
  padding: 0.5rem;
  /* margin-bottom: 0.5rem; */
  border: 0;
  color: var(--primary);
}

.map__search input:focus {
  outline: none;
  box-shadow: none;
  border-color: transparent;
}

#search {
  /*padding-right: 2rem; */
}

#clear-search {
  /* position: absolute; */
  /* right: 5.5rem; */
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--primary);
  display: none;
  width: var(--spacer);
  margin-right: 0.5rem;
  align-items: center;
}

.map__search ul {
  list-style: none;
  padding: var(--spacer);
  margin: 0;
  border-radius: var(--radius);
  position: absolute;
  background: var(--bg);
  /* width: 100%; */
  box-shadow: var(--shadow);
  z-index: 9;
  margin-top: 3rem;
  display: none;
}

.map__search ul:has(li) {
  display: block;
}

.map__search li {
  color: var(--primary);
  border-bottom: 1px solid var(--lightgray);
  margin: 0;
  padding: 0.5rem 0;
}

.map__search li:last-child {
  border-bottom: 0;
}

.map__wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.map__sidebar {
  width: 23rem;
  overflow-y: auto;
  padding: var(--spacer) 1.5rem var(--spacer) 1rem;
  /* border-right: 1px solid #ccc; */
  position: absolute;
  z-index: 2;
  background: var(--bg);
  height: calc(100% - calc(var(--spacer) * 2));
  border-radius: var(--radius);
  left: var(--spacer);
  box-shadow: var(--shadow);
}

.page-id-637 .map__sidebar {
  padding: var(--spacer) 1.5rem var(--spacer) 2rem;
}

.map__sidebar:has(ul#store-list:empty) {
  display: none;
}

.map__sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.map__sidebar li {
  margin-bottom: 0;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
}

.map__sidebar li:last-child .sidebar__info {
  border-bottom: 0;
}

.map__sidebar h3 {
  line-height: 1;
  margin-bottom: 0.25rem;
  font-size: var(--body-s);
  font-weight: 500;
  text-wrap: pretty;
}

.map__sidebar a {
  text-decoration: none;
}
.map__sidebar p {
  margin-bottom: 0.1rem;
  font-size: 0.8rem;
  font-weight: 400;
}

.map__sidebar ul li > a {
  display: flex;
  gap: calc(var(--spacer) / 2);
}

.sidebar__img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 100%;
}

p.sidebar__dist {
  font-weight: 800;
  color: var(--secondary);
}

.sidebar__info {
  border-bottom: 1px solid rgba(0, 76, 145, 0.2);
  padding-bottom: calc(var(--spacer) / 2);
  width: 100%;
}

.sidebar__desc {
  display: none;
}

.sidebar__links a {
  font-size: 0.9rem;
  text-decoration: underline;
  font-weight: 600;
  text-decoration-color: var(--secondary);
  text-underline-offset: 3px;
}

.mapboxgl-popup-content {
  border-radius: var(--radius) !important;
  font-family: "Space Grotesk";
  padding: var(--spacer) !important;
}

.mapboxgl-popup-close-button {
  background-color: transparent;
  border: 0;
  border-radius: 0 3px 0 0;
  cursor: pointer;
  position: absolute;
  right: 1rem !important;
  top: 1rem !important;
  font-size: 2.3rem;
  padding: 0;
  font-weight: 100;
}

.mapboxgl-popup-content h3 {
  font-size: 1rem;
}

.mapboxgl-popup-content p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.mapboxgl-popup-content a {
  text-decoration: underline;
  font-weight: 600;
  text-decoration-color: var(--secondary);
  text-underline-offset: 3px;
}

.mapboxgl-popup-content p:last-of-type {
  margin: 0;
}

/* 
.map__sidebar::-webkit-scrollbar {
    width: 6px;
}

.map__sidebar::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.map__sidebar::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

.map__sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}


.map__sidebar {
    scrollbar-width: thin;
    scrollbar-color: #888 #f0f0f0;
} */

/* Overwrite the default to keep the scrollbar always visible */

.map__sidebar::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 0.3rem;
  top: 1rem;
}

.map__sidebar::-webkit-scrollbar-thumb {
  border-radius: 0.5rem;
  background-color: var(--primary);
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.map__widget {
  flex: 1;
  height: 35rem;
  border-radius: var(--radius);
  width: 100%;
}

@media screen and (max-width: 55rem) {
  .map__sidebar {
    display: none;
  }
}

/* ATELIERS MAIN */

#objectives .ctn {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

#objectives h2 {
  margin-bottom: 2rem;
}
#objectives .ctn > div {
  flex: 1 1 100%;
}

#objectives li {
  margin-left: 2rem;
}

#ateliers {
  background: var(--primary);
  color: white;
  padding-bottom: 6rem;
}
.ateliers__list {
  list-style-type: none;
  margin-top: 4rem;

  > li {
    display: flex;
    justify-content: space-between;
    color: var(--primary);
    background: var(--bg);
    border-radius: 1.2rem;
    padding: 1rem 2rem 1rem 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    gap: calc(var(--spacer) / 2);
    position: relative;

    h3 {
      display: inline-block;
      font-size: 1.2rem;
      font-weight: 900;
      margin-right: 0.5rem;
    }

    p {
      margin-bottom: 0;
      font-size: 1rem;
    }

    @media screen and (min-width: 55rem) {
      > div:last-child {
        position: absolute;
        position: absolute;
        font-size: 0.8rem;
        top: 1.2rem;
        right: 2rem;
      }

      > div:first-child {
        flex: 1 1 60%;
      }
    }

    > div:last-child ul {
      display: flex;
      gap: 2rem;
      list-style-type: none;

      li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0;
        font-weight: 900;

        svg {
          width: 1.2rem;
        }
      }
    }
  }
}

.ateliers__tag {
  width: 0.75rem;
  height: 0.75rem;
  display: inline-block;
  background: var(--cinema);
  border-radius: 100%;
  position: relative;
  cursor: pointer;
}

.ateliers__tag:hover::after,
.ateliers__tag:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ateliers__tag::after {
  content: var(--category-name, "");
  color: var(--bg);
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  position: absolute;
  padding: 0.5rem;
  background: var(--category-color);
  top: auto;
  bottom: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.5rem);
  border-radius: 0.3rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
  z-index: 9;
}

.ateliers__tag::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 0.25rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.65rem);
  width: 1rem;
  height: 1rem;
  background: var(--category-color);
  clip-path: polygon(50% 65%, 0 0, 100% 0);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9;
}

.ateliers__tag:hover::before {
  transform: translateX(-50%) translateY(0);
}

.ateliers__cta {
  margin-top: 6rem;
  text-align: center;
  font-size: 2rem;

  a {
    color: white;
    font-weight: 900;
  }
}

.page-template-page-atelier {
  .hero svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    fill: var(--bg);
    transform: scale(-1, 1);
  }
}

#objectives img {
  max-width: 80%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 100%;
}

@media screen and (max-width: 55rem) {
  section:has(.section__wave) {
    padding-bottom: 4rem !important;
  }

  #objectives .ctn {
    gap: 4rem;
  }

  #objectives img {
    max-width: 100%;
  }

  section {
    padding: calc(var(--spacer) * 2) 0;
  }
}

@media screen and (min-width: 55rem) {
  .page-template-page-atelier .hero .ctn {
    padding-right: 30%;
  }

  .page-template-page-atelier {
    --primary: var(--ecriture);

    .hero {
      padding: 8rem 0;
    }

    section {
      padding: 6rem 0;
    }
  }

  #objectives .ctn > div {
    flex: 1 1;
  }
}

/* ABOUT */

.page-id-199 #realisations {
  background: white;
}

.page-id-199 main section:last-of-type {
  padding-bottom: 0 !important;
}

.page-id-199 .footer__cta {
  background: var(--sable);
}

/* DEFAULT PAGE */

.page-template-default section:has(.content) {
  padding-top: 4rem;
}

@media screen and (max-width: 55rem) {
  .page-template-default section:has(.content) {
    padding-top: var(--spacer);
  }
}

/* DEFAULT ARTICLE */

/* SINGLE RESSOURCES */

.single #content .ctn:not(.hero .ctn),
.page-template-default .ctn:not(.hero .ctn, footer .ctn, header .ctn) {
  max-width: 85rem;
}

.single #content h2 {
  text-transform: none;
}

.hero__back {
  text-decoration: none;
  margin-bottom: calc(var(--spacer) / 2);
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--difference);
  letter-spacing: 2.2px;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  align-content: center;
  width: min-content;
}

a.hero__back::before {
  content: "";
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="9"><path fill="%2391BBB3" d="M9 0v4h16.5v1H9v4L0 4.5 9 0Z"/></svg>');
  width: 1.25rem;
  height: 0.45rem;
  background-repeat: no-repeat;
}

a.hero__back:hover::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="9"><path fill="%23f6a019" d="M9 0v4h16.5v1H9v4L0 4.5 9 0Z"/></svg>');
}

.hero__back svg {
  display: none;
  width: 0.9rem;
  stroke: var(--difference);
}

/* REFERENCES */

.hero:has(.embla) {
  padding-bottom: 0;
}

.taxonomies-filter {
  display: flex;
  flex-direction: column;
  margin-bottom: calc(var(--spacer) / 2);
  gap: 0.4rem;
}

.taxonomy-group {
  position: relative;
}

.taxonomy-group:not(:last-child)::after {
  content: "";
  height: 1px;
  background: var(--lighter);
  width: 2rem;
  display: block;
  position: absolute;
  left: 0.1rem;
  bottom: 0;
}

.taxonomy-group h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

ul.taxonomy-list {
  list-style: none !important;
  padding: 0;
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0;
}

ul.taxonomy-list > li {
  position: relative;
  list-style: none;
  padding-left: 0;
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: 400;
}

ul.taxonomy-list > li::before {
  content: "";
  margin: 0;
}

.taxonomy-list input[type="radio"] {
  display: none;
}

.taxonomy-list label {
  display: inline-block;
  padding: 0.175rem 1.25rem;
  border: 1px solid var(--primary);
  border-radius: 4px;
  cursor: pointer;
  /* background-color: #f9f9f9; */
  transition: background-color 0.3s, color 0.3s;
  border-radius: 2rem;
  letter-spacing: 1.4px;
}

.taxonomy-list:has(input[type="radio"]:checked) label {
  color: var(--lighter);
  border-color: var(--lighter);
}

.taxonomy-list input[type="radio"]:checked + label {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.taxonomy-list label:hover {
  background-color: #e6e6e6;
}

.ref__infos {
  background: var(--difference);
  padding: var(--spacer) calc(var(--spacer) / 1.5);
  color: white;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  text-align: left;
  margin-bottom: var(--spacer);
}

.ref__infos tr > * {
  flex: 1 1 50%;
}

.ref__infos tr:first-of-type {
  padding: 0 0 0.5rem;
}

.ref__infos tr {
  display: flex;
  padding: 0.5rem 0;
  border-bottom: 1px solid white;
}

.ref__infos th {
  font-weight: 600;
  text-transform: uppercase;
}

.ref__infos td {
  font-weight: 400;
}

@media screen and (min-width: 55rem) {
  .single-references .content .ctn {
    padding-right: 0;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-direction: row-reverse;
  }

  .ref__content {
    width: 60%;
  }

  .ref__infos {
    width: 40%;
    position: sticky;
    top: 2rem;
  }
}

.single-references .content h2 {
  color: var(--secondary);
  font-size: 0.8rem;
  letter-spacing: 1.2px;
}

.single-references section:not(.related-posts) .ctn p + h2 {
  margin-top: var(--spacer);
}

/* TEAM */

.page-template-page-equipe .hero {
  padding: 8rem 0 0;
}

.team__member {
  background: var(--primary);
  color: white;
  padding-bottom: 10rem;
}

.team__member:nth-child(odd) {
  background: var(--bg);
  color: var(--primary);
}

.team__member:nth-child(odd) .ctn {
  flex-direction: row-reverse;
}

.team__member .ctn {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: flex-end;
}

.team__member img {
  aspect-ratio: 4 / 5;
  border-radius: 2rem;
  object-fit: cover;
  width: 17rem;
  max-width: none;
}

.team__member a {
  font-weight: 900;
  color: inherit !important;
}

.team__member:nth-child(odd) svg {
  fill: var(--primary);
  transform: scale(1, 1);
}

.team__member svg {
  position: absolute;
  bottom: -1px;
  width: 100%;
  left: 0;
  fill: var(--bg);
  transform: scale(-1, 1);
}

.team__member:last-child svg {
  fill: var(--sable);
}

.team__member h2 {
  font-size: 3.2rem;
}

@media screen and (max-width: 55rem) {
  .team__member .ctn {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .team__member img {
    width: 100%;
  }
}

/* LISTING */

/* .archive .hero {
    padding: 8rem 0 0rem;
}


/* .page-template-page-db .hero {
    min-height: 0rem;
    padding: 4rem 0rem 2rem;
} */

.cards__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: var(--spacer);
}

.cards__list > a {
  /*width: calc(25% - 1.75rem);*/
  text-align: left;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.45s ease-in-out;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  color: var(--primary);
  border: 1px solid var(--primary);
  flex: 1;
}

.cards__list > a img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  position: relative;
  inset: 0% auto auto 0%;
  overflow: hidden;
}

.cards__list > a:hover {
  /*transform: scale(1.04);
    box-shadow: 0 0 0 #000;
    transform: translate(4px, 4px);*/
  background: var(--secondary);
  color: var(--bg);
  border: 1px solid var(--secondary);
}

.cards__list > a:hover svg {
  fill: var(--bg);
}

/*

.card:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, .85)), to(rgba(0, 0, 0, 0)));
    background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0, rgba(0, 0, 0, 0) 100%); 
    z-index:-1;
    opacity: .7;
} */

.card__info svg {
  position: absolute;
  right: 1rem;
  top: 1rem;
  fill: var(--primary);
  width: 1rem;
  transition: all 0.25s ease;
}

.card__info {
  font-size: 0.9rem;
  /* margin-top: 13rem; */
  padding: 3.25rem 2.5rem 0 1.25rem;
}

.card__info p {
  font-size: 0.8rem;
  font-weight: lighter;
}

.card__name {
  text-transform: uppercase;
  font-size: 1rem;
  position: relative;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}

.card__sub {
  font-size: 0.6rem;
  font-weight: bolder;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  font-weight: 700;
}

.card__name sup {
  font-size: 1em;
  position: absolute;
  right: -1.25rem;
  font-family: monospace;
  bottom: 0.25rem;
}

.card__more {
  color: #333;
  margin-top: 1rem;
  font-size: 0.7rem;
  display: inline-block;
  font-weight: 600;
}

.highlight {
  color: var(--secondary);
}

.filter-form {
  padding: 1rem 0;
}

section.cards {
  padding: 1rem 0;
}

.listing__filters input[type="text"][name="s"] {
  border-radius: 2rem;
  border: none;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 2rem;
  font-weight: 200;
  box-shadow: 0rem 0rem 2rem #00000012;
  cursor: auto;
  background: #00000070;
  border: 2px solid rgba(255, 255, 255, 0);
  color: var(--bg);
}

.listing__filters input[type="text"][name="s"]:focus {
  outline: none;
  border: 2px solid var(--primary);
}

.listing__filters {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.listing__select {
  position: relative;
}

.listing__filters select {
  font-weight: 500;
  padding: 0.65rem 1.3rem;
  border-radius: 2rem;
  border: 1px solid lightgray;
  color: var(--primary);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  width: 100%;
}

.listing__select::after {
  content: "lol";
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 24px;
  /* Ajustez la taille selon vos besoins */
  height: 24px;
  /* Ajustez la taille selon vos besoins */
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NCIgaGVpZ2h0PSI0NCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNCQUNFMUQiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==");
  background-size: contain;
  background-repeat: no-repeat;
  color: var(--primary);
  /* Appliquer la couleur */
}

.listing__filters span {
  font-weight: 600;
  color: var(--secondary);
}

.listing__filters form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.listing__filters ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  margin: 1rem 0 0 0;
}

.listing__filters li {
  padding: 0.25rem 0;
  margin-bottom: 0rem;
}

.listing__filters ul a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid #494949;
  border-radius: 51px;
  transition: all 0.25s ease;
  font-size: 0.7rem;
}

.listing__filters ul a:hover {
  background: var(--secondary);
  border: 1px solid var(--secondary);
  color: var(--bg);
}

.listing__filters li.active a {
  background: var(--secondary);
  border: 1px solid var(--secondary);
  color: var(--bg);
}

.listing__search {
  width: 65%;
}

@media screen and (max-width: 55rem) {
  .listing__search {
    width: 100%;
  }

  .cards__list {
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  }
}

/* PAGINATION */

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: center;
  gap: 1rem;
  /*padding: 2rem;*/
  margin: 3rem 0;
  position: relative;
}

.pagination ul {
  list-style-type: none;
  display: flex;
  gap: 1rem;
}

.pagination a {
  text-decoration: none;
  position: relative;
}

span.page-numbers.current {
  background: var(--secondary);
  padding: 0.7rem 1rem;
  line-height: 1;
  width: 1rem;
  position: relative;
  /* display: inline-block; */
  border-radius: 32rem;
}

.pagination .prev-arrow {
  color: var(--secondary);
  font-weight: 900;
  position: absolute;
  top: -2px;
  left: -1.5rem;
}

.pagination .next-arrow {
  color: var(--secondary);
  font-weight: 900;
  position: absolute;
  top: -2px;
  right: -1.5rem;
}

@media screen and (max-width: 55rem) {
  .cards__list {
    justify-content: center;
  }

  .listing__filters {
    flex-direction: column;
  }

  .listing__filters form {
    flex-direction: column;
    width: 100%;
  }

  .archive .hero {
    padding: 7rem 0;
  }
}

/* MODAL */

dialog[open] {
  opacity: 1;
  transform: translateZ(0);
  transition: all 0.5s ease;
  display: flex;
  pointer-events: all;
  transform: translateX(0);
}

dialog::backdrop {
  background: #ffffff3d;
  backdrop-filter: blur(6px);
  transition: all 0.5s ease;
}

dialog {
  border: none;
  background: var(--secondary);
  width: 50%;
  height: 100dvh;
  opacity: 1;
  transform: scale(0.95);
  transition: all 0.5s ease;
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: none;
  max-height: none;
  pointer-events: none;
  transform: translateX(-100%);
  z-index: 9;
  position: fixed;
  top: 0;
}

@media screen and (max-width: 55rem) {
  dialog {
    width: 100%;
  }
}

button.closeDialogBtn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: white;
}

.box__container {
  position: relative;
  display: flex;
  align-content: center;
  flex-direction: column;
  gap: 2rem;
}

.nextBtn,
.prevBtn {
  position: absolute;
  background: none;
  border: none;
  z-index: 1;
}

.nextBtn:hover,
.prevBtn:hover {
  position: absolute;
  background: none;
  border: none;
}

.nextBtn {
  right: 1rem;
}

.prevBtn {
  left: 1rem;
}

button.download-btn {
  border: none;
}

button.download-btn {
  border: none;
  background: none;
}

button.closeDialogBtn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
}

@media screen and (max-width: 55rem) {
  .nextBtn,
  .prevBtn {
    margin-top: -4rem;
  }

  .nextBtn {
    right: 0rem;
  }

  .prevBtn {
    left: 0rem;
  }
}

/* MISSIONS CATEG */

.missions-template {
}

.missions-template .hero p:last-of-type {
  font-size: 0.85rem;
  font-weight: 400;
}

.hero .missions__pre {
  margin-top: 0;
  margin-bottom: calc(var(--spacer) / 1.5);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.143;
}

.missions-template .hero {
  padding-bottom: 0;
}

.missions-template .hero h1 {
  margin-bottom: 0.2rem;
}

.missions-template hr {
  border: none;
  border-top: 1px solid var(--sable);
  margin: 2.5rem 0;
}

.missions-template section:has(.content) {
  padding-top: 0;
}

@media screen and (min-width: 55rem) {
  .missions-template .hero .ctn {
    padding-right: 20%;
  }
}

/* MISSIONS SINGLE */

.missions-template-default section:has(.content) {
  background-image: url(https://www.studiocolibri.be/ecorce/wp-content/uploads/2024/12/waves2.svg);
  background-size: 60%;
  background-position: 110% -150%;
  background-repeat: no-repeat;
  padding-top: 0;
}

.missions-template-default section:not(.related-posts) h2 {
  color: var(--secondary);
  font-size: 0.75rem;
}

.missions-template-default section:not(.related-posts) .ctn p + h2 {
  margin-top: 2rem;
}

.related-posts {
  padding-top: 0;
}

.related-posts h2 {
  text-transform: none;
  font-weight: 400;
}

.related__cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: var(--spacer);
}

.related__cards > div {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: url("https://www.studiocolibri.be/ecorce/wp-content/uploads/2024/12/waves.svg")
      no-repeat center bottom,
    var(--primary);
  background-size: cover;
}

.related__cards a::before {
  content: "";
  width: 100%;
  height: 100%;
  bottom: 0;
  position: absolute;
  background: rgb(0, 0, 0);
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  z-index: 1;
  transition: background 0.25s ease-in-out;
}

.related__cards a:not(:has(img))::before {
  background: none;
}

.related__cards a:hover::before {
  background: var(--secondary);
}

.related__cards img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.related__cards h3 {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: white;
  padding-right: 30%;
  font-size: 1.2rem;
  line-height: 1.143;
  z-index: 1;
}

.related__cards a {
  width: 100%;
  height: 100%;
}

.related__cards svg {
  position: absolute;
  width: 1rem;
  top: 1rem;
  right: 1rem;
  opacity: 0;
  transition: 0.25s ease-in-out;
  z-index: 3;
  transform: scale(0.75) rotate(25deg);
}

.related__cards > div:hover svg {
  opacity: 1;
  transform: scale(1) rotate(0);
}

@media screen and (max-width: 55rem) {
  .related__cards {
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  }
}

/* CONTACT */

input.wpcf7-form-control.wpcf7-text,
input.wpcf7-form-control.wpcf7-number {
  border-radius: 2rem;
  border: none;
  width: 100%;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  font-weight: 200;
  /* box-shadow: 0rem 0rem 2rem #00000012; */
  cursor: auto;
  border: 1px solid lightgrey;
}

textarea.wpcf7-form-control.wpcf7-textarea {
  border-radius: 1.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: 1px solid lightgrey;
  cursor: auto;
}

/* FEATURED */

.featured {
  padding: 4rem 0;
}

.comite ul {
  margin-top: 7rem;
  columns: 2;
}

/* MODULES & COMPONENTS */
/* 
.embla {
    overflow: hidden;
    margin: var(--spacer) 0 0;
    cursor: grab;
    position: relative;
}

.embla:active {
    cursor: grabbing;
}

a.embla__arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

a.embla__arrow svg {
    width: 4rem;
}

a.embla__arrow.right {
    right: 0;
}

a.embla__arrow.left {
    left: 0;
    
}

.embla__container {
    display: flex;
    gap: .5rem;
}

.embla__slide {
    flex: 0 0 20%;
    aspect-ratio: 3 / 4;
    min-width: 0;
    background: var(--primary);
    border-radius: var(--radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 2rem;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: scale(0.9);
    opacity: 0.6;
}

.embla__slide.is-active {
    transform: scale(1);
    opacity: 1;
}

.embla__slide h3 {
    color: white;
}

.embla__slide img {
    height: 8.75rem;
}

.embla__link {
    background: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    padding: 2rem;
    width: 100%;
    border-radius: 0 0 1.4rem 1.4rem;
}
*/
.embla__dots {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
  gap: 0.5rem;
  height: 1rem;
}

.embla__dot {
  cursor: pointer;
  width: 1rem;
  background: var(--primary);
  border-radius: 100%;
  opacity: 0.5;
}

.embla__dot.is-selected {
  background: var(--secondary);
  opacity: 1;
}

/*
.row:has(.slider) {
    margin: 3rem 0;
}

.slider {
    width: 50%;
    max-width: 1140px;
    overflow: hidden;
    border-radius: .5rem;
}

.slides {
    position: relative;

}

.slide {
    float: left;

}

.slide img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.slides.embla__viewport {
    overflow: hidden;
    width: 100%;
    cursor: grab;
}

.slides.embla__viewport:active {
    cursor: grabbing;
}

.slider .embla__container {
    display: flex;
}

.slider .embla__slide {
    flex: 0 0 100%;
    text-align: center;
}

.content-slide {
    display: none;
    transition: opacity 0.3s ease-in-out;
}

.content-slide.active {
    display: block;
    opacity: 1;
}

.slider__right {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacer);
    aspect-ratio: 1.3;
    justify-content: space-between;
}

.slider__right h3 {
    font-size: 1.6rem;
    margin-bottom: calc(var(--spacer) / 2);
}


.slider__controls {
    display: flex;
    gap: .5rem;
}

.slider__controls a {
    text-decoration: none;
    cursor: pointer;
    background: var(--lighter);
    display: block;
    padding: .25rem;
    border-radius: 2rem;
    transition: all .25s ease;
}

.slider__controls a:first-child {
    transform: rotate(180deg);
}

.slider__controls a:hover {
    background: var(--accent);
}

.slider__controls svg {
    width: 1.5rem;
    height: 1.5rem;
    transform: translateX(.05rem);
}

.bullet,
.embla__dot {
    opacity: .5;
    width: 3rem;
    display: inline-block;
    height: .15rem;
    background: var(--lighter);
}

.slider__bullets {
    display: flex;
    gap: .5rem;
}

a.bullet.active {
    opacity: 1;
}

@media screen and (max-width: 55rem) {
    .slider {
        max-width: 100%;
    }

    .row>* {
        flex: auto;
    }

    .slider__right {
        justify-content: flex-start;
    }
} */

#workshops .ctn {
  display: flex;
  justify-content: space-between;
}

.embla {
  max-width: var(--mw);
  --slide-height: 19rem;
  --slide-spacing: 1rem;
  --slide-size: 35%;
}

.embla__viewport {
  overflow: hidden;
}

.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
}

.embla__slide {
  transform: translate3d(0, 0, 0);
  flex: 0 0 var(--slide-size);
  min-width: 0;
  border-radius: var(--radius);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /*padding-top: 2rem;*/
  margin-right: calc(var(--spacer) * 2);
  text-decoration: none;
  gap: 1.4rem;
}

.embla__slide h3 {
  color: var(--primary);
  text-transform: uppercase;
  z-index: 1;
}

.embla__slide p {
  font-size: 1.1rem;
}

.embla__slide .embla__icon {
  height: 4rem;
  width: 4rem;
  aspect-ratio: 1 / 1;
  background: var(--primary);
  padding: 0.7rem;
  border-radius: 100%;
  overflow: visible;
}
.embla__link {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  width: 100%;
  border-radius: 0 0 1.4rem 1.4rem;
  display: flex;
  gap: 0.3rem;
  font-size: 1rem;
  align-items: center;
}

.embla__link svg {
  width: 1.5rem;
}

.embla__controls {
  display: grid;
  grid-template-columns: auto 1fr;
  justify-content: space-between;
  gap: 1.2rem;
}

.embla__buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  align-items: center;
}
.embla__button {
  -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--primary);
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
  width: 3.6rem;
  height: 3.6rem;
  z-index: 1;
  border-radius: 50%;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
}
.embla__button:disabled {
  color: var(--detail-high-contrast);
}
.embla__button__svg {
  width: 35%;
  height: 35%;
}
@media screen and (max-width: 55rem) {
  .embla__slide {
    flex: 0 0 75%;
  }
}

/* CONTACT */

.contact__row h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.page-id-95 a.header__cta {
  background: var(--primary) !important;
}

.page-id-95 hr:first-of-type {
  display: none;
}

.contact__row .wp-block-group {
  padding: var(--spacer);
  box-shadow: 0 2px 20px #00000017;
  border-radius: var(--radius);
  margin-top: 1.4rem;
  background: white;
}

@media screen and (min-width: 55rem) {
  .contact__row {
    padding: 0 8rem;
  }

  .contact__row .wp-block-column:first-child {
    padding-right: 10%;
  }
}

/* ANIMATIONS & INTERACTIONS */

.marquee {
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 2px solid #000; */
  /* border-radius: 22px; */
  /* box-shadow: 4px 4px 0 #000; */
  /* height: 40px; */
  width: 100vw;
  overflow: hidden;
  padding: clamp(2rem, 3.25vw, 3.6rem) 0;
  /*transform: rotate(-3deg);*/
  color: var(--primary);
  margin-top: calc(var(--spacer) * 2);
}

.marquee--inner {
  display: block;
  width: 200%;
  position: absolute;
  animation: marquee 25s linear infinite;
}

.marquee--inner img {
  width: 5rem;
  object-fit: contain;
}

a.marquee:hover {
  color: var(--primary);
}

.marquee--inner span {
  float: left;
  width: 50%;
  overflow: hidden;
  font-size: clamp(2rem, 3.25vw, 3.6rem);
}

.marquee--inner:hover {
  animation-play-state: paused;
  color: var(--primary);
}

@keyframes marquee {
  0% {
    left: 0;
  }

  100% {
    left: -100%;
  }
}

@media screen and (max-width: 55rem) {
  .marquee--inner {
    display: block;
    width: 400%;
    position: absolute;
    animation: marquee 18s linear infinite;
  }

  .marquee--inner span {
    float: left;
    width: 50%;
    overflow: hidden;
    font-size: 6.5vw;
  }

  @keyframes marquee {
    0% {
      left: 0;
    }

    100% {
      left: -200%;
    }
  }
}

/* FILTERS & EFFECTS */
