/* trends.css */

/* Section spacing and layout */
.section-trend {
  padding: 4rem 0;
}

.section-trend.bg-light {
  background-color: #f8f9fa;
}

.section-trend .section-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Trend Card Styles */
.trend-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  height: 100%;
}

.trend-card:hover {
  box-shadow: 0 6px 18px rgba(0, 87, 184, 0.12);
  transform: translateY(-4px);
}

.trend-card img {
  width: 100%;
  object-fit: cover;
  max-height: 200px;
}

.trend-card-body {
  padding: 1.5rem;
}

.trend-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.trend-card-title:hover {
  color: #0057b8;
}

.trend-card-meta {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.trend-card-summary {
  font-size: 1rem;
  color: #343a40;
}

/* Top Trends (Featured) */
.featured-trend {
  display: flex;
  flex-wrap: wrap;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 2rem;
}

.featured-trend .image {
  flex: 1 1 300px;
  min-height: 240px;
  background-size: cover;
  background-position: center;
}

.featured-trend .content {
  flex: 2 1 400px;
  padding: 2rem;
}

.featured-trend .content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1rem;
}

.featured-trend .content p {
  font-size: 1.1rem;
  color: #495057;
}

/* CTA Banner */
.trends-cta {
  background: linear-gradient(to right, #0057b8, #003f87);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 1.25rem;
  text-align: center;
}

.trends-cta h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.trends-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.trends-cta .btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .featured-trend {
    flex-direction: column;
  }

  .featured-trend .content {
    padding: 1.5rem;
  }

  .trends-cta {
    padding: 2rem 1.25rem;
  }
}
