/* Text utility */
/* Mobile utility */
/* link hover utility */
/* Container utility mixin */
/* Container avec variable CSS */
/* Text content styles */
/* Centered content */
/* from... */
/* to... */
/* from... to... */
/* at... */
.s-post-content__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 4.875rem;
  padding-inline: 2.625rem;
}
@media screen and (max-width: 1024px) {
  .s-post-content__inner {
    flex-direction: column;
    gap: 2rem;
    padding-inline: 1.25rem;
  }
}
.s-post-content__nav {
  --nav-top: calc(5rem + 3.375rem);
  --nav-bottom-gap: 1.4375rem;
  position: sticky;
  top: var(--nav-top);
  flex-shrink: 0;
  width: 23.875rem;
  border-radius: 0.625rem;
  background-color: var(--wp--preset--color--bg-white);
  padding: 0.8125rem 1rem;
  transition: top 0.3s ease, max-height 0.3s ease;
  max-height: calc(100vh - var(--nav-top) - var(--nav-bottom-gap));
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media screen and (max-width: 1024px) {
  .s-post-content__nav {
    position: static;
    top: auto;
    width: 100%;
    max-height: none;
    overflow: visible;
  }
}
.s-post-content__nav-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  counter-reset: mad-toc;
}
.s-post-content__nav-indicator {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 0;
  border-radius: 0.625rem;
  background-color: var(--wp--preset--color--bg-gray-light);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0, 0, 0.2, 1), opacity 0.2s linear;
}
.s-post-content__nav-indicator.is-visible {
  opacity: 1;
}
.s-post-content__nav-item {
  counter-increment: mad-toc;
}
.s-post-content__nav-link {
  display: block;
  color: var(--wp--preset--color--txt-blue);
  text-decoration: none;
  font-family: "Mark Pro", sans-serif;
  font-family: "Mark Pro", sans-serif;
  line-height: 1.2;
  font-weight: 400;
  font-weight: 700;
  padding: 1rem;
  border-radius: 0.625rem;
  position: relative;
  z-index: 1;
}
.s-post-content__nav-link {
  font-size: 16px;
}
@media screen and (min-width: 569px) {
  .s-post-content__nav-link {
    font-size: calc(16px + 0 * (100vw - 569px) / 871);
  }
}
@media screen and (min-width: 1440px) {
  .s-post-content__nav-link {
    font-size: 1rem;
  }
}
.s-post-content__nav-link::before {
  content: counter(mad-toc) ".";
  margin-right: 0.5rem;
}
.s-post-content__nav-link--has-number::before {
  content: none;
  margin-right: 0;
}
.s-post-content__body {
  flex: 1 1 0;
  min-width: 0;
  max-width: 46.875rem;
  margin-inline: auto;
}
@media screen and (max-width: 1024px) {
  .s-post-content__body {
    max-width: 100%;
    width: 100%;
  }
}
.s-post-content__body h2 {
  letter-spacing: -2%;
}
.s-post-content__body h3 {
  font-weight: 500;
}
.s-post-content__body h3 {
  font-size: 24px;
}
@media screen and (min-width: 569px) {
  .s-post-content__body h3 {
    font-size: calc(24px + 0 * (100vw - 569px) / 871);
  }
}
@media screen and (min-width: 1440px) {
  .s-post-content__body h3 {
    font-size: 1.5rem;
  }
}
.s-post-content__body p,
.s-post-content__body ul li {
  font-weight: 400;
}
.s-post-content__body p,
.s-post-content__body ul li {
  font-size: 16px;
}
@media screen and (min-width: 569px) {
  .s-post-content__body p,
  .s-post-content__body ul li {
    font-size: calc(16px + 0 * (100vw - 569px) / 871);
  }
}
@media screen and (min-width: 1440px) {
  .s-post-content__body p,
  .s-post-content__body ul li {
    font-size: 1rem;
  }
}
.s-post-content__body p,
.s-post-content__body a:not(.c-btn),
.s-post-content__body mark {
  color: var(--wp--preset--color--txt-blue);
  font-weight: 400;
}
.s-post-content__body p,
.s-post-content__body a:not(.c-btn),
.s-post-content__body mark {
  font-size: 16px;
}
@media screen and (min-width: 569px) {
  .s-post-content__body p,
  .s-post-content__body a:not(.c-btn),
  .s-post-content__body mark {
    font-size: calc(16px + 0 * (100vw - 569px) / 871);
  }
}
@media screen and (min-width: 1440px) {
  .s-post-content__body p,
  .s-post-content__body a:not(.c-btn),
  .s-post-content__body mark {
    font-size: 1rem;
  }
}
.s-post-content__body .wp-block-columns {
  padding-top: 1rem;
}
@media screen and (max-width: 991px) {
  .s-post-content__body .wp-block-columns {
    flex-direction: column !important;
  }
  .s-post-content__body .wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
    width: 100%;
  }
}
.s-post-content__body .wp-block-embed__wrapper {
  padding-top: 0 !important;
}

:root {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  .s-post-content__nav-indicator {
    transition: none;
  }
}
.s-post-content__body h2 {
  scroll-margin-top: calc(5rem + 6.25rem);
}
@media screen and (max-width: 1024px) {
  .s-post-content__body h2 {
    scroll-margin-top: calc(5rem + 1.5rem);
  }
}

body:has(.headroom--pinned) .s-post-content__nav {
  --nav-top: calc(5rem + 5.25rem);
}
@media screen and (max-width: 1024px) {
  body:has(.headroom--pinned) .s-post-content__nav {
    --nav-top: auto;
  }
}