/* MAPSA: only the seven service cards in the native HOME services section.
   Does not affect /services.html, the header, project bands, certificates or CMS. */
body[data-page="home"] section[data-native-id="native-home-2"] .service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
}
body[data-page="home"] section[data-native-id="native-home-2"] .service-grid > .mapsa-service-seven-card {
  box-sizing: border-box;
  flex: 0 1 calc((100% - 42px) / 4);
  min-width: 0;
  min-height: 244px;
  padding: 17px 12px 15px;
  border: 1px solid #d5e2e5;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,17,43,.055);
}
body[data-page="home"] section[data-native-id="native-home-2"] .mapsa-service-seven-card .mapsa-service-seven-icon {
  height: 87px;
  width: 87px;
  line-height: normal;
  margin: 0 auto 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 87px;
}
body[data-page="home"] section[data-native-id="native-home-2"] .mapsa-service-seven-icon img {
  width: 82px;
  height: 82px;
  display: block;
  object-fit: contain;
  max-width: 100%;
}
body[data-page="home"] section[data-native-id="native-home-2"] .mapsa-service-seven-card h3 {
  line-height: 1.75;
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 750;
  min-height: 49px;
  color: #00112b;
}
body[data-page="home"] section[data-native-id="native-home-2"] .mapsa-service-seven-card p {
  font-size: 11px;
  line-height: 1.85;
  margin: 0 0 12px;
  color: #3d5460;
  flex: 1 1 auto;
}
body[data-page="home"] section[data-native-id="native-home-2"] .mapsa-service-seven-card a {
  margin-top: auto;
  font-weight: 600;
  color: #007f8f;
  text-decoration: none;
}
body[data-page="home"] section[data-native-id="native-home-2"] .mapsa-service-seven-card a:hover,
body[data-page="home"] section[data-native-id="native-home-2"] .mapsa-service-seven-card a:focus-visible {
  color: #00112b;
  text-decoration: underline;
}
@media (max-width: 1000px) {
  body[data-page="home"] section[data-native-id="native-home-2"] .service-grid > .mapsa-service-seven-card {
    flex-basis: calc((100% - 28px) / 3);
  }
}
@media (max-width: 700px) {
  body[data-page="home"] section[data-native-id="native-home-2"] .service-grid > .mapsa-service-seven-card {
    flex-basis: calc((100% - 14px) / 2);
  }
}
@media (max-width: 440px) {
  body[data-page="home"] section[data-native-id="native-home-2"] .service-grid {
    gap: 10px;
  }
  body[data-page="home"] section[data-native-id="native-home-2"] .service-grid > .mapsa-service-seven-card {
    flex-basis: calc((100% - 10px) / 2);
    padding: 12px 8px;
  }
  body[data-page="home"] section[data-native-id="native-home-2"] .mapsa-service-seven-card h3 {
    font-size: 12px;
    min-height: 62px;
  }
}
