@import url("../styles.css");

.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
  scroll-margin-top: 70px;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}

.page-hero__content {
  position: relative;
  max-width: 640px;
}

.page-section {
  padding: 90px 0;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.news-filter {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  cursor: pointer;
}

.news-filter.active {
  background: linear-gradient(135deg, #ff4f87, #ffd166);
  color: #111827;
  border-color: transparent;
}

.news-card {
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.news-media-img {
  transition: transform 0.3s ease;
}

.news-card:hover .news-media-img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 280px;
    padding: 70px 0 40px;
  }
}
