/* V66 — reference-matched CTA recess in the CARD EDGE (not on the CTA).
   All imagery, layout, colors, type, and hover states are V62 originals.
   The only visual addition is a compact concave cut-out at the bottom
   inline-start of every service card, with the existing pill CTA above it. */

#main .expertise-v7 {
  --practice-notched-surface: #faf9f5;
}

#main .expertise-v7 .practice-editorial-card-v62 {
  isolation: isolate;
}

/* Cut the card's bottom silhouette, leaving the button completely intact.
   The radius is on the recess's right shoulder, not on the button. */
#main .expertise-v7 .practice-editorial-card-v62::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset-inline-start: -1px;
  bottom: -1px;
  width: 226px;
  height: 49px;
  background-color: var(--practice-notched-surface);
  clip-path: path("M0 0 H183 Q198 0 198 15 V31 Q198 49 216 49 H0 Z");
  pointer-events: none;
}

#main .expertise-v7 .practice-editorial-content-v62 {
  position: relative;
  z-index: 3;
}

#main .expertise-v7 .practice-editorial-more-v62 {
  /* Existing V62 pill, color, padding and arrows remain untouched. */
  z-index: 4;
}

html[dir="rtl"] #main .expertise-v7 .practice-editorial-card-v62::after {
  transform: scaleX(-1);
}

/* The bottom card recess is smaller on narrow phone widths. */
@media (max-width: 400px) {
  #main .expertise-v7 .practice-editorial-card-v62::after {
    width: 206px;
    height: 45px;
    clip-path: path("M0 0 H167 Q180 0 180 13 V29 Q180 45 196 45 H0 Z");
  }
}
