/* Minimal cards used by the dynamic Insights feeds on public discovery pages. */
body:not(.admin-page) .insight-card--feed {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(7,20,38,.12);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease;
}
.insight-card--feed .insight-card-link {
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
  color: #071426;
}
.insight-card--feed .insight-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8eeeb;
}
.insight-card--feed .insight-card-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.insight-card--feed .insight-card-media img[hidden] { display: none; }
.insight-card--feed .insight-card-fallback-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #0b747a;
  background: linear-gradient(135deg,#e8f5f3,#f6f1e8);
  font-size: 2.2rem;
}
.insight-card--feed .insight-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.insight-card--feed .insight-card-kicker {
  color: #0b747a;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
body:not(.admin-page) main .insight-card--feed h3 {
  margin: 8px 0 10px;
  color: #071426;
  font-size: clamp(1.16rem,1.5vw,1.42rem);
  font-weight: 700 !important;
  line-height: 1.2;
  letter-spacing: -.02em;
}
body:not(.admin-page) main .insight-card--feed .insight-card-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #526071;
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.insight-card--feed .insight-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #0b747a;
  font-size: .8rem;
  font-weight: 850;
}
.insight-card--feed .insight-card-action i { color: #c93667; transition: transform .2s ease; }
.insight-card--feed:hover,
.insight-card--feed:focus-within { border-color: rgba(17,135,141,.38); transform: translateY(-2px); }
.insight-card--feed:hover .insight-card-media img,
.insight-card--feed:focus-within .insight-card-media img { transform: scale(1.025); }
.insight-card--feed:hover .insight-card-action i,
.insight-card--feed:focus-within .insight-card-action i { transform: translateX(3px); }
.insight-card--feed .insight-card-link:focus-visible { outline: 2px solid #17a5ad; outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) {
  .insight-card--feed,
  .insight-card--feed .insight-card-media img,
  .insight-card--feed .insight-card-action i { transition: none; transform: none; }
}
