.page-news {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, but ensure consistency */
}

.page-news__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

.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);
  z-index: 2;
}

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

.page-news__hero-title {
  font-size: 3.5rem;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.3rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

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

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

.page-news__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

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

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

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

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

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

.page-news__article-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-news__article-card:hover {
  transform: translateY(-5px);
}

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

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

.page-news__article-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

.page-news__article-title a:hover {
  color: #e6c200;
}

.page-news__article-excerpt {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-news__read-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #e6c200;
}

.page-news__button-group {
  text-align: center;
}

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

.page-news__flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-news__flex-container--reverse {
  flex-direction: row-reverse;
}

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

.page-news__image-content {
  flex: 1;
  min-width: 200px; /* Ensure minimum size */
}

.page-news__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

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

.page-news__paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-news__faq-section {
  background-color: #121212;
}

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

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

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

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

.page-news__faq-toggle {
  font-size: 1.8rem;
  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, padding 0.3s ease;
}

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

.page-news__faq-answer p {
  font-size: 1rem;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 0;
}

.page-news__cta-banner {
  text-align: center;
  padding: 80px 20px;
}

.page-news__cta-title {
  font-size: 3rem;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-news__cta-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.8rem;
  }
  .page-news__hero-description {
    font-size: 1.1rem;
  }
  .page-news__section-title {
    font-size: 2rem;
  }
  .page-news__sub-title {
    font-size: 1.8rem;
  }
  .page-news__flex-container {
    flex-direction: column;
  }
  .page-news__flex-container--reverse {
    flex-direction: column-reverse;
  }
  .page-news__image-content {
    width: 100%;
  }
  .page-news__text-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news__hero-title {
    font-size: 2rem;
  }
  .page-news__hero-description {
    font-size: 1rem;
  }
  .page-news__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .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;
  }
  .page-news__section {
    padding: 40px 0;
  }
  .page-news__container {
    padding: 0 15px;
  }
  .page-news__section-title {
    font-size: 1.8rem;
  }
  .page-news__section-description {
    font-size: 0.95rem;
  }
  .page-news__article-image {
    height: 180px;
  }
  .page-news__article-title {
    font-size: 1.2rem;
  }
  .page-news__article-excerpt {
    font-size: 0.9rem;
  }
  .page-news__paragraph {
    font-size: 1rem;
  }
  .page-news__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-news__faq-answer {
    padding: 0 20px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 10px 20px;
  }
  .page-news__cta-banner {
    padding: 60px 15px;
  }
  .page-news__cta-title {
    font-size: 2.2rem;
  }
  /* Mobile image responsiveness */
  .page-news img {
    max-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;
  }
  .page-news__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.8rem;
  }
  .page-news__hero-description {
    font-size: 0.9rem;
  }
  .page-news__section-title {
    font-size: 1.6rem;
  }
  .page-news__cta-title {
    font-size: 1.8rem;
  }
}