.page-news {
  color: #ffffff; /* Default light text for dark body 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;
  width: 100%;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px);
  background-color: #26A9E0; /* Brand primary color */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-news__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
}

.page-news__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-news__section-subtitle {
  font-size: 1.1em;
  color: #666666;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-news__dark-bg .page-news__section-subtitle {
  color: #cccccc;
}

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

.page-news__light-bg .page-news__section-title {
  color: #26A9E0;
}

.page-news__light-bg .page-news__section-subtitle {
  color: #666666;
}

.page-news__latest-news, .page-news__promotions-events, .page-news__guides-tips, .page-news__industry-insights, .page-news__faq-section, .page-news__cta-section {
  padding: 80px 0;
}

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

.page-news__article-card, .page-news__promotion-card, .page-news__guide-card, .page-news__insight-card {
  background-color: #1a1a1a; /* Darker background for cards on dark sections */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__light-bg .page-news__article-card,
.page-news__light-bg .page-news__promotion-card,
.page-news__light-bg .page-news__guide-card,
.page-news__light-bg .page-news__insight-card {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news__article-card:hover, .page-news__promotion-card:hover, .page-news__guide-card:hover, .page-news__insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-news__article-image, .page-news__promotion-image, .page-news__guide-image, .page-news__insight-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news__light-bg .page-news__article-image,
.page-news__light-bg .page-news__promotion-image,
.page-news__light-bg .page-news__guide-image,
.page-news__light-bg .page-news__insight-image {
  border-bottom: 1px solid #e0e0e0;
}

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

.page-news__article-title, .page-news__promotion-title, .page-news__guide-title, .page-news__insight-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #26A9E0;
}

.page-news__article-title a, .page-news__guide-title a, .page-news__insight-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-news__article-title a:hover, .page-news__guide-title a:hover, .page-news__insight-title a:hover {
  text-decoration: underline;
}

.page-news__article-excerpt, .page-news__promotion-description, .page-news__guide-excerpt, .page-news__insight-excerpt {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__light-bg .page-news__article-excerpt,
.page-news__light-bg .page-news__promotion-description,
.page-news__light-bg .page-news__guide-excerpt,
.page-news__light-bg .page-news__insight-excerpt {
  color: #555555;
}

.page-news__read-more {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #d16b05;
  text-decoration: underline;
}

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

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

.page-news__light-bg .page-news__faq-item {
  background-color: #f8f8f8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-news__light-bg .page-news__faq-question {
  background-color: #ffffff;
  color: #26A9E0;
  border-bottom: 1px solid #eeeeee;
}

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

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

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

.page-news__light-bg .page-news__faq-answer {
  color: #555555;
}

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

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

.page-news__cta-section {
  background-color: #26A9E0;
  text-align: center;
  padding: 60px 0;
}

.page-news__cta-title {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-news__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

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

  .page-news__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-news__hero-title {
    font-size: 2.2em;
  }

  .page-news__hero-description {
    font-size: 1em;
  }

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

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

  .page-news__latest-news, .page-news__promotions-events, .page-news__guides-tips, .page-news__industry-insights, .page-news__faq-section, .page-news__cta-section {
    padding: 50px 0;
  }

  .page-news__news-grid, .page-news__promotions-grid, .page-news__guides-grid, .page-news__insights-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-news__article-image, .page-news__promotion-image, .page-news__guide-image, .page-news__insight-image {
    height: 200px;
  }

  .page-news__article-card, .page-news__promotion-card, .page-news__guide-card, .page-news__insight-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-news__light-bg .page-news__article-card,
  .page-news__light-bg .page-news__promotion-card,
  .page-news__light-bg .page-news__guide-card,
  .page-news__light-bg .page-news__insight-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .page-news__article-title, .page-news__promotion-title, .page-news__guide-title, .page-news__insight-title {
    font-size: 1.3em;
  }

  .page-news__article-excerpt, .page-news__promotion-description, .page-news__guide-excerpt, .page-news__insight-excerpt {
    font-size: 0.95em;
  }

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

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

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

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

  .page-news__cta-description {
    font-size: 1em;
  }

  /* Ensure all images are responsive */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__section, .page-news__card, .page-news__container, .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-x: hidden !important; /* Prevent horizontal scroll */
  }

  .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; /* Make buttons full width on mobile */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-news__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Ensure spacing for stacked buttons */
  }
}