/**
 * PCTechComVn — Blog CSS
 * Child Theme CSS Module
 * Version: 1.0.0 (Sprint 14)
 *
 * Blog Pillar and general blog cards.
 */

/* ═══════════════════════════════════════════════
   1. BLOG PILLAR (Featured Post)
   ═══════════════════════════════════════════════ */
.blog-pillar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--orange);
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(232, 135, 10, 0.15);
}

.blog-pillar-img {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  width: 100%;
}

.blog-pillar-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-pillar-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  width: fit-content;
  text-transform: uppercase;
}

.blog-pillar-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-pillar-body p {
  color: var(--gray-700);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .blog-pillar {
    grid-template-columns: 1fr;
  }
  
  .blog-pillar-img {
    height: 250px;
  }
}
