/* Homepage only. Specificity also covers the active Campus Prestige theme. */
body.home .drs-home-services.alnodom-services-design .drs-services-group.alnodom-stage-group {
  display: grid !important;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 2fr) !important;
  grid-template-rows: auto !important;
  gap: 24px !important;
  align-items: stretch !important;
}

body.home .drs-home-services.alnodom-services-design .drs-services-group > .alnodom-stage-card {
  --alnodom-stage-color: #e7efe9;
  --alnodom-stage-deep: #d8e5dc;
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 280px;
  padding: 32px 24px !important;
  margin: 0 !important;
  border: 1px solid #ccd9cf !important;
  border-top: 4px solid #bea77a !important;
  border-radius: 18px !important;
  background: linear-gradient(150deg, var(--alnodom-stage-color), var(--alnodom-stage-deep)) !important;
  box-shadow: 0 10px 28px rgb(18 45 39 / 6%) !important;
  color: #174c43 !important;
  text-align: center !important;
  overflow-wrap: anywhere;
}

body.home .drs-home-services.alnodom-services-design .alnodom-stage-card[data-alnodom-stage-card="2"] {
  --alnodom-stage-color: #edf1e8;
  --alnodom-stage-deep: #e1e7d9;
}
body.home .drs-home-services.alnodom-services-design .alnodom-stage-card[data-alnodom-stage-card="3"] {
  --alnodom-stage-color: #e7f0ec;
  --alnodom-stage-deep: #d8e8df;
}
body.home .drs-home-services.alnodom-services-design .alnodom-stage-card[data-alnodom-stage-card="4"] {
  --alnodom-stage-color: #f5efe3;
  --alnodom-stage-deep: #ece1cb;
}
body.home .drs-home-services.alnodom-services-design .alnodom-stage-card[data-alnodom-stage-card="5"] {
  --alnodom-stage-color: #f0f1e9;
  --alnodom-stage-deep: #e3e7da;
}

body.home .drs-home-services.alnodom-services-design .drs-services-group .alnodom-stage-card > .alnodom-stage-title {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  color: #174c43 !important;
  font-family: var(--anc-heading, 'Traditional Arabic', Georgia, serif) !important;
  font-size: clamp(27px, 2.3vw, 35px) !important;
  font-weight: 700 !important;
  line-height: 1.65 !important;
  text-align: center !important;
}

body.home .drs-home-services.alnodom-services-design .drs-services-group .alnodom-stage-card > p {
  width: 100% !important;
  max-width: 34ch !important;
  padding: 0 !important;
  margin: 0 auto !important;
  color: #3e574c !important;
  font-size: clamp(18px, 1.4vw, 21px) !important;
  line-height: 1.95 !important;
  text-align: center !important;
}

body.home .drs-home-services.alnodom-services-design .drs-services-group .alnodom-stage-card a {
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  color: #795b28 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.9 !important;
  white-space: normal !important;
  text-align: center !important;
}
body.home .drs-home-services.alnodom-services-design .alnodom-stage-card a:not([hidden]) {
  display: inline-flex !important;
}
body.home .drs-home-services.alnodom-services-design .alnodom-stage-card a:hover {
  color: #174c43 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.home .drs-home-services.alnodom-services-design .alnodom-stage-card a:focus-visible {
  outline: 3px solid #326b59 !important;
  outline-offset: 5px !important;
  border-radius: 4px;
}

body.home .drs-home-services.alnodom-services-design .drs-services-group.alnodom-stage-group > .three-grid {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 22px !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card {
  box-sizing: border-box !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  min-width: 0 !important;
  min-height: 320px !important;
  padding: 28px 24px !important;
  margin: 0 !important;
  border: 1px solid #dce5df !important;
  border-radius: 18px !important;
  background: #fcfcfa !important;
  box-shadow: 0 5px 20px rgb(18 45 39 / 4%) !important;
  text-align: center !important;
  overflow-wrap: anywhere;
  transition: border-color .2s ease, box-shadow .2s ease;
}
body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card:not([hidden]) {
  display: flex !important;
}
body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card:hover {
  border-color: #b49764 !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgb(18 45 39 / 8%) !important;
}
body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card > h4 {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 0 14px !important;
  color: #193e37 !important;
  font-size: clamp(26px, 2vw, 31px) !important;
  line-height: 1.65 !important;
  text-align: center !important;
}
body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card > p {
  width: 100% !important;
  max-width: 44ch !important;
  margin: 0 auto 20px !important;
  color: #4c6260 !important;
  font-size: 20px !important;
  line-height: 1.95 !important;
  text-align: center !important;
}
body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card > .text-link {
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  max-width: 100% !important;
  margin-block: 0 !important;
  margin-inline: auto !important;
  color: #215b4e !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.9 !important;
  text-align: center !important;
}
body.home .drs-home-services.alnodom-services-design .service-card > .text-link:not([hidden]) {
  display: inline-flex !important;
}
body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card .drs-share {
  width: 100% !important;
  margin-top: 20px !important;
  border-color: #dce5df !important;
  text-align: center !important;
}
body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card .drs-share-heading {
  color: #586d65 !important;
  font-size: 15px !important;
  text-align: center !important;
}
body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card .drs-share-actions {
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}
body.home .drs-home-services.alnodom-services-design .service-card .drs-share-button {
  justify-content: center !important;
  text-align: center !important;
}
body.home .drs-home-services.alnodom-services-design .drs-services-group[hidden],
body.home .drs-home-services.alnodom-services-design .drs-services-group [hidden] {
  display: none !important;
}

@media (max-width: 1023px) {
  body.home .drs-home-services.alnodom-services-design .drs-services-group.alnodom-stage-group {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
  }
  body.home .drs-home-services.alnodom-services-design .drs-services-group > .alnodom-stage-card {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 220px;
  }
  body.home .drs-home-services.alnodom-services-design .drs-services-group.alnodom-stage-group > .three-grid {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
}
@media (max-width: 639px) {
  body.home .drs-home-services.alnodom-services-design .drs-services-group.alnodom-stage-group > .three-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  body.home .drs-home-services.alnodom-services-design .drs-services-group > .alnodom-stage-card,
  body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card {
    padding: 26px 18px !important;
    border-radius: 15px !important;
  }
  body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card {
    min-height: 290px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home .drs-home-services.alnodom-services-design .drs-services-group .service-card {
    transition: none !important;
  }
}
