.page-news {
  background-color: var(--background-color, #B71C1C); /* Use custom background if not overridden by shared */
  color: #FFF5E1; /* Text Main color for overall page content */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stacks image above content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  overflow: hidden; /* Ensure no overflow */
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-news__hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-news__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.1rem;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
}

/* CTA Button */
.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom Button color */
  color: #7A0E0E; /* Deep Red for text on gold button for contrast */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-news__cta-button--secondary {
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    border: 1px solid #F2B544; /* Border color */
}

.page-news__cta-button--secondary:hover {
    background: #C91F17; /* Main color */
}


/* Articles Section */
.page-news__articles-section {
  padding: 60px 20px;
  background-color: #B71C1C; /* Background color */
  box-sizing: border-box;
}

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

.page-news__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #FFF5E1; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
}

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

.page-news__article-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-news__article-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-news__article-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__article-date {
  font-size: 0.9rem;
  color: #F2B544; /* Border color for dates */
  margin-bottom: 15px;
  display: block;
}

.page-news__article-excerpt {
  font-size: 1rem;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1; /* Allows excerpt to take available space */
}

.page-news__read-more {
  display: inline-block;
  color: #FFD86A; /* Gold color for read more link */
  font-weight: bold;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #F4D34D; /* Gold hover */
}

.page-news__view-all-wrapper {
    text-align: center;
    padding-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-news__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-news__article-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 10px 15px 40px;
  }
  .page-news__hero-content {
    padding: 0 15px;
  }
  .page-news__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-news__hero-description {
    font-size: 1rem;
  }
  .page-news__articles-section {
    padding: 40px 15px;
  }
  .page-news__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-news__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 30px;
  }
  .page-news__articles-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
  .page-news__article-image {
    height: 180px;
  }
  .page-news__article-title {
    font-size: 1.2rem;
  }
  .page-news__article-excerpt {
    font-size: 0.95rem;
  }

  /* Force responsive for images */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__hero-image-wrapper,
  .page-news__article-card,
  .page-news__articles-grid,
  .page-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-news__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-news__view-all-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}