.page-news {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333333;
  background-color: #ffffff;
}

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

/* Hero Section */
.page-news__hero-section {
  position: relative;
  background-color: #26A9E0; /* Brand primary color for dark background */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.page-news__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.page-news__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.page-news__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-news__latest-updates,
.page-news__strategy-tips,
.page-news__promotions-events,
.page-news__industry-insights,
.page-news__faq-section,
.page-news__cta-section {
  padding: 60px 0;
  text-align: center;
}

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

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

.page-news__section-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-news__light-bg .page-news__section-title {
  color: #26A9E0; /* Brand primary color for titles on light background */
}

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

.page-news__section-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Articles Grid */
.page-news__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

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

.page-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

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

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

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

.page-news__article-title a {
  color: #26A9E0; /* Brand primary color for article titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #1a7bb5;
}

.page-news__article-excerpt {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
  line-height: 1.5;
}

.page-news__read-more {
  display: inline-block;
  color: #EA7C07; /* Login color for read more links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto;
}

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

/* Tips Grid */
.page-news__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-news__tip-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-news__tip-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.4;
}

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

.page-news__tip-title a:hover {
  color: #1a7bb5;
}

.page-news__tip-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
  line-height: 1.5;
}

/* Promotions */
.page-news__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

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

.page-news__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

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

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

.page-news__promo-title {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.4;
}

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

.page-news__promo-title a:hover {
  color: #1a7bb5;
}

.page-news__promo-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.page-news__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  margin-top: auto;
  align-self: flex-start; /* Align button to start within flex column */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-news__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Industry Insights */
.page-news__insights-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__insight-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__insight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-news__insight-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.4;
}

.page-news__insight-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__insight-title a:hover {
  color: #1a7bb5;
}

.page-news__insight-description {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.5;
}

/* FAQ Section */
.page-news__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

.page-news__faq-item[open] .page-news__faq-question {
  background-color: #f0f0f0;
  border-bottom: none;
}

.page-news__faq-qtext {
  flex-grow: 1;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
  display: inline-block; /* Ensure it's a block for rotation */
}

.page-news__faq-item[open] .page-news__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to cross */
}

.page-news__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  color: #555555;
  line-height: 1.5;
}

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

/* Remove default details arrow */
.page-news__faq-item summary {
  list-style: none;
}
.page-news__faq-item summary::-webkit-details-marker {
  display: none;
}

/* CTA Section */
.page-news__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 80px 0;
}

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

.page-news__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

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

/* Copyright Section */
.page-news__copyright-section {
  padding: 30px 0;
  background-color: #f5f5f5; /* Light grey background for subtle contrast */
  color: #555555;
  font-size: 0.9em;
  text-align: center;
}

.page-news__copyright-text {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 2.4em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__articles-grid,
  .page-news__tips-grid,
  .page-news__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news__main-title {
    font-size: 2em;
  }
  .page-news__description {
    font-size: 1em;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__section-intro {
    font-size: 1em;
  }
  .page-news__cta-title {
    font-size: 2em;
  }

  /* Images responsive */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__article-image, .page-news__promo-image {
    min-height: 200px !important; /* Ensure minimum height for content images */
  }

  /* Containers responsive */
  .page-news__container,
  .page-news__articles-grid,
  .page-news__tips-grid,
  .page-news__promo-cards,
  .page-news__insights-list,
  .page-news__faq-list,
  .page-news__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .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;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-news__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .page-news__promo-content .page-news__btn-secondary {
    align-self: center !important; /* Center align secondary button in mobile promo card */
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: 1.8em;
  }
  .page-news__section-title {
    font-size: 1.6em;
  }
  .page-news__cta-title {
    font-size: 2em;
  }
  .page-news__btn-primary, .page-news__btn-secondary {
    font-size: 1em !important;
    padding: 12px 20px !important;
  }
}