.atelier-k-product-summary .wp-block-post-excerpt__excerpt {
  white-space: pre-wrap !important;
}

/* Masquer le panier sur les pages institutionnelles et de services */
body.page-id-1 .wp-block-woocommerce-mini-cart,
body.page-id-21 .wp-block-woocommerce-mini-cart,
body.page-id-23 .wp-block-woocommerce-mini-cart,
body.page-id-164 .wp-block-woocommerce-mini-cart,
body.page-id-292 .wp-block-woocommerce-mini-cart,
body.page-id-294 .wp-block-woocommerce-mini-cart,
body.page-id-296 .wp-block-woocommerce-mini-cart,
body.page-id-300 .wp-block-woocommerce-mini-cart,
body.page-id-382 .wp-block-woocommerce-mini-cart,
body.page-id-384 .wp-block-woocommerce-mini-cart {
  display: none !important;
}

/* Direction visuelle Atelier K, sobre et éditoriale */
:root {
  --ak-ivory: #fffcf8;
  --ak-soft-ivory: #fff8ed;
  --ak-sage: #a7b9a8;
  --ak-deep: #26332d;
  --ak-ink: #3b3b3b;
  --ak-clay: #d5896f;
  --ak-line: #d9d8d1;
}

body {
  background: var(--ak-ivory);
  color: var(--ak-ink);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
  background: var(--ak-ivory);
}

header.wp-block-template-part > .wp-block-group {
  border-bottom: 1px solid #e3e1da;
  padding-top: 1.45rem !important;
  padding-bottom: 1.45rem !important;
}

header .wp-block-site-logo img {
  max-height: 58px;
  width: auto;
}

header .wp-block-navigation-item__content {
  font-size: .92rem;
  letter-spacing: .005em;
}

.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3 {
  color: inherit;
  text-wrap: balance;
}

.wp-block-post-content h1 {
  letter-spacing: -.045em;
  line-height: 1.04;
}

.wp-block-post-content h2 {
  letter-spacing: -.032em;
  line-height: 1.13;
}

.wp-block-post-content h3 {
  letter-spacing: -.018em;
  line-height: 1.24;
}

.wp-block-post-content p,
.wp-block-post-content li {
  line-height: 1.72;
}

.wp-block-post-content p + p {
  margin-block-start: 1.15em;
}

body.home .wp-block-post-content > .wp-block-group:first-of-type h1 {
  font-size: clamp(3.15rem, 6vw, 5.7rem) !important;
  max-width: 11.5ch;
}

.wp-block-post-content > .wp-block-group.alignfull,
.wp-block-post-content > .wp-block-group.alignwide {
  scroll-margin-top: 6rem;
}

.wp-block-post-content .wp-block-columns {
  gap: clamp(1.5rem, 3vw, 3rem);
}

.wp-block-post-content .wp-block-image img {
  border-radius: 5px !important;
  box-shadow: none !important;
}

.wp-block-post-content .wp-block-group[style*="border-radius"],
.wp-block-post-content .wp-block-column[style*="border-radius"] {
  border-radius: 4px !important;
  box-shadow: none !important;
}

.wp-block-post-content .wp-block-group[style*="box-shadow"],
.wp-block-post-content .wp-block-column[style*="box-shadow"] {
  box-shadow: none !important;
}

.wp-block-button__link {
  border-radius: 3px !important;
  box-shadow: none !important;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1.3;
  padding: .78rem 1.08rem !important;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease !important;
}

.wp-block-button__link:hover {
  transform: none !important;
  filter: none !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  border-width: 1px !important;
  background: transparent !important;
}

.wp-block-post-content .has-background[style*="#26332d"] a:not(.wp-block-button__link) {
  color: #dbe5dc;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.wp-block-post-content .has-background[style*="#26332d"] .wp-block-button__link {
  box-shadow: none !important;
}

body.home .wp-block-post-content > .wp-block-group:nth-of-type(3) .wp-block-group {
  background: transparent !important;
  border-color: rgba(255, 253, 249, .28) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}

body.home .wp-block-post-content > .wp-block-group:nth-of-type(4) .wp-block-column {
  border-radius: 4px !important;
  box-shadow: none !important;
}

body.home .wp-block-post-content > .wp-block-group:nth-of-type(4) .wp-block-group[style*="background-color:#26332d"] {
  border-radius: 4px !important;
}

footer.wp-block-template-part > .wp-block-group {
  border-top: 1px solid #e3e1da;
}

@media (min-width: 782px) {
  .wp-block-post-content > .wp-block-group.alignfull {
    padding-top: clamp(5rem, 7.5vw, 7rem) !important;
    padding-bottom: clamp(5rem, 7.5vw, 7rem) !important;
  }

  .wp-block-post-content > .wp-block-group.alignwide {
    padding-top: clamp(4.75rem, 6.5vw, 6.5rem) !important;
    padding-bottom: clamp(4.75rem, 6.5vw, 6.5rem) !important;
  }
}

@media (max-width: 781px) {
  header.wp-block-template-part > .wp-block-group {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .wp-block-post-content h1 {
    font-size: clamp(2.65rem, 12vw, 4rem) !important;
  }

  .wp-block-post-content h2 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
  }

  .wp-block-post-content > .wp-block-group.alignfull,
  .wp-block-post-content > .wp-block-group.alignwide {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .wp-block-post-content .wp-block-columns {
    gap: 1.35rem;
  }
}
}


/* Éviter l’orange sur les sections vert foncé */
.wp-block-post-content [style*="background-color:#26332d"] [style*="color:#d5896f"] {
  color: #a7b9a8 !important;
}

.wp-block-post-content [style*="background-color:#26332d"] .wp-block-button__link[style*="background-color:#d5896f"] {
  background-color: #fffdf9 !important;
  border-color: #fffdf9 !important;
  color: #26332d !important;
}

.wp-block-post-content .has-background[style*="background-color:#26332d"] p.has-text-color[style^="color:#d5896f"] {
  color: #a7b9a8 !important;
}
