/* ===================================
   ESTILOS ESPECÍFICOS - PÁGINA BLOG
   =================================== */

/* ===================================
   HERO BLOG
   =================================== */
.blog-hero {
  background: linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.blog-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 15px;
  letter-spacing: -1px;
}

.blog-hero p {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  opacity: 0.95;
}

/* ===================================
   POSTS GRID
   =================================== */
.blog-posts {
  padding: 80px 20px;
  background: #fafafa;
}

.blog-posts .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================================
   POST CARD
   =================================== */
.post-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Imagem do post */
.post-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

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

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

.post-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--brand);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
}

/* Conteúdo do post */
.post-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0 0 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

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

.post-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0 0 25px;
  flex: 1;
}

/* Meta informações */
.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f0f0;
}

.post-author > div {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.post-date {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.read-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.read-more:hover {
  color: var(--brand-dark);
  transform: translateX(4px);
}

/* ===================================
   RESPONSIVO
   =================================== */
@media (max-width: 768px) {
  .blog-hero {
    padding: 60px 20px;
  }

  .blog-hero h1 {
    font-size: 36px;
  }

  .blog-hero p {
    font-size: 16px;
  }

  .blog-posts {
    padding: 60px 20px;
  }

  .blog-posts .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .post-image {
    height: 200px;
  }

  .post-content {
    padding: 25px;
  }

  .post-title {
    font-size: 20px;
  }

  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .read-more {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .blog-hero h1 {
    font-size: 28px;
  }

  .blog-hero p {
    font-size: 14px;
  }

  .post-content {
    padding: 20px;
  }

  .post-title {
    font-size: 18px;
  }

  .post-excerpt {
    font-size: 14px;
  }
}
