/* Insights lists. Works on top of service-pages.css. */

.ins-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.ins-filter button {
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid #cfd8e4; background: #fff;
  color: var(--eedas-navy, #0b1f3b); font-size: 15px; font-weight: 600;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.ins-filter button:hover { border-color: var(--eedas-orange, #ff6a00); color: var(--eedas-orange, #ff6a00); }
.ins-filter button.is-active { background: var(--eedas-navy, #0b1f3b); border-color: var(--eedas-navy, #0b1f3b); color: #fff; }
.ins-filter button:focus-visible { outline: 3px solid var(--eedas-orange, #ff6a00); outline-offset: 3px; }

.ins-list { border-top: 1px solid #cfd8e4; }
.ins-item {
  position: relative;
  display: grid; grid-template-columns: 130px 1fr auto;
  gap: 24px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid #cfd8e4;
}
.ins-item[hidden] { display: none; }
.ins-item::before {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 0; height: 2px; background: var(--eedas-orange, #ff6a00);
  transition: width .4s ease;
}
.ins-item:hover::before { width: 100%; }

.ins-tag { color: var(--eedas-orange, #ff6a00); font-weight: 700; font-size: 15px; padding-top: 3px; }
.ins-body h3 { font-size: 21px; margin-bottom: 8px; color: var(--eedas-navy, #0b1f3b); }
.ins-body p  { color: var(--eedas-muted, #68778a); line-height: 1.7; max-width: 62ch; }

.ins-link {
  white-space: nowrap; font-weight: 700; padding-top: 3px;
  color: var(--eedas-navy, #0b1f3b);
  border-bottom: 2px solid var(--eedas-orange, #ff6a00); padding-bottom: 3px;
  transition: color .25s ease;
}
.ins-link:hover { color: var(--eedas-orange, #ff6a00); }
.ins-link:focus-visible { outline: 3px solid var(--eedas-orange, #ff6a00); outline-offset: 4px; }
.ins-soon { white-space: nowrap; color: var(--eedas-muted, #68778a); font-size: 14px; padding-top: 5px; }

@media (max-width: 760px) {
  .ins-item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .ins-tag, .ins-link, .ins-soon { padding-top: 0; }
  .ins-link { justify-self: start; }
}
