.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: #f8f9fa; /* A light background for general content */
}

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

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

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

.page-news__btn-primary,
.page-news__btn-secondary,
.page-news__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

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

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

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

.page-news__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-news__btn-tertiary {
  background-color: #0A1931;
  color: #FFD700;
  border: 2px solid #0A1931;
}

.page-news__btn-tertiary:hover {
  background-color: #FFD700;
  color: #0A1931;
  border-color: #FFD700;
}

/* Hero Section */
.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;
  overflow: hidden;
  color: #ffffff;
  padding: 80px 0;
}

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

.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: 1;
}

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

.page-news__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700;
}

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

.page-news__hero-content .page-news__btn-primary {
  font-size: 1.1em;
  padding: 15px 35px;
}

/* Categories Section */
.page-news__categories-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-news__category-card {
  background: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-news__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-news__category-title {
  font-size: 1.5em;
  color: #0A1931;
  margin: 15px 15px 10px 15px;
  font-weight: bold;
}

.page-news__category-title a {
  color: #0A1931;
  text-decoration: none;
}

.page-news__category-title a:hover {
  color: #FFD700;
}

.page-news__category-text {
  font-size: 1em;
  color: #666666;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__category-card .page-news__btn-secondary {
  margin-top: auto;
}

/* Featured Articles Section */
.page-news__featured-articles-section {
  padding: 80px 0;
  background-color: #0A1931;
  color: #ffffff;
}

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

.page-news__featured-articles-section .page-news__section-description {
  color: #f0f0f0;
}

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

.page-news__article-card {
  background: #1a2a43;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

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

.page-news__article-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-news__article-text {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__article-card .page-news__btn-tertiary {
  margin-top: auto;
}

/* Why Follow Section */
.page-news__why-follow-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-news__benefit-item {
  background: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 30px;
  text-align: left;
  border-left: 5px solid #FFD700;
}

.page-news__benefit-title {
  font-size: 1.4em;
  color: #0A1931;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-news__benefit-text {
  font-size: 1em;
  color: #666666;
}

/* FAQ Section */
.page-news__faq-section {
  padding: 80px 0;
  background-color: #0A1931;
  color: #ffffff;
}

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

.page-news__faq-section .page-news__section-description {
  color: #f0f0f0;
}

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

.page-news__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

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

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

.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(0deg); /*  to "-" in JS */
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #2a3e5c;
  color: #cccccc;
  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 {
  margin: 0;
  font-size: 0.95em;
}

.page-news__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-news__faq-answer a:hover {
  color: #ffffff;
}

/* CTA Section */
.page-news__cta-section {
  padding: 80px 0;
  background-color: #f0f0f0;
  text-align: center;
}

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

.page-news__cta-buttons .page-news__btn-primary,
.page-news__cta-buttons .page-news__btn-secondary {
  font-size: 1.1em;
  padding: 15px 35px;
  min-width: 200px;
}

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

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

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

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

  .page-news__hero-section {
    height: auto;
    min-height: 500px;
    padding: 60px 0;
  }

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

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

  .page-news__category-grid,
  .page-news__article-grid,
  .page-news__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-news__category-card,
  .page-news__article-card,
  .page-news__benefit-item {
    padding: 20px;
  }

  .page-news__category-title,
  .page-news__article-title,
  .page-news__benefit-title {
    font-size: 1.2em;
  }

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

  .page-news__cta-buttons .page-news__btn-primary,
  .page-news__cta-buttons .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset;
  }
  
  /* Mobile responsive for all images */
  .page-news img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__category-card,
  .page-news__article-card,
  .page-news__benefit-item,
  .page-news__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-news__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }

  /* Video responsive rules */
  .page-news video,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: 1.8em;
  }
  .page-news__hero-description {
    font-size: 0.9em;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-news__faq-answer {
    padding: 10px 20px;
  }
}