/* Home Services C: four independent scopes, each with its own source image.
   Insert the fragment inside Home's existing .mh-wrap. No shared selectors. */
#services.hs24 {
  color:var(--mh-text);
  margin-block-start:clamp(72px,7.64vw,110px);
  scroll-margin-block-start:calc(var(--mh-nav-h,88px) + 24px);
}
#services.hs24 .hs24__heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:clamp(40px,4.86vw,90px);
}
#services.hs24 .hs24__label {
  margin:0 0 14px;
  color:var(--mh-muted);
  font:600 15px/1.4 var(--mh-display);
  letter-spacing:-.01em;
}
#services.hs24 .hs24__title {
  margin:0;
  max-inline-size:22ch;
  font:500 calc(42px + var(--mh-wide-growth,0px) * .0107142857)/1.18 var(--mh-display);
  letter-spacing:-.045em;
  text-wrap:pretty;
}
#services.hs24 .hs24__intro {
  flex:0 1 388px;
  min-inline-size:0;
  padding-block-end:2px;
}
#services.hs24 .hs24__intro>p {
  margin:0 0 13px;
  color:var(--mh-muted);
  font:400 calc(19px + var(--mh-wide-growth,0px) * .0017857143)/1.45 var(--mh-text-f);
}
#services.hs24 .hs24__chapters {
  margin-block-start:30px;
  border-block-start:1px solid var(--mh-line-3);
}
#services.hs24 .hs24__chapter {
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(0,.9fr) minmax(0,1.32fr);
  gap:clamp(32px,3.54vw,80px);
  align-items:center;
  padding-block:calc(22px + var(--mh-wide-growth,0px) * .0089285714);
  border-block-end:1px solid var(--mh-line-2);
  scroll-margin-block-start:calc(var(--mh-nav-h,88px) + 24px);
}
#services.hs24 .hs24__chapter:last-child {
  padding-block-end:0;
  border-block-end:0;
}
#services.hs24 :is(.hs24__chapter-title,.hs24__figure,.hs24__detail) {
  min-inline-size:0;
}
#services.hs24 .hs24__task {
  margin:0 0 9px;
  color:var(--mh-muted);
  font:400 calc(15px + var(--mh-wide-growth,0px) * .0008928571)/1.4 var(--mh-text-f);
}
#services.hs24 .hs24__name {
  margin:0;
  max-inline-size:22ch;
  font:500 calc(29px + var(--mh-wide-growth,0px) * .00625)/1.22 var(--mh-display);
  letter-spacing:-.035em;
  text-wrap:pretty;
}
#services.hs24 .hs24__figure {
  margin:0;
}
#services.hs24 .hs24__figure>img {
  display:block;
  inline-size:100%;
  block-size:calc(120px + var(--mh-wide-growth,0px) * .0446428571);
  object-fit:cover;
}
#services.hs24 .hs24__chapter--publications .hs24__figure>img {
  object-fit:contain;
}
#services.hs24 .hs24__chapter--courseware .hs24__figure>img {
  object-position:50% 41%;
}
#services.hs24 .hs24__chapter--instructors .hs24__figure>img {
  object-position:40% 55%;
}
#services.hs24 .hs24__figure>figcaption {
  margin:6px 0 0;
  color:var(--mh-muted);
  font:400 calc(12px + var(--mh-wide-growth,0px) * .0008928571)/1.4 var(--mh-text-f);
}
#services.hs24 .hs24__description {
  margin:0 0 9px;
  max-inline-size:43ch;
  color:var(--mh-muted);
  font:400 calc(18px + var(--mh-wide-growth,0px) * .0017857143)/1.45 var(--mh-text-f);
}
#services.hs24 .hs24__link {
  display:inline-flex;
  align-items:center;
  gap:12px;
  max-inline-size:100%;
  min-block-size:44px;
  padding-block:8px;
  color:var(--mh-text);
  font:600 calc(16px + var(--mh-wide-growth,0px) * .0008928571)/1.4 var(--mh-text-f);
  text-decoration:none;
  text-underline-offset:5px;
}
#services.hs24 .hs24__arrow {
  display:block;
  inline-size:22px;
  block-size:22px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#services.hs24 .hs24__link:hover {
  color:var(--mh-signal);
  text-decoration:underline;
}
#services.hs24 .hs24__link:focus-visible {
  outline:2px solid var(--mh-signal);
  outline-offset:4px;
  text-decoration:underline;
}
@media (prefers-reduced-motion:no-preference) {
  #services.hs24 .hs24__link {
    transition:color var(--mh-motion-fast,160ms) var(--mh-motion-ease,cubic-bezier(.42,0,.58,1));
  }
  #services.hs24 .hs24__arrow {
    transition:transform var(--mh-motion-fast,160ms) var(--mh-motion-ease,cubic-bezier(.42,0,.58,1));
  }
  #services.hs24 .hs24__link:hover .hs24__arrow {
    transform:translateX(3px);
  }
}
@media (min-width:1441px) {
  #services.hs24 .hs24__intro {
    flex-basis:calc(388px + var(--mh-wide-growth,0px) * .125);
  }
  #services.hs24 .hs24__chapters {
    margin-block-start:calc(30px + var(--mh-wide-growth,0px) * .0178571429);
  }
}
@media (max-width:1000px) {
  #services.hs24 .hs24__heading {
    align-items:flex-start;
    gap:32px;
  }
  #services.hs24 .hs24__title {
    font-size:36px;
  }
  #services.hs24 .hs24__intro {
    flex-basis:265px;
    padding-block-start:35px;
  }
  #services.hs24 .hs24__intro>p {
    font-size:18px;
  }
  #services.hs24 .hs24__desktop-break {
    display:none;
  }
  #services.hs24 .hs24__chapter {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:15px 36px;
    align-items:start;
    padding-block:28px;
  }
  #services.hs24 .hs24__chapter-title {
    grid-column:1;
    grid-row:1;
  }
  #services.hs24 .hs24__figure {
    grid-column:1;
    grid-row:2;
  }
  #services.hs24 .hs24__detail {
    grid-column:2;
    grid-row:1/3;
    align-self:center;
  }
  #services.hs24 .hs24__name {
    font-size:26px;
  }
  #services.hs24 .hs24__figure>img {
    block-size:160px;
  }
}
@media (max-width:600px) {
  #services.hs24 {
    margin-block-start:60px;
  }
  #services.hs24 .hs24__heading {
    display:block;
  }
  #services.hs24 .hs24__label {
    margin-block-end:13px;
    font-size:14px;
  }
  #services.hs24 .hs24__title {
    max-inline-size:23ch;
    font-size:clamp(28px,7.7vw,32px);
    line-height:1.2;
  }
  #services.hs24 .hs24__intro {
    padding-block-start:20px;
    max-inline-size:35ch;
  }
  #services.hs24 .hs24__intro>p {
    margin-block-end:8px;
  }
  #services.hs24 .hs24__chapters {
    margin-block-start:22px;
  }
  #services.hs24 .hs24__chapter {
    display:flex;
    flex-direction:column;
    gap:17px;
    align-items:stretch;
    padding-block:25px;
  }
  #services.hs24 .hs24__task {
    margin-block-end:7px;
    font-size:14px;
  }
  #services.hs24 .hs24__name {
    font-size:25px;
    max-inline-size:none;
  }
  #services.hs24 .hs24__figure>img {
    block-size:auto;
    aspect-ratio:1.9;
  }
  #services.hs24 .hs24__figure>figcaption {
    font-size:12px;
  }
  #services.hs24 .hs24__description {
    font-size:17px;
    margin-block-end:7px;
    max-inline-size:43ch;
  }
  #services.hs24 .hs24__link {
    font-size:16px;
    gap:11px;
  }
}
@media (prefers-reduced-motion:reduce) {
  #services.hs24 .hs24__link,#services.hs24 .hs24__arrow {
    transition:none;
  }
  #services.hs24 .hs24__arrow {
    transform:none;
  }
}
@media (forced-colors:active) {
  #services.hs24 .hs24__link:focus-visible {
    outline-color:Highlight;
  }
}
