.page-news {
  font-family: Arial, sans-serif;
  color: #FFF5E1; /* Default text color for the page, assuming dark body background */
  background-color: var(--bg-color); /* Inherit from shared.css */
}

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

.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  position: relative;
}

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

.page-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 20px;
  padding: 0 20px;
}

.page-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFF5E1;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__lead-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news__cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
  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 6px 20px rgba(255, 216, 106, 0.6);
}

.page-news__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F4D34D;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-news__section-description {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

.page-news__article-card {
  background-color: #D32F2F; /* Card BG */
  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;
  display: flex;
  flex-direction: column;
  color: #FFF5E1;
}

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

.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: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

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

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

.page-news__article-summary {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more-link {
  display: inline-block;
  color: #F4D34D;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
  color: #FFD86A;
}

.page-news__view-all-button-wrapper {
  text-align: center;
}

.page-news__view-all-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #E53935;
  color: #FFF5E1;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__view-all-button:hover {
  background-color: #C91F17;
}

.page-news__featured-news {
  background-color: #B71C1C; /* Background color */
  padding: 60px 0;
}

.page-news__featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.page-news__featured-main {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #FFF5E1;
}

.page-news__featured-image {
  width: 100%;
  height: auto;
  max-height: 337px; /* Maintain aspect ratio */
  object-fit: cover;
  display: block;
}

.page-news__featured-content {
  padding: 25px;
  flex-grow: 1;
}

.page-news__featured-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-news__featured-title a:hover {
  color: #F4D34D;
}

.page-news__featured-meta {
  font-size: 0.95rem;
  color: #FFCC66;
  margin-bottom: 20px;
}

.page-news__featured-summary {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-news__featured-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-news__sidebar-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
}

.page-news__sidebar-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-news__sidebar-title a:hover {
  color: #F4D34D;
}

.page-news__sidebar-meta {
  font-size: 0.85rem;
  color: #FFCC66;
  margin-bottom: 10px;
}

.page-news__sidebar-summary {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.page-news__faq-section {
  padding: 60px 0;
}

.page-news__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-news__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #FFF5E1;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: #FFF5E1;
  background-color: #C91F17;
  border-bottom: 1px solid #E53935;
  list-style: none; /* For details/summary */
}

.page-news__faq-question::-webkit-details-marker {
  display: none;
}

.page-news__faq-qtext {
  flex-grow: 1;
}

.page-news__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-news__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-news__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
}

.page-news__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-news__cta-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F4D34D;
}

.page-news__cta-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
  border: 2px solid transparent;
}

.page-news__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-news__btn-secondary {
  background-color: transparent;
  color: #F4D34D;
  border: 2px solid #F4D34D;
  box-shadow: 0 4px 15px rgba(244, 211, 77, 0.2);
}

.page-news__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: #F4D34D;
  color: #7A0E0E;
  box-shadow: 0 6px 20px rgba(244, 211, 77, 0.4);
}

/* General image responsiveness */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contrast fixes */
.page-news__dark-section {
  background: #C91F17;
  color: #ffffff;
}

.page-news__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-news__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-news__section-title {
    font-size: 2rem;
  }

  .page-news__cta-title {
    font-size: 2.2rem;
  }

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

  .page-news__featured-image {
    max-height: 450px;
  }
}

@media (max-width: 768px) {
  .page-news {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-news__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-news__hero-content {
    margin-top: 10px;
    padding: 0 15px;
  }

  .page-news__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-news__lead-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-news__cta-button {
    padding: 10px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-news__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-news__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__article-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .page-news__article-title {
    font-size: 1.2rem;
  }

  .page-news__view-all-button {
    padding: 8px 20px;
    font-size: 0.95rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news__featured-news {
    padding: 40px 0;
  }

  .page-news__featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__featured-main {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .page-news__featured-title {
    font-size: 1.5rem;
  }

  .page-news__sidebar-card {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
  }

  .page-news__sidebar-title {
    font-size: 1.1rem;
  }

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

  .page-news__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-news__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .page-news__cta-section {
    padding: 50px 0;
  }

  .page-news__cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-news__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news a[class*="button"],
  .page-news a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}