.page-news__hero-banner {
  padding: var(--header-offset, 120px) 20px 60px;
  text-align: center;
  background: linear-gradient(135deg, #017439, #FFFFFF); /* Custom gradient for banner */
  color: #333333;
  position: relative;
  overflow: hidden;
}

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

.page-news__hero-title {
  font-size: 3.2em;
  color: #017439;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #333333;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Use custom color for login/register */
  color: #FFFF00; /* Use custom color for login/register font */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

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

.page-news__cta-button--secondary {
  background: #017439;
  color: #FFFFFF;
}

.page-news__cta-button--secondary:hover {
  background: #005a2e;
}

.page-news__hero-image-wrapper {
    margin-top: 40px;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.page-news__section {
  padding: 80px 0;
}

.page-news__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 50px;
  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: #C30808;
  border-radius: 2px;
}

.page-news__section-title--white {
    color: #FFFFFF;
}

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

.page-news__news-card, .page-news__promo-card, .page-news__insight-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-news__news-card:hover, .page-news__promo-card:hover, .page-news__insight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.page-news__news-card-content, .page-news__promo-card-content, .page-news__insight-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__news-card-title, .page-news__promo-card-title, .page-news__insight-card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.3;
  flex-grow: 1;
}

.page-news__news-card-title a, .page-news__promo-card-title a, .page-news__insight-card-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__news-card-title a:hover, .page-news__promo-card-title a:hover, .page-news__insight-card-title a:hover {
  color: #C30808;
}

.page-news__news-card-excerpt, .page-news__promo-card-excerpt, .page-news__insight-card-excerpt {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-news__read-more, .page-news__promo-button {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more:hover, .page-news__promo-button:hover {
  background: #005a2e;
}

.page-news__dark-bg {
  background: #017439;
  color: #ffffff;
}

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

.page-news__cta-promotions {
    text-align: center;
    margin-top: 50px;
}

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

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

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news__faq-item.active .page-news__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-news__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.25em;
  font-weight: 600;
  line-height: 1.5;
  color: #017439;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-news__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: #C30808;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-news__faq-item.active .page-news__faq-toggle {
  color: #017439;
  transform: rotate(45deg);
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #fcfcfc;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important; /* Ensure content expands fully */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-news__faq-answer p {
  margin: 0;
  color: #555555;
  line-height: 1.7;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.8em;
  }
  .page-news__hero-description {
    font-size: 1.15em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__news-card-title, .page-news__promo-card-title, .page-news__insight-card-title {
    font-size: 1.3em;
  }
  .page-news__faq-question h3 {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-news__hero-banner {
    padding: var(--header-offset, 120px) 15px 40px;
  }
  .page-news__hero-title {
    font-size: 2.2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__section {
    padding: 50px 0;
  }
  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-news__news-grid, .page-news__promotions-grid, .page-news__insights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news__news-card-image, .page-news__promo-card-image, .page-news__insight-card-image {
    height: 180px;
  }
  .page-news__news-card-content, .page-news__promo-card-content, .page-news__insight-card-content {
    padding: 20px;
  }
  .page-news__news-card-title, .page-news__promo-card-title, .page-news__insight-card-title {
    font-size: 1.2em;
  }
  .page-news__read-more, .page-news__promo-button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .page-news__faq-question {
    padding: 15px 20px;
  }
  .page-news__faq-question h3 {
    font-size: 1em;
  }
  .page-news__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }
  .page-news__faq-answer {
    padding: 0 20px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px !important;
  }

  /* Image responsive for mobile */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__section,
  .page-news__container,
  .page-news__news-card,
  .page-news__promo-card,
  .page-news__insight-card {
    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: 1.8em;
  }
  .page-news__hero-description {
    font-size: 0.9em;
  }
  .page-news__cta-button {
    font-size: 1em;
  }
  .page-news__section-title {
    font-size: 1.5em;
  }
  .page-news__news-card-title, .page-news__promo-card-title, .page-news__insight-card-title {
    font-size: 1.1em;
  }
}