.page-news {
  background-color: #140C0C;
  color: #FFF1E8;
  padding-top: 10px; /* Small top padding for the first section */
}

.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.page-news__hero-image-wrapper {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.page-news__hero-content {
  width: 100%;
  max-width: 800px;
}

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

.page-news__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-news__section-title {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  font-weight: 600;
  color: #F3C54D;
  text-align: center;
  margin: 60px auto 40px auto;
  max-width: 900px;
  position: relative;
}

.page-news__section-title::before, .page-news__section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background-color: #6A1E1E;
  transform: translateY(-50%);
}

.page-news__section-title::before {
  left: 0;
  margin-left: calc(50% - 200px);
}

.page-news__section-title::after {
  right: 0;
  margin-right: calc(50% - 200px);
}

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

.page-news__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news__article-card {
  background-color: #2A1212;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E;
}

.page-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-news__article-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: none;
}

.page-news__card-content {
  padding: 20px;
}

.page-news__article-date {
  font-size: 0.9em;
  color: #E53030;
  margin-bottom: 10px;
}

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

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

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

.page-news__article-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF1E8;
  margin-bottom: 20px;
}

.page-news__read-more-btn {
  display: inline-block;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.page-news__read-more-btn:hover {
  opacity: 0.9;
}

.page-news__view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-news__view-all-btn {
  display: inline-block;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(243, 197, 77, 0.4);
}

.page-news__cta-section {
  background-color: #2A1212;
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #6A1E1E;
}

.page-news__cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 20px auto 40px auto;
  color: #FFF1E8;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-news__cta-btn {
  display: inline-block;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  padding: 14px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 150px;
}

.page-news__cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(243, 197, 77, 0.4);
}

/* Responsive Styles */
@media (max-width: 849px) {
  .page-news__section-title::before,
  .page-news__section-title::after {
    width: 30px;
    margin-left: calc(50% - 150px);
    margin-right: calc(50% - 150px);
  }

  .page-news__article-grid {
    grid-template-columns: 1fr;
  }

  .page-news__article-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 15px;
  }

  .page-news__main-title {
    font-size: clamp(1.1rem, 4.5vw, 1.75rem);
  }

  .page-news__hero-description {
    font-size: 1rem;
  }

  .page-news__articles-section {
    padding: 0 15px 40px 15px;
  }

  .page-news__article-grid img, .page-news__hero-image {
    max-width: 100%;
    height: auto;
  }

  .page-news__section-title {
    margin: 40px auto 30px auto;
  }

  .page-news__section-title::before, .page-news__section-title::after {
    width: 20px;
    margin-left: calc(50% - 120px);
    margin-right: calc(50% - 120px);
  }

  .page-news__cta-section {
    padding: 40px 15px;
  }

  .page-news__cta-description {
    font-size: 1rem;
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-news__cta-btn {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 549px) {
  .page-news__section-title::before,
  .page-news__section-title::after {
    display: none; /* Hide decorative lines on very small screens */
  }
}