.page-news {
  background-color: #140C0C;
  color: #FFF1E8;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for the first section */
  padding-bottom: 40px;
}

.page-news__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16/5; /* 1920x600 ratio */
}

.page-news__hero-content {
  text-align: center;
  padding: 20px 15px;
  max-width: 900px;
  margin-top: 20px;
}

.page-news__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-news__description {
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF1E8;
}

.page-news__cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news__news-list-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-news__section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #F3C54D;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-news__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E53030;
  border-radius: 2px;
}

.page-news__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-news__news-card {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-news__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-news__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__card-title a {
  color: #F3C54D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #FFB04A;
}

.page-news__card-meta {
  font-size: 0.9rem;
  color: #E53030;
  margin-bottom: 15px;
}

.page-news__card-excerpt {
  font-size: 1rem;
  color: #FFF1E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  align-self: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__read-more-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.page-news__pagination-link {
  display: block;
  padding: 10px 15px;
  border: 1px solid #6A1E1E;
  border-radius: 6px;
  color: #FFF1E8;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-news__pagination-link:hover {
  background-color: #E53030;
  border-color: #E53030;
}

.page-news__pagination-link--active {
  background-color: #C61F1F;
  border-color: #C61F1F;
  font-weight: bold;
}

.page-news__pagination-link--next {
  background-color: #2A1212;
}

.page-news__pagination-link--next:hover {
  background-color: #E53030;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-news__hero-image {
    aspect-ratio: 16/7; /* Adjust ratio for smaller screens */
  }
  .page-news__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-news__description {
    font-size: 1rem;
  }
  .page-news__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-news__card-title {
    font-size: 1.2rem;
  }
  .page-news__card-excerpt {
    font-size: 0.95rem;
  }
}

@media (max-width: 549px) {
  .page-news__hero-content {
    padding: 15px 10px;
  }
  .page-news__main-title {
    font-size: clamp(1.3rem, 7vw, 2.2rem);
  }
  .page-news__description {
    font-size: 0.9rem;
  }
  .page-news__cta-button {
    padding: 10px 25px;
    font-size: 1rem;
  }
  .page-news__news-list-section {
    padding: 15px;
  }
  .page-news__section-title {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }
  .page-news__news-grid {
    gap: 20px;
  }
  .page-news__card-image {
    height: 180px;
  }
  .page-news__card-title {
    font-size: 1.1rem;
  }
  .page-news__card-meta {
    font-size: 0.85rem;
  }
  .page-news__card-excerpt {
    font-size: 0.9rem;
  }
  .page-news__read-more-button {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  .page-news__pagination-link {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  .page-news img {
    max-width: 100%;
    height: auto;
  }
}