/* ============================================
   BLOG PAGE - Don Pablo
   Layout inspirado no site oficial + estilo rústico nórdico
   ============================================ */

/* Nav active state */
.nav-link.active {
  color: var(--copper-light);
}

.nav-link.active::after {
  width: 100%;
}

/* Blog Hero */
.blog-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(28,20,16,0.82) 0%, rgba(28,20,16,0.65) 100%),
    url('https://images.unsplash.com/photo-1512690459411-b9245aed614b?w=1600&q=80') center/cover no-repeat;
  padding-top: 5rem;
  text-align: center;
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(28,20,16,0.5) 70%);
  pointer-events: none;
}

.blog-hero-content {
  position: relative;
  z-index: 2;
}

.blog-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.4rem 0 1.2rem;
}

.blog-hero-line {
  width: 80px;
  height: 2px;
  background: var(--copper);
  margin: 0 auto;
  position: relative;
}

.blog-hero-line::before,
.blog-hero-line::after {
  content: '◆';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--copper);
  font-size: 0.55rem;
}

.blog-hero-line::before { left: -18px; }
.blog-hero-line::after { right: -18px; }

/* Posts list */
.blog-posts {
  background: var(--wood-dark);
  padding-top: 4rem;
}

.post-card {
  display: grid;
  grid-template-columns: 70px 340px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.35s ease;
}

.post-card:last-child {
  border-bottom: none;
}

.post-card:hover {
  background: rgba(61, 47, 36, 0.25);
}

/* Date column */
.post-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.post-month {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
}

.post-day {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
  margin-top: 2px;
}

/* Image */
.post-image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.post-card:hover .post-image img {
  transform: scale(1.06);
}

/* Content */
.post-content {
  max-width: 520px;
}

.post-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.8rem;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.post-card:hover .post-title {
  color: var(--copper-light);
}

.post-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.3rem;
}

.btn-sm {
  padding: 0.65rem 1.4rem;
  font-size: 0.8rem;
}

/* CTA section */
.blog-cta {
  background: var(--wood-medium);
  text-align: center;
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
}

.blog-cta .section-title {
  margin-bottom: 0.8rem;
}

.blog-cta p {
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .post-card {
    grid-template-columns: 60px 1fr;
    gap: 1.2rem;
  }

  .post-image {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .post-content {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .post-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .post-date {
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
  }

  .post-day {
    font-size: 1.8rem;
  }

  .blog-hero-title {
    font-size: 3rem;
  }
}

.post-title a {
  color: inherit;
  transition: color 0.3s ease;
}
.post-card:hover .post-title a {
  color: var(--copper-light);
}

