/* Blog Module Stylesheet (Red/Warning Theme matching All India Packers and Movers) */

/* Icons & Badges */
.blog-icon-primary {
  color: #e31e42 !important;
}

.blog-icon-lg-primary {
  font-size: 3.5rem;
  color: #e31e42;
  opacity: 0.9;
}

.blog-date-badge {
  background-color: #ffb400 !important;
  color: #212529 !important;
  border-bottom-left-radius: 12px;
}

/* Heading & Highlights */
.blog-title-highlight {
  color: #e31e42;
}

.blog-details-title {
  color: #212529;
  font-size: 2.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.blog-title-link {
  transition: color 0.2s ease;
}

.blog-title-link:hover {
  color: #e31e42 !important;
}

/* Cards & Layout */
.blog-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.blog-card-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.blog-details-img {
  max-height: 450px;
  object-fit: cover;
  width: 100%;
}

.blog-content-wrapper p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #4a5568;
}

.blog-content-wrapper h2, 
.blog-content-wrapper h3, 
.blog-content-wrapper h4 {
  color: #2d3748;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Sidebar Recent Posts List */
.blog-post-link-item {
  transition: all 0.2s ease-in-out;
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.blog-post-link-item:hover {
  background-color: #f7fafc;
}

.blog-post-link-item:hover .blog-post-title {
  color: #e31e42 !important;
}

.blog-post-title {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #2d3748;
  transition: color 0.2s ease;
}

/* Sidebar CTA Widget */
.blog-border-warning {
  border-top: 4px solid #ffb400 !important;
}

.blog-btn-quote {
  background-color: #e31e42 !important;
  color: #ffffff !important;
  border: none !important;
  transition: all 0.2s ease;
}

.blog-btn-quote:hover {
  background-color: #c91a3a !important;
  color: #ffffff !important;
}

.blog-btn-primary {
  background-color: #e31e42 !important;
  color: #ffffff !important;
  border: none !important;
  transition: all 0.2s ease;
}

.blog-btn-primary:hover {
  background-color: #c91a3a !important;
  color: #ffffff !important;
}

/* Social Sharing Icons */
.blog-social-fb, .blog-social-tw, .blog-social-wa, .blog-social-li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff !important;
  transition: transform 0.2s ease;
}

.blog-social-fb { background-color: #1877f2; }
.blog-social-tw { background-color: #1da1f2; }
.blog-social-wa { background-color: #25d366; }
.blog-social-li { background-color: #0077b5; }

.blog-social-fb:hover, .blog-social-tw:hover, .blog-social-wa:hover, .blog-social-li:hover {
  transform: translateY(-2px);
}

/* Social buttons in modal */
.blog-bg-fb { background-color: #1877f2 !important; }
.blog-bg-tw { background-color: #1da1f2 !important; }
.blog-bg-wa { background-color: #25d366 !important; }
.blog-bg-fb:hover, .blog-bg-tw:hover, .blog-bg-wa:hover {
  opacity: 0.9;
}
