.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Light background for the page */
}

.page-news__dark-section {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff; /* White text for dark backgrounds */
}

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

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

.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-news__hero-image {
  width: 100%;
  height: auto; /* Ensure image scales proportionally */
  object-fit: cover;
}

.page-news__hero-content {
  position: relative; /* Ensure content is above image if z-index is used, but not overlapping */
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Pull content up slightly over the image's bottom edge, not overlapping text */
  background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1;
  color: #333333;
}

.page-news__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-size: clamp(2rem, 4vw, 3.2rem); /* Responsive font size */
}

.page-news__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-news__btn-primary,
.page-news__btn-secondary,
.page-news__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-news__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-news__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-news__btn-tertiary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-news__btn-tertiary:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

.page-news__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-news__section-description {
  font-size: 1.05rem;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__featured-news,
.page-news__promotions-section,
.page-news__guides-section,
.page-news__industry-news,
.page-news__cta-final {
  padding: 60px 0;
}

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

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

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

.page-news__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-news__card-content,
.page-news__promo-card,
.page-news__guide-card {
  padding: 20px;
  flex-grow: 1;
}

.page-news__card-title,
.page-news__promo-title,
.page-news__guide-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-news__card-title a:hover,
.page-news__promo-title a:hover,
.page-news__guide-title a:hover {
  text-decoration: underline;
}

.page-news__card-meta {
  font-size: 0.9rem;
  color: #888888;
  margin-bottom: 15px;
}

.page-news__card-excerpt,
.page-news__promo-description,
.page-news__guide-excerpt {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
}

.page-news__read-more {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push to bottom of card */
}

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

.page-news__button-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-news__industry-content {
  font-size: 1.05rem;
  color: #555555;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

.page-news__industry-content p {
  margin-bottom: 20px;
}

.page-news__faq-section {
  padding: 60px 0;
}

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

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none; /* Disable callout on iOS */
  -webkit-user-select: none; /* Disable text selection on iOS */
  user-select: none;
}

.page-news__faq-question::-webkit-details-marker {
  display: none;
}

.page-news__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-news__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #555555;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-news__hero-content {
    margin-top: -30px;
    padding: 30px 15px;
  }

  .page-news__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-news__description {
    font-size: 1rem;
  }

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

  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news__btn-tertiary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
  }

  .page-news__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    padding: 0 15px;
  }

  .page-news__section-description {
    font-size: 0.95rem;
    padding: 0 15px;
  }

  .page-news__news-grid,
  .page-news__promo-grid,
  .page-news__guides-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-news__card-image {
    height: 180px;
  }

  .page-news__card-content,
  .page-news__promo-card,
  .page-news__guide-card {
    padding: 15px;
  }

  .page-news__card-title,
  .page-news__promo-title,
  .page-news__guide-title {
    font-size: 1.15rem;
  }

  .page-news__card-meta,
  .page-news__card-excerpt,
  .page-news__promo-description,
  .page-news__guide-excerpt {
    font-size: 0.95rem;
  }

  .page-news__industry-content {
    padding: 0 15px;
    font-size: 1rem;
  }

  .page-news__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }

  .page-news__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* Mandatory mobile image/video/container responsive styles */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news video,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper,
  .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: hidden !important;
  }

  .page-news__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}