/*  */
/* ==========================
   ENTRADAS WORDPRESS LIMPIAS
   ========================== */

/* Elimina bordes, sombras y efectos de foco */
.single-post article,
.single-post .post,
.single-post .entry-content,
.single-post .entry-content *,
.single-post .wp-block-post-content,
.single-post .wp-block-post-content *{
    outline:none !important;
    box-shadow:none !important;
    -webkit-tap-highlight-color:transparent !important;
}

/* Evita que aparezca cursor de edición */
.single-post .entry-content,
.single-post .entry-content *,
.single-post article,
.single-post article *{
    caret-color:transparent !important;
}

/* Elimina efectos al tocar */
.single-post *:focus,
.single-post *:active,
.single-post *:focus-visible{
    outline:none !important;
    box-shadow:none !important;
}

/* Evita selección de texto */
.single-post .entry-content,
.single-post .wp-block-post-content{
    user-select:none !important;
    -webkit-user-select:none !important;
    -moz-user-select:none !important;
    -ms-user-select:none !important;
    -webkit-touch-callout:none !important;
}

/* Evita bordes en imágenes */
.single-post img{
    outline:none !important;
    border:none !important;
    box-shadow:none !important;
}

/* Desactiva elementos editables si algún plugin los añade */
[contenteditable="true"]{
    pointer-events:none !important;
    caret-color:transparent !important;
    outline:none !important;
}
/* wp-custom-css */
/* ==========================================================================
   DIEGO ZAPATA MASTER DESIGN SYSTEM - 4X2 HIGH-CONTRAST CARDS &amp; PAGINATOR
   Author: Diego Zapata · diegozapatadz.com
   ========================================================================== */

tr#user-3, tr#user_3 { display: none !important; }

/* --------------------------------------------------------------------------
   1. 4-COLUMN X 2-ROWS JETENGINE LISTING GRID (PERFECT ALIGNMENT)
   -------------------------------------------------------------------------- */
.jet-listing-grid__items {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.jet-listing-grid__item {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  box-sizing: border-box !important;
}

.jet-listing-grid__item .elementor,
.jet-listing-grid__item .elementor-widget-wrap,
.jet-listing-grid__item .elementor-section-wrap {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* --------------------------------------------------------------------------
   2. PURE WHITE HIGH-CONTRAST CARD (FONDO BLANCO, TEXTOS OSCUROS LEGIBLES)
   -------------------------------------------------------------------------- */
.dz-premium-project-card,
.jet-listing-grid__item .elementor-element.dz-premium-project-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  width: 100% !important;
  position: relative !important;
  box-sizing: border-box !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

.dz-premium-project-card:hover {
  transform: translateY(-4px) !important;
  border-color: #005eff !important;
  box-shadow: 0 16px 32px -4px rgba(0, 94, 255, 0.16), 0 4px 12px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Image flush at top */
.dz-premium-project-card .elementor-element-dz_thumb_container {
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  position: relative !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-color: #eef2f7 !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dz-premium-project-card:hover .dz-premium-project-card .elementor-element-dz_thumb_container {
  transform: scale(1.04) !important;
}

/* Card Body */
.dz-premium-project-card .elementor-element-dz_body_container,
.dz-premium-project-card .e-con:not(.elementor-element-dz_thumb_container) {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.dz-premium-project-card .elementor-element-dz_body_container {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 16px 18px 18px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

/* Post Title: 19px, Deep Slate Black (#0F172A), 100% Readable */
.dz-premium-project-card .elementor-heading-title {
  color: #0f172a !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  letter-spacing: -0.2px !important;
  display: -webkit-box !important;
  min-height: 54px !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  margin: 0 0 8px 0 !important;
  transition: color 0.25s ease !important;
}

.dz-premium-project-card:hover .elementor-heading-title {
  color: #005eff !important;
}

/* Post Description: 18px, Crisp Charcoal (#1E293B), NOT Light Gray! */
.dz-premium-project-card .elementor-widget-text-editor,
.dz-premium-project-card .elementor-widget-text-editor p {
  color: #1e293b !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  min-height: 48px !important;
  margin: 0 0 14px 0 !important;
  background: transparent !important;
}

/* Button */
.dz-premium-project-card .elementor-widget-button {
  margin-top: auto !important;
  background: transparent !important;
}

.dz-premium-project-card .elementor-button {
  background: linear-gradient(135deg, #005eff 0%, #0084ff 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 8px 20px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1px !important;
  box-shadow: 0 3px 10px rgba(0, 94, 255, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

.dz-premium-project-card .elementor-button:hover {
  background: linear-gradient(135deg, #004ecc 0%, #0070ee 100%) !important;
  box-shadow: 0 5px 16px rgba(0, 94, 255, 0.4) !important;
  transform: translateY(-1px) !important;
}

.dz-premium-project-card .elementor-button i,
.dz-premium-project-card .elementor-button svg {
  transition: transform 0.25s ease !important;
}

.dz-premium-project-card .elementor-button:hover i,
.dz-premium-project-card .elementor-button:hover svg {
  transform: translateX(3px) !important;
}

/* --------------------------------------------------------------------------
   3. MODERN CENTERED PAGINATOR (PAGINADOR ELEGANTE)
   -------------------------------------------------------------------------- */
.jet-smart-filters-pagination,
.jet-filters-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 30px !important;
  width: 100% !important;
}

.jet-filters-pagination__item,
.jet-smart-filters-pagination__item,
.jet-filters-pagination__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.jet-filters-pagination__item:hover,
.jet-smart-filters-pagination__item:hover {
  border-color: #005eff !important;
  color: #005eff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(0, 94, 255, 0.15) !important;
}

.jet-filters-pagination__item.jet-filters-pagination__item-active,
.jet-smart-filters-pagination__item.jet-smart-filters-pagination__item-active,
.jet-filters-pagination__current {
  background: #005eff !important;
  color: #ffffff !important;
  border-color: #005eff !important;
  box-shadow: 0 4px 12px rgba(0, 94, 255, 0.35) !important;
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE BREAKPOINTS (TABLET &amp; MOBILE)
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .jet-listing-grid__items {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 1199px) and (min-width: 900px) {
  .jet-listing-grid__items {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 899px) {
  .jet-listing-grid__items {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .dz-premium-project-card {
    min-height: auto !important;
  }

  .dz-premium-project-card .elementor-element-dz_thumb_container {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex-basis: auto !important;
  }

  .dz-premium-project-card .elementor-heading-title {
    font-size: 19px !important;
    min-height: auto !important;
    max-height: none !important;
  }

  .dz-premium-project-card .elementor-widget-text-editor,
  .dz-premium-project-card .elementor-widget-text-editor p {
    font-size: 19px !important;
    line-height: 1.6 !important;
    min-height: auto !important;
    max-height: none !important;
  }
}
