/* ============================================================
   Insights Section — Home Page
   Brand palette:
     Olive green  : #90AD46
     Warm brown   : #A46F57
     Soft caramel : #C28367
     Charcoal     : #494949
     Mid-grey     : #767676
     Off-white bg : #FAFAF8
   ============================================================ */

/* ---------- Section shell ---------- */
.insights-section {
  background: #FAFAF8;
  padding: 36px 0 48px;
}

.insights-wrap {
  padding: 0 30px;
}

/* ---------- Header row ---------- */
.insights-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.insights-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Brand dual-bar icon — sized to match the SVG proportions */
.insights-brand-icon {
  display: block;
  flex-shrink: 0;
}

.insights-heading {
  font: 700 22px/1.2 "Inter", sans-serif;
  color: #494949;
  margin: 0;
  letter-spacing: -0.2px;
}

/* "View All Insights" pill button */
.insights-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 500 13px/1 "Inter", sans-serif;
  color: #A46F57;
  text-decoration: none;
  border: 1.5px solid #C28367;
  border-radius: 50px;
  padding: 8px 20px 8px 16px;
  letter-spacing: 0.1px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.insights-view-all-btn:hover {
  background: #A46F57;
  color: #fff;
  border-color: #A46F57;
  text-decoration: none;
}

.insights-btn-arrow {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}

.insights-view-all-btn:hover .insights-btn-arrow {
  transform: translateX(3px);
}

/* ---------- Three-column grid ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ---------- Card ---------- */
.insight-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.11);
}

/* ---------- Card image ---------- */
.insight-card-img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  flex-shrink: 0;
}

.insight-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

/* ---------- Card body ---------- */
.insight-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Date chip */
.insight-card-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 500 11px/1 "Inter", sans-serif;
  color: #90AD46;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.insight-cal-svg {
  color: #90AD46;
  flex-shrink: 0;
}

/* Title */
.insight-card-title {
  font: 600 14px/21px "Inter", sans-serif;
  color: #494949;
  margin: 0 0 8px;
  letter-spacing: -0.1px;
}

.insight-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.insight-card-title a:hover {
  color: #A46F57;
}

/* Excerpt — hard-clamp to 2 lines */
.insight-card-excerpt {
  font: 400 12px/18px "Inter", sans-serif;
  color: #767676;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Read more link */
.insight-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  align-self: flex-start;
  font: 500 12px/1 "Inter", sans-serif;
  color: #A46F57;
  text-decoration: none;
  border: 1px solid #C28367;
  border-radius: 50px;
  padding: 6px 14px;
  letter-spacing: 0.1px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.insight-card-read-more:hover {
  background: #A46F57;
  color: #fff;
  border-color: #A46F57;
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insights-section {
    padding: 28px 0 36px;
  }
}

@media (max-width: 600px) {
  .insights-wrap {
    padding: 0 16px;
  }

  .insights-header {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
  }

  .insights-heading {
    font-size: 19px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .insights-section {
    padding: 24px 0 32px;
  }
}
