* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light-grey: #c0c0c0;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey: #cacbd1;
  --color-code-comment: #a9aaad;
  --color-code-white: #c5c9c6;
  --color-code-red: #d16464;
  --color-code-orange: #de935f;
  --color-code-yellow: #f0c674;
  --color-code-green: #a7bd68;
  --color-code-aqua: #8abeb7;
  --color-code-blue: #7e9abf;
  --color-code-purple: #b294bb;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  /* font-size: 4px; */
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  width: 100%;
}

body {
  padding: var(--padding);
  max-width: 80rem;
  margin: 0 auto;
}

li {
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
  /* line-height: 1rem; */
}

a:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-light-grey);
}

.override-hover:hover {
  text-decoration: none !important;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}

strong,
b {
  font-weight: 600;
}

small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}

.color-grey {
  color: var(--color-text-grey);
}

.work-detail {
  color: var(--color-text-grey);
  font-weight: 350;
}

.work-year {
  color: var(--color-light-grey);
  padding-top: 1rem;
  font-weight: 300;
}

/* .header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: -1rem;
  margin-left: -1rem;
}
*/

.header-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  background: #fff;
}

/* Sticky header with responsive navigation */
.header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0;
  background: #fff;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-weight: 550;
  padding-right: 1rem;
}

.logo__link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.logo .subtitle {
  font-weight: 400;
  color: var(--color-grey);
}

.logo .subtitle--separator {
  display: none;
}

.logo .subtitle--text {
  display: block;
}

.menu-toggle {
  background: none;
  border: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle__bar {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header__menus {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.header[data-menu-open="true"] .header__menus {
  display: flex;
}

.menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  width: 100%;
  text-align: right;
}

.menu a {
  display: inline-block;
  padding: 0.2rem;
  /* padding: 0; */
  line-height: 1;
}

.menu a[aria-current] {
  text-decoration: underline;
  text-decoration-color: crimson;
}

.separator {
  display: none;
}

.header__menus .languages ul {
  display: flex;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  align-items: center;
}

.work-nav {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.work-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  /* border: 1px solid currentColor; */
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  font-size: 0.85rem;
}

.header__menus .languages li {
  display: inline;
}

.header__menus .languages a {
  padding: 0.2rem 0.35rem;
  line-height: 2;
}

.spacer {
  display: block;
  width: 100%;
  height: 0;
  pointer-events: none;
}

.header[data-menu-open="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header[data-menu-open="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.header[data-menu-open="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media screen and (min-width: 60rem) {
  .menu-toggle {
    display: none;
  }

  .header {
    align-items: flex-start;
  }

  .logo {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .logo .subtitle--separator {
    display: inline;
  }

  .logo .subtitle--text {
    display: inline;
  }

  .header__menus {
    display: flex !important;
    width: auto;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    gap: 0.6rem;
    margin-top: 0;
  }

  .menu {
    flex-direction: row;
    align-items: center;
    gap: 0;
    width: auto;
    justify-content: flex-end;
  }

  .menu a {
    padding: 0.2rem 0.35rem;
  }

  .separator {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin: 0;
    color: var(--color-grey);
  }

  .header__menus .languages ul {
    justify-content: flex-end;
  }

  .template-work_detail .intro--mobile-only {
    display: block;
  }
}

.social {
  display: flex;
  padding: 0 .5rem;
}

.social a {
  padding: 1rem .5rem;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}

/* test pour changement selon passage souris */
/* .grid figcaption_over :hover {
  background: rgba(0,0,0, .5);
  color: #fff;
  font-weight: bold;
} */

/* .figcaption_over {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  color: var(--color-black);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  line-height: 1;
  text-align: center;
} */

.grid>.column {
  margin-bottom: var(--gutter);
}

.video-blocks {
  margin-top: var(--gutter, 3rem);
}

.video-blocks .video-block {
  width: 100%;
  font-size: small;
  color: var(--color-light-grey);
}

.video-blocks .video-block figure {
  margin: 0;
  width: 100%;
}

.video-blocks .video-block iframe,
.video-blocks .video-block video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0; /* enleve les bords du iframe*/
}

.video-blocks .video-block figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-grey, currentColor);
}

.block-embed {
  width: 100%;
}

.block-embed iframe,
.block-embed video,
.block-embed embed,
.block-embed object {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.text {
  line-height: 1.5em;
  font-size: 0.9rem;
}

.text a {
  text-decoration: underline;
  text-decoration-color: crimson;
}

.text :first-child {
  margin-top: 0;
}

.text :last-child {
  margin-bottom: 0;
}

.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}

/* margin commentee pour test image collees a gauche */
/* .text ul,
.text ol {
  margin-left: 1rem;
} */

.text ul p,
.text ol p {
  margin-bottom: 0;
}

.text ul>li {
  list-style: disc;
}

.text ol>li {
  list-style: decimal;
}

.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}

.text h1,
.h1,
.intro {
  font-size: 1rem;
  font-weight: 550;
  margin-bottom: 3rem;
  line-height: 1.25em;
}

.intro--mobile-only {
  display: none;
  color: crimson;
}

body.template-work_detail .intro--mobile-only {
  color: inherit;
}

.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.text h3,
.h3 {
  font-weight: 600;
}

.text .codeblock {
  display: grid;
}

.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}

.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}

.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.text hr {
  margin: 6rem 0;
}

.text dt {
  font-weight: 600;
}

.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}

.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}

.text figure {
  margin: 3rem 0;
}

.text figcaption {
  /* padding-top: .75rem; */
  color: var(--color-text-grey);
}

.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}

.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}

.img[data-photographer]::after {
  content: "© " attr(data-photographer);
  position: absolute;
  left: 50%;
  bottom: 0.6rem;
  transform: translate(-50%, 5px);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.6rem;
  padding: 0.4rem 0.5rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transition-delay: 0.6s;
  white-space: nowrap;
}

.img[data-photographer]:hover::after,
.img[data-photographer]:focus-within::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.img[data-contain] img {
  object-fit: contain;
}

.img-caption,
.video-caption {
  font-size: 0.8rem;
  padding-top: .1rem;
  line-height: 1.5em;
}

.title-year {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.figcaption-title {
  text-align: left;
  flex: 1;
  font-weight: 200;
}

.figcaption-location {
  color: var(--color-light-grey);
  padding-right: 0.25rem;
}

.figcaption-year {
  text-align: right;
  font-weight: 200;
  /* flex: 1; */
  color: #000;
}

.footer {
  padding-top: 6.5rem;
  padding-bottom: 2rem;
}

.footer__inner {
  /* max-width: 60rem; */
  margin: 0 auto;
  /* padding: 0 var(--padding); */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  font-size: small;
}

.footer__links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer__links a {
  text-decoration: none;
  color: inherit;
}

.footer__links a:hover,
.footer__links a:focus {
  text-decoration: underline;
  text-decoration-color: crimson;
}

.footer__copy {
  color: var(--color-text-grey);
  /* font-size: 0.85rem; */
  margin: 0;
}

.footer__divider {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--color-grey);
}

@media screen and (max-width: 40rem) {
  .footer {
    padding-top: 2.5rem;
    padding-bottom: 1.2rem;
  }

  .footer__divider {
    width: 1.5rem;
  }

  .footer__links {
    gap: 1rem;
  }

  .works-page {
    margin-left: calc(var(--padding) * -1);
    margin-right: calc(var(--padding) * -1);
  }

  .works-page .grid {
    --gutter: 0;
  }

  .works-page .column {
    padding: 0;
  }

  .works-page .title-year {
    padding: 0 0.3rem;
    padding-bottom: 0.3rem;
    box-sizing: border-box;
  }

  .work-location {
    padding: 0 var(--padding);
    margin-bottom: 1.5rem;
  }

  .header-wrapper {
    margin-left: calc(var(--padding) * -1);
    margin-right: calc(var(--padding) * -1);
    padding: 0 var(--padding);
  }
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}

.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}

.margin-m {
  margin-bottom: 1.5rem;
}

.margin-l {
  margin-bottom: 3rem;
}

.margin-xl {
  margin-bottom: 4.5rem;
}

.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  body {
    --padding: 1rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .grid>.column {
    grid-column: span var(--columns);
  }

}

@media screen and (max-width: 59.9375rem) {
  .intro--mobile-only {
    display: block;
    color: crimson;
  }
}

.pagination {
  display: flex;
  padding-top: 6rem;
}

.pagination>span {
  color: var(--color-text-grey);
}

.pagination>* {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}

.pagination>a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}

.note-excerpt header {
  margin-bottom: 1.5rem;
}

.note-excerpt figure {
  margin-bottom: .5rem;
}

.note-excerpt-title {
  font-weight: 600;
}

.note-excerpt-date {
  color: var(--color-text-grey);
}

.languages ul {
  /* list-style: none; */
  /* padding: 0; */
  /* display: flex; */
  text-align: right;
  /* gap: 10px; */
  margin-bottom: 3rem;
}

.languages li {
  display: inline;
  /* padding-left: 0.2rem; */
  /* padding-right: 0.2rem; */
  /* padding-top: 1rem; */
  /* padding-bottom: 1rem; */
}

.languages li.active {
  /* font-weight: bold; */
  text-decoration: underline;
  text-decoration-color: crimson;
}

.languages a {
  padding-left: 0.2rem;
  padding-right: 0rem;
  /* padding-top: 1rem; */
  /* padding-bottom: 1rem; */
  /* padding: 1rem; */
  /* text-decoration: none; */
  color: #000;
}
/*
.languages a:last-child {
  padding-right: 0;
} */

.works-page {
  margin-top: 2rem;
  margin-bottom: 10rem;
}

.works-page .img-caption {
  font-size: clamp(0.72rem, 0.5rem + 0.9vw, 0.95rem);
}

/* .works-page figure {
  margin: 0 0 2rem;
} */

.works-page .title-year {
  gap: 0.35rem;
  align-items: baseline;
}

.works-page .figcaption-location {
  padding-right: 0;
}

.works-page .figcaption-year {
  flex: 0 0 auto;
}

@media screen and (max-width: 40rem) {
  .works-page .figcaption-location {
    display: none;
  }
}

.photo-credits {
  font-size: 0.85rem;
  color: var(--color-text-grey);
  margin-top: 2rem;
}

.bio-exhibition {
  font-size: 0.9rem;
}

.bio-year::before {
  content: "— ";  /* ajoute un point médian suivi d’un espace */
  color: crimson;
}

.bio-year {
  margin-top: 1rem;
  /* font-weight: 555; */
}

.bio-section {
  /* text-decoration: underline; */
  padding-top: 3rem;
  /* color: var(--color-grey); */
  color: crimson;
}

.bio-work-title {
  font-style: italic;
  padding: 0.05rem;
}

.bio-normal {
  font-style: normal;
  color: var(--color-light-grey);
}

.news-description a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: crimson;
}

.news-description a:hover,
.news-description a:focus {
  text-decoration-color: crimson;
}

.news-event.current {
  position: relative;
  background: #f9f9f9;
}

.news-event.current::before {
  /* content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: black;
  pointer-events: none; */
  font-weight: 600;
}
.footer__divider {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--color-grey);
}

@media screen and (max-width: 40rem) {
  .footer {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
  }
}
