/* General styles for the news page */
.page-news {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background: #0D0E12; /* Background color from custom palette */
  line-height: 1.6;
}

.page-news__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-news__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FF8C1A; /* Main brand color */
}

.page-news__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

/* Hero Section */
.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%); /* Card BG to Background */
}

.page-news__hero-content {
  max-width: 900px;
  padding: 0 15px;
  margin-bottom: 30px;
}

.page-news__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Use clamp for H1 font-size */
  font-weight: 800;
  color: #FF8C1A;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-news__description {
  font-size: 20px;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-news__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-news__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 10px;
}

.page-news__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Latest News Section */
.page-news__latest-news-section {
  background: #17191F; /* Card BG */
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-news__news-card {
  background: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  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 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-news__news-card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
  flex-grow: 1;
}

.page-news__news-card-title a {
  color: #FF8C1A; /* Main brand color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__news-card-title a:hover {
  color: #FFA53A; /* Auxiliary brand color */
}

.page-news__news-card-meta {
  font-size: 14px;
  color: rgba(255, 243, 230, 0.7); /* Lighter version of Text Main */
  margin-bottom: 15px;
}

.page-news__news-card-excerpt {
  font-size: 16px;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-news__read-more-button {
  display: inline-block;
  color: #FFA53A; /* Auxiliary brand color */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-news__read-more-button:hover {
  color: #FF8C1A; /* Main brand color */
}

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

.page-news__view-all-button {
  display: inline-block;
  background: #FF8C1A; /* Main brand color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
}