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

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

.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #ffffff;
  text-align: center;
}

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

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.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 {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

.page-news__btn-secondary:hover {
  background-color: #e0f2f7;
}

.page-news__latest-articles {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-news__section-description {
  font-size: 1.05rem;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-news__article-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  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 20px rgba(0, 0, 0, 0.12);
}

.page-news__article-image-wrapper {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  overflow: hidden;
}

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

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

.page-news__article-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  flex-grow: 1;
}

.page-news__article-title a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #26A9E0;
}

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

.page-news__article-excerpt {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
}

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

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

.page-news__view-all-button {
  text-align: center;
  margin-top: 50px;
}

.page-news__promotions-highlight {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-news__promotions-highlight .page-news__section-title {
  color: #ffffff;
  margin-bottom: 30px;
}

.page-news__promotions-highlight .page-news__section-description {
  color: #f0f0f0;
}

.page-news__promotion-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-news__promotion-text {
  flex: 1;
  text-align: left;
}

.page-news__promotion-text .page-news__cta-buttons {
  justify-content: flex-start;
  margin-top: 30px;
}

.page-news__promotion-image-wrapper {
  flex: 1;
  text-align: right;
}

.page-news__promotion-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: block;
  margin-left: auto; /* Align right */
}

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

.page-news__promotions-highlight .page-news__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
}

.page-news__promotions-highlight .page-news__btn-primary {
  background-color: #EA7C07; /* Login color */
  border-color: #EA7C07;
}

.page-news__promotions-highlight .page-news__btn-primary:hover {
  background-color: #d26a06;
  border-color: #d26a06;
}

.page-news__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-news__faq-list {
  margin-top: 40px;
  border-top: 1px solid #eeeeee;
}

.page-news__faq-item {
  border-bottom: 1px solid #eeeeee;
  padding: 20px 0;
}

.page-news__faq-item details {
  width: 100%;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  list-style: none; /* Remove default marker for details */
}

.page-news__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for details in webkit */
}

.page-news__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-news__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #26A9E0;
  font-weight: normal;
}

.page-news__faq-answer {
  padding-top: 15px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
}

.page-news__cta-bottom {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-news__cta-bottom .page-news__section-title {
  color: #ffffff;
  margin-bottom: 30px;
}

.page-news__cta-bottom .page-news__section-description {
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-news__cta-bottom .page-news__cta-buttons {
  margin-top: 30px;
}

.page-news__cta-bottom .page-news__btn-primary {
  background-color: #EA7C07; /* Login color */
  border-color: #EA7C07;
}

.page-news__cta-bottom .page-news__btn-primary:hover {
  background-color: #d26a06;
  border-color: #d26a06;
}

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

.page-news__cta-bottom .page-news__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-news__promotion-content {
    flex-direction: column;
  }
  .page-news__promotion-text,
  .page-news__promotion-image-wrapper {
    text-align: center;
  }
  .page-news__promotion-image {
    margin-left: auto;
    margin-right: auto;
  }
  .page-news__promotion-text .page-news__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-news__container {
    padding: 0 15px;
  }

  .page-news__hero-section,
  .page-news__latest-articles,
  .page-news__promotions-highlight,
  .page-news__faq-section,
  .page-news__cta-bottom {
    padding: 40px 0;
  }

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

  .page-news__description,
  .page-news__section-description,
  .page-news__article-excerpt,
  .page-news__faq-answer p {
    font-size: 15px;
  }

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

  .page-news__articles-grid {
    grid-template-columns: 1fr;
  }

  .page-news__article-image-wrapper {
    height: 180px;
  }

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

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

  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  /* Mobile image responsiveness */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__hero-section,
  .page-news__latest-articles,
  .page-news__promotions-highlight,
  .page-news__faq-section,
  .page-news__cta-bottom,
  .page-news__article-card,
  .page-news__promotion-content,
  .page-news__cta-buttons,
  .page-news__promotion-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-news__hero-section {
    padding-top: 10px !important; /* body handles header offset, this is decorative */
  }

  .page-news__promotion-text .page-news__cta-buttons {
    justify-content: center;
  }
}