.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000, so text should be light */
  background-color: #000; /* Ensure main content area matches body background */
}

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

.page-news__banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 0; /* shared already handles body padding-top */
  margin-top: 0;
  background: linear-gradient(135deg, #4A148C, #FFD700);
}

.page-news__banner-container {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Max width for the banner content */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.page-news__banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-news__banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 80%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 8px;
}

.page-news__banner-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-news__banner-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 0;
}

.page-news__section-title {
  font-size: 2.2em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  position: relative;
}

.page-news__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #4A148C; /* Purple underline */
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-news__article-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

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

.page-news__article-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-news__article-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-news__article-card:hover .page-news__article-image-wrapper img {
  transform: scale(1.05);
}

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

.page-news__article-title {
  font-size: 1.4em;
  color: #FFD700; /* Gold for article titles */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__article-excerpt {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__read-more {
  color: #4A148C; /* Purple for read more link */
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

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

.page-news__read-more span {
  margin-left: 5px;
}

.page-news__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.page-news__pagination-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFD700;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: bold;
}

.page-news__pagination-item:hover {
  background-color: #4A148C;
  color: #ffffff;
}

.page-news__pagination-item--active {
  background-color: #4A148C;
  color: #ffffff;
}

.page-news__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #4A148C; /* Main brand color for CTA background */
  color: #ffffff;
  margin-top: 60px;
}

.page-news__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-news__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700; /* Gold for CTA button */
  color: #000000; /* Black text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__cta-button:hover {
  background-color: #e0b000; /* Darker gold on hover */
  transform: translateY(-3px);
}

.page-news__faq-section {
  padding: 80px 20px;
  background-color: #0d0d0d; /* Slightly lighter dark background for FAQ */
  color: #ffffff;
}

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

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

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #cccccc;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 5px 5px;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-news__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-news__faq-item.active .page-news__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to X or rotate */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-news__banner-title {
    font-size: 2.2em;
  }

  .page-news__banner-description {
    font-size: 1em;
  }

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

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

  .page-news__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-news__container {
    padding: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__banner-content {
    max-width: 90%;
  }

  .page-news__banner-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .page-news__banner-description {
    font-size: 0.9em;
  }

  .page-news__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }

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

  .page-news__article-image-wrapper {
    height: 180px;
  }

  .page-news__article-title {
    font-size: 1.1em;
  }

  .page-news__article-excerpt {
    font-size: 0.85em;
  }

  .page-news__pagination {
    gap: 8px;
  }

  .page-news__pagination-item {
    width: 35px;
    height: 35px;
    font-size: 0.9em;
  }

  .page-news__cta-section {
    padding: 60px 15px;
    margin-top: 40px;
  }

  .page-news__cta-title {
    font-size: 1.8em;
  }

  .page-news__cta-description {
    font-size: 1em;
  }

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

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

  .page-news__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-news__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-news__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

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

  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px !important;
  }

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

  .page-news__banner-image {
    height: 250px; /* Adjust banner height for mobile */
  }

  .page-news__articles-section,
  .page-news__cta-section,
  .page-news__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__article-card, .page-news__article-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }
}