/* ===================================
   Blog Cards Styles - Home Section
   =================================== */

/* Padding Helper */
.p-25 {
  padding: 1.5rem !important;
}

/* Blog Card Base */
.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Blog Card - Imagem Principal */
.blog-card .blogImg {
  height: 220px;
  overflow: hidden;
}

.blog-card .blogImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blogImg img {
  transform: scale(1.05);
}

.blog-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.blog-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card:hover h4 {
  color: #0066cc;
}

.blog-card p {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

/* Feature Thumb - Imagens dos Posts */
.blog-card .feature-thumb {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Home blog horizontal cards sizing */
#blogSection .blog-card.d-flex .feature-thumb {
  width: 150px;
  height: 110px;
}

#blogSection .blog-card.d-flex .feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card .feature-thumb img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease-in;
}

.blog-card:hover .feature-thumb img {
  transform: scale(1.02);
}

/* Category Button */
.category-btn {
  left: 0;
  bottom: 0;
  padding: 8px 30px;
  font-weight: 500;
  font-size: 14px;
  background: #1c40f2;
  color: #fff;
  border-radius: 0 0 0 5px;
  z-index: 1;
}

/* Blog Content */
.blog-content h4 {
  margin-bottom: 0.5rem;
}

/* Blog Author Info */
.blog-author {
  margin-top: 1rem;
}

.blog-author .iconBlog {
  width: 36px;
  height: 36px;
  border: 2px solid #f0f0f0;
  object-fit: cover;
}

.blog-author .author-info h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.blog-author .author-info span {
  font-size: 0.8rem;
  color: #999;
}

/* Rounded Classes */
.rounded-left {
  border-radius: 8px;
}

/* Responsividade */
@media (max-width: 576px) {
  .blog-card .feature-thumb {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .blog-card .blog-content {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .p-25 {
    padding: 1rem !important;
  }
}

@media (max-width: 768px) {
  .blog-card h3 {
    font-size: 1.5rem;
  }
  
  .blog-card h4 {
    font-size: 1rem;
  }
}

/* Loading Spinner (Bootstrap) */
.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Icon Styles */
.iconBlog {
  width: 36px;
  height: 36px;
  object-fit: cover;
}

.iconTechs {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Deep Shadow */
.deep-shadow {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.deep-shadow:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Icon Blog Author */
.iconBlog {
  width: 36px;
  height: 36px;
  object-fit: cover;
}

/* Blog Card Heights */
.blog-card .blogImg {
  position: relative;
  overflow: hidden;
}

.blog-card .blogImg img {
  transition: transform 0.3s ease;
}

.blog-card:hover .blogImg img {
  transform: scale(1.05);
}

/* Featured Post Styles */
.blog-card .badge {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.blog-card h3 {
  color: #1e293b;
  font-weight: 600;
  line-height: 1.4;
}

.blog-card h3:hover {
  color: #3b82f6;
}

.blog-card h5 {
  color: #1e293b;
  font-weight: 600;
  line-height: 1.4;
}

.blog-card h5:hover {
  color: #3b82f6;
}

/* Blog Author Meta */
.blog-author {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.blog-author h6 {
  font-size: 0.875rem;
  color: #1e293b;
}

.blog-author small {
  color: #6b7280;
  font-size: 0.8125rem;
}
