@charset "UTF-8";
/* ============================================
   BLOQUE AHORA CANAL
   ============================================ */
.cbpts-ahora-bloque {
  width: 100%;
  margin: 0 auto;
  border-radius: 0;
}

/* Header del bloque */
.cbpts-ahora-header {
  margin-bottom: 30px;
  text-align: center;
}

.cbpts-ahora-titulo {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

/* Container */
.cbpts-ahora-container {
  width: 100%;
}

/* Grupo de noticias */
.cbpts-ahora-noticias {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

/* Item individual */
.cbpts-ahora-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.cbpts-ahora-item:last-child {
  border-bottom: none;
}

.cbpts-ahora-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  text-decoration: none;
  color: inherit;
}

/* Contenido (izquierda) - 2/3 del espacio */
.cbpts-ahora-contenido {
  flex: 0 0 66.666%; /* 2/3 del ancho */
  max-width: 66.666%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cbpts-ahora-item-titulo {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  transition: opacity 0.3s ease;
}

.cbpts-ahora-link:hover .cbpts-ahora-item-titulo {
  opacity: 0.8;
}

.cbpts-ahora-item-extracto {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Imagen (derecha) - 1/3 del espacio */
.cbpts-ahora-imagen {
  flex: 0 0 calc(33.333% - 24px); /* 1/3 del ancho menos el gap */
  max-width: calc(33.333% - 24px);
  height: 150px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.05);
}

.cbpts-ahora-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cbpts-ahora-link:hover .cbpts-ahora-imagen img {
  transform: scale(1.05);
}

/* Contenedor de botones Ver Más */
.cbpts-ahora-ver-mas-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Botón Ver Más Interno (mostrar últimas 3) */
.cbpts-ahora-ver-mas-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background-color: transparent;
  color: inherit;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cbpts-ahora-ver-mas-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.cbpts-ahora-ver-mas-btn svg {
  transition: transform 0.3s ease;
}

.cbpts-ahora-ver-mas-btn:hover svg {
  transform: translateY(3px);
}

/* Botón Ver Más Final (enlace a página) */
.cbpts-ahora-ver-mas-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background-color: currentColor;
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.cbpts-ahora-ver-mas-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cbpts-ahora-ver-mas-link svg {
  transition: transform 0.3s ease;
}

.cbpts-ahora-ver-mas-link:hover svg {
  transform: translateX(4px);
}

/* Animación fade-in para grupo 2 */
.cbpts-ahora-grupo-2 {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
  .cbpts-ahora-titulo {
    font-size: 1.75rem;
  }
  /* Mantener proporciones 2/3 y 1/3 en tablet */
  .cbpts-ahora-contenido {
    flex: 0 0 66.666%;
    max-width: 66.666%;
  }
  .cbpts-ahora-imagen {
    flex: 0 0 calc(33.333% - 24px);
    max-width: calc(33.333% - 24px);
    height: 135px;
  }
  .cbpts-ahora-item-titulo {
    font-size: 1.125rem;
  }
}
/* ============================================
   RESPONSIVE - MÓVIL
   ============================================ */
@media (max-width: 768px) {
  .cbpts-ahora-bloque {
    padding: 0;
  }
  .cbpts-ahora-titulo {
    font-size: 1.5rem;
  }
  /* Cambiar a diseño vertical con imagen arriba */
  .cbpts-ahora-link {
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
  }
  /* Contenido ocupa ancho completo */
  .cbpts-ahora-contenido {
    flex: 0 0 100%;
    max-width: 100%;
    order: 2; /* Texto abajo */
  }
  /* Imagen ocupa ancho completo y va arriba */
  .cbpts-ahora-imagen {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    height: 200px;
    order: 1; /* Imagen arriba */
  }
  .cbpts-ahora-item-titulo {
    font-size: 1.125rem;
  }
  .cbpts-ahora-item-extracto {
    font-size: 0.9rem;
  }
  .cbpts-ahora-ver-mas-btn,
  .cbpts-ahora-ver-mas-link {
    width: 100%;
    justify-content: center;
  }
}
/* ============================================
   ACCESIBILIDAD
   ============================================ */
.cbpts-ahora-link:focus {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.cbpts-ahora-ver-mas-btn:focus,
.cbpts-ahora-ver-mas-link:focus {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

/* ============================================
   ALINEACIONES
   ============================================ */
.cbpts-ahora-bloque.alignwide {
  max-width: 1600px;
}

.cbpts-ahora-bloque.alignfull {
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width: 768px) {
  .cbpts-ahora-bloque.alignfull {
    padding-left: 20px;
    padding-right: 20px;
  }
}
