@font-face {
  font-family: 'Sk-Regular';
  src: url('../Fonts/Sk-Modernist-Regular.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Sk-Regular', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.news-section {
  max-width: 1200px;
  margin: 120px auto 0;
  padding: 20px;
}

.news-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.news-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.news-card {
  width: calc(33.333% - 20px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 15px;
}

.news-content h3 {
  font-size: 18px;
  margin: 0;
  color: #333;
}

.news-content p {
  font-size: 14px;
  color: #666;
  margin: 10px 0 0;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #007BFF;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* RESPONSIVE DESIGN */

/* Tablets (2 columnas) */
@media (max-width: 1024px) {
  .news-card {
    width: calc(50% - 20px);
  }
}

/* Móviles (1 columna) */
@media (max-width: 768px) {
  .news-grid {
    justify-content: center;
  }

  .news-card {
    width: 100%;
  }

  .news-title {
    font-size: 20px;
  }

  .news-content h3 {
    font-size: 16px;
  }

  .news-content p {
    font-size: 13px;
  }

  .read-more {
    font-size: 13px;
  }
}
