.page-news {
  color: #ffffff; /* Body background is #000 (dark), so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Inherit from body or shared, ensuring text contrast */
}

/* Fixed header offset - apply to the main content container or hero if shared doesn't handle body padding */
.page-news__hero-section {
  padding-top: var(--header-offset, 120px);
}

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

.page-news__dark-section {
  background-color: #0A2463; /* Main brand color for dark sections */
  color: #ffffff;
  padding: 80px 0;
}

.page-news__light-bg {
  background-color: #0a1b4d; /* Slightly lighter dark blue for contrast with main dark section, still dark for light text */
  color: #ffffff;
  padding: 80px 0;
}

/* Hero Section */
.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay to make text readable */
}

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

.page-news__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #E3B505; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-news__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

.page-news__btn-primary,
.page-news__btn-secondary,
.page-news__read-more-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box; /* Responsive button */
  white-space: normal; /* Responsive button text */
  word-wrap: break-word; /* Responsive button text */
  text-align: center;
}

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

.page-news__btn-primary:hover {
  background-color: #ffc82a;
  border-color: #ffc82a;
  transform: translateY(-3px);
}

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

.page-news__btn-secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
  transform: translateY(-3px);
}

/* Section Titles and Descriptions */
.page-news__section-title {
  font-size: 2.8em;
  color: #E3B505;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

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

.page-news__article-card,
.page-news__event-card,
.page-news__insight-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__article-card:hover,
.page-news__event-card:hover,
.page-news__insight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-news__article-image,
.page-news__event-image,
.page-news__insight-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-news__article-content,
.page-news__event-content,
.page-news__insight-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-news__article-title,
.page-news__event-title,
.page-news__insight-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__article-title a,
.page-news__event-title a,
.page-news__insight-title a {
  color: #E3B505;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover,
.page-news__event-title a:hover,
.page-news__insight-title a:hover {
  color: #ffc82a;
}

.page-news__article-meta,
.page-news__event-date,
.page-news__insight-meta {
  font-size: 0.9em;
  color: #cccccc;
  margin-bottom: 10px;
}

.page-news__article-excerpt,
.page-news__event-description,
.page-news__insight-excerpt {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-news__read-more-btn {
  background-color: #0A2463;
  color: #E3B505;
  border: 1px solid #E3B505;
  padding: 10px 20px;
  border-radius: 6px;
  align-self: flex-start;
  font-size: 0.9em;
}

.page-news__read-more-btn:hover {
  background-color: #E3B505;
  color: #0A2463;
}

/* CTA Section */
.page-news__cta-section {
  text-align: center;
  padding: 100px 20px;
  background-color: #0A2463;
  color: #ffffff;
}

.page-news__cta-title {
  font-size: 3em;
  color: #E3B505;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-news__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-news__cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

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

.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;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-news__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #E3B505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-news__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-news__faq-qtext {
  flex-grow: 1;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #E3B505;
}

.page-news__faq-item[open] .page-news__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-news__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.05); /* Subtle border for separation */
}

/* Global image styles for responsiveness and minimum size */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block; /* Prevents extra space below images */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover; /* Ensure images fill their space without distortion */
}

/* Ensure content area images are not too small */
.page-news__latest-articles img,
.page-news__promotions-events img,
.page-news__industry-insights img {
  min-width: 200px;
  min-height: 200px;
  width: 100%; /* Override specific widths if needed */
  height: auto; /* Override specific heights if needed */
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 3em;
  }
  .page-news__section-title {
    font-size: 2.2em;
  }
  .page-news__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  /* Mobile general styles */
  .page-news__dark-section,
  .page-news__light-bg {
    padding: 60px 0;
  }

  .page-news__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

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

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

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

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

  .page-news__articles-grid,
  .page-news__events-grid,
  .page-news__insights-grid {
    grid-template-columns: 1fr; /* Single column layout for cards */
  }

  .page-news__article-image,
  .page-news__event-image,
  .page-news__insight-image {
    height: 180px; /* Adjust image height for mobile */
  }

  .page-news__article-title,
  .page-news__event-title,
  .page-news__insight-title {
    font-size: 1.2em;
  }

  .page-news__cta-section {
    padding: 80px 20px;
  }

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

  .page-news__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-news__hero-buttons,
  .page-news__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news__read-more-btn {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news__container {
    padding: 0 15px; /* Add padding to prevent content from touching edges */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsive and no small icons */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important; /* Enforce minimum size */
  }

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

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 2em;
  }
  .page-news__section-title {
    font-size: 1.5em;
  }
  .page-news__cta-title {
    font-size: 1.8em;
  }
  .page-news__hero-description,
  .page-news__section-description,
  .page-news__cta-description {
    font-size: 0.95em;
  }
}