.page-news__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #26A9E0 0%, #007bff 100%); /* Using brand color for hero */
  overflow: hidden;
}

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

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

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #f0f8ff; /* Slightly off-white for contrast */
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-news__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
  margin: 0 10px;
}

.page-news__btn-primary:hover {
  background: #d46c05;
  border-color: #d46c05;
}

.page-news__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin: 0 10px;
}

.page-news__btn-secondary:hover {
  background: #e0f2ff;
  color: #1a7bb0;
}

.page-news__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-news__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #555555;
}

.page-news__latest-articles,
.page-news__guides-tips {
  padding: 80px 0;
  background: #f8f9fa;
}

.page-news__event-highlights,
.page-news__promotions,
.page-news__cta-bottom {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
}

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

.page-news__dark-section .page-news__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-news__dark-section .page-news__card a {
  color: #ffffff;
}

.page-news__dark-section .page-news__card a:hover {
  color: #e0f2ff;
}

.page-news__dark-section .page-news__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-news__dark-section .page-news__btn-secondary:hover {
  background: #e0f2ff;
  color: #1a7bb0;
  border-color: #e0f2ff;
}

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

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

.page-news__article-card:hover,
.page-news__tip-card:hover,
.page-news__promo-card:hover,
.page-news__highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-news__card-content {
  padding: 25px;
}

.page-news__article-title,
.page-news__highlight-title,
.page-news__tip-title,
.page-news__promo-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-news__article-title a:hover,
.page-news__highlight-title a:hover,
.page-news__tip-title a:hover,
.page-news__promo-title a:hover {
  color: #1a7bb0;
}

.page-news__article-excerpt,
.page-news__highlight-text,
.page-news__tip-text,
.page-news__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 15px;
}

.page-news__dark-section .page-news__article-excerpt,
.page-news__dark-section .page-news__highlight-text,
.page-news__dark-section .page-news__tip-text,
.page-news__dark-section .page-news__promo-text {
  color: #e0f2ff;
}

.page-news__article-date {
  font-size: 0.85em;
  color: #999999;
  display: block;
  margin-bottom: 15px;
}

.page-news__read-more {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #1a7bb0;
}

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

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

.page-news__faq-item {
  background: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background: #ffffff;
  transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
  background-color: #f0f0f0;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(0deg); /* Explicitly set for minus sign */
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-news__faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-news__cta-bottom {
  text-align: center;
  padding: 60px 20px;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General text color for default sections */
.page-news p,
.page-news li {
  color: #333333; /* Default text color for light backgrounds */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }

  .page-news__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-news__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    font-size: 1em;
    padding: 12px 25px;
    margin: 0 5px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-news__latest-articles,
  .page-news__event-highlights,
  .page-news__guides-tips,
  .page-news__promotions,
  .page-news__faq-section,
  .page-news__cta-bottom {
    padding: 50px 0;
  }

  .page-news__article-grid,
  .page-news__highlight-items,
  .page-news__tips-grid,
  .page-news__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__article-image,
  .page-news__highlight-image,
  .page-news__tip-image,
  .page-news__promo-image {
    height: 200px;
  }

  .page-news__article-card,
  .page-news__tip-card,
  .page-news__promo-card,
  .page-news__highlight-item {
    margin: 0 15px;
    max-width: calc(100% - 30px);
  }

  .page-news__card-content {
    padding: 20px;
  }

  .page-news__article-title,
  .page-news__highlight-title,
  .page-news__tip-title,
  .page-news__promo-title {
    font-size: 1.2em;
  }

  .page-news__article-excerpt,
  .page-news__highlight-text,
  .page-news__tip-text,
  .page-news__promo-text {
    font-size: 0.9em;
  }

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

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

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

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-news__cta-buttons .page-news__btn-primary,
  .page-news__cta-buttons .page-news__btn-secondary {
    margin: 0;
  }

  /* Mobile responsive image fix */
  .page-news img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__container,
  .page-news__section,
  .page-news__card,
  .page-news__cta-buttons,
  .page-news__article-grid,
  .page-news__highlight-items,
  .page-news__tips-grid,
  .page-news__promo-grid,
  .page-news__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-news__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

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

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

  .page-news__btn-primary,
  .page-news__btn-secondary {
    padding: 10px 20px;
  }

  .page-news__article-image,
  .page-news__highlight-image,
  .page-news__tip-image,
  .page-news__promo-image {
    height: 180px;
  }
}