@charset "UTF-8";
/* ============================================
   BLOQUE ACTUALIDAD CANAL CAPITAL / EUREKA
   Plugin: Capital Blocks Posts
   ============================================ */
.cbpts-actualidad-bloque {
  width: 100%;
  margin: 0 auto;
  padding: 2em 1em;
}

/* Header del bloque */
.cbpts-actualidad-header {
  margin-bottom: 40px;
  display: flex;
}

.cbpts-actualidad-header .cbc-arrow-wrap {
  transition: transform 0.3s ease;
  height: 27px;
  width: auto;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.2em;
}

.cbpts-actualidad-header .cbc-arrow-wrap:hover {
  transform: translateX(5px);
}

.cbpts-actualidad-titulo {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0071AB;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  width: max-content;
  margin: 0;
}

/* Container principal */
.cbpts-actualidad-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ============================================
   NOTICIA DESTACADA
   ============================================ */
.cbpts-noticia-destacada {
  position: relative;
  min-height: 418px;
  max-height: 450px;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.cbpts-noticia-destacada:hover {
  transform: translateY(-2px);
}

.cbpts-noticia-destacada-link {
  display: flex;
  flex-direction: row;
  min-height: 418px;
  max-height: 450px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.cbpts-noticia-destacada-imagen {
  position: relative;
  width: 66.6667%;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #f0f0f0;
}

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

.cbpts-noticia-destacada:hover .cbpts-noticia-destacada-imagen img {
  transform: scale(1.05);
}

.cbpts-noticia-destacada-contenido {
  width: 33.3333%;
  padding: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.cbpts-noticia-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cbpts-noticia-tag {
  display: inline-block;
  width: fit-content;
  padding: 5px 14px;
  background-color: #0071AB;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.cbpts-noticia-fecha {
  display: block;
  font-size: 0.8125rem;
  color: #A8A8A8;
  font-weight: 500;
}

.cbpts-noticia-destacada-titulo {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #0071AB;
}

.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-destacada-titulo {
  color: #43C9C9;
}

.cbpts-noticia-destacada-extracto {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: #606060;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   GRID DE NOTICIAS
   ============================================ */
.cbpts-noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cbpts-noticia-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cbpts-noticia-card:hover {
  transform: translateY(-5px);
}

.cbpts-noticia-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.cbpts-noticia-card-imagen {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  background-color: #f0f0f0;
}

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

.cbpts-noticia-card:hover .cbpts-noticia-card-imagen img {
  transform: scale(1.08);
  opacity: 0.9;
}

.cbpts-noticia-card-contenido {
  padding: 1em 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cbpts-noticia-card-contenido .cbpts-noticia-tag {
  background-color: #f0f0f0;
  color: #333;
  margin-bottom: 12px;
}

.cbpts-noticia-card-titulo {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  color: #606060;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-card-titulo {
  color: #5C2FEB;
}

.cbpts-noticia-card-extracto {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #606060;
  margin: 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   BOTÓN VER MÁS GLOBAL
   ============================================ */
.cbpts-ver-mas-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.cbpts-ver-mas-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background-color: #0066cc;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.cbpts-ver-mas-btn:hover {
  background-color: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.cbpts-ver-mas-btn:active {
  transform: translateY(0);
}

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

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

/* ============================================
   MODO EUREKA - VARIANTE DE ESTILOS
   ============================================ */
.cbpts-actualidad-bloque.eureka-mode .cbpts-actualidad-header .cbpts-actualidad-titulo {
  color: #234CE1;
  display: inline-flex; /* keeps the ::after aligned with the text */
  align-items: center;
  margin: 0;
}
.cbpts-actualidad-bloque.eureka-mode .cbpts-actualidad-header .cbc-arrow-wrap {
  place-items: center;
  width: 1em;
  height: 1em;
  margin-left: 0.5ch;
  border-radius: 50%;
  background: #F9E74D;
}

/* Bordes redondeados en imágenes del grid (modo Eureka) */
.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-card-imagen {
  border-radius: 2em;
}

/* Noticia destacada en modo Eureka - Layout vertical */
.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-destacada {
  min-height: auto;
  max-height: none;
}

.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-destacada-link {
  flex-direction: column;
  min-height: auto;
  max-height: none;
}

.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-destacada-imagen {
  width: 100%;
  height: 450px;
  border-radius: 2em;
}

.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-destacada-contenido {
  width: 100%;
  padding: 1em 0;
}

/* Ocultar tag y fecha en modo Eureka */
.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-destacada .cbpts-noticia-meta {
  display: none;
}

/* Estilos de tags en grid */
.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-tag {
  background-color: rgba(139, 44, 139, 0.1);
  color: #8b2c8b;
}

.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-card-contenido .cbpts-noticia-tag {
  background-color: rgba(139, 44, 139, 0.1);
  color: #8b2c8b;
}

/* Botón Ver Más en modo Eureka */
.cbpts-actualidad-bloque.eureka-mode .cbpts-ver-mas-btn {
  background-color: #8b2c8b;
  box-shadow: 0 2px 8px rgba(139, 44, 139, 0.2);
}

.cbpts-actualidad-bloque.eureka-mode .cbpts-ver-mas-btn:hover {
  background-color: #6d2269;
  box-shadow: 0 4px 12px rgba(139, 44, 139, 0.3);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
  .cbpts-actualidad-titulo {
    font-size: 2rem;
  }
  .cbpts-noticias-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .cbpts-noticia-destacada-titulo {
    font-size: 2rem;
  }
  .cbpts-noticia-destacada-contenido {
    padding: 30px;
  }
}
/* ============================================
   RESPONSIVE - MÓVIL
   ============================================ */
@media (max-width: 768px) {
  .cbpts-actualidad-bloque {
    padding: 0;
  }
  .cbpts-actualidad-header {
    margin-bottom: 30px;
  }
  .cbpts-actualidad-titulo {
    font-size: 1.75rem;
  }
  .cbpts-actualidad-container {
    gap: 30px;
  }
  /* Noticia destacada en móvil */
  .cbpts-noticia-destacada {
    min-height: auto;
  }
  .cbpts-noticia-destacada-link {
    flex-direction: column;
  }
  .cbpts-noticia-destacada-imagen {
    height: 300px;
    width: 100%;
  }
  .cbpts-noticia-destacada-contenido {
    width: 100%;
    position: relative;
    padding: 24px;
    background: #fff;
    color: #1a1a1a;
  }
  .cbpts-noticia-destacada-overlay {
    display: none;
  }
  .cbpts-noticia-destacada-titulo {
    font-size: 1.5rem;
    color: #1a1a1a;
  }
  .cbpts-noticia-destacada-extracto {
    color: #666;
  }
  .cbpts-noticia-destacada .cbpts-noticia-tag {
    background-color: #f0f0f0;
    color: #333;
  }
  .cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-destacada .cbpts-noticia-tag {
    background-color: rgba(139, 44, 139, 0.1);
    color: #8b2c8b;
  }
  /* Grid en móvil */
  .cbpts-noticias-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cbpts-noticia-card-imagen {
    height: 300px;
  }
  .cbpts-noticia-card-titulo {
    font-size: 1.125rem;
  }
  .cbpts-noticia-card-contenido {
    padding: 20px;
  }
  /* Modo Eureka en móvil */
  .cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-destacada-imagen {
    height: 300px;
  }
  .cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-destacada-contenido {
    padding: 24px;
  }
  /* Botón Ver Más en móvil */
  .cbpts-ver-mas-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}
/* ============================================
   ACCESIBILIDAD - FOCUS STATES
   ============================================ */
.cbpts-noticia-destacada-link:focus,
.cbpts-noticia-card-link:focus,
.cbpts-ver-mas-btn:focus {
  outline: 3px solid #0066cc;
  outline-offset: 4px;
}

.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-destacada-link:focus,
.cbpts-actualidad-bloque.eureka-mode .cbpts-noticia-card-link:focus,
.cbpts-actualidad-bloque.eureka-mode .cbpts-ver-mas-btn:focus {
  outline-color: #8b2c8b;
}

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

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

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