.page-news {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;

  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color); /* Body background is dark, so text should be light */
}

.page-news__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-news__light-bg {
  background-color: #f8f9fa; /* A light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-news__section-title,
.page-news__main-title {
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-news__main-title {
  font-size: clamp(2em, 4vw, 3em);
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-news__section-description,
.page-news__intro-text {
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom */
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image to make text pop */
}

.page-news__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 40px; /* Space below image */
}

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

.page-news__cta-button,
.page-news__btn-primary,
.page-news__btn-secondary,
.page-news a[class*="button"],
.page-news a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-news__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--background-color);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-news__latest-news-section,
.page-news__featured-articles-section,
.page-news__promotional-updates-section,
.page-news__industry-insights-section,
.page-news__faq-section,
.page-news__cta-section {
  padding: 60px 0;
}

.page-news__latest-news-section .page-news__container,
.page-news__featured-articles-section .page-news__container,
.page-news__promotional-updates-section .page-news__container,
.page-news__industry-insights-section .page-news__container,
.page-news__faq-section .page-news__container,
.page-news__cta-section .page-news__container {
  padding: 40px 20px;
}

.page-news__news-grid,
.page-news__featured-grid,
.page-news__promo-grid,
.page-news__insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news__news-card,
.page-news__featured-card,
.page-news__promo-item,
.page-news__insight-card,
.page-news__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-news__news-card:hover,
.page-news__featured-card:hover,
.page-news__promo-item:hover,
.page-news__insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news__news-card-image,
.page-news__featured-card-image,
.page-news__insight-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-news__news-card-content,
.page-news__featured-card-content,
.page-news__promo-description,
.page-news__insight-card-content {
  padding: 20px;
}

.page-news__news-card-title,
.page-news__featured-card-title,
.page-news__promo-title,
.page-news__insight-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--text-main);
}

.page-news__news-card-title a,
.page-news__featured-card-title a,
.page-news__insight-card-title a {
  color: var(--text-main);
  text-decoration: none;
}

.page-news__news-card-title a:hover,
.page-news__featured-card-title a:hover,
.page-news__insight-card-title a:hover {
  color: var(--gold-color);
}

.page-news__news-card-meta,
.page-news__featured-card-meta,
.page-news__insight-card-meta {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-news__news-card-excerpt,
.page-news__featured-card-excerpt,
.page-news__insight-card-excerpt {
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-news__read-more-button {
  display: inline-block;
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--gold-color);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-news__read-more-button:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-news__view-all-button-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-news__promo-item {
  text-align: center;
  padding: 30px 20px;
}

.page-news__promo-title {
  color: var(--gold-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-news__promo-description {
  color: var(--text-secondary);
  margin-bottom: 25px;
}

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

.page-news__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-news__faq-item {
  padding: 0;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-news__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.1em;
  list-style: none;
}

.page-news__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-news__faq-item[open] .page-news__faq-toggle {
  content: '−';
}

.page-news__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--text-secondary);
  font-size: 1em;
  line-height: 1.7;
  border-top: 1px solid var(--divider-color);
  margin-top: 10px;
}

.page-news__faq-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-news__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-news__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--deep-green);
}

/* --- Responsive Styles --- */

/* Tablet */
@media (max-width: 1024px) {
  .page-news__news-grid,
  .page-news__featured-grid,
  .page-news__promo-grid,
  .page-news__insight-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-news__hero-content {
    padding: 15px;
  }

  .page-news__main-title {
    font-size: clamp(1.8em, 4.5vw, 2.5em);
  }

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

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

  .page-news__news-card-image,
  .page-news__featured-card-image,
  .page-news__insight-card-image {
    height: 200px;
  }
}

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

  .page-news__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-news__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-news__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-news__main-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
    margin-bottom: 15px;
  }

  .page-news__intro-text,
  .page-news__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .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: 12px 15px;
    font-size: 1em;
  }

  .page-news__container {
    padding: 20px 15px;
  }

  .page-news__news-grid,
  .page-news__featured-grid,
  .page-news__promo-grid,
  .page-news__insight-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-news__news-card-image,
  .page-news__featured-card-image,
  .page-news__insight-card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px; /* Ensure min height for card images */
    object-fit: cover;
  }

  .page-news__news-card,
  .page-news__featured-card,
  .page-news__promo-item,
  .page-news__insight-card,
  .page-news__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0;
  }

  .page-news__news-card-content,
  .page-news__featured-card-content,
  .page-news__promo-description,
  .page-news__insight-card-content {
    padding: 15px;
  }

  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-news__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  .page-news__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
  }

  .page-news__cta-section {
    padding: 50px 15px;
  }

  .page-news__promo-grid .page-news__promo-item .page-news__cta-button {
    margin-top: 15px;
  }
}