.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-news__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.page-news__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-news__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-news__btn-primary {
  background-color: #FFD700;
  color: #1A2B5B;
}

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

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

.page-news__btn-secondary:hover {
  background-color: #0d1a36;
  transform: translateY(-2px);
}

.page-news__section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-news__section.page-news__dark-bg {
  background-color: #1A2B5B;
  color: #ffffff;
}

.page-news__section.page-news__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

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

.page-news__section-title {
  font-size: 2.8em;
  color: #1A2B5B;
  text-align: center;
  margin-bottom: 20px;
}

.page-news__dark-bg .page-news__section-title {
  color: #FFD700;
}

.page-news__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

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

.page-news__card, .page-news__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__card:hover, .page-news__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-news__card-image, .page-news__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no filter changes image color */
}

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

.page-news__card-title, .page-news__promo-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #1A2B5B;
  line-height: 1.4;
}

.page-news__card-title a, .page-news__promo-title a {
  color: #1A2B5B;
  text-decoration: none;
}

.page-news__card-title a:hover, .page-news__promo-title a:hover {
  color: #FFD700;
}

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

.page-news__card-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
  margin-top: auto;
}

.page-news__card-link:hover {
  color: #1A2B5B;
  border-color: #1A2B5B;
}

.page-news__content-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-news__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-news__text-block {
  flex: 1;
}

.page-news__image-block {
  flex: 1;
  min-width: 400px; /* Ensure image block has a minimum width */
}

.page-news__image-responsive {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  filter: none; /* Ensure no filter changes image color */
}

.page-news__sub-title {
  font-size: 2em;
  margin-bottom: 25px;
  color: #FFD700;
}

.page-news__dark-bg .page-news__paragraph {
  color: #f0f0f0;
  line-height: 1.7;
  margin-bottom: 15px;
}

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

.page-news__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #1A2B5B;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

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

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

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

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #ffffff;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 3em;
  }
  .page-news__section-title {
    font-size: 2.2em;
  }
  .page-news__content-flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-news__content-flex--reverse {
    flex-direction: column;
  }
  .page-news__image-block {
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news__hero-title {
    font-size: 2.2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-news__section {
    padding: 60px 0;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__section-description {
    margin-bottom: 40px;
  }
  .page-news__card-grid, .page-news__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-news__card-image, .page-news__promo-image {
    height: 200px;
  }
  .page-news__card-title, .page-news__promo-title {
    font-size: 1.3em;
  }
  .page-news__sub-title {
    font-size: 1.8em;
  }

  /* Mobile responsive for images */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__promo-card,
  .page-news__content-flex,
  .page-news__text-block,
  .page-news__image-block,
  .page-news__faq-list,
  .page-news__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  /* Mobile responsive for buttons */
  .page-news__hero-button,
  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news a[class*="button"],
  .page-news a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }

  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  .page-news__faq-question,
  .page-news__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__faq-answer {
    padding-bottom: 15px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 15px !important;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.8em;
  }
  .page-news__hero-description {
    font-size: 0.9em;
  }
  .page-news__section-title {
    font-size: 1.6em;
  }
  .page-news__sub-title {
    font-size: 1.5em;
  }
  .page-news__card-title, .page-news__promo-title {
    font-size: 1.2em;
  }
}