/* === Insights Section === */
.insights-section {
  margin-top:47px;
  padding: 60px 0;
  font-family: 'Poppins', sans-serif;
}

.insights-subsection{
    border: 1px solid #dfe6e9;
    padding: 7px;
}

/* Subsection Header Full-width with subtle border */
/* Subsection Header */
.subsection-header {
  width: 100%;
  padding: 23px 7px;
  margin-bottom: 30px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, #ff7d00, #ff9a33);
  border-image-slice: 1;
  background: linear-gradient(135deg, #eef7ff 0%, #ffffff 100%);
  text-align: center;
}

.subsection-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}


/* Featured Post */
.insight-card.featured {
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,123,255,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #fff;
  margin-bottom: 20px;
}

.insight-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,123,255,0.18);
}

.insight-card.featured img {
  width: 100%;
  height: 250px; 
  object-fit: cover; 
  transition: transform 0.6s ease;
  display: block;
}


.insight-card.featured:hover img {
  transform: scale(1.05);
}

.insight-content {
  padding: 15px 20px;
}

.insight-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ff7d00;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s;
}

.insight-title i {
  margin-left: 6px;
  transition: transform 0.3s;
}

.insight-title:hover {
  color: #ff9a33;
}

.insight-title:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .insight-card.featured img {
    height: 180px;
  }
}


/* Meta Info */
.insight-meta {
  font-size: 0.85rem;
  margin-top: 6px;
  color: #555;
  display: flex;
  justify-content: space-between;
}

/* Small Posts */
.small-posts {
  margin-top: 15px;
}

.insight-card.small {
  border-bottom: 1px solid rgba(0,0,0,0.03);
  padding: 10px 0;
  transition: all 0.3s;
}

.insight-card.small a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  display: block;
  transition: color 0.3s;
}

.insight-card.small a i {
  margin-right: 8px;
  color: #ff7d00;
}

.insight-card.small:hover {
  transform: translateX(4px);
}

.insight-card.small:hover a {
  color: #ff9a33;
}

/* Responsive for Mobile */
@media(max-width: 767px) {
  .insights-section {
    padding: 40px 0;
  }

  .subsection-title {
    font-size: 1.5rem;
    padding: 15px 7px;  /* Reduce header padding for mobile */
  }

  .insights-subsection {
    padding: 5px;  /* Reduce subsection inner padding */
  }

  .insight-card.featured img {
    height: 180px;  /* Mobile friendly photo */
  }
}