/* =============================
   Base y tema oscuro
============================= */
body {
  background-color: #0d0d0d;
  color: #f1f1f1;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }

/* =============================
   Header compacto + línea roja
============================= */
header {
  width: 100%;
  background-color: #1f1f1f;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2rem;
  box-sizing: border-box;
  position: relative;
  border-bottom: 3px solid #dc2626;
}
header .logo img { height: 35px; }
nav { display: flex; gap: 1rem; }
nav a { font-weight: 600; color: #ccc; transition: color 0.3s; }
nav a:hover { color: #dc2626; }

.hamburger {
  display: none; flex-direction: column; cursor: pointer; gap: 5px;
}
.hamburger div { width: 25px; height: 3px; background-color: #fff; }

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #1f1f1f;
  position: absolute;
  top: 100%; left: 0; width: 100%;
  padding: 1rem 0;
}
.mobile-menu a { padding: 0.5rem 2rem; border-top: 1px solid #333; }

/* =============================
   Contenedor principal
============================= */
#wraper {
  max-width: 900px;
  margin: 1rem auto;
  padding: 1rem;
  flex: 1;
}

/* =============================
   Agenda
============================= */
.agenda-container {
  background-color: #1a1a1a;
  padding: 1.2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.agenda-header {
  background: linear-gradient(to right, #b91c1c, #dc2626);
  color: #ffffff;
  border-radius: 0.5rem;
  text-align: center;
  padding: 0.01rem 0; /* menos alto que antes */
  font-weight: bold;
  font-size: 1.1rem; /* un poco más grande el texto para compensar */
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}


ul#menu { list-style: none; padding-left: 0; margin: 0; }
ul#menu li {
  margin-bottom: 0.5rem;
  background-color: #2a2a2a;
  border-radius: 0.5rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: background 0.3s;
}
ul#menu li:hover { background-color: #333; }
ul#menu li ul li { background-color: #3a3a3a; margin: 0.25rem 0; padding: 0.5rem; border-radius: 0.5rem; }
ul#menu li ul li:hover { background-color: #4a4a4a; }

.flag { width: 24px; height: 24px; margin-right: 0.5rem; object-fit: cover; border-radius: 50%; }
time { font-weight: bold; width: 3.5rem; display: inline-block; text-align: center; margin-right: 0.5rem; }

.agenda-content { 
  color: #e2e8f0; 
  font-size: 0.9rem; 
  line-height: 1.6; 
  margin-top: 1.5rem; 
}

footer {
  text-align: center;
  padding: 0.5rem 0;
  background-color: #1f1f1f;
  color: #ccc;
  border-top: 2px solid #dc2626;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.show { display: flex; }
}
