/*
 * C7 HF9 — ABOUT SERVICE CARD ICON VISIBILITY
 * Physical-device repair: service icon medallions were partially clipped at the
 * image/body seam on mobile because HF6 set .service-photo overflow:hidden.
 * Desktop composition is intentionally untouched.
 */
@media (max-width: 900px) {
  body.eh-wp-theme.about-page .about-services .service-card {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
  }

  body.eh-wp-theme.about-page .about-services .service-photo {
    position: relative !important;
    overflow: visible !important;
    z-index: 2;
  }

  body.eh-wp-theme.about-page .about-services .service-photo img {
    display: block !important;
    width: 100% !important;
    border-radius: 19px 19px 0 0;
  }

  body.eh-wp-theme.about-page .about-services .service-icon {
    display: grid !important;
    place-items: center !important;
    left: 20px !important;
    bottom: -27px !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    border: 4px solid #fff !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg,#e8aa17,#c88700) !important;
    box-shadow: 0 9px 22px rgba(126,82,0,.24) !important;
    overflow: visible !important;
    z-index: 8 !important;
    transform: translateZ(0);
  }

  body.eh-wp-theme.about-page .about-services .service-icon svg {
    display: block !important;
    width: 29px !important;
    height: 29px !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
    color: #fff !important;
    fill: currentColor !important;
    stroke: currentColor !important;
  }

  body.eh-wp-theme.about-page .about-services .service-body {
    position: relative !important;
    z-index: 1;
    padding-top: 42px !important;
  }
}

@media (max-width: 560px) {
  body.eh-wp-theme.about-page .about-services .service-icon {
    left: 18px !important;
    bottom: -26px !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
  }
  body.eh-wp-theme.about-page .about-services .service-icon svg {
    width: 28px !important;
    height: 28px !important;
  }
  body.eh-wp-theme.about-page .about-services .service-body {
    padding-top: 40px !important;
  }
}
