/* Blog de Entrenadores GYM */

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #232526 0%, #434343 100%);
  color: #f5f5f5;
  margin: 0;
  padding: 0;
}

header {
  background: #181818;
  padding: 2rem 0 1rem 0;
  text-align: center;
  color: #fff;
  letter-spacing: 2px;
  font-size: 2.5rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

nav {
  margin-top: 1rem;
  text-align: center;
}

nav a {
  color: #00e676;
  text-decoration: none;
  margin: 0 1.5rem;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffd700;
}

main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-post {
  background: rgba(30,30,30,0.97);
  border-radius: 1.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.blog-post img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.blog-post h2 {
  margin: 0.5rem 0 0.2rem 0;
  color: #ffd700;
  font-size: 1.6rem;
  text-align: center;
}

.blog-post .autor {
  color: #00e676;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.blog-post p {
  color: #e0e0e0;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.blog-post .leer-mas {
  background: linear-gradient(90deg, #ff5858, #f09819);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  margin-top: 0.5rem;
  text-decoration: none;
  display: inline-block;
}

.blog-post .leer-mas:hover {
  background: linear-gradient(90deg, #f09819, #ff5858);
  transform: scale(1.07);
}

footer {
  background: #181818;
  color: #aaa;
  text-align: center;
  padding: 1.5rem 0 1rem 0;
  margin-top: 3rem;
  font-size: 1rem;
  letter-spacing: 1px;
}