/* ============================================
   BLOQUE EUREKA DESTACADO
   Plugin: Capital Blocks Posts
   ============================================ */
.cbpts-eureka-bloque {
  background-color: transparent;
  padding-top: 1em;
  padding-bottom: 1em;
}
.cbpts-eureka-bloque.alignfull {
  max-width: 100%;
  width: 100%;
}

.cbpts-eureka-header {
  margin-bottom: 2.5rem;
}
.cbpts-eureka-header .cbpts-eureka-titulo-bloque {
  font-size: 1.75rem;
  font-weight: 700;
  color: #FCE16C;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cbpts-eureka-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cbpts-eureka-card {
  position: relative;
  background-color: transparent;
  transition: all 0.3s ease;
}
.cbpts-eureka-card:hover {
  transform: translateY(-2px);
}

.cbpts-eureka-link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 400px;
  text-decoration: none;
  color: inherit;
}

.cbpts-eureka-imagen {
  flex: 0 0 66.6667%;
  max-width: 66.6667%;
  position: relative;
  overflow: hidden;
  background-color: rgba(139, 44, 139, 0.1);
  order: 1;
}
.cbpts-eureka-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cbpts-eureka-link:hover .cbpts-eureka-imagen img {
  transform: scale(1.05);
}

.cbpts-eureka-contenido {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding: 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  order: 2;
}

.cbpts-eureka-titulo {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #FCE16C;
  transition: color 0.3s ease;
}
.cbpts-eureka-link:hover .cbpts-eureka-titulo {
  color: #FCE16C;
}

.cbpts-eureka-extracto {
  font-size: 1rem;
  line-height: 1.6;
  color: #FEFEFE;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cbpts-eureka-imagen-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 44, 139, 0.3) 0%, rgba(139, 44, 139, 0.1) 100%);
}
.cbpts-eureka-imagen-placeholder .cbpts-eureka-placeholder-icon {
  font-size: 4rem;
  opacity: 0.5;
}

.cbpts-eureka-ver-mas-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.cbpts-eureka-ver-mas-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: #FCE16C;
  color: #8b2c8b;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(252, 225, 108, 0.3);
}
.cbpts-eureka-ver-mas-btn:hover {
  background-color: #FCE16C;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 225, 108, 0.4);
}
.cbpts-eureka-ver-mas-btn:active {
  transform: translateY(0);
}
.cbpts-eureka-ver-mas-btn svg {
  transition: transform 0.3s ease;
}
.cbpts-eureka-ver-mas-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .cbpts-eureka-titulo-bloque {
    font-size: 1.5rem;
  }
  .cbpts-eureka-link {
    min-height: 350px;
  }
  .cbpts-eureka-contenido {
    padding: 1.5rem;
  }
  .cbpts-eureka-titulo {
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
  .cbpts-eureka-bloque {
    padding: 1.5rem 1rem;
  }
  .cbpts-eureka-header {
    margin-bottom: 1.5rem;
  }
  .cbpts-eureka-header .cbpts-eureka-titulo-bloque {
    font-size: 1.25rem;
  }
  .cbpts-eureka-container {
    gap: 1.5rem;
  }
  .cbpts-eureka-link {
    flex-direction: column;
    min-height: auto;
  }
  .cbpts-eureka-imagen {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    height: 250px;
    order: 1;
  }
  .cbpts-eureka-contenido {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 1.5rem;
    order: 2;
  }
  .cbpts-eureka-titulo {
    font-size: 1.25rem;
  }
  .cbpts-eureka-extracto {
    font-size: 0.9375rem;
    -webkit-line-clamp: 3;
  }
  .cbpts-eureka-ver-mas-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
}
.cbpts-eureka-link:focus {
  outline: 3px solid #FCE16C;
  outline-offset: 4px;
}

.cbpts-eureka-ver-mas-btn:focus {
  outline: 3px solid #8b2c8b;
  outline-offset: 4px;
}
