/* v40: readable service names lead; compact illustrations support the content. */
.home .home-services .service-domain {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 28px 20px;
  border-radius: 5px;
  box-shadow: 0 5px 20px rgb(20 57 89 / 3%);
}
.home .home-services .service-domain:first-child {
  background-color: #143959;
}
.home .home-services .service-art {
  isolation: isolate;
  order: 1;
  align-self: stretch;
  width: auto;
  height: 170px;
  min-height: 0;
  margin: -2px 0 0;
  background-color: #fff;
}
.home .service-art > svg,
.home .service-art > .art-caption { display: none; }
.home .home-services .service-art::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background-position: center 20%;
  background-repeat: no-repeat;
  background-size: auto 196px;
}
.home .home-services .art-build { background-color: #143959; }
.home .art-build::before { background-image: url("img/service-architecture.svg"); }
.home .art-operate::before { background-image: url("img/service-operations.svg"); }
.home .art-procure::before { background-image: url("img/service-procurement.svg"); }
.home .home-services .service-domain .domain-heading { order: 0; padding: 0; }
.home .home-services .service-domain .domain-body { order: 2; }
.home .home-services .service-domain .domain-heading h3,
.home .home-services .service-domain:first-child .domain-heading h3 {
  font-size: 32px;
  line-height: 1.45;
  letter-spacing: .015em;
}
.home .home-services .service-domain .domain-heading p {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .01em;
  color: #526b80;
}
.home .home-services .service-domain:first-child .domain-heading p {
  color: #c9deed;
}
.home .home-services .service-domain .domain-body > p {
  min-height: 54px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0;
  color: #455d71;
}
.home .home-services .service-domain:first-child .domain-body > p {
  color: #e3edf4;
}
.home .home-services .service-domain .domain-body a {
  min-height: 56px;
  padding: 13px 0;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0;
  text-decoration: none;
  background-color: transparent;
}
.home .home-services .service-domain .domain-body a span {
  width: 27px;
  height: 27px;
  background-color: #eaf2f8;
  color: #2b6db4;
  transition: background-color .2s ease, transform .2s ease;
}
.home .home-services .service-domain:first-child .domain-body a span {
  background-color: #315b7b;
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .home .home-services .service-domain .domain-body a:hover span {
    background-color: #dbeaf5;
    transform: translateX(3px);
  }
  .home .home-services .service-domain:first-child .domain-body a:hover span {
    background-color: #436f91;
  }
}
@media (max-width: 1100px) {
  .home .home-services .service-domain { padding-inline: 22px; }
  .home .home-services .service-art { height: 160px; }
  .home .home-services .service-art::before { background-size: auto 184px; }
  .home .home-services .service-domain .domain-heading h3,
  .home .home-services .service-domain:first-child .domain-heading h3 { font-size: 29px; }
  .home .home-services .service-domain .domain-body a { font-size: 14px; }
}
@media (min-width: 541px) and (max-width: 860px) {
  .home .home-services .service-domain {
    display: grid;
    grid-template-columns: 1.25fr .9fr;
    grid-template-areas: "heading art" "body art";
    gap: 18px 26px;
    padding: 26px;
  }
  .home .home-services .service-domain .domain-heading { grid-area: heading; }
  .home .home-services .service-domain .domain-body { grid-area: body; }
  .home .home-services .service-art {
    grid-area: art;
    height: 170px;
    align-self: center;
    min-height: 0;
    margin: 0;
  }
  .home .home-services .service-art::before { background-size: auto 190px; }
  .home .home-services .service-domain .domain-body > p { min-height: 0; }
  .home .home-services .service-domain .domain-body a { font-size: 15px; }
}
@media (max-width: 540px) {
  .home .home-services .service-domain { padding: 25px 24px 14px; gap: 16px; }
  .home .home-services .service-art { height: 165px; }
  .home .home-services .service-art::before { background-size: auto 190px; }
  .home .home-services .service-domain .domain-heading p { font-size: 13px; }
  .home .home-services .service-domain .domain-heading h3,
  .home .home-services .service-domain:first-child .domain-heading h3 { font-size: 30px; }
  .home .home-services .service-domain .domain-body > p { min-height: 0; margin-bottom: 16px; }
  .home .home-services .service-domain .domain-body a { font-size: 15px; }
}
@media (max-width: 360px) {
  .home .home-services .service-domain { padding-inline: 20px; }
  .home .home-services .service-art { height: 160px; }
  .home .home-services .service-domain .domain-body a { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .home .home-services .service-domain .domain-body a span { transition: none; }
}
