.news-header {
  text-align: center;
  margin: 2rem 0 3rem;
}
.news-header h1 {
  font-family: 'HTCD', var(--font-main);
  font-size: 3rem;
  background: linear-gradient(135deg, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.news-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  align-items: flex-end;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.filter-group label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-left: 0.5rem;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.category-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.4rem 1rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
}
.category-btn:hover,
.category-btn.active {
  background: rgba(255,255,255,0.15);
  color: var(--text-primary);
  border-color: var(--text-primary);
}
.search-input {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.4rem 1rem;
  color: var(--text-primary);
  font-size: 0.85rem;
  width: 200px;
}
.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.news-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-amount));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--text-primary);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}
.news-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.news-card-content {
  padding: 1.2rem;
}
.news-category {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.category-update { background: #4ea8de; color: #000; }
.category-rumor { background: #ffaa55; color: #000; }
.category-news { background: #14af14; color: #000; }
.category-leak { background: #ff6b6b; color: #000; }
.category-other { background: #9b59b6; color: #fff; }
.news-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.news-date {
  color: var(--text-tertiary);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.news-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 0.8rem;
}
.news-source {
  font-size: 0.7rem;
  color: var(--text-tertiary);
}
.read-more {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.2rem 0.8rem;
  border-radius: 40px;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.read-more:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.detail-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 24px;
}
.article-header {
  text-align: center;
  margin-bottom: 2rem;
}
.article-category {
  display: inline-block;
  padding: 0.2rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.article-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: 'HTR', var(--font-main);
}
.article-meta {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.article-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}
.article-content {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}
.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--accent-primary);
  text-decoration: none;
}
.back-link:hover {
  text-decoration: underline;
}
.loading, .no-posts {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}
@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-input {
    width: 100%;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .article-title {
    font-size: 1.5rem;
  }
}
/* Estilos para os blocos de conteúdo */
.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 {
  color: var(--text-primary);
  margin: 1.5rem 0 0.8rem;
  font-family: 'HTCD', var(--font-main);
}
.article-content h1 { font-size: 2rem; }
.article-content h2 { font-size: 1.6rem; border-left: 3px solid var(--accent-primary); padding-left: 0.8rem; }
.article-content h3 { font-size: 1.3rem; }
.article-content h4 { font-size: 1.1rem; }
.article-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.article-content ul, .article-content ol {
  margin: 0.8rem 0 1rem 1.5rem;
}
.article-content li {
  margin-bottom: 0.3rem;
}
.article-content blockquote {
  background: rgba(255,255,255,0.05);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  margin: 1rem 0;
  font-style: italic;
  border-left: 3px solid var(--accent-primary);
}
.image-wrapper {
  margin: 1rem 0;
  text-align: center;
}
.image-wrapper img {
  max-width: 100%;
  border-radius: 12px;
}
.floating-img-left {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
  max-width: 40%;
}
.floating-img-right {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  max-width: 40%;
}
.image-caption {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 0.3rem;
}
.image-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.image-grid img {
  flex: 1;
  min-width: 150px;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .floating-img-left, .floating-img-right {
    float: none;
    max-width: 100%;
    margin: 1rem 0;
  }
}