@charset "UTF-8";
/* stylelint-disable no-descending-specificity */
/* stylelint-disable selector-class-pattern */
/* stylelint-disable hue-degree-notation */
/* stylelint-disable scss/no-global-function-names */
:root {
  --scale-2: 0.7rem; /* 0.7rem ÷ 1.5 */
  --scale-1: 1rem; /* 1rem ÷ 1.5   */
  --scale0: 1.125rem; /* body text  at 18px */
  --scale1: 1.3125rem; /* body text  at 21px */
  --scale2: 1.5rem; /* 1rem × 1.5   */
  --scale3: 2.25rem; /* 1.5rem × 1.5 */
}

body {
  font-family: Fraunces, serif;
  font-weight: 350;
  font-size: 1.125rem;
  color: var(--root-light);
  letter-spacing: 0.01em;
  line-height: 1.6;
}

p,
li {
  font-weight: 350;
}

.p {
  font-weight: 350;
}

p {
  margin-top: 0;
}
p:not(:first-of-type) {
  padding-top: 0.5rem;
}

a {
  color: currentcolor;
}
a:not(.decorated) {
  text-decoration: none;
}

b,
strong {
  font-weight: 600;
}

h1,
.h1,
h2,
.h2 {
  font-family: Fraunces, serif;
  font-variation-settings: "wgth" 500;
  margin-bottom: 18px;
  margin-top: 0;
}

h1,
.h1 {
  font-size: calc(1.307rem + 0.684vw);
  line-height: 1.2;
  text-transform: uppercase;
}
@media (min-width: 1200px) {
  h1,
  .h1 {
    font-size: 1.82rem;
  }
}
h1.page,
.h1.page {
  letter-spacing: 0.01em; /*  TODO: Not optimal... */
}

h2,
.h2 {
  font-size: calc(1.25625rem + 0.075vw);
  line-height: 1.25;
  text-transform: uppercase;
}
@media (min-width: 1200px) {
  h2,
  .h2 {
    font-size: 1.3125rem;
  }
}

h3 {
  line-height: 1.25;
}

li:not(.menu-bar-item) {
  padding-left: 0;
  list-style-position: outside;
  list-style-type: disc;
}

.block-type-markdown h2 {
  padding: 2rem 0 1rem;
}
.block-type-markdown ul > * + * {
  padding-top: 1rem;
}

.button {
  padding: 0.2em 0.5em;
  border: 1px solid var(--root-light);
  border-radius: 8px;
  transition: all 0.4s ease;
}
.button:hover {
  color: var(--root-dark);
  background-color: var(--root-light);
}

.textflow > * + *,
.prose > * + *,
.block-markdown > * + * {
  margin-block-start: var(--flow-space, 1em);
  text-wrap: pretty;
}
.textflow :is(h1, h2, h3, p, li, blockquote),
.prose :is(h1, h2, h3, p, li, blockquote),
.block-markdown :is(h1, h2, h3, p, li, blockquote) {
  line-height: 1.3;
  max-width: 65ch;
}
.textflow :is(h1, h2, h3, blockquote),
.prose :is(h1, h2, h3, blockquote),
.block-markdown :is(h1, h2, h3, blockquote) {
  --flow-space: 2em;
  text-wrap: balance;
  filter: brightness(0.8);
}
.textflow :is(h1, h2, h3) + *,
.prose :is(h1, h2, h3) + *,
.block-markdown :is(h1, h2, h3) + * {
  --flow-space: 0.5em;
}
.textflow ul > li + li,
.prose ul > li + li,
.block-markdown ul > li + li {
  margin-top: 0.2em;
}
.textflow blockquote,
.prose blockquote,
.block-markdown blockquote {
  font-size: var(--scale1);
  font-style: italic;
  max-width: 46ch;
  margin-left: 2em;
  text-wrap: pretty;
}
.textflow a,
.prose a,
.block-markdown a {
  text-decoration: underline;
  font-weight: bold;
}
.textflow figure:has(.floatright),
.prose figure:has(.floatright),
.block-markdown figure:has(.floatright) {
  float: right;
  max-width: 250px;
}
.textflow figure:has(.floatright)::after,
.prose figure:has(.floatright)::after,
.block-markdown figure:has(.floatright)::after {
  content: "";
  clear: both;
}

/* stylelint-disable selector-class-pattern */
:root {
  --scroll-padding: 128px;
}

.sections-select {
  display: none;
  padding-top: 64px;
  position: sticky;
  top: 0;
  margin-left: -5vw;
  margin-right: -5vw;
  z-index: 10;
  background-color: var(--theme-color, var(--root-dark));
}
.sections-select select {
  outline: 0;
  font: inherit;
  font-size: calc(1.2563rem + 0.075vw);
  padding: 8px 1em;
  border: 1px hsl(var(--root-light-hsl)) solid;
  border-bottom-color: transparent;
  border-radius: 8px 8px 0 0;
  background: var(--img) no-repeat right 0.8em center;
  background-color: var(--tab-color);
  cursor: pointer;
}

.sections-menu {
  padding-top: 64px;
  position: sticky;
  top: 0;
  margin-left: -5vw;
  margin-right: -5vw;
  z-index: 10;
  background-color: var(--theme-color, var(--root-dark));
}
.sections-menu ul {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 64px;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1em;
  font-size: 1em;
}
.sections-menu li {
  list-style-type: none;
  padding: 8px 1em;
  border: 1px hsl(var(--root-light-hsl)) solid;
  border-bottom-color: transparent;
  border-radius: 8px 8px 0 0;
  transition: all 500ms ease;
  color: var(--tab-color);
}
.sections-menu li[data-theme=selected], .sections-menu li:hover {
  background-color: var(--tab-color);
  color: hsl(var(--root-dark-hsl));
}
.sections-menu ul::after {
  content: "";
  position: absolute;
  bottom: -0.2rem;
  left: 0;
  height: 0.4rem;
  width: var(--marker-width, 10ch);
  transform: translate3d(var(--marker-left, 0), 0, 0);
  background-color: hsl(var(--root-light-hsl));
  transition: transform 250ms, width 200ms, background-color 200ms;
  will-change: width;
}
.sections-menu a {
  display: block;
}

section:not(.pswp__scroll-wrap) {
  padding: 1em;
  padding: 1em 5vw;
  color: hsl(var(--root-dark-hsl));
  margin-left: -5vw;
  margin-right: -5vw;
  max-width: 85vw;
  background-color: var(--tab-color, hsl(var(--root-light-hsl)));
  scroll-margin-top: var(--scroll-padding);
}

@media screen and (max-width: 640px) {
  :root {
    --scroll-padding: 100px;
  }
  .sections-menu {
    display: none;
  }
  .sections-select {
    display: block;
  }
  section:not(.pswp__scroll-wrap) {
    max-width: 100vw;
  }
}
:root {
  --tab-color: hsl(var(--root-dark-hsl));
  --buttes-color: hsl(147, 85%, 92%);
  --arbres-color: hsl(68, 90%, 92%);
  --flore-color: hsl(169, 90%, 92%);
  --divers-color: hsl(199, 90%, 92%);
}

[data-color=buttes] {
  --tab-color: var(--buttes-color);
}

[data-color=arbres] {
  --tab-color: var(--arbres-color);
}

[data-color=flore] {
  --tab-color: var(--flore-color);
}

[data-color=divers] {
  --tab-color: var(--divers-color);
}

.page-title-news-item {
  border: 1px solid hsl(var(--root-light-hsl)) !important;
  background-color: var(--tab-color);
}

section:not(.pswp__scroll-wrap) .intro {
  max-width: 80ch;
  margin-bottom: 5vh;
}
section:not(.pswp__scroll-wrap) .galerie-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(12vw, 100px), 1fr));
  gap: 6vw;
  grid-auto-flow: row dense;
}
section:not(.pswp__scroll-wrap) .galerie-photos > a:nth-of-type(2n + 3) {
  margin-top: 32px;
}
section:not(.pswp__scroll-wrap) .galerie-photos > a:nth-of-type(5n + 2) {
  margin-top: -16px;
}
section:not(.pswp__scroll-wrap) .galerie-photos > a[data-orientation=portrait] {
  grid-row-end: span 2;
  max-height: max-content;
}
section:not(.pswp__scroll-wrap) .galerie-photos figure {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
section:not(.pswp__scroll-wrap) .galerie-photos figure img {
  overflow: hidden;
  transform: scale(1);
  transform-origin: bottom;
  transition: all 300ms ease;
}
section:not(.pswp__scroll-wrap) .galerie-photos figure figcaption {
  font-size: var(--scale-1);
}
section:not(.pswp__scroll-wrap) .galerie-photos figure figcaption span {
  font-variation-settings: "wght" 700;
}
section:not(.pswp__scroll-wrap) .galerie-photos figure:hover img {
  transform: scale(1.05);
}

img.floatlogo {
  float: left;
  padding-right: 1em;
  max-width: 25vw;
}
img.floatlogo::after {
  content: "";
  clear: both;
}

/* ------------------------------------ *\
    #CARD FOR GALLERY
\* ------------------------------------ */
.gallery-card {
  background-color: hsl(var(--root-dark-hsl));
  color: hsl(var(--root-light-hsl));
  padding: 0.5em;
  margin-bottom: 1em;
  border-radius: 8px;
  position: relative;
}

@media screen and (min-width: 640px) {
  .gallery-card {
    float: right;
    max-width: 20vw;
    margin-left: 1em;
  }
  .gallery-card::after {
    content: "";
    clear: both;
  }
}
.gallery-card a.main {
  z-index: 1;
}

.gallery-card a.main::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  /* stylelint-disable-next-line declaration-block-no-redundant-longhand-properties */
  left: 0;
}

.gallery-card figure {
  aspect-ratio: 2/1;
  object-fit: cover;
  overflow: hidden;
}

.gallery-card a:hover figure {
  transform: scale(1.05);
  transition: all 100ms ease;
}

/* ------------------------------------ *\
    #NOTES
\* ------------------------------------ */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1em;
}

.note {
  border: 1px solid hsl(var(--root-dark-hsl));
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(1px, 1fr);
  grid-template-rows: max-content 1fr max-content;
}
.note[data-type=note] {
  background-color: hsl(var(--root-light-hsl));
}

.note-head {
  display: flex;
  gap: 1em;
}
.note-head img {
  flex-basis: 50%;
  border-radius: 8px 8px 0 0;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  overflow: hidden;
}

.note-title,
.note-body,
.note-footer {
  padding: 0.4rem 0.2rem;
  font-size: var(--scale-1);
}

div[data-type=lien] .note-title a {
  font-size: var(--scale0);
  text-wrap: balance;
}
div[data-type=lien] .note-title a::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
  display: inline-flex;
  height: 18px;
  width: 18px;
  transform: translateX(3px);
}

.note-footer {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
}
.note-footer img {
  width: 1em;
  height: 1em;
  object-fit: contain;
}
.note-footer span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.75;
  font-size: var(--scale-2);
}
/*# sourceMappingURL=arbres.css.map */
