.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  padding-bottom: 60px; /* Add some padding at the bottom for overall page */
}

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

/* Hero Section */
.page-news__hero-section {
  background: linear-gradient(135deg, #007bff, #0056b3);
  padding: var(--header-offset, 120px) 0 80px; /* Assuming shared.css doesn't set body padding-top, otherwise this would be 0 */
  text-align: center;
  color: #ffffff;
}

.page-news__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.page-news__hero-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-news__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* General Section Styling */
.page-news__section-title {
  font-size: 2.2em;
  color: #ffc107; /* Highlight with accent color */
  text-align: center;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-news__section-subtitle {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Latest News Section */
.page-news__latest-news-section {
  padding: 80px 0;
  background-color: #1a202c; /* Slightly lighter dark background */
}

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

.page-news__news-card {
  background-color: #2d3748; /* Card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news__news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-news__news-card-image-wrapper {
  height: 200px;
  overflow: hidden;
}

.page-news__news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-news__news-card:hover .page-news__news-card-image {
  transform: scale(1.05);
}

.page-news__news-card-content {
  padding: 25px;
}

.page-news__news-card-title {
  font-size: 1.4em;
  color: #ffc107;
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: 600;
}

.page-news__news-card-excerpt {
  font-size: 0.95em;
  color: #cbd5e0;
  margin-bottom: 15px;
}

.page-news__news-card-date {
  font-size: 0.85em;
  color: #a0aec0;
  display: block;
}

/* Featured News Section */
.page-news__featured-news-section {
  padding: 80px 0;
  background-color: #0d1117;
}

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

.page-news__featured-card {
  display: flex;
  background-color: #2d3748;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news__featured-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  width: 100%;
}

.page-news__featured-card-image-wrapper {
  flex: 0 0 50%;
  max-height: 300px; /* Constrain height for desktop */
  overflow: hidden;
}

.page-news__featured-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-news__featured-card:hover .page-news__featured-card-image {
  transform: scale(1.05);
}

.page-news__featured-card-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-news__featured-card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-news__featured-card-excerpt {
  font-size: 1em;
  color: #cbd5e0;
  margin-bottom: 20px;
}

.page-news__featured-card-date {
  font-size: 0.9em;
  color: #a0aec0;
  display: block;
}

/* Call to Action Section */
.page-news__cta-section {
  background: linear-gradient(135deg, #0056b3, #007bff);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-news__cta-content {
  max-width: 800px;
}

.page-news__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 700;
}

.page-news__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

/* FAQ Section */
.page-news__faq-section {
  padding: 80px 0;
  background-color: #1a202c;
}

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

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

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

.page-news__faq-item.active .page-news__faq-question {
  background-color: #007bff; /* Active question background */
  border-bottom-color: transparent;
}

.page-news__faq-question:hover {
  background-color: #3a455a;
}

.page-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffc107; /* Question text color */
  pointer-events: none;
}

.page-news__faq-item.active .page-news__faq-question h3 {
  color: #ffffff;
}

.page-news__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1;
  color: #ffc107;
  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: 30px;
  height: 30px;
}

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

.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, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background-color: #232a35; /* Answer background */
  color: #cbd5e0; /* Answer text color */
  border-radius: 0 0 8px 8px;
}

.page-news__faq-answer p {
  margin-bottom: 0;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-news__btn-primary {
  background-color: #ffc107;
  color: #1a202c;
  border: 2px solid #ffc107;
}

.page-news__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

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

.page-news__btn-secondary:hover {
  background-color: #ffc107;
  color: #1a202c;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.4em;
  }

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

  .page-news__featured-card-image-wrapper {
    flex: 0 0 40%;
  }

  .page-news__featured-card-content {
    padding: 25px;
  }

  .page-news__featured-card-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: var(--header-offset, 120px) 0 60px !important; /* Ensure padding-top is applied for mobile if not by body */
  }

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

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

  .page-news__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-news__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .page-news__section-subtitle {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-news__latest-news-section,
  .page-news__featured-news-section,
  .page-news__cta-section,
  .page-news__faq-section {
    padding: 50px 0;
  }

  .page-news__news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-news__news-card-content {
    padding: 20px;
  }

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

  .page-news__featured-card {
    flex-direction: column;
  }

  .page-news__featured-card-image-wrapper {
    flex: none;
    width: 100%;
    max-height: 250px;
  }

  .page-news__featured-card-content {
    padding: 20px;
  }

  .page-news__featured-card-title {
    font-size: 1.4em;
  }

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

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

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

  .page-news__faq-question h3 {
    font-size: 1.1em;
  }

  .page-news__faq-toggle {
    font-size: 1.5em;
    width: 25px;
    height: 25px;
  }

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

  /* Ensure all images are responsive and do not overflow */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-news__container,
  .page-news__hero-content,
  .page-news__news-card,
  .page-news__featured-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__news-grid, .page-news__featured-grid, .page-news__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .page-news__hero-section { /* Assuming shared.css handles body padding-top */
    padding-top: 0 !important;
  }
}