/* ------------------ Reset & Base ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tomorrow', sans-serif;
  background-color: #FAFAFB; /* light */
  color: #5A5A5A; /* body-color */
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ------------------ Header & Navigation ------------------ */
header {
  background-color: #12141D; /* dark */
  color: white;
  padding: 20px 0;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #FF4D6D; /* primary */
}

/* ------------------ Main Blog Content ------------------ */
main {
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Blog Container */
.blog-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Blog Title & Intro */
.blog-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #12141D; /* headings-color */
  font-weight: 700;
}

.blog-intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Blog List */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-post {
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 10px;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.blog-post:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.post-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #C9184A; /* secondary */
  font-weight: 600;
}

.post-meta {
  font-size: 0.9rem;
  color: #5A5A5A;
}

.read-more {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.4rem 1rem;
  background-color: #FF4D6D; /* primary */
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.read-more:hover {
  background-color: #C9184A; /* secondary */
}

/* ------------------ Footer ------------------ */
footer {
  background-color: #12141D; /* dark */
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}

footer p {
  font-size: 14px;
}

/* ------------------ Scroll-to-top Button ------------------ */
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FF4D6D; /* primary */
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  display: none;
  transition: background-color 0.3s ease;
}

.scroll-top-btn:hover {
  background-color: #C9184A; /* secondary */
}

.blog-post {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 10px;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.blog-post:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.post-content {
  flex: 1; /* Ocupa todo el ancho disponible menos la imagen */
}

.post-thumbnail {
  width: 150px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
