:root {
  --primary: #3A86FF;
  --secondary: #f0f0f0;
  --accent: #ff4d4d;
  --bg: #F5F7FA;
  --text: #333;
  --text-light: #777;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
.page-header {
  margin: 0 0 3rem;
  position: relative;
  padding: 20px 140px;
}

.page-header h1 {
  font-family: 'Neue Machina', sans-serif;
  font-size: clamp(1.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.page-header h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgb(117, 140, 154);
}

.page-header p {
  max-width: 600px;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Filter Controls */
.filter-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  color: #333;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background: white;
  border: 1px solid #eee;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: var(--secondary);
}

.filter-btn.active {
  background-color: rgb(233, 237, 241);
  color: rgb(11, 53, 110);
  border-color: rgb(106, 106, 106);
}

/* News Grid */


.container-news {
  background-color: #F5F7FA;
  max-width: 1200px;
  padding-top: 30px;
  padding-bottom: 30px;
  margin: 130px auto 0px;
  justify-content: center;
  justify-items: center;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.175) 0px 0px 30px 10px;
}

.news-section h2 {
  font-family: 'Neue Machina', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 50px;
  text-align: center;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  align-items: center;
  justify-content: center;
  margin: 0px auto 0px;
}

.news-page-container {
  margin-top: 0;
  background: linear-gradient(to right, white, rgb(222, 242, 255));
  margin-bottom: 0;
  height: 100%;
}

@media (max-width:576px) {
  .page-header {
    padding: 20px 20px;
  }
}