.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-news__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Fixed header offset, small top padding */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit hero image height */
}

.page-news__hero-content {
  position: relative;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but not text on image */
  background: linear-gradient(180deg, #F4F7FB 0%, #FFFFFF 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 10;
  color: #1F2D3D;
  text-align: center;
}

.page-news__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: #1F2D3D;
  margin-bottom: 30px;
}

.page-news__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-news__cta-button--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF; /* Border color */
  box-shadow: none;
}

.page-news__cta-button--secondary:hover {
  background: #D6E2FF;
  color: #2F6BFF;
  box-shadow: none;
}

.page-news__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: #2F6BFF;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-news__section-text {
  font-size: 1.1em;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 30px;
}

.page-news__section-text--white {
  color: #f0f0f0;
}

.page-news__intro-section, .page-news__benefits-section, .page-news__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-news__categories-section, .page-news__featured-articles-section, .page-news__cta-section {
  padding: 60px 0;
  background-color: #2F6BFF; /* Primary color as background */
  color: #ffffff;
}

.page-news__dark-section {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-news__light-bg {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

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

.page-news__category-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #1F2D3D; /* Text Main */
}

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

.page-news__category-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #2F6BFF;
  margin: 20px 15px 10px;
  flex-grow: 1;
}

.page-news__category-description {
  font-size: 0.95em;
  color: #1F2D3D;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-news__category-link {
  display: inline-block;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #2F6BFF;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.page-news__category-link:hover {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-news__benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
}

.page-news__benefit-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #1F2D3D;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.page-news__benefit-item:hover {
  transform: translateY(-5px);
}

.page-news__benefit-item strong {
  color: #2F6BFF;
}

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

.page-news__article-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #1F2D3D; /* Text Main */
}

.page-news__article-image {
  width: 100%;
  height: 220px;
  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.3em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__article-title a {
  color: #2F6BFF;
  text-decoration: none;
}

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

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

.page-news__article-excerpt {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-block;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
}

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

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

.page-news__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #1F2D3D;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #2F6BFF;
  cursor: pointer;
  list-style: none; /* For details/summary */
  user-select: none;
}

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

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
  transform: rotate(45deg);
}

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

.page-news__answer-text {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #1F2D3D;
}

.page-news__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #2F6BFF;
}

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

  .page-news__main-title {
    font-size: 3em;
  }

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

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

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

  .page-news__category-title, .page-news__article-title {
    font-size: 1.25em;
  }

  .page-news__category-description, .page-news__article-excerpt {
    font-size: 0.9em;
  }

  .page-news__benefit-item {
    font-size: 1em;
    padding: 18px 20px;
  }

  .page-news__faq-question {
    font-size: 1em;
    padding: 18px 20px;
  }

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

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-top: 10px !important; /* Fixed header offset, small top padding */
  }

  .page-news__hero-image {
    max-height: 400px !important;
  }

  .page-news__hero-content {
    margin-top: -60px !important;
    padding: 25px 15px !important;
    border-radius: 10px !important;
  }

  .page-news__main-title {
    font-size: 2em !important;
  }

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

  .page-news__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-news__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
  }

  .page-news__section-text {
    font-size: 0.95em !important;
  }

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

  /* Categories Section */
  .page-news__categories-section,
  .page-news__featured-articles-section,
  .page-news__intro-section,
  .page-news__benefits-section,
  .page-news__faq-section,
  .page-news__cta-section {
    padding: 40px 0 !important;
  }

  .page-news__categories-grid, .page-news__articles-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-news__category-card, .page-news__article-card {
    border-radius: 8px !important;
  }

  .page-news__category-image, .page-news__article-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    height: 180px !important;
  }

  .page-news__category-title, .page-news__article-title {
    font-size: 1.15em !important;
    margin: 15px 10px 8px !important;
  }

  .page-news__category-description, .page-news__article-excerpt {
    font-size: 0.85em !important;
    padding: 0 10px !important;
  }

  .page-news__category-link {
    padding: 8px 15px !important;
    font-size: 0.9em !important;
  }

  /* General Images */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Buttons and Button Containers */
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .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 !important;
    padding-right: 15px !important;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    display: flex !important;
    flex-direction: column !important; /* Stack buttons vertically on mobile */
  }

  /* FAQ Section */
  .page-news__faq-item {
    border-radius: 8px !important;
  }

  .page-news__faq-question {
    font-size: 1em !important;
    padding: 15px !important;
  }

  .page-news__faq-answer {
    font-size: 0.9em !important;
    padding: 0 15px 15px !important;
  }

  .page-news__view-all-wrapper {
    margin-top: 30px !important;
  }
}