/* Estilo elegante en tonos grises */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Header */
.site-header {
  background: #e0e0e0;
  padding: 20px;
  border-bottom: 2px solid #ccc;
}

.header-container {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: auto;
}

.logo {
  height: 60px;
  margin-right: 15px;
}

.header-text h1 {
  margin: 0;
  font-size: 1.6em;
  color: #2c3e50;
}

.header-text p {
  margin: 3px 0 0;
  color: #555;
  font-size: 0.95em;
}

nav {
  text-align: center;
  margin-top: 15px;
}

nav a {
  color: #333;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #555;
}

/* Posts */
.container {
  width: 90%;
  max-width: 900px;
  margin: 30px auto;
}

.posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-left: 5px solid #999;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card h2 a {
  color: #2c3e50;
  text-decoration: none;
}

.card h2 a:hover {
  text-decoration: underline;
}

.date {
  font-size: 0.85em;
  color: #777;
  margin-bottom: 10px;
}

/* Post individual */
.post {
  background: #fff;
  padding: 30px;
  border-left: 5px solid #999;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.post h2 {
  margin-top: 0;
}

.post .date {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 20px;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 15px;
  background: #e0e0e0;
  border-top: 2px solid #ccc;
  margin-top: 40px;
  color: #555;
}

.layout {
  display: flex;
  gap: 20px; /* espacio entre sidebar y posts */
  align-items: flex-start; /* que la sidebar y posts se alineen arriba */
}

/* Layout principal con sidebar */
.layout {
  display: flex;
  gap: 20px; /* espacio entre sidebar y contenido */
}

/* Sidebar */
.sidebar {
  width: 200px; /* tamaño fijo o ajustable */
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.profile-pic {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Contenido de los posts */
.posts {
  flex: 1; /* ocupa todo el espacio restante */
}

/* Cards de los posts */
.card {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

