/* ================= INSIGHTS PAGE LAYOUT ================= */
.insights-page {
  padding: 60px 40px;
}

.insights-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ================= INSIGHT CARD ================= */
.insight-card-link {
  display: flex;
  flex-direction: column;
  background: #f5f5f5 !important;
  border-radius: 12px;
  text-decoration: none;
  color: #09126a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  height: 500px;        /* fixed height for all cards */
   overflow: hidden; /* ensures card content doesn’t spill */
}

.insight-card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.insight-card-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.insight-card-link .insight-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start; /* don't stretch */
}

/* Wrap summary+date to allow button pinned */
.insight-card-link .summary-container {
   display: flex;
  flex-direction: column;
}

/* TITLE */
.insight-card-link h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 2px;
  line-height: 1.1;
    display: -webkit-box;
  -webkit-line-clamp: 2;        /* show 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;  /* only one line */
}

/* SUMMARY (3 lines max) */
.insight-card-link p {
  font-size: 15px;
  line-height: 1.2;
  color: #444;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ARTICLE DATE */
.insight-card-link .insight-date {
  color: #09126a;         /* brand blue */
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;     /* spacing before button */
}

/* READ MORE BUTTON */
.insight-card-link .read-more {
  display: inline-block;
  margin: 0 auto 0;        /* center horizontally */
  padding: 6px 14px;
  background-color: #09126a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.25s ease;
  text-align: center;
}

.insight-card-link .read-more:hover {
  background-color: #101f9c;
}

/* ================= INSIGHTS GRID SECTION ================= */
.insights-grid-section {
  padding: 60px 0;
}

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

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

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

  .insight-card-link p {
    font-size: 15px;
  }
}

/* HIDE MAIN INSIGHTS PAGE TITLE */
.insights-page .insights-title {
  display: none !important;
}
