@keyframes stnf-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.stnf-news-feed,
.stnf-news-feed * {
  box-sizing: border-box;
}

.stnf-news-feed {
  font-family: "Quicksand", sans-serif;
}

.stnf-pulse-text {
  animation: stnf-pulse 1.5s infinite;
}

.stnf-initial-loading {
  margin-top: 2rem;
  text-align: center;
}

.stnf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stnf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 1rem 1rem;
  color: #333;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.2s ease;
}

.stnf-card.stnf-is-visible {
  opacity: 1;
}

.stnf-card:hover {
  transform: scale(1.02);
}

.stnf-card h3,
.stnf-card h4,
.stnf-card h5,
.stnf-card h6 {
  margin: 0;
}

.stnf-card h5 a {
  color: #2c3e50;
  text-decoration: none;
}

.stnf-card h5 a:hover,
.stnf-card h5 a:focus-visible {
  text-decoration: underline;
}

.stnf-tag-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.stnf-tag {
  position: static;
  padding: 0.25rem 0.5rem;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
}

.stnf-tag h5 {
  color: #fff !important;
}

.stnf-separator,
.stnf-score-emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.stnf-separator {
  color: #333;
}

.stnf-meta {
  color: #666;
  font-size: 0.95rem;
}

.stnf-event-details {
  color: #333;
  font-size: 0.95rem;
  font-weight: 700;
}

.stnf-category-wrapper {
  margin-bottom: 1rem;
}

.stnf-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stnf-filter-label,
.stnf-category-filter {
  font-family: "Quicksand", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.stnf-filter-label {
  margin: 0;
}

.stnf-category-filter {
  padding: 0.25rem;
  font-size: 1.1rem;
}

.stnf-load-area {
  display: flex;
  min-height: 1px;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  text-align: center;
}

.stnf-loading-spinner:not([hidden]) {
  display: block;
  padding: 2rem 0;
}

.stnf-loading-spinner h3 {
  margin: 0;
  color: #666;
  font-size: 1.25rem;
  font-style: italic;
}

.stnf-message {
  margin: 1rem 0;
  color: #666;
  text-align: center;
}

.stnf-error {
  color: #b32d2e;
}

@media (prefers-reduced-motion: reduce) {
  .stnf-pulse-text { animation: none; }
  .stnf-card { transition: none; }
}
