/* Aucun sélecteur BlockArt : ce composant est indépendant de l'ancien bloc. */
body.hydewa-expertise-page #zak-content > .zak-container {
  width: calc(100% - 2 * clamp(20px,4vw,100px));
  max-width: 2160px; margin-inline: auto; padding-inline: 0;
}
body.hydewa-expertise-page .zak-primary { width: 100%; min-width: 0; }
body.hydewa-expertise-page .entry-content > .hydewa-expertise {
  width: 100%; max-width: none; margin: 0;
  --he-red: #d80a17; --he-line: #dee3e7; color: #303030;
}
body.hydewa-expertise-page .hydewa-expertise *,
body.hydewa-expertise-page .hydewa-expertise *::before { box-sizing: border-box; }
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__heading {
  font-size: clamp(28px,2.8vw,56px); font-weight: 700; line-height: 1.2; margin: 0 0 40px;
}
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__figure { margin: 0 0 clamp(32px,4vw,80px); width: 100%; }
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__photo {
  display: block; width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none;
}
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__title {
  font-size: clamp(28px,2.8vw,56px); font-weight: 400; line-height: 1.2;
  margin: 0 0 clamp(28px,4vw,72px); color: #171717;
}
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__title strong { font-weight: 700; }
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__list {
  list-style: none; padding: 0; margin: 0 clamp(0px,4vw,80px) clamp(40px,6vw,120px);
}
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__step {
  display: grid; grid-template-columns: minmax(130px,22%) minmax(0,1fr);
  gap: 0; padding: 0 0 clamp(28px,3vw,60px) clamp(36px,7vw,140px);
  margin: 0; position: relative; border: 0; font-size: clamp(16px,1.12vw,22px); line-height: 1.45;
}
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__step::before {
  content: ""; position: absolute; top: .5em; bottom: -.5em; left: 5px;
  width: 1px; background: #999;
}
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__step::after {
  content: ""; position: absolute; top: .5em; left: 0;
  width: 11px; height: 11px; border-radius: 50%; background: var(--he-red);
}
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__step:last-child::before { content: none; }
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__date {
  font-size: clamp(19px,1.5vw,30px); line-height: 1.25; border-bottom: 1px solid var(--he-line);
  padding-bottom: clamp(20px,2vw,40px); min-width: 0; overflow-wrap: anywhere;
}
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__text {
  border-bottom: 1px solid var(--he-line); padding-bottom: clamp(20px,2vw,40px); min-width: 0; overflow-wrap: anywhere;
}
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__text p { margin: 0 0 12px; border: 0; }
body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__text p:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__list { margin-inline: 0; }
  body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__step { grid-template-columns: minmax(0,1fr); gap: 10px; padding-left: 30px; padding-bottom: 28px; }
  body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__date { border: 0; padding: 0; font-weight: 600; }
  body.hydewa-expertise-page .hydewa-expertise .hydewa-expertise__heading { margin-bottom: 24px; }
}
/* ===== PICTOGRAMMES DES AVANTAGES ===== */

.entry-content .avantages li:has(a[href*="contact-avec-les-aliments"]) {
  --picto-avantage: url("/wp-content/uploads/2026/01/contact-aliment.svg");
}

.entry-content .avantages li:has(a[href*="glasbord"]) {
  --picto-avantage: url("/wp-content/uploads/2026/01/Glasbord.svg");
}

.entry-content .avantages li:has(a[href*="resistance-au-feu"]) {
  --picto-avantage: url("/wp-content/uploads/2026/01/anti-feu.svg");
}

.entry-content .avantages li:has(a[href*="nettoyage-facile-et-rapide"]) {
  --picto-avantage: url("/wp-content/uploads/2026/01/Nettoyage.svg");
}

.entry-content .avantages li:has(a[href*="resistance-aux-chocs"]) {
  --picto-avantage: url("/wp-content/uploads/2026/01/Resistance.svg");
}

.entry-content .avantages li:has(a[href*="facilite-de-pose"]) {
  --picto-avantage: url("/wp-content/uploads/2026/01/Facilite-pose.svg");
}

.entry-content .avantages li:has(a[href*="economie"]) {
  --picto-avantage: url("/wp-content/uploads/2026/01/Economie.svg");
}

.entry-content .avantages li:has(a[href*="recyclage"]) {
  --picto-avantage: url("/wp-content/uploads/2026/01/Recyclage.svg");
}

/* Le bloc de termes occupe toute la largeur. */
body .entry-content .avantages .wp-block-terms-query {
  width: 100%;
  max-width: none;
  flex: 1 1 100%;
  min-width: 0;
}

body .entry-content .avantages .wp-block-term-template {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

body .entry-content .avantages .wp-block-term-template > li {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-left: 1px solid #dee3e7;
  text-align: left;
}

body .entry-content .avantages .wp-block-term-template > li:first-child {
  border-left: 0;
}

body .entry-content .avantages .wp-block-term-template > li::before {
  content: "";
  display: block;
  position: static;
  width: clamp(64px, 5vw, 110px);
  height: clamp(64px, 5vw, 110px);
  margin: 0 auto 18px;
  background: var(--picto-avantage, none) center / contain no-repeat;
}

body .entry-content .avantages .wp-block-term-template a {
  display: block;
  color: inherit;
  text-decoration: none;
  line-height: 1.35;
}

.entry-content .avantages
> .wp-block-group:has(> .wp-block-terms-query)
> figure.blockart-image:has(img.wp-image-3050) {
  display: none;
}

@media (max-width: 1100px) {
  body .entry-content .avantages .wp-block-term-template {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 24px;
  }

  body .entry-content .avantages .wp-block-term-template > li:nth-child(4n + 1) {
    border-left: 0;
  }
}

@media (max-width: 600px) {
  body .entry-content .avantages .wp-block-term-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .entry-content .avantages .wp-block-term-template > li:nth-child(odd) {
    border-left: 0;
  }
}

/* ===== SERVICES : SVG DÉJÀ PRÉSENTS ===== */

body.page-id-137 .entry-content
> .wp-block-group.alignfull.services .wp-block-column figure.wp-block-image {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  margin: 0 0 20px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.page-id-137 .entry-content
> .wp-block-group.alignfull.services .wp-block-column figure.wp-block-image img {
  display: block;
  width: clamp(100px, 9vw, 180px);
  height: clamp(100px, 9vw, 180px);
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

