.page-news {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for visual separation */
  background-color: #017439; /* Brand color for hero section background */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

.page-news__hero-content {
  z-index: 1; /* Ensure content is above any subtle background elements */
  max-width: 800px;
  width: 100%;
}

.page-news__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFF00; /* Register/Login font color for main title */
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size */
}

.page-news__hero-description {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 30px;
}

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

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

.page-news__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-news__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-news__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-news__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-news__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #FFFF00; /* Use yellow for titles against dark background */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  line-height: 1.3;
}

.page-news__section-title--centered {
  text-align: center;
}

.page-news__latest-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  padding: 60px 0;
  box-sizing: border-box;
}

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

.page-news__news-card,
.page-news__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-news__news-card:hover,
.page-news__promo-card:hover {
  transform: translateY(-5px);
}

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

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

.page-news__card-meta {
  font-size: 0.9rem;
  color: #b0b0b0;
  margin-bottom: 10px;
}

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

.page-news__card-title a {
  color: #FFFF00; /* Yellow for card titles for readability */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #017439; /* Brand color on hover */
  text-decoration: underline;
}

.page-news__card-excerpt {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-block;
  color: #017439; /* Brand color for read more links */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-news__read-more:hover {
  color: #FFFF00;
  text-decoration: underline;
}

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

.page-news__promotions-section {
  background-color: #017439; /* Brand color background */
  padding: 60px 0;
  box-sizing: border-box;
}

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

.page-news__insights-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  padding: 60px 0;
  box-sizing: border-box;
}

.page-news__insights-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-news__insights-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-news__insights-text {
  flex: 1;
  min-width: 300px;
  color: #e0e0e0;
}

.page-news__insights-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #FFFF00;
  margin-bottom: 20px;
}

.page-news__insights-text p {
  margin-bottom: 15px;
}

.page-news__faq-section {
  background-color: #0d0d0d; /* Darker background for FAQ */
  padding: 60px 0;
  box-sizing: border-box;
}

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

.page-news__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-news__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #FFFF00; /* Yellow for FAQ questions */
  position: relative;
}

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

.page-news__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X */
}

.page-news__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #e0e0e0;
}

.page-news__cta-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  padding: 60px 0;
  box-sizing: border-box;
  text-align: center;
}

.page-news__cta-text {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-news__hero-section {
    padding: 40px 15px;
  }

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

  .page-news__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

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

  .page-news__insights-content {
    flex-direction: column;
    text-align: center;
  }

  .page-news__insights-image {
    max-width: 100%;
  }

  .page-news__insights-text {
    min-width: unset;
  }
}

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

  .page-news__hero-section,
  .page-news__latest-section,
  .page-news__promotions-section,
  .page-news__insights-section,
  .page-news__faq-section,
  .page-news__cta-section {
    padding: 40px 0;
  }

  .page-news__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
    margin-top: 40px;
  }

  .page-news__hero-image,
  .page-news__card-image,
  .page-news__insights-image,
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news__hero-image-wrapper,
  .page-news__news-card,
  .page-news__promo-card,
  .page-news__insights-content,
  .page-news__faq-item,
  .page-news__cta-buttons,
  .page-news__news-grid,
  .page-news__promotions-grid,
  .page-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-news__card-title {
    font-size: 1.15rem;
  }

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

  .page-news__faq-answer {
    padding: 0 20px 15px;
  }
}