.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//***********************
  LOOP GRID — NO OVERLAP
***********************/
#services-loop .e-loop-item,
#services-loop .e-loop-item * { box-sizing: border-box;}

/* Grid: stretch items; let rows grow naturally */
#services-loop .elementor-grid {
  align-items: stretch;
  row-gap: var(--e-grid-row-gap, 70px);
  column-gap: var(--e-grid-column-gap, 25px);
}

/* Each item uses its own natural height */
#services-loop .e-loop-item { align-self: stretch; height: auto; position: relative; }

/* Flatten Elementor wrappers so they don't force heights */
#services-loop .e-loop-item > .elementor,
#services-loop .e-loop-item > .elementor > .elementor-section-wrap {
  height: auto;
  display: block;
}

/* CARD LAYOUT */
#services-loop .e-loop-item .card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;                /* prevents visual spill */
}

/* Content grows; footer sticks to bottom */
#services-loop .e-loop-item .card-body { flex: 1 1 auto; display: flex; flex-direction: column; }
#services-loop .e-loop-item .card-footer { margin-top: auto; }

/* Reset anything that might pull content out of flow */
#services-loop .e-loop-item .card-footer,
#services-loop .e-loop-item .card-footer * {
  position: static !important;     /* kill absolute positioning if present */
  transform: none !important;      /* kill translateY hover tricks */
  margin-bottom: 0 !important;     /* kill negative bottom margins */
}

/* Fallback if your design *needs* an absolute footer:
   Uncomment both blocks below and set the height to your gold bar height.
#services-loop .e-loop-item .card { position: relative; padding-bottom: 56px; }
#services-loop .e-loop-item .card-footer { position: absolute !important; left: 0; right: 0; bottom: 0; }
*/

/* Consistent media area */
#services-loop .e-loop-item img {
  width: 100%;
  aspect-ratio: 16 / 9;            /* or swap for fixed height */
  object-fit: cover;
  display: block;
}

/* Optional clamps to keep text tidy */
#services-loop .e-loop-item .card-title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
#services-loop .e-loop-item .card-excerpt {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}

/* Guardrails against motion effects in the card */
#services-loop .e-loop-item [class*="motion-effects"],
#services-loop .e-loop-item [style*="transform"] { transform: none !important; }

/* Extra safety: make sure nothing overlaps the next row visually */
#services-loop .e-loop-item .card { z-index: 0; }
#services-loop .e-loop-item + .e-loop-item { z-index: 0; }/* End custom CSS */