.page-news {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Body background from shared.css */
  padding-top: 10px; /* Space for fixed header */
}

.page-news__hero-banner {
  width: 100%;
  padding: 80px 20px;
  background: linear-gradient(135deg, #000080, #1a1a3a); /* Dark blue gradient */
  text-align: center;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.page-news__hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-news__hero-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700; /* Gold for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 18px;
  color: #f0f0f0;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
}

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

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

.page-news__article-card {
  background: #000080; /* Dark blue background for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-news__article-content {
  padding: 25px;
}

.page-news__article-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700; /* Gold for article titles */
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-news__article-excerpt {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-news__article-date {
  font-size: 14px;
  color: #aaaaaa;
  display: block;
  text-align: right;
}

.page-news__categories {
  padding: 60px 0;
  background-color: #000080; /* Dark blue background */
}

.page-news__category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-news__category-item {
  display: inline-block;
  background: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text */
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-news__category-item:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  color: #00005a; /* Slightly darker blue on hover */
  transform: translateY(-3px);
}

.page-news__recent-posts {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-news__post-item {
  background: #000080;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

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

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

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

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

.page-news__post-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-news__post-excerpt {
  font-size: 15px;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__post-date {
  font-size: 13px;
  color: #aaaaaa;
  display: block;
  text-align: right;
}

.page-news__load-more-btn-container {
  text-align: center;
  margin-top: 50px;
}

.page-news__load-more-btn {
  display: inline-block;
  background: #FFD700;
  color: #000080;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-news__load-more-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-news__cta-section {
  padding: 80px 20px;
  background: linear-gradient(90deg, #000080, #00005a); /* Dark blue gradient */
  text-align: center;
}

.page-news__cta-title {
  font-size: 42px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-news__cta-description {
  font-size: 18px;
  color: #f0f0f0;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.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: 16px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-news__btn-primary {
  background: #FFD700;
  color: #000080;
  border: 2px solid #FFD700;
}

.page-news__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
}

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

.page-news__btn-secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.2);
}

.page-news__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #000080; /* Dark blue background for FAQ item */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #000080;
  border: 1px solid #0000a0; /* Slightly lighter blue border */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news__faq-question:hover {
  background: #0000a0;
  border-color: #0000c0;
}

.page-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold for FAQ question */
  pointer-events: none;
}

.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold for toggle icon */
  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 {
  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;
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.7;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  background: #00005a; /* Slightly lighter dark blue for answer background */
  border-radius: 0 0 8px 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 40px;
  }
  .page-news__hero-description {
    font-size: 17px;
  }
  .page-news__section-title {
    font-size: 30px;
  }
  .page-news__articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-news__post-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .page-news__cta-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .page-news {
    padding-top: 10px !important;
  }
  .page-news__hero-banner {
    padding: 60px 15px;
    margin-bottom: 30px;
  }
  .page-news__hero-title {
    font-size: 32px;
  }
  .page-news__hero-description {
    font-size: 15px;
  }
  .page-news__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-news__latest-articles,
  .page-news__categories,
  .page-news__recent-posts,
  .page-news__cta-section,
  .page-news__faq-section {
    padding: 40px 0;
  }
  .page-news__container {
    padding: 0 15px;
  }
  .page-news__articles-grid,
  .page-news__post-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-news__article-image {
    height: 180px;
  }
  .page-news__article-title {
    font-size: 18px;
  }
  .page-news__article-excerpt {
    font-size: 14px;
  }
  .page-news__category-item {
    padding: 10px 20px;
    font-size: 14px;
  }
  .page-news__post-image {
    height: 160px;
  }
  .page-news__post-title {
    font-size: 17px;
  }
  .page-news__post-excerpt {
    font-size: 13px;
  }
  .page-news__load-more-btn {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-news__cta-title {
    font-size: 30px;
  }
  .page-news__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 20px;
    font-size: 16px;
  }
  .page-news__faq-question {
    padding: 15px 20px;
  }
  .page-news__faq-question h3 {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-news__faq-answer {
    padding: 0 20px;
    font-size: 15px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px !important;
  }

  /* Image responsiveness */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__article-image,
  .page-news__post-image {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .page-news__hero-container,
  .page-news__latest-articles .page-news__container,
  .page-news__categories .page-news__container,
  .page-news__recent-posts .page-news__container,
  .page-news__cta-section .page-news__container,
  .page-news__faq-section .page-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Specific contrast adjustments based on body background #0a0a0a (dark) */
.page-news__dark-bg {
  color: #ffffff;
}
.page-news__light-bg {
  color: #ffffff; /* Still light text on a slightly less dark background */
}