.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-news__dark-bg {
  background-color: #0A246A;
  color: #ffffff;
}

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

.page-news__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.page-news__btn-primary {
  background-color: #F7C331;
  color: #0A246A;
  border: 2px solid #F7C331;
}

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

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

.page-news__btn-secondary:hover {
  background-color: #F7C331;
  color: #0A246A;
}

.page-news__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-news__latest-news .page-news__section-title,
.page-news__promotions-updates .page-news__section-title,
.page-news__cta-bottom .page-news__section-title {
  color: #0A246A;
}

.page-news__industry-insights .page-news__section-title,
.page-news__faq-section .page-news__section-title {
  color: #F7C331;
}

.page-news__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555;
}

.page-news__dark-bg .page-news__section-description {
  color: #f0f0f0;
}

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

.page-news__news-card,
.page-news__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-news__news-card:hover,
.page-news__promo-card:hover {
  transform: translateY(-5px);
}

.page-news__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-news__card-content {
  padding: 25px;
  color: #333333;
}

.page-news__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #0A246A;
}

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

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

.page-news__card-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: #555;
}

.page-news__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0A246A;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-news__read-more-btn:hover {
  background-color: #F7C331;
  color: #0A246A;
}

.page-news__industry-insights {
  padding: 80px 0;
}

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

.page-news__insight-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
}

.page-news__insight-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #F7C331;
}

.page-news__insight-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-news__promotions-updates {
  padding: 80px 0;
}

.page-news__faq-section {
  padding: 80px 0;
}

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

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  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;
  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-out, padding 0.3s ease-out;
}

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

.page-news__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

.page-news__cta-bottom {
  padding: 80px 0;
  text-align: center;
}

.page-news__cta-bottom .page-news__section-description {
  color: #555;
  margin-bottom: 40px;
}

.page-news__cta-bottom .page-news__btn-primary {
  font-size: 1.2em;
  padding: 18px 40px;
}

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

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

@media (max-width: 768px) {
  .page-news {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-news__hero-section {
    padding: 60px 0;
  }

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

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

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100%;
    max-width: 300px; /* Limit button width on mobile */
    margin: 0 auto;
  }

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

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

  .page-news__articles-grid,
  .page-news__promotions-grid,
  .page-news__insights-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-news__insight-title {
    font-size: 1.5em;
  }

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

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

  /* Mobile image responsiveness */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons mobile responsiveness */
  .page-news__cta-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;
  }

  .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;
    flex-direction: column;
  }

  /* Ensure padding-top for fixed header on mobile if needed */
  .page-news {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 2em;
  }

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

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

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

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

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