
/* Magazín Styles */
.magazin-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.magazin-header .section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.magazin-header .section-subtitle {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}

/* Categories Filter */
.categories-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-btn:hover {
  background: rgba(30, 41, 59, 0.8);
  color: #f8fafc;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #f8fafc;
  color: #0f172a;
  border-color: #f8fafc;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-category {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.article-date {
  color: #94a3b8;
  font-size: 0.875rem;
}

.article-card .article-title {
  margin-bottom: 1rem;
  flex-grow: 1;
}

.article-card .article-title a {
  color: #f8fafc;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.article-card .article-title a:hover {
  color: #94a3b8;
}

.article-excerpt {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.article-author i {
  color: #64748b;
}

.read-more {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.read-more:hover {
  color: #94a3b8;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .magazin-header .section-title {
    font-size: 2.5rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .article-card {
    padding: 1.5rem;
  }
  
  .categories-filter {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .article-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .magazin-header {
    padding: 1rem 0;
    margin-bottom: 2rem;
  }
  
  .magazin-header .section-title {
    font-size: 2rem;
  }
  
  .article-card .article-title a {
    font-size: 1.25rem;
  }
}
