/* ============================================================================
   ThriveChamp — Interests Card
============================================================================ */

.interests-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.card.interests {
  background: #fffefc;
}
.card.interests .titlebar {
  border-bottom-color: #f97316;
}

.interests-progress {
  margin-bottom: 12px;
}

.interests-progress-bar {
  position: relative;
  height: 28px;
  border-radius: 999px;
  background: #eef2f6;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.interests-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, #4ade80, #22c55e);
  transition: width 0.2s ease;
}

.interests-bar-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-weight: 400;
  font-size: 0.85rem;
  color: #0f172a;
}

.interests-feed {
  display: grid;
  gap: 10px;
}

.interest-article {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fffdfa;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
  overflow: hidden;
}
.interest-media {
  width: 100%;
  height: clamp(140px, 28vw, 200px);
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.interest-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.interest-article img:not(.interest-image) {
  display: none;
}
.interest-media.is-broken {
  display: none;
}

.interest-article:hover {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.interest-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #6b7280;
  font-size: 0.8rem;
}

.interest-title {
  font-weight: 700;
}

.interest-snippet {
  color: #6b7280;
  font-size: 0.9rem;
}
