Toggle menu
83
56
34
2.9K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
/* News Card Base Styles */
.news-card {
  background: #fff;
  border-radius: 12px;
  border-left: 4px solid #d2ddce;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  margin: 0 0 16px 0;
  overflow: hidden;
  transition: all 0.2s ease;
}

.news-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Category-specific left border colors */
.news-card--Policy {
  border-left-color: #5b7a45;
}

.news-card--Enforcement {
  border-left-color: #c75b3c;
}

.news-card--Fieldwork {
  border-left-color: #4a7c9d;
}

.news-card--Research {
  border-left-color: #7a6c3a;
}

.news-card--Community {
  border-left-color: #6a5b86;
}

/* Header Section */
.news-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: linear-gradient(to bottom, #fafbf9, #f5f7f4);
  border-bottom: 1px solid #e8ede5;
}

.news-card__date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #7a8472;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card__badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.news-card__campaign-badge {
  padding: 4px 10px;
  background: #f0f5ed;
  border: 1px solid #d2ddce;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #5b7a45;
  font-weight: 500;
}

.news-card__category-badge {
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.news-card__category-badge--Policy {
  background: linear-gradient(135deg, #5b7a45, #6d8f55);
}

.news-card__category-badge--Enforcement {
  background: linear-gradient(135deg, #c75b3c, #d97152);
}

.news-card__category-badge--Fieldwork {
  background: linear-gradient(135deg, #4a7c9d, #5a91b5);
}

.news-card__category-badge--Research {
  background: linear-gradient(135deg, #7a6c3a, #8f8148);
}

.news-card__category-badge--Community {
  background: linear-gradient(135deg, #6a5b86, #7d6d9a);
}

/* Location */
.news-card__location {
  padding: 10px 18px 0;
  font-size: 0.85rem;
  color: #7a8472;
  font-style: italic;
  line-height: 1.4;
}

/* Title */
.news-card__title {
  padding: 8px 18px 10px;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1a2612;
}

/* Summary */
.news-card__summary {
  padding: 0 18px 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #34402d;
}

/* Enforcement Section */
.news-card__enforcement {
  padding: 10px 18px;
  background: #fafbf9;
  border-top: 1px solid #e8ede5;
  border-bottom: 1px solid #e8ede5;
}

.news-card__enforcement-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #7a8472;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.news-card__enforcement-value {
  font-size: 0.88rem;
  color: #34402d;
  line-height: 1.5;
}

/* Metrics Section */
.news-card__metrics {
  display: flex;
  gap: 16px;
  padding: 10px 18px;
  background: #f5f7f4;
  border-top: 1px solid #e8ede5;
  border-bottom: 1px solid #e8ede5;
  flex-wrap: wrap;
}

.news-card__metric {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card__metric-icon {
  font-size: 1rem;
  line-height: 1;
}

.news-card__metric-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #34402d;
}

/* Source */
.news-card__source {
  padding: 12px 18px;
  background: #fafbf9;
  font-size: 0.78rem;
  color: #7a8472;
}

.news-card__source-label {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .news-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .news-card__metrics {
    flex-direction: column;
    gap: 8px;
  }
}