/* --------- ESTILOS GENERALES --------- */
body {
  font-family: sans-serif;
  margin: auto;
  line-height: 1.7;
  padding: 1em;
  background: #fff;
  color: #222;
}

/* --------- HEADER --------- */
.site-header {
  text-align: center;
  margin-bottom: 2em;
}

.site-title {
  font-size: 2em;
  margin: 0.2em 0;
}

.site-tagline {
  font-size: 1em;
  color: #555;
}

/* --------- NAV --------- */
.site-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin-top: 1em;
}

.site-nav a {
  text-decoration: none;
  color: #0066cc;
  font-weight: bold;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* --------- GRID DE LA HOME --------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
  max-width: 1000px;
  margin: auto;
  padding: 1em;
}

.grid article {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
  transition: transform 0.2s;
}

.grid article:hover {
  transform: scale(1.02);
}

.grid img {
  width: 100%;
  height: auto;
  display: block;
}

.grid h2 {
  font-size: 1.2em;
  padding: 0.5em;
  text-align: center;
}




/* --------- CONTENIDO DEL POST --------- */
.content {
  margin: auto;
}

.content h1 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  line-height:1.1em;
}


.content h2 {
  font-size: 1.6em;
  margin-bottom: 0.5em;
  line-height:1.1em;
}
.content p {
  margin: 1em 0;
  text-align: justify;
}

.content img {
  display: block;
  margin: 1.5em auto;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.content blockquote {
  margin: 1.5em;
  padding: 1em;
  background: #f4f4f4;
  border-left: 4px solid #0066cc;
  font-style: italic;
  color: #444;
}

/* --------- FOOTER --------- */
.site-footer {
  text-align: center;
  margin-top: 3em;
  padding: 1.5em;
  font-size: 0.9em;
  color: #666;
  border-top: 1px solid #ddd;
  background: #f9f9f9;
}

/* --------- RESPONSIVE --------- */
@media (max-width: 768px) {
  body {
    padding: 0.8em;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0.8em;
  }
  .content h1 {
    font-size: 1.5em;
  }
  
    .content h2 {
    font-size: 1.2em;
  }
  
     .content h3 {
    font-size: 1em;
  }
  
  
 
  
}



  
