/* News Page Styles */
.news-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 100px 40px 60px;
}

.news-header {
  text-align: center;
  margin-bottom: 60px;
}

.news-header h1 {
  font-family: "Space Colony", "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #dc5310;
  margin-bottom: 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.news-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

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

.news-card-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-card-image img {
  transform: scale(1.08);
}

.news-card-content {
  padding: 30px;
}

.news-card-date {
  font-family: "Space Colony", sans-serif;
  font-size: 13px;
  color: #dc5310;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.news-card-title {
  font-family: "Space Colony", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #0c0c0c;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-subtitle {
  font-family: "Space Colony", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  gap: 25px;
}

.pagination-btn {
  font-family: "Space Colony", sans-serif;
  width: 50px;
  height: 50px;
  border: 2px solid #dc5310;
  background: transparent;
  color: #dc5310;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  background: #dc5310;
  color: #ffffff;
  transform: translateY(-2px);
}

.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.pagination-info {
  font-family: "Space Colony", sans-serif;
  font-size: 16px;
  color: #dc5310;
  font-weight: 500;
  min-width: 100px;
  text-align: center;
}

/* Responsive Breakpoints */
@media screen and (min-width: 1400px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .news-card-content {
    padding: 35px;
  }
}

@media screen and (max-width: 1024px) {
  .news-container {
    padding: 80px 30px 50px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .news-header h1 {
    font-size: 38px;
  }
}

@media screen and (max-width: 768px) {
  .news-container {
    padding: 70px 20px 40px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .news-header h1 {
    font-size: 32px;
  }

  .news-card-image {
    height: 240px;
  }

  .news-card-content {
    padding: 25px;
  }

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

@media screen and (max-width: 480px) {
  .news-container {
    padding: 60px 15px 30px;
  }

  .news-header h1 {
    font-size: 28px;
  }

  .news-card-image {
    height: 200px;
  }

  .news-card-content {
    padding: 20px;
  }

  .news-card-title {
    font-size: 18px;
  }

  .news-card-subtitle {
    font-size: 14px;
  }

  .pagination-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .pagination-info {
    font-size: 14px;
    min-width: 80px;
  }

  .pagination-container {
    gap: 15px;
    margin-top: 40px;
  }
}
