/* Preserve the homepage logo proportions. */
[data-element-id="elm_Yo75MQcMXtzRI5i3RK_m3w"] img {
  object-fit: contain;
  object-position: right center;
}

/* Keep COMMITMENT on one line within its card. */
[data-element-id="elm_3F6Mi9r1wZcSe_f3LZCLFg"] {
  container-type: inline-size;
}
[data-element-id="elm_3F6Mi9r1wZcSe_f3LZCLFg"] h4.zpheading {
  font-size: 22px;
  font-size: min(24px, 13cqi);
  white-space: nowrap;
}

/* English titles on the original FAQ and case study photographs. */
.page-container figure:has(img[src="/IMG/12.jpg"]),
.page-container figure:has(img[src="/IMG/histoire_banner.jpg"]),
.page-container figure:has(img[src="/8-5.svg"]),
.page-container figure:has(img[src="/9-3.svg"]),
.page-container figure:has(img[src="/10-7.svg"]),
.page-container figure:has(img[src="/11-4.svg"]),
.page-container figure:has(img[src="/IMG/111.jpg"]),
.page-container figure:has(img[src="/IMG/connaitre.jpg"]),
.page-container figure:has(img[src="/IMG/113.jpg"]),
.page-container figure:has(img[src="/IMG/114.jpg"]) {
  position: relative;
}
.page-container figure:has(img[src="/IMG/12.jpg"])::after,
.page-container figure:has(img[src="/IMG/histoire_banner.jpg"])::after,
.page-container figure:has(img[src="/8-5.svg"])::after,
.page-container figure:has(img[src="/9-3.svg"])::after,
.page-container figure:has(img[src="/10-7.svg"])::after,
.page-container figure:has(img[src="/11-4.svg"])::after,
.page-container figure:has(img[src="/IMG/111.jpg"])::after,
.page-container figure:has(img[src="/IMG/connaitre.jpg"])::after,
.page-container figure:has(img[src="/IMG/113.jpg"])::after,
.page-container figure:has(img[src="/IMG/114.jpg"])::after {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: .5em 1em;
  color: #fff;
  background-color: #161616;
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}
.page-container figure:has(img[src="/IMG/12.jpg"])::after,
.page-container figure:has(img[src="/IMG/histoire_banner.jpg"])::after {
  inset: 37% 0 32%;
  font-size: clamp(20px, 3.3vw, 52px);
  font-weight: 800;
}
.page-container figure:has(img[src="/8-5.svg"])::after,
.page-container figure:has(img[src="/9-3.svg"])::after,
.page-container figure:has(img[src="/10-7.svg"])::after,
.page-container figure:has(img[src="/11-4.svg"])::after {
  inset: 0 0 0 34.5%;
  background: linear-gradient(#c7252d, #c7252d) center 84% / 5rem 2px no-repeat, #000;
  font-size: clamp(19px, 3vw, 48px);
  font-weight: 500;
}
.page-container figure:has(img[src="/IMG/111.jpg"])::after,
.page-container figure:has(img[src="/IMG/connaitre.jpg"])::after,
.page-container figure:has(img[src="/IMG/113.jpg"])::after,
.page-container figure:has(img[src="/IMG/114.jpg"])::after {
  inset: 62% 0 0;
  font-size: clamp(13px, 1.35vw, 19px);
  font-weight: 600;
}
.page-container figure:has(img[src="/IMG/12.jpg"])::after { content: "Frequently Asked Questions"; }
.page-container figure:has(img[src="/IMG/histoire_banner.jpg"])::after { content: "Case Studies"; }
.page-container figure:has(img[src="/8-5.svg"])::after { content: "Building Trust in an Acquisition"; }
.page-container figure:has(img[src="/9-3.svg"])::after { content: "How a Business Valuation Changed the Outcome"; }
.page-container figure:has(img[src="/10-7.svg"])::after { content: "How Refinancing Saved an Acquisition"; }
.page-container figure:has(img[src="/11-4.svg"])::after { content: "How a Disciplined Sale Process Drew Competing Offers"; }
.page-container figure:has(img[src="/IMG/111.jpg"])::after { content: "Building Trust in an Acquisition"; }
.page-container figure:has(img[src="/IMG/connaitre.jpg"])::after { content: "How a Business Valuation Changed the Outcome"; }
.page-container figure:has(img[src="/IMG/113.jpg"])::after { content: "How Refinancing Saved an Acquisition"; }
.page-container figure:has(img[src="/IMG/114.jpg"])::after { content: "How a Disciplined Sale Process Drew Competing Offers"; }
@media (max-width: 767.8px) {
.page-container figure:has(img[src="/IMG/12.jpg"])::after,
.page-container figure:has(img[src="/IMG/histoire_banner.jpg"])::after {
    inset: 33% 0 0;
    font-size: clamp(18px, 6vw, 32px);
  }
.page-container figure:has(img[src="/8-5.svg"])::after,
.page-container figure:has(img[src="/9-3.svg"])::after,
.page-container figure:has(img[src="/10-7.svg"])::after,
.page-container figure:has(img[src="/11-4.svg"])::after {
    inset: 57% 0 0;
    padding-bottom: 1.3em;
    background: linear-gradient(#c7252d, #c7252d) center 87% / 3rem 2px no-repeat, #161616;
    font-size: clamp(16px, 5vw, 27px);
  }
.page-container figure:has(img[src="/IMG/111.jpg"])::after,
.page-container figure:has(img[src="/IMG/connaitre.jpg"])::after,
.page-container figure:has(img[src="/IMG/113.jpg"])::after,
.page-container figure:has(img[src="/IMG/114.jpg"])::after {
    font-size: clamp(15px, 4.6vw, 20px);
  }
}

/* Match the French sale page’s contrast in the six reasons section. */
[data-element-id="elm_0QBbRmwZfD8Yrniw4AmY5w"] .zptext,
[data-element-id="elm_0QBbRmwZfD8Yrniw4AmY5w"] .zptext :is(p, span, strong, b, em, a, li) {
  color: #fff;
}

[data-element-id="elm_0QBbRmwZfD8Yrniw4AmY5w"] .zptext {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
[data-element-id="elm_0QBbRmwZfD8Yrniw4AmY5w"] .zptext > p:is(:nth-child(7), :nth-child(11), :nth-child(15), :nth-child(19), :nth-child(23), :nth-child(27)) {
  font-weight: 700;
}

/* Match the English acquisition tile to the other home page service tiles. */
[data-element-id="elm_UzwAG3NTf-sozwzjvIth6w"] figure:has(img[src="/4-1.svg"]) {
  position: relative;
}
[data-element-id="elm_UzwAG3NTf-sozwzjvIth6w"] figure:has(img[src="/4-1.svg"])::after {
  content: "BUSINESS\A ACQUISITION";
  position: absolute;
  inset: 71% 0 0;
  display: grid;
  place-items: center;
  background: #434343;
  color: #fff;
  font: 800 clamp(11px, 0.8vw, 15px)/1.05 Montserrat, sans-serif;
  text-align: center;
  white-space: pre;
  pointer-events: none;
}

/* Keep the multiline Coming Soon titles readable on the English Publications page. */
.page-container [data-element-id="elm_0kGrWc2LorKSr_DxecB21g"].zpelem-heading,
.page-container [data-element-id="elm_4iJ0m-4F5VK3Ij7wZuB4tg"].zpelem-heading,
.page-container [data-element-id="elm_OyFK84MdkBg9RYQ7FPZoQw"].zpelem-heading {
  margin-block-start: 0;
}
.page-container [data-element-id="elm_0kGrWc2LorKSr_DxecB21g"] > h2.zpheading,
.page-container [data-element-id="elm_4iJ0m-4F5VK3Ij7wZuB4tg"] > h2.zpheading,
.page-container [data-element-id="elm_OyFK84MdkBg9RYQ7FPZoQw"] > h2.zpheading {
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.28;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
