.page-news {
  padding-top: 10px;
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
}

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

.page-news__hero-image-wrapper {
  width: 100%;
  margin-bottom: 20px;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-news__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF3E6;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

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

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

.page-news__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-news__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFA53A 0%, #D96800 100%);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

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

.page-news__article-card {
  background-color: #17191F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
}

.page-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 176, 77, 0.2);
}

.page-news__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency, will be adjusted by object-fit */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #A84F0C;
}

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

.page-news__article-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

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

.page-news__article-date {
  font-size: 0.9em;
  color: #FFA53A;
  margin-bottom: 15px;
  display: block;
}

.page-news__article-excerpt {
  font-size: 1em;
  line-height: 1.5;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-news__read-more-button {
  display: inline-block;
  padding: 8px 15px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-news__read-more-button:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

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

.page-news__view-all-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 2.5em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__article-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-news__main-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
  }
  .page-news__description {
    font-size: 1em;
  }
  .page-news__cta-button {
    padding: 10px 20px;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-news__article-card {
    margin-bottom: 20px;
  }
  .page-news__article-image {
    height: 200px; /* Adjust height for smaller screens */
  }
  .page-news__article-card img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-news__hero-section,
  .page-news__articles-section {
    padding: 0 15px;
  }
  .page-news__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-news__article-title {
    font-size: 1.2em;
  }
  .page-news__article-content {
    padding: 15px;
  }
  .page-news__read-more-button,
  .page-news__view-all-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}