.page-news__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439, #004d2c);
  color: #ffffff;
  overflow: hidden;
  min-height: 500px;
}

.page-news__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

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

.page-news__container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

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

.page-news__btn-primary {
  display: inline-block;
  background: #C30808;
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news__btn-primary:hover {
  background: #a10707;
  transform: translateY(-2px);
}

.page-news__section-title {
  font-size: 2.8em;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-news__latest-articles, .page-news__promotions {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-news__dark-bg .page-news__section-title, .page-news__dark-bg .page-news__section-description {
  color: #ffffff;
}

.page-news__strategy-guides {
  padding: 80px 0;
  background: #017439;
  color: #ffffff;
}

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

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

.page-news__strategy-guides .page-news__article-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-news__strategy-guides .page-news__article-card .page-news__article-title a {
  color: #ffffff;
}

.page-news__strategy-guides .page-news__article-card .page-news__article-summary,
.page-news__strategy-guides .page-news__article-card .page-news__article-date {
  color: #f0f0f0;
}

.page-news__article-card:hover, .page-news__promo-card:hover {
  transform: translateY(-5px);
}

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

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

.page-news__article-title, .page-news__promo-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: bold;
}

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

.page-news__article-title a:hover, .page-news__promo-title a:hover {
  color: #004d2c;
}

.page-news__article-summary, .page-news__promo-summary {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__article-date {
  font-size: 0.9em;
  color: #666666;
  margin-top: auto;
}

.page-news__btn-secondary {
  display: inline-block;
  background: #017439;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 15px;
  text-align: center;
}

.page-news__btn-secondary:hover {
  background: #004d2c;
  transform: translateY(-2px);
}

.page-news__faq-section {
  padding: 80px 0;
  background: #000000;
  color: #ffffff;
}

.page-news__faq-section .page-news__section-title {
  color: #ffffff;
}

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

.page-news__faq-item {
  background: rgba(255, 255, 255, 0.1);
  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.2em;
  font-weight: bold;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-news__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  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;
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

.page-news__cta-section {
  padding: 80px 20px;
  text-align: center;
  background: #ffffff;
  color: #333333;
}

.page-news__cta-title {
  font-size: 3em;
  color: #017439;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

.page-news__btn-register {
  display: inline-block;
  background: #C30808;
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news__btn-register:hover {
  background: #a10707;
  transform: translateY(-2px);
}

.page-news__btn-login {
  display: inline-block;
  background: #C30808;
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news__btn-login:hover {
  background: #a10707;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@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) {
  .page-news__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-news__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-news__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-news__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 10px;
  }
  .page-news__latest-articles, .page-news__strategy-guides, .page-news__promotions, .page-news__faq-section, .page-news__cta-section {
    padding: 50px 0;
  }
  .page-news__article-grid, .page-news__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news__article-card, .page-news__promo-card {
    margin: 0 15px;
  }
  .page-news__article-content, .page-news__promo-content {
    padding: 20px;
  }
  .page-news__article-title, .page-news__promo-title {
    font-size: 1.2em;
  }
  .page-news__article-summary, .page-news__promo-summary {
    font-size: 0.9em;
  }
  .page-news__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-news__faq-answer {
    padding: 0 20px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-news__cta-title {
    font-size: 2em;
  }
  .page-news__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin: 0 15px;
  }
  .page-news__btn-register, .page-news__btn-login {
    width: 100%;
    max-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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .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;
  }
  .page-news__hero-section .page-news__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-news__latest-articles .page-news__container,
  .page-news__strategy-guides .page-news__container,
  .page-news__promotions .page-news__container,
  .page-news__faq-section .page-news__container,
  .page-news__cta-section .page-news__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-news__faq-item {
    margin: 0 15px 15px 15px;
  }
}

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