/* Trends page specific styles */

/* Hero */
.trends-hero { display:grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-6); align-items: center; }
.trends-hero__content { display: grid; gap: var(--space-4); }
.trends-hero__cta { margin-top: var(--space-2); }
.trends-hero__media { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-lg); }
.trend-tags { display:flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Trend cards */
.trend-card h3 { margin: 0; }
.trend-card__head { margin-bottom: var(--space-3);    flex-wrap: wrap; }

/* Predictions */
.prediction-list { margin: 0; }
.prediction { background: var(--color-surface); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-xs); }
.prediction__head h3 { margin: 0; }
.meter { position: relative; height: 10px; background: var(--gray-200); border-radius: var(--radius-full); overflow: hidden; margin: 8px 0 12px; }
.meter__bar { display:block; width: var(--w, 50%); height: 100%; background: linear-gradient(90deg, var(--color-primary), var(--color-primary-600)); border-radius: var(--radius-full); }

/* Timeline */
.timeline { counter-reset: step; padding-left: 0; }
.timeline > li { position: relative; list-style: none; padding-left: 28px; margin-bottom: var(--space-4); }
.timeline > li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: var(--radius-full); background: var(--color-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-sm); box-shadow: var(--shadow-sm); }

/* Forms */
#discussion-form .grid-2 { gap: var(--space-4); }
#discussion-form label { display:block; margin-bottom: 6px; font-weight: 600; }
#discussion-form a { text-decoration: underline; text-underline-offset: 2px; }

/* Global figure */
#global-trends figure.card { padding: 0; overflow: hidden; }
#global-trends figcaption { padding: var(--space-4); }

/* Responsive */
@media (max-width: 960px) {
  .trends-hero { grid-template-columns: 1fr; }
}
