﻿/* ═══════════════════════════════════════════════════════════
   INNOMERC TECH, INSIGHTS INDEX PAGE STYLES
   Used by: insights.html
   Supplements: style.css + pages.css
   ═══════════════════════════════════════════════════════════ */

/* ── INSIGHTS CARD GRID ──────────────────────────────────── */
/* Auto-fill layout, cards are min 300px wide */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* ── INSIGHT CARD THUMBNAIL ──────────────────────────────── */
/* ic-thumb base styles are in pages.css; these are overrides */
.ic-thumb {
  position: relative; /* ensure absolute-positioned img works */
}

/* Category label, teal pill style on insights page */
.ic-cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  padding: .22rem .7rem;
  border-radius: 99px;
  border: 1px solid rgba(44,188,182,.15);
  margin-bottom: .1rem;
}

/* ── INSIGHTS PAGE CTA ───────────────────────────────────── */
.insights-cta-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.insights-cta-box::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,188,182,.07), transparent 70%);
  pointer-events: none;
}
.insights-cta-box h3 {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--text);
  position: relative;
}
.insights-cta-box p {
  color: var(--text-2);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
}

/* ── LIGHT THEME ─────────────────────────────────────────── */
[data-theme="light"] .insights-cta-box {
  background: var(--surface);
  box-shadow: 0 2px 16px rgba(15,23,42,.05);
}
[data-theme="light"] .ic-thumb {
  background: var(--surface-2);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .insights-grid { grid-template-columns: 1fr; }
  .insights-cta-box { padding: 1.75rem 1.25rem; }
}
