body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fffdfd;
  margin: 0;
}


/* Breadcrumb */
.breadcrumb {
  margin: 20px 0;
  font-size: 0.9em;
  color: #d30404;
}

.breadcrumb a {  
  color: var(--color-red);  
  text-decoration: underline;  
}

.breadcrumb span {
  font-weight: bold;
}

/* FAQ */
.faq {
  margin: 40px 0;
  padding: 20px;
  background: #f1f1f1;
  border-radius: 8px;
}

.faq label {
  font-weight: bold;
  color: var(--color-black);
}

.faq h3 {
  margin-bottom: 15px;
  font-size: 1.3em;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: var(--color-black);
  animation: fadeIn 1s ease-out;
}

/* Animación de entrada para el título */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Estilo para las preguntas */
.faq ul {
  padding-left: 20px;
}

.faq li {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 1em;
  color: #333;
  transition: background-color 0.3s ease;
}

.faq li:hover {
  background-color: #fff3f3;
  cursor: pointer;
  border-radius: 4px;
}

/* Estilo para los enlaces dentro de las preguntas */
.faq li a {
  color: var(--color-red);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.faq li a:hover {
  color: #000;
  text-decoration: underline;
}

.faq i {
  font-size: 1.5em;
  color: var(--color-red);
  transition: transform 0.3s ease;
}

.faq i:hover {
  transform: rotate(180deg); /* Efecto animado en el icono */
}

/* Enlace adicional para mejorar accesibilidad */
.faq a:focus {
  color: #000;
  outline: 2px solid #b30000;
}


/* Estilo para las imágenes dentro de las tarjetas */
.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transition: height 0.3s ease;
}

/* Responsividad para pantallas medianas (tablets) */
@media (max-width: 768px) { 
  .blog-card img { 
    height: 160px; /* altura para tablet */
  } 
} 

/* Responsividad para pantallas pequeñas (móviles) */
@media (max-width: 480px) { 
  .blog-card img { 
    height: 140px; /* altura para móvil */
  } 
}

/* Mejoras generales para la cuadrícula del blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* Mejoras en la tarjeta de blog */
.blog-card {
  background: #111;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.blog-card p {
  font-size: 15px;
  color: #555;
  margin: 0 15px 15px;
}


/* ====== mejoras/añadidos ====== */

/* Encabezado de página */
.page-head { margin-bottom: 10px; }
.page-head .lead { color:#555; margin-top:6px; }

/* Controles */
.filters {
  display:flex;
  gap:10px;
  align-items:center;
  margin: 14px 0 4px;
}
.btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:8px;
  border:1px solid #ddd;
  background:#fff;
  cursor:pointer;
  transition: all .2s;
}
.btn.small { padding:8px 12px; font-size:.95rem; }
.btn:hover { border-color:#bbb; transform: translateY(-1px); }
.btn.active { background: var(--color-red); color:#fff; border-color: var(--color-red); }

.more { display:flex; justify-content:center; margin: 10px 0 30px; }

/* Keywords */
.keywords { margin: 14px 0 8px; }
.kw-title { font-weight:600; margin-bottom:8px; color:#222; display:flex; align-items:center; gap:8px; }
.kw-chips { display:flex; flex-wrap:wrap; gap:8px; }
.kw-chip {
  border:1px solid #ddd; background:#fff; padding:6px 10px; border-radius:999px;
  cursor:pointer; font-size:.95rem; line-height:1; display:inline-flex; align-items:center; gap:6px;
  transition: all .2s;
}
.kw-chip:hover { border-color:#bbb; transform: translateY(-1px); }
.kw-chip.active { background:#111; color:#fff; border-color:#111; }
.kw-count { font-size:.8rem; opacity:.8; }

/* Tarjetas */
.blog-card { display:flex; flex-direction:column; }
.blog-card .card-body { padding: 10px 12px 14px; }
.blog-card h2 { font-size:1.1rem; margin: 8px 0 6px; line-height:1.3; }
.blog-card .news-meta { margin: 2px 12px 8px; }

/* Imagen responsiva (ya tenías reglas base) */
.blog-card img { aspect-ratio: 3 / 2; }

/* Grid (ya definido) -> pequeños ajustes */
.blog-grid { margin-top: 16px; }

/* Breadcrumb (ya lo tenías) -> sutil ajuste */
.breadcrumb { margin: 14px 0; }

/* Accesibilidad */
[aria-busy="true"] { opacity:.7; }

/* Responsive chips */
@media (max-width: 480px) {
  .kw-chip { padding:6px 8px; }
  .filters { gap:8px; flex-wrap:wrap; }
}


/* Meta */
.news-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 8px;
}
.news-meta img.source-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 3px;
}


/* Botón */
 .blog-card .btn-go {
  display: inline-block;
  margin: 12px;
  padding: 8px 14px;
  background: #e60000;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  border-radius: 6px;
  transition: background 0.3s;
} 
.blog-card .btn-go:hover {
  background: #b30000;
}

.blog-card h2 a {
  font-size: 13px;
  margin: 12px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.blog-card h2 a:hover {
  color: var(--color-red);
}
