.page-news {
  color: var(--text-main);
  background-color: var(--background);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-news__hero-content {
  position: relative; /* Ensure content is above image if z-index is used, but not overlapping */
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-news__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
}

.page-news__description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-news__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-news__section-title {
  font-size: 2.5em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-news__section-subtitle {
  font-size: 1.2em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
}

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

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

.page-news__article-card,
.page-news__featured-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.page-news__article-card:hover,
.page-news__featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-news__featured-image {
  height: 337px; /* Larger height for featured images */
}

.page-news__article-content,
.page-news__featured-content {
  padding: 20px;
}

.page-news__article-title,
.page-news__featured-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-news__article-title a,
.page-news__featured-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover,
.page-news__featured-title a:hover {
  color: var(--glow);
}

.page-news__article-meta {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-news__article-excerpt {
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-news__read-more-button {
  display: inline-block;
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

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

.page-news__view-all-button {
  display: inline-block;
  background: var(--deep-green);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: 1px solid var(--border);
}

.page-news__view-all-button:hover {
  background: var(--main-color);
}

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

.page-news__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-news__faq-item[open] {
  background-color: var(--deep-green);
}

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

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

.page-news__faq-item[open] .page-news__faq-question {
  color: var(--glow);
}

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow);
}

.page-news__faq-item[open] .page-news__faq-toggle {
  color: var(--gold);
}

.page-news__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary);
}

.page-news__faq-answer p {
  margin-bottom: 0;
}

.page-news__faq-answer a {
  color: var(--glow);
  text-decoration: underline;
}

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

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

.page-news__section-title--light,
.page-news__description--light {
  color: #F2FFF6;
}

.page-news__cta-button--large {
  padding: 18px 35px;
  font-size: 1.1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-news__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-news__container {
    padding: 0 15px !important;
  }

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

  .page-news__hero-image-wrapper {
    max-height: 400px;
  }

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

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

  .page-news__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-news__cta-button {
    padding: 12px 25px;
    font-size: 0.95em;
  }

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

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

  .page-news__latest-articles-section,
  .page-news__featured-news-section,
  .page-news__faq-section,
  .page-news__cta-section {
    padding: 40px 0;
  }

  .page-news__articles-grid,
  .page-news__featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__article-image {
    height: 180px;
  }

  .page-news__featured-image {
    height: 250px;
  }

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

  .page-news__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-news__cta-section {
    padding: 60px 0;
  }

  .page-news__cta-button--large {
    padding: 15px 30px;
    font-size: 1em;
  }

  /* Mobile overflow prevention for images, videos, buttons */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news video,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper,
  .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;
    overflow: hidden !important;
  }

  .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-left: 15px;
    padding-right: 15px;
  }

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