/* ===== NEWS & UPDATES PAGE ===== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero */
#news-hero {
  min-height: 45vh;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  padding: 8rem 0 3rem;
  position: relative;
}
.news-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(207,159,74,0.08), transparent 70%);
  pointer-events: none;
}
.news-hero-headline {
  font-family: var(--font-serif), serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.2;
  margin: 1rem 0;
}
.news-hero-headline em {
  font-style: italic;
  color: var(--amber-glow);
}
.news-hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
}

/* Filters */
#news-filters {
  padding: 2rem 0;
  background: var(--bg-forest);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.5rem 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(207,159,74,0.05);
}

/* Posts grid */
#news-posts {
  padding: 4rem 0;
  background: var(--bg-deep);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.post-card {
  background: rgba(13,31,19,0.6);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: all 0.3s;
  cursor: pointer;
}
.post-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
}
.post-card .post-category {
  display: inline-block;
  background: rgba(207,159,74,0.15);
  padding: 0.2rem 0.8rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

/* Add to news.css */
.post-featured-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .post-featured-image {
    height: 150px;
  }
}
.post-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.post-card .post-meta {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.post-card .post-excerpt {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.post-card .read-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--amber);
  font-size: 0.8rem;
  text-decoration: none;
}
.load-more {
  text-align: center;
  margin-top: 3rem;
}
.skeleton {
  min-height: 250px;
  background: rgba(255,255,255,0.05);
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { opacity: 0.4; }
}

/* Notice section */
.alt-bg {
  background: var(--bg-canopy);
}
#news-notice {
  padding: 4rem 0;
}
.notice-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: rgba(0,0,0,0.3);
  border-left: 4px solid var(--amber);
  padding: 2rem;
}
.notice-card i {
  font-size: 2rem;
  color: var(--amber);
  margin-bottom: 1rem;
}
.notice-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.notice-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.notice-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    padding: 0 1.5rem;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    gap: 0.5rem;
  }
  .filter-btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.65rem;
  }
  .modal-content {
    margin: 10% 1rem;
    padding: 1.5rem;
  }
}