.page-news__hero-section {
  position: relative;
  padding: 120px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

.page-news__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 31, 63, 0.7); /* Dark overlay for text readability */
  z-index: 1;
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

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

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

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

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

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

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

.page-news__btn-secondary:hover {
  background-color: #FFD700;
  color: #001F3F;
}

.page-news__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

.page-news__section {
  padding: 80px 0;
  color: #ffffff; /* Default text color for dark body background */
}

.page-news__light-bg {
  background-color: #0a0a0a; /* Ensure sufficient contrast for light-bg sections */
  color: #ffffff;
}

.page-news__dark-bg {
  background-color: #001F3F;
  color: #ffffff;
}

.page-news__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-news__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-news__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #e0e0e0;
}

.page-news__introduction .page-news__text-block:last-child {
  margin-bottom: 0;
}

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

.page-news__category-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-news__category-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-news__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-news__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD700;
  line-height: 1.4;
}

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

.page-news__card-title a:hover {
  color: #ffffff;
}

.page-news__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-news__card-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #001F3F;
  color: #FFD700;
  border: 1px solid #FFD700;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news__card-link:hover {
  background-color: #FFD700;
  color: #001F3F;
}

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

.page-news__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-news__benefit-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-news__benefit-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-news__access-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-news__access-list li {
  background-color: rgba(0, 31, 63, 0.7); /* Dark blue background for list items */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-news__access-list li:last-child {
  margin-bottom: 0;
}

.page-news__list-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-news__access-list p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-news__faq-section {
  padding: 80px 0;
  background-color: #001F3F;
  color: #ffffff;
}

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

.page-news__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFD700;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

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

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(45deg);
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  font-size: 1em;
  line-height: 1.6;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 25px 25px;
}

.page-news__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0a0a0a; /* Dark background for CTA */
  color: #ffffff;
}

.page-news__cta-section .page-news__section-title {
  color: #FFD700;
}

.page-news__cta-section .page-news__section-subtitle {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 80px 15px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-news__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100%;
    max-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__btn-large {
    padding: 15px 25px;
    font-size: 1em;
  }

  .page-news__section {
    padding: 50px 0;
  }

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

  .page-news__section-subtitle {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-news__text-block {
    font-size: 0.95em;
  }

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

  .page-news__card-image {
    height: 180px;
  }

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

  .page-news__card-text {
    font-size: 0.9em;
  }

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

  .page-news__benefit-title {
    font-size: 1.3em;
  }

  .page-news__access-list li {
    padding: 20px;
  }

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

  .page-news__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-news__faq-item.active .page-news__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  
  /* Ensure all images are responsive */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers containing images/text are responsive */
  .page-news__section,
  .page-news__category-card,
  .page-news__benefit-item,
  .page-news__faq-item,
  .page-news__cta-section,
  .page-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific adjustment for hero section container to avoid double padding */
  .page-news__hero-section .page-news__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 0;
    padding-right: 0;
  }
}