* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --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-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}
img {
  width: 100%;
}
body {
  padding: var(--padding);
  max-width: 100%;
  margin: 0 auto;
  font-size: 13px;
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
  text-align: left;
}
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);
}

.header {
  position: fixed;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: 0rem;
    margin-left: 0rem;
    z-index: 100;
    width: 98%;
}

.swiper-slide {
  display: flex;
  justify-content: center;  /* centre horizontalement la figure */
  align-items: center;      /* centre verticalement la figure dans le slide */
  padding: inherit;;            /* optionnel : pour le responsive sur mobile */
}

.fig {
  display: flex;
  flex-direction: column;   /* empile image + caption */
  justify-content: flex-start; /* image prend tout l’espace disponible au-dessus du titre */
  align-items: center;      /* centre horizontalement l’image */
  height: calc(80vh - 2rem);             /* hauteur de la figure = 80% de la fenêtre */
  width: 90%;               /* largeur max responsive */
  max-width: 1600px;         /* largeur max pour grands écrans */
  text-align: center;
}

.fig img,
.fig video {
  width: auto;              /* garde les proportions */
  max-width: 100%;          /* ne dépasse jamais la largeur de la figure */
  height: auto;             /* garde les proportions */
  max-height: calc(80vh - 2rem); /* hauteur max = hauteur figure - espace pour le titre */
  object-fit: contain;      /* ne déforme pas l’image/vidéo */
  display: block;
  margin: 0 auto;           /* centre horizontalement */
}

.fig figcaption {
  margin-top: 0.5rem;
  flex-shrink: 0;           /* ne disparaît jamais */
  /* font-size: clamp(0.8rem, 2vw, 1.2rem); /* texte responsive */ */
}



.text {  margin-bottom: 0px;
}

.archives {
  margin-top: 3rem;
}
.tag-filter {
  margin: 2rem 0rem;
}

.active {font-weight: 700}

.album-gallery figure video {
  width: 100%;
  aspect-ratio: auto;
}

.listing ul.grid
{
  display: block;
}
.listing li.column, .listing .img-caption {
  display: block;
      margin: 0px;
      padding:0px
}






.logo {
  padding: 0rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.menu a {
  padding: 0rem;
  display: block;
}
.menu a[aria-current] {
  font-weight: 700;
}

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

.section {
  padding: 3rem 0;
}

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

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

.text-column{
  column-count: 2;         /* nombre de colonnes */
  column-gap: 2rem;        /* espace entre les colonnes */
  column-fill: balance;    /* équilibre le texte entre les colonnes */
  max-width: 100%;        /* largeur max pour une lecture agréable */
  margin:3rem 0rem
}

.text-column figure.video {
  max-width: 100%;
      display: inline-block;
      height: auto;
      width: 100%;
      padding: 0px;
    }

.text-column video {
  max-width: 100%
}

.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: 13px;
  font-weight: inherit;
  line-height: inherit;
}
.bold {font-weight: 700}
.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.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;
}

header .h1 {
  font-size: 13px !important;
  font-weight: 700px;
}
.text h1,
.h1,
.intro {
  font-size: 16px;
  line-height: 1.25em;
  margin-top: 3rem;
}
.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);
}

.album-gallery .video {
  position: relative;
  display: block;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.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 {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
  display: none;
}
/* .footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
} */

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}


.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: 0.8rem 1rem;
  }

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

}

.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);
}
