/* Termeh v10.16: scoped to the actual imported service pages. */
body.termeh-v1016-service-page {
  --termeh-service-accent:#019587;
  --termeh-service-heading:#153a59;
  background-color:#fcfbf6;
}
body.termeh-v1016-service-page .elementor-widget-nested-accordion .e-n-accordion-item-title {
  border-color:var(--termeh-service-accent) !important;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease;
}
body.termeh-v1016-service-page .elementor-widget-nested-accordion .e-n-accordion-item-title:hover,
body.termeh-v1016-service-page .elementor-widget-nested-accordion .e-n-accordion-item-title[aria-expanded="true"],
body.termeh-v1016-service-page .elementor-widget-nested-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title {
  background-color:var(--termeh-service-accent) !important;
  color:white !important;
}
body.termeh-v1016-service-page .elementor-widget-nested-accordion .e-n-accordion-item-title:is(:hover,[aria-expanded="true"]) :is(.e-n-accordion-item-title-text,svg) {
  color:white !important;
}
body.termeh-v1016-service-page :is(.elementor-accordion,.elementor-toggle) .elementor-tab-title {
  border-color:var(--termeh-service-accent) !important;
}
body.termeh-v1016-service-page :is(.elementor-accordion,.elementor-toggle) .elementor-tab-title:is(:hover,.elementor-active) {
  background-color:var(--termeh-service-accent) !important;
  color:#fff !important;
}
body.termeh-v1016-service-page :is(.elementor-accordion,.elementor-toggle) .elementor-tab-title:is(:hover,.elementor-active) :is(a,.elementor-accordion-title,.elementor-toggle-title) {
  color:#fff !important;
}
/* The inline active text and original question/answer contents are NOT modified. */

/* Homepage: move existing Elementor button widgets into one real flex row.
   The old page is serialized in Elementor; editing only the builder function does not update it. */
body .termeh-service-card > .termeh-v1016-actions,
body .termeh-person-card > .termeh-v1016-actions {
  display:flex !important;
  flex-flow:row nowrap !important;
  direction:rtl;
  gap:12px !important;
  width:100% !important;
  max-width:100% !important;
  align-items:stretch !important;
  justify-content:center !important;
  margin-top:auto !important;
}
body .termeh-v1016-actions > .elementor-widget-button {
  flex:1 1 0 !important;
  width:0 !important;
  min-width:0 !important;
  max-width:unset !important;
  margin:0 !important;
}
body .termeh-v1016-actions > .elementor-widget-button .elementor-button {
  display:flex !important;
  width:100% !important;
  min-height:48px;
  height:100%;
  padding:9px 5px !important;
  align-items:center;
  justify-content:center;
  border-radius:999px !important;
  font-size:clamp(11px,1vw,13px) !important;
  line-height:1.55;
  white-space:normal;
  text-align:center;
}
body .termeh-person-card,
body .termeh-service-card {min-width:0 !important;}
body .termeh-person-card .elementor-image-box-img img {
  object-fit:cover;
}
@media(max-width:520px){
  body .termeh-v1016-actions {gap:7px !important;}
  body .termeh-v1016-actions > .elementor-widget-button .elementor-button {font-size:11px !important;padding:8px 4px !important;}
}
