/* ===================================
   BLOG – TRABAJOS PUBLICADOS
   IA International Perú
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0052ff;
  --primary-light: #e6f0ff;
  --accent: #ff6b00;
  --dark: #121212;
  --gray: #5a5a5a;
  --light: #f9fbfd;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(0, 82, 255, 0.08);
  --shadow-hover: 0 8px 32px rgba(0, 82, 255, 0.12);
  --transition: 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* .hero-blog {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
  padding: 4rem 0;
  text-align: center;
} */
.hero-blog h1 {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.hero-blog .lead {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

#posts-container {
  padding: 3rem 0;
}

.post-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
}
.post-card:hover .card-img-top {
  transform: scale(1.05);
}

.card-footer.share-buttons a {
  margin: 0 .25rem;
  font-size: 1.1rem;
  transition: transform .2s;
}
.card-footer.share-buttons a:hover {
  transform: scale(1.15);
}

#modalCarousel img {
  max-height: 400px;
  object-fit: cover;
}

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}
.empty-state i {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.empty-state p {
  color: var(--gray);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .hero-blog h1 {
    font-size: 2rem;
  }
  .card-img-top {
    height: 180px;
  }
}