.news-container {
  max-width: 1200px;
  margin: 110px auto 5rem;
  padding: 0 2rem;
}

.section-header h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

/* Admin Panel Styling */
.admin-panel {
  background: #ffffff;
  border: 2px solid var(--primary-blue);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 24px rgba(0, 153, 255, 0.12);
}

.admin-panel h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text-dark);
}

.admin-badge {
  display: inline-block;
  background: var(--accent-light-blue);
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.admin-form select, .admin-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* News Grid Cards */
.news-grid {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.news-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.news-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.news-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.category-tag {
  background: var(--accent-light-blue);
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-card h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.news-card p {
  color: var(--text-muted);
  line-height: 1.7;
  white-space: pre-line;
}

/* Delete button for admin */
.btn-delete-news {
  margin-top: 1.5rem;
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fca5a5;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-delete-news:hover {
  background: #ef4444;
  color: #ffffff;
}

.loading-text {
  color: var(--text-muted);
  font-style: italic;
}