.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000; /* Assuming body background is black from shared.css */
}

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

.page-news__dark-section {
  background-color: #0A192F;
  color: #ffffff;
}

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

.page-news__section-title {
  font-size: 2.5rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-news__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

/* Hero Section */
.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  position: relative;
  overflow: hidden;
}

.page-news__hero-content {
  max-width: 900px;
  z-index: 1;
  margin-bottom: 40px;
}

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

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

.page-news__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.2;
}

.page-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-news__btn-primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
  margin-right: 15px;
}

.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: #0A192F;
}

/* Latest Articles Section */
.page-news__latest-articles {
  padding: 80px 0;
  background-color: #1a2a41;
}

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

.page-news__article-card {
  background-color: #0A192F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-news__article-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #FFD700;
  line-height: 1.3;
}

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

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

.page-news__article-meta {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 15px;
}

.page-news__article-summary {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  align-self: flex-start;
}

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

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

.page-news__featured-card {
  display: flex;
  background-color: #1a2a41;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-news__featured-image-wrapper {
  flex: 1;
  min-width: 50%;
}

.page-news__featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news__featured-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-news__featured-title {
  font-size: 2rem;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-news__featured-title a:hover {
  color: #f0f0f0;
}

.page-news__featured-summary {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-news__featured-full-text {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 20px;
}

/* Video Section */
.page-news__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-news__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #0A192F;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.page-news__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-news__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.page-news__video-caption {
  margin-top: 20px;
  font-size: 1rem;
  color: #333333;
}

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

.page-news__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-news__cta-description {
  font-size: 1.15rem;
  color: #e0e0e0;
  margin-bottom: 40px;
}

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

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

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

.page-news__faq-item {
  background-color: #1a2a41;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-news__faq-toggle {
  font-size: 1.5rem;
  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;
  background-color: #0A192F;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Ensure content is fully visible */
  padding: 15px 25px;
}

.page-news__faq-answer p {
  margin: 0;
  font-size: 1rem;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 3rem;
  }
  .page-news__featured-card {
    flex-direction: column;
  }
  .page-news__featured-image-wrapper,
  .page-news__featured-content {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-news {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-news__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news__hero-title {
    font-size: 2.5rem;
  }
  .page-news__hero-description {
    font-size: 1.1rem;
  }
  .page-news__section-title {
    font-size: 2rem;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0;
    margin-bottom: 15px;
    padding: 12px 20px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__article-card {
    flex-direction: column;
  }
  .page-news__article-title {
    font-size: 1.3rem;
  }
  .page-news__featured-title {
    font-size: 1.6rem;
  }
  .page-news__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section has correct padding-top on mobile */
  }
  .page-news__video-wrapper,
  .page-news__video-link,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* For video tag itself */
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* Content area images */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__container,
  .page-news__section,
  .page-news__card,
  .page-news__hero-section,
  .page-news__latest-articles,
  .page-news__featured-articles,
  .page-news__video-section,
  .page-news__cta-section,
  .page-news__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-news__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-news__faq-answer {
    padding: 0 20px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 2rem;
  }
  .page-news__hero-description {
    font-size: 1rem;
  }
  .page-news__section-title {
    font-size: 1.8rem;
  }
  .page-news__article-title {
    font-size: 1.2rem;
  }
  .page-news__featured-title {
    font-size: 1.4rem;
  }
}