.elementor-1264 .elementor-element.elementor-element-c9e3e0a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS *//* Contenedor en Cuadrícula (Grid de 3 columnas) */
.yt-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas exactas como la imagen */
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
}

/* Tarjeta individual */
.yt-grid-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.yt-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Imagen de miniatura */
.yt-grid-img-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  background-color: #000;
}

.yt-grid-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Botón de Play Centrado */
.yt-grid-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(185, 28, 28, 0.85); /* Rojo tipo IngTV */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding-left: 2px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.yt-grid-card:hover .yt-grid-play-btn {
  background: #dc2626;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Texto de la tarjeta */
.yt-grid-card-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.yt-grid-card-info h4 {
  margin: 0 0 6px 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-grid-card-info span {
  font-size: 11px;
  color: #64748b;
}

/* Adaptación a Tablets y Móviles */
@media (max-width: 900px) {
  .yt-grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
  }
}

@media (max-width: 550px) {
  .yt-grid-container {
    grid-template-columns: 1fr; /* 1 columna en teléfonos */
  }
}/* End custom CSS */