.elementor-932 .elementor-element.elementor-element-6ec5b86{--display:flex;--gap:40px 40px;--row-gap:40px;--column-gap:40px;--padding-top:80px;--padding-bottom:80px;--padding-left:20px;--padding-right:20px;}.elementor-932 .elementor-element.elementor-element-6ec5b86:not(.elementor-motion-effects-element-type-background), .elementor-932 .elementor-element.elementor-element-6ec5b86 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-932 .elementor-element.elementor-element-e8f2d88{width:var( --container-widget-width, 60% );max-width:60%;--container-widget-width:60%;--container-widget-flex-grow:0;}.elementor-932 .elementor-element.elementor-element-e8f2d88.elementor-element{--align-self:center;}.elementor-932 .elementor-element.elementor-element-e8f2d88 .tewido-elementra-heading{text-align:center;}.elementor-932 .elementor-element.elementor-element-e8f2d88 .tewido-elementra-heading__small-title{font-weight:500;margin-bottom:16px;}.elementor-932 .elementor-element.elementor-element-e8f2d88 .tewido-elementra-heading__title, .elementor-932 .elementor-element.elementor-element-e8f2d88 .tewido-elementra-heading__title a{color:var( --e-global-color-tef_primary_900 );}.elementor-932 .elementor-element.elementor-element-e8f2d88 .tewido-elementra-heading__title{font-family:var( --e-global-typography-tef_h1-font-family ), Sans-serif;font-size:var( --e-global-typography-tef_h1-font-size );font-weight:var( --e-global-typography-tef_h1-font-weight );line-height:var( --e-global-typography-tef_h1-line-height );}.elementor-932 .elementor-element.elementor-element-e8f2d88 .tewido-elementra-heading__subtitle{color:var( --e-global-color-tef_gray_600 );margin-top:16px;}.elementor-932 .elementor-element.elementor-element-269920d{width:var( --container-widget-width, 70% );max-width:70%;--container-widget-width:70%;--container-widget-flex-grow:0;}.elementor-932 .elementor-element.elementor-element-269920d.elementor-element{--align-self:center;}.elementor-932 .elementor-element.elementor-element-269920d .tewido-elementra-heading{text-align:center;}.elementor-932 .elementor-element.elementor-element-269920d .tewido-elementra-heading__small-title{font-weight:500;margin-bottom:16px;}.elementor-932 .elementor-element.elementor-element-269920d .tewido-elementra-heading__title, .elementor-932 .elementor-element.elementor-element-269920d .tewido-elementra-heading__title a{color:var( --e-global-color-tef_primary_900 );}.elementor-932 .elementor-element.elementor-element-269920d .tewido-elementra-heading__title{font-size:32px;font-weight:700;line-height:1.3em;}.elementor-932 .elementor-element.elementor-element-269920d .tewido-elementra-heading__subtitle{color:var( --e-global-color-tef_gray_600 );margin-top:16px;}.elementor-932 .elementor-element.elementor-element-a5a844a .tewido-elementra-loop--grid{grid-template-columns:repeat(3, minmax(0, 1fr));--tef-loop-cols:3;gap:32px;--tef-loop-gap:32px;}.elementor-932 .elementor-element.elementor-element-d2c7a00{--divider-border-style:solid;--divider-color:var( --e-global-color-tef_gray_100 );--divider-border-width:1px;}.elementor-932 .elementor-element.elementor-element-d2c7a00 .elementor-divider-separator{width:100%;}.elementor-932 .elementor-element.elementor-element-d2c7a00 .elementor-divider{padding-block-start:30px;padding-block-end:30px;}.elementor-932 .elementor-element.elementor-element-a729dd9{--display:flex;}.elementor-932 .elementor-element.elementor-element-aa96f1a .tewido-elementra-heading{text-align:center;}.elementor-932 .elementor-element.elementor-element-aa96f1a .tewido-elementra-heading__small-title{font-weight:500;margin-bottom:16px;}.elementor-932 .elementor-element.elementor-element-aa96f1a .tewido-elementra-heading__title, .elementor-932 .elementor-element.elementor-element-aa96f1a .tewido-elementra-heading__title a{color:var( --e-global-color-tef_primary_900 );}.elementor-932 .elementor-element.elementor-element-aa96f1a .tewido-elementra-heading__title{font-family:var( --e-global-typography-tef_h1-font-family ), Sans-serif;font-size:var( --e-global-typography-tef_h1-font-size );font-weight:var( --e-global-typography-tef_h1-font-weight );line-height:var( --e-global-typography-tef_h1-line-height );}.elementor-932 .elementor-element.elementor-element-aa96f1a .tewido-elementra-heading__subtitle{color:var( --e-global-color-tef_gray_600 );margin-top:16px;}.elementor-932 .elementor-element.elementor-element-847946f{width:var( --container-widget-width, 75% );max-width:75%;--container-widget-width:75%;--container-widget-flex-grow:0;text-align:center;}.elementor-932 .elementor-element.elementor-element-847946f.elementor-element{--align-self:center;}.elementor-932 .elementor-element.elementor-element-847946f p{margin-block-end:0px;}.elementor-932 .elementor-element.elementor-element-0c8d07a{--display:flex;}.elementor-932 .elementor-element.elementor-element-78ec231 .tewido-elementra-heading{text-align:center;}.elementor-932 .elementor-element.elementor-element-78ec231 .tewido-elementra-heading__small-title{font-weight:500;margin-bottom:16px;}.elementor-932 .elementor-element.elementor-element-78ec231 .tewido-elementra-heading__title, .elementor-932 .elementor-element.elementor-element-78ec231 .tewido-elementra-heading__title a{color:var( --e-global-color-tef_primary_900 );}.elementor-932 .elementor-element.elementor-element-78ec231 .tewido-elementra-heading__title{font-family:var( --e-global-typography-tef_h1-font-family ), Sans-serif;font-size:var( --e-global-typography-tef_h1-font-size );font-weight:var( --e-global-typography-tef_h1-font-weight );line-height:var( --e-global-typography-tef_h1-line-height );}.elementor-932 .elementor-element.elementor-element-78ec231 .tewido-elementra-heading__subtitle{color:var( --e-global-color-tef_gray_600 );margin-top:16px;}.elementor-932 .elementor-element.elementor-element-a4656a1{width:var( --container-widget-width, 75% );max-width:75%;--container-widget-width:75%;--container-widget-flex-grow:0;text-align:center;}.elementor-932 .elementor-element.elementor-element-a4656a1.elementor-element{--align-self:center;}.elementor-932 .elementor-element.elementor-element-a4656a1 p{margin-block-end:0px;}@media(max-width:1366px){.elementor-932 .elementor-element.elementor-element-e8f2d88 .tewido-elementra-heading__title{font-size:var( --e-global-typography-tef_h1-font-size );line-height:var( --e-global-typography-tef_h1-line-height );}.elementor-932 .elementor-element.elementor-element-aa96f1a .tewido-elementra-heading__title{font-size:var( --e-global-typography-tef_h1-font-size );line-height:var( --e-global-typography-tef_h1-line-height );}.elementor-932 .elementor-element.elementor-element-78ec231 .tewido-elementra-heading__title{font-size:var( --e-global-typography-tef_h1-font-size );line-height:var( --e-global-typography-tef_h1-line-height );}}@media(max-width:1024px){.elementor-932 .elementor-element.elementor-element-e8f2d88{--container-widget-width:100%;--container-widget-flex-grow:0;width:var( --container-widget-width, 100% );max-width:100%;}.elementor-932 .elementor-element.elementor-element-e8f2d88 .tewido-elementra-heading__title{font-size:var( --e-global-typography-tef_h1-font-size );line-height:var( --e-global-typography-tef_h1-line-height );}.elementor-932 .elementor-element.elementor-element-269920d{--container-widget-width:100%;--container-widget-flex-grow:0;width:var( --container-widget-width, 100% );max-width:100%;}.elementor-932 .elementor-element.elementor-element-a5a844a .tewido-elementra-loop--grid{grid-template-columns:repeat(2, minmax(0, 1fr));--tef-loop-cols:2;}.elementor-932 .elementor-element.elementor-element-aa96f1a .tewido-elementra-heading__title{font-size:var( --e-global-typography-tef_h1-font-size );line-height:var( --e-global-typography-tef_h1-line-height );}.elementor-932 .elementor-element.elementor-element-78ec231 .tewido-elementra-heading__title{font-size:var( --e-global-typography-tef_h1-font-size );line-height:var( --e-global-typography-tef_h1-line-height );}}@media(max-width:880px){.elementor-932 .elementor-element.elementor-element-a5a844a .tewido-elementra-loop--grid{gap:24px;--tef-loop-gap:24px;}}@media(max-width:767px){.elementor-932 .elementor-element.elementor-element-e8f2d88 .tewido-elementra-heading__title{font-size:var( --e-global-typography-tef_h1-font-size );line-height:var( --e-global-typography-tef_h1-line-height );}.elementor-932 .elementor-element.elementor-element-269920d .tewido-elementra-heading__title{font-size:24px;}.elementor-932 .elementor-element.elementor-element-a5a844a .tewido-elementra-loop--grid{grid-template-columns:repeat(1, minmax(0, 1fr));--tef-loop-cols:1;}.elementor-932 .elementor-element.elementor-element-aa96f1a .tewido-elementra-heading__title{font-size:var( --e-global-typography-tef_h1-font-size );line-height:var( --e-global-typography-tef_h1-line-height );}.elementor-932 .elementor-element.elementor-element-78ec231 .tewido-elementra-heading__title{font-size:var( --e-global-typography-tef_h1-font-size );line-height:var( --e-global-typography-tef_h1-line-height );}}/* =========================================================
   Tewido Service Card — Vibrant (Pure CSS)
   Enqueue this alongside service-card-vibrant.php
   ========================================================= */

:root {
  /* Map these to your real theme brand colors */
  --te-primary-500: 0, 133, 194;
  --te-primary-600: 0, 113, 165;
  --te-primary-700: 0, 93, 136;
  --te-secondary-600: 166, 135, 86;
}

.tewido-elementra-card {
  /* article wrapper — no special layout rules needed by default,
     grid/columns are controlled by the archive/loop wrapper */
}

.tewido-elementra-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  position: relative;
}

.tewido-elementra-card__image-container {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.5s ease-out;
}

.tewido-elementra-card__image-container:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.tewido-elementra-card__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.tewido-elementra-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease-out, filter 0.7s ease-out;
}

.tewido-elementra-card__link:hover .tewido-elementra-card__image {
  transform: scale(1.1);
  filter: brightness(0.75);
}

/* ---------- Default state (title/excerpt over fade) ---------- */

.tewido-elementra-card__default-state {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.4s ease-out;
}

.tewido-elementra-card__link:hover .tewido-elementra-card__default-state {
  opacity: 0;
}

.tewido-elementra-card__default-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, #000 45%, transparent 100%);
  z-index: -1;
}

.tewido-elementra-card__default-content {
  position: relative;
  z-index: 1;
}

.tewido-elementra-card__title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 8px 0;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}

.tewido-elementra-card__description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Hover state — vibrant overlay ---------- */

.tewido-elementra-card__hover-state {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(var(--te-primary-600), 0.95) 0%,
    rgba(var(--te-primary-700), 0.95) 50%,
    rgba(var(--te-secondary-600), 0.95) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.tewido-elementra-card__link:hover .tewido-elementra-card__hover-state {
  opacity: 1;
}

.tewido-elementra-card__pattern-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: tewido-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.tewido-elementra-card__hover-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
  transform: translateY(32px);
  transition: transform 0.5s ease-out;
}

.tewido-elementra-card__link:hover .tewido-elementra-card__hover-content {
  transform: translateY(0);
}

.tewido-elementra-card__icon-wrap {
  margin-bottom: 16px;
  transform: scale(0);
  transition: transform 0.5s ease-out 0.1s;
}

.tewido-elementra-card__link:hover .tewido-elementra-card__icon-wrap {
  transform: scale(1);
}

.tewido-elementra-card__icon-circle {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tewido-elementra-card__icon-circle svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.tewido-elementra-card__hover-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px 0;
  opacity: 0;
  transition: opacity 0.5s ease-out 0.2s;
}

.tewido-elementra-card__link:hover .tewido-elementra-card__hover-title {
  opacity: 1;
}

.tewido-elementra-card__hover-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 24px 0;
  max-width: 20rem;
  opacity: 0;
  transition: opacity 0.5s ease-out 0.3s;
}

.tewido-elementra-card__link:hover .tewido-elementra-card__hover-description {
  opacity: 1;
}

.tewido-elementra-card__cta {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease-out 0.4s, transform 0.5s ease-out 0.4s;
}

.tewido-elementra-card__link:hover .tewido-elementra-card__cta {
  opacity: 1;
  transform: scale(1);
}

.tewido-elementra-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: rgb(var(--te-primary-700));
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 9999px;
}

.tewido-elementra-card__btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease-out;
}

.tewido-elementra-card__link:hover .tewido-elementra-card__btn-icon {
  transform: translateX(4px);
}

/* RTL: mirror the arrow icon and its hover direction */
[dir="rtl"] .tewido-elementra-card__btn-icon {
  transform: scaleX(-1);
}

[dir="rtl"] .tewido-elementra-card__link:hover .tewido-elementra-card__btn-icon {
  transform: scaleX(-1) translateX(4px);
}

/* Decorative corner borders */
.tewido-elementra-card__corner {
  position: absolute;
  width: 48px;
  height: 48px;
  opacity: 0;
  transition: opacity 0.5s ease-out 0.1s, transform 0.5s ease-out 0.1s;
}

.tewido-elementra-card__corner--tl {
  top: 16px;
  left: 16px;
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  transform: translate(-8px, -8px);
}

.tewido-elementra-card__corner--br {
  bottom: 16px;
  right: 16px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  transform: translate(8px, 8px);
}

.tewido-elementra-card__link:hover .tewido-elementra-card__corner {
  opacity: 1;
  transform: translate(0, 0);
}

/* RTL: flip corner positions so tl/br still read correctly */
[dir="rtl"] .tewido-elementra-card__corner--tl {
  left: auto;
  right: 16px;
  border-left: none;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  transform: translate(8px, -8px);
}

[dir="rtl"] .tewido-elementra-card__corner--br {
  right: auto;
  left: 16px;
  border-right: none;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  transform: translate(-8px, 8px);
}

[dir="rtl"] .tewido-elementra-card__link:hover .tewido-elementra-card__corner {
  transform: translate(0, 0);
}

.tewido-elementra-card__border-ring {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.tewido-elementra-card__link:hover .tewido-elementra-card__border-ring {
  opacity: 1;
}

.tewido-elementra-card__border-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
  animation: tewido-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ---------- No-thumbnail fallback ---------- */

.tewido-elementra-card__link--fallback {
  width: 100%;
  height: 100%;
}

.tewido-elementra-card__fallback {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(to bottom right, rgb(var(--te-primary-500)), rgb(var(--te-secondary-600)));
  display: flex;
  align-items: center;
  justify-content: center;
}

.tewido-elementra-card__fallback svg {
  width: 48px;
  height: 48px;
  color: #fff;
}

/* ---------- Utility ---------- */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes tewido-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tewido-elementra-card__image,
  .tewido-elementra-card__default-state,
  .tewido-elementra-card__hover-state,
  .tewido-elementra-card__hover-content,
  .tewido-elementra-card__icon-wrap,
  .tewido-elementra-card__hover-title,
  .tewido-elementra-card__hover-description,
  .tewido-elementra-card__cta,
  .tewido-elementra-card__btn-icon,
  .tewido-elementra-card__corner,
  .tewido-elementra-card__border-ring,
  .tewido-elementra-card__image-container {
    transition-duration: 0.01ms !important;
  }
  .tewido-elementra-card__pattern-bg,
  .tewido-elementra-card__border-ring::before {
    animation: none !important;
  }
}