/* ============================================================
   Espinel Abogados — Centro de conocimiento (home + hub)
   ============================================================ */

.conocimiento__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.conocimiento__intro h2 { margin: 0.9rem 0 1.1rem; }

/* Newsletter */
.newsletter { margin-top: 2rem; max-width: 440px; }
.newsletter__row { display: flex; gap: 0.6rem; }
.newsletter__input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 0.9rem 1.2rem;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.newsletter__input::placeholder { color: var(--muted-2); }
.newsletter__input:focus {
  outline: none;
  border-color: var(--energy);
  box-shadow: 0 0 0 3px var(--energy-soft);
}
.newsletter__fine { margin-top: 0.8rem; font-size: 0.82rem; color: var(--muted-2); }

/* Insight cards */
.conocimiento__cards { display: flex; flex-direction: column; gap: 1rem; }
.insight { display: flex; flex-direction: column; align-items: flex-start; }
.insight .tag { margin-bottom: 1rem; }
.insight__t { font-size: 1.2rem; color: var(--text-strong); margin-bottom: 0.5rem; }
.insight__d { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.insight__link { font-size: 0.88rem; }

@media (max-width: 860px) {
  .conocimiento__inner { grid-template-columns: 1fr; }
  .newsletter { max-width: none; }
}
@media (max-width: 460px) {
  .newsletter__row { flex-direction: column; }
  .newsletter__row .btn { width: 100%; }
}

/* ── Hub de conocimiento ── */
.newsletter--center { margin-inline: auto; margin-top: 1.8rem; max-width: 520px; }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 1.5rem);
}
.insights-grid .insight { height: 100%; }
@media (max-width: 880px) { .insights-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .insights-grid { grid-template-columns: 1fr; } }
