body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background-color: #f5f7fa;
  color: #333;
}

header {
  background: linear-gradient(90deg, #004999, #007bff);
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.logo-titulo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.subtitulo {
  font-size: 1.1em;
  color: #e0e0e0;
}

nav {
  background: #003d7a;
  padding: 12px;
  text-align: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffcc00;
}

nav a.active {
  font-weight: bold;
  text-decoration: underline;
}

.contenedor {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  gap: 20px;
}

.contenido-principal {
  flex: 3;
}

.barra-lateral {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post {
  background: #fff;
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post h2 {
  color: #004999;
  margin-top: 10px;
}

.imagen-post {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

aside h3 {
  color: #004999;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
  margin-top: 0;
}

aside ul {
  list-style-type: disc;
  margin-left: 20px;
}

footer {
  background: #e9ecef;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
  color: #555;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 800px) {
  .contenedor {
    flex-direction: column;
  }
}
