/* La tarjeta: contiene todo y recorta lo que se salga */
.kg-hover-card {
  position: relative;
  overflow: hidden;
}

/* Capa de la foto: ocupa toda la tarjeta y se difumina en hover */
.kg-card-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: filter 0.4s ease, transform 0.4s ease;
}
.kg-hover-card:hover .kg-card-img {
  filter: blur(3px);
  transform: scale(1.05); /* evita que el blur muestre bordes vacíos */
}

/* Capa de color VERDE encima de la foto, se vuelve BLANCA en hover */
.kg-hover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(15, 79, 62, 0.5); /* #0f4f3e con 50% de transparencia */
  transition: background 0.4s ease;
  pointer-events: none;
}
.kg-hover-card:hover::after {
  background: rgba(255, 255, 255, 0.6); /* sube o baja el 0.6 para más/menos blanco */
}

/* El texto: por encima de todo, blanco que pasa a verde en hover */
.kg-hover-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  transition: all 0.4s ease;
}
.kg-hover-card:hover .kg-hover-text {
  color: #0f4f3e;
  transform: scale(1.05);
}

/* Que el título herede el color y no lo pise su estilo interno */
.kg-hover-text,
.kg-hover-text * {
  color: inherit;
}
/* Contenedor de los campos en fila */
.hs-form-frame form .hs-form-field {
  box-sizing: border-box;
}
.hs-form-frame form .hs_firstname,
.hs-form-frame form .hs_lastname {
  width: 48%;
  display: inline-block;
  vertical-align: top;
}
.hs-form-frame form .hs_firstname {
  margin-right: 3%;
}
	/* Justificar el texto del icon list */
.kg-icon-justify .elementor-icon-list-text {
  text-align: justify !important;
}
	@media (min-width: 768px) {
  /* El widget ocupa toda la celda del grid */
  .kg-fill-video {
    position: relative;
    align-self: stretch;
    height: 100%;
  }
  /* El video sale del flujo: ya no marca la altura de la fila */
  .kg-fill-video .elementor-widget-container,
  .kg-fill-video .elementor-wrapper {
    position: absolute !important;
    inset: 0;
    height: 100% !important;
    aspect-ratio: auto !important;
    padding-bottom: 0 !important;
  }

  .kg-fill-video .elementor-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}
.kg-cta-button:hover .elementor-button-text,
.kg-cta-button:hover .elementor-button {
  color: #0f4f3e !important;
}
		/* Kelly Green - Blog Read More Button */
.uxdwfe-blog-read-more {
    background: #0f4f3e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 28px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

/* Hover */
.uxdwfe-blog-read-more:hover {
    background: #4fb848 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
	}
#khpl-loader {
    --khpl-logo-width: 1400px !important;
}



/*Center Align latest blog posts links in the footer */
.hfe-posts-grid .hfe-post-content {
    text-align: center !important;
}

.hfe-posts-grid .hfe-post-title {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}