.page-news {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Ensures consistency with body background */
}

.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #1A7BBF 100%); /* Primary brand color gradient */
  color: #ffffff;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 20px;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-news__hero-content {
  max-width: 900px;
  padding: 30px;
  background-color: #ffffff; /* White background for text for maximum contrast */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333; /* Dark text on white background */
  margin-top: -80px; /* Overlap image slightly, but not text on image */
  position: relative;
  z-index: 1;
}

.page-news__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-news__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-news__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #26A9E0;
}

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

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

.page-news__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 40px;
}

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

.page-news__featured-news {
  background-color: #f8f9fa; /* Light background for news cards */
  color: #333333;
}

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

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

.page-news__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

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

.page-news__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-news__card-title a:hover {
  color: #1A7BBF;
}

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

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

.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: #1A7BBF;
}

.page-news__view-all-button-container {
  margin-top: 20px;
}

.page-news__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 14px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #26A9E0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

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

.page-news__guide-section {
  background: linear-gradient(135deg, #1A7BBF 0%, #26A9E0 100%);
  color: #ffffff;
}

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

.page-news__guide-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-news__guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-news__guide-card .page-news__card-image {
  width: 100%;
  max-width: 300px; /* Constrain image width in guide cards */
  height: 200px; /* Fixed height for guide card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-news__guide-card .page-news__card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.page-news__guide-card .page-news__card-title a {
  color: #26A9E0;
}

.page-news__guide-card .page-news__card-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-news__cta-banner {
  background-color: #000000; /* Dark background for strong CTA */
  color: #ffffff;
  padding: 80px 20px;
}

.page-news__cta-content {
  max-width: 800px;
}

.page-news__cta-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-news__cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-news__faq-section {
  background-color: #ffffff;
  color: #333333;
}

.page-news__faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-news__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f5f5f5;
  color: #26A9E0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-news__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

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

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

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

.page-news__faq-answer {
  padding: 15px 25px;
  background-color: #ffffff;
  color: #555555;
  font-size: 1rem;
  line-height: 1.6;
  border-top: 1px solid #e0e0e0;
}

.page-news__faq-item[open] .page-news__faq-toggle {
  content: '−';
}

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

  .page-news__main-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
  }

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

  .page-news__cta-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-news__hero-content {
    margin-top: -40px;
    padding: 20px;
  }

  .page-news__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Adjust H1 for mobile */
  }

  .page-news__intro-text {
    font-size: 1rem;
  }

  .page-news__section,
  .page-news__cta-banner {
    padding: 40px 15px;
  }

  .page-news__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__news-card {
    margin-bottom: 0;
  }

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

  .page-news__card-title {
    font-size: 1.2rem;
  }

  .page-news__guide-card .page-news__card-image {
    height: 150px;
  }

  .page-news__cta-title {
    font-size: 1.8rem;
  }

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

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

  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure all images are responsive */
  .page-news img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news__hero-image-wrapper,
  .page-news__hero-content,
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__cta-banner,
  .page-news__faq-section,
  .page-news__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific padding for content containers in mobile */
  .page-news__hero-content,
  .page-news__news-card,
  .page-news__guide-card,
  .page-news__faq-item {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-news__hero-content {
    margin-top: -20px;
  }

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

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

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

  .page-news__cta-title {
    font-size: 1.5rem;
  }
}