/* === ESTILO GENERAL PARA NEW NOTICIAS === */

body {
  background-color: hsl(55, 50%, 91.4%);
  color: #212529;
  font-family: 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* === ENCABEZADOS === */

h1, h2, h3, h4, h5 {
  color: #c82333;
  font-weight: 600;
}

/* === NAVBAR ESTILO NOTICIERO === */

.navbar {
  background-color: #343a40;
}

.navbar-brand,
.navbar-nav .nav-link {
  color: #ffffff !important;
}

.navbar-nav .nav-link:hover {
  color: #c82333 !important;
}

/* === TARJETAS DE NOTICIAS === */

.card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #c82333;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.8rem;
  font-weight: 400;
  color: #212529;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.card-footer {
  background-color: rgb(242, 216, 214);
  border-top: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
}

.card-footer small.text-muted {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6c757d;
}

.card-footer small.text-muted span.categoria {
  color: #c82333;
  font-weight: 600;
}

/* === CATEGORÍAS / ETIQUETAS === */

.badge-category {
  background-color: #c82333;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 8px;
  text-transform: uppercase;
}

/* === BOTONES PERSONALIZADOS === */

.btn-primary {
  background-color: #c82333;
  border-color: #c82333;
}

.btn-primary:hover {
  background-color: #a71d2a;
  border-color: #a71d2a;
}

button {
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.3);
}

button:active {
  transform: scale(0.90);
}
