/* ════════════════════════════════════════════════
   NEWS-SNIPPET CARD STYLE
   Used on Insights and Events pages
════════════════════════════════════════════════ */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-card {
  display: flex;
  gap: 0;
  background: white;
  border: 1.5px solid var(--border, rgba(67,157,145,0.15));
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  box-shadow: 0 6px 28px rgba(31,90,82,0.12);
  transform: translateY(-2px);
}

/* Left photo strip */
.news-card-photo {
  width: 200px;
  min-height: 160px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal-light, #e6f5f3), var(--navy-light, #e8f0f8));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}
.news-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-photo-placeholder {
  font-size: 2.5rem;
  opacity: 0.4;
}

/* Right content */
.news-card-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.news-card-cat {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  background: var(--teal);
  padding: 3px 10px;
  border-radius: 20px;
}
.news-card-cat.ev  { background: var(--navy); }
.news-card-cat.wp  { background: #6b4f8a; }
.news-card-cat.tn  { background: #1a6b5e; }
.news-card-cat.tl  { background: #2d547d; }
.news-card-cat.gov { background: #7a3a2a; }
.news-card-date {
  font-size: 0.75rem;
  color: var(--text-muted, #79838c);
}
.news-card-author {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.news-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black, #1e3230);
  margin-bottom: 8px;
  line-height: 1.3;
}
.news-card-excerpt {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.news-read-more {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: gap 0.15s;
}
.news-read-more:hover { gap: 9px; color: var(--navy); }
.news-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.news-tag {
  font-size: 0.68rem;
  background: var(--gray-light, #f3f6f5);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 20px;
}

/* Section tabs for Insights */
.insights-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.itab {
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  color: var(--text-muted);
  font-family: inherit;
  transition: all 0.15s;
}
.itab:hover { color: var(--teal); }
.itab.active { color: var(--teal-deeper); border-bottom-color: var(--teal); }

/* Empty state */
.news-empty {
  text-align: center;
  padding: 56px 24px;
  color: var(--text-muted);
}
.news-empty-icon { font-size: 3rem; margin-bottom: 14px; }
.news-empty h3 { font-size: 1rem; color: var(--text); margin-bottom: 8px; }

@media (max-width: 640px) {
  .news-card { flex-direction: column; }
  .news-card-photo { width: 100%; height: 160px; }
  .news-card-body { padding: 16px; }
}
