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

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

.page-news__section {
  padding: 40px 0;
}

.page-news__section-title {
  font-size: 2.5em;
  color: #2F6BFF; /* Main Color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-news__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #1F2D3D; /* Text Main */
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-news__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Overlap slightly for visual effect */
  position: relative;
  z-index: 1;
}

.page-news__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.2em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-news__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button Gradient */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

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

.page-news__category-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-news__category-card .page-news__card-title {
  font-size: 1.5em;
  color: #2F6BFF; /* Main Color */
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-news__category-card .page-news__card-description {
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  padding: 0 15px;
  flex-grow: 1;
}

.page-news__category-card .page-news__card-link {
  display: inline-block;
  color: #6FA3FF; /* Auxiliary Color */
  text-decoration: none;
  font-weight: bold;
  padding: 15px;
  transition: color 0.3s ease;
}

.page-news__category-card .page-news__card-link:hover {
  color: #2F6BFF; /* Main Color */
}

/* Reason Section (Dark Background) */
.page-news__reason-section {
  background: #2F6BFF; /* Main Color */
  color: #ffffff;
  padding: 60px 0;
}

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

.page-news__reason-section .page-news__text-block {
  color: #ffffff;
}

.page-news__reason-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-news__reason-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-news__reason-item .page-news__item-title {
  font-size: 1.4em;
  color: #A5C4FF; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-news__reason-item p {
  font-size: 1em;
  color: #ffffff;
}

/* How to Access Section */
.page-news__access-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news__access-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #D6E2FF; /* Border */
}

.page-news__access-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-news__access-card .page-news__card-title {
  font-size: 1.4em;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-news__access-card .page-news__card-description {
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-news__btn-secondary {
  display: inline-block;
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main Color */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #2F6BFF; /* Main Color */
  cursor: pointer;
  font-size: 1em;
}

.page-news__btn-secondary:hover {
  background: #2F6BFF; /* Main Color */
  color: #ffffff;
}

/* Latest News Section */
.page-news__latest-news-section {
  padding: 60px 0;
}

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

.page-news__news-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #D6E2FF; /* Border */
}

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

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

.page-news__news-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.3;
  flex-grow: 1;
}

.page-news__news-title a {
  color: #2F6BFF; /* Main Color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__news-title a:hover {
  color: #6FA3FF; /* Auxiliary Color */
}

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

.page-news__news-excerpt {
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
}

.page-news__read-more {
  display: inline-block;
  color: #6FA3FF; /* Auxiliary Color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #2F6BFF; /* Main Color */
}

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

/* FAQ Section */
.page-news__faq-section {
  padding: 60px 0;
  background-color: #f0f3f8;
}

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

.page-news__faq-item {
  background: #FFFFFF; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-news__faq-item[open] > .page-news__faq-question {
  background-color: #e6f0ff;
}

.page-news__faq-item details > summary::-webkit-details-marker {
  display: none;
}

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

.page-news__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #2F6BFF;
  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; /* Text Main */
  line-height: 1.6;
}

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

/* Conclusion Section (Dark Background) */
.page-news__conclusion-section {
  background: #2F6BFF; /* Main Color */
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

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

.page-news__conclusion-section .page-news__text-block {
  color: #ffffff;
  margin-bottom: 40px;
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-news__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__section {
    padding: 30px 0;
  }

  .page-news__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-news__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Hero Section Mobile */
  .page-news__hero-section {
    padding-top: 10px !important;
  }

  .page-news__hero-image-wrapper {
    max-height: 300px;
  }

  .page-news__hero-image {
    object-fit: contain; /* Hero mobile image contain */
    aspect-ratio: unset;
    max-height: none;
  }

  .page-news__hero-content {
    padding: 25px 15px;
    margin-top: -50px; /* Adjust overlap */
  }

  .page-news__main-title {
    font-size: 2em; /* Ensure readability */
  }

  .page-news__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .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: 12px 15px !important;
    font-size: 1em !important;
  }

  /* Buttons container mobile */
  .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: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  /* Category Grid Mobile */
  .page-news__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-news__category-card .page-news__card-title {
    font-size: 1.3em;
  }

  /* Reason Section Mobile */
  .page-news__reason-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__reason-item {
    padding: 20px;
  }

  .page-news__reason-item .page-news__item-title {
    font-size: 1.2em;
  }

  /* How to Access Section Mobile */
  .page-news__access-method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__access-icon {
    width: 80px;
    height: 80px;
  }

  /* Latest News Section Mobile */
  .page-news__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-news__news-title {
    font-size: 1.2em;
  }

  /* FAQ Section Mobile */
  .page-news__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-news__faq-answer {
    padding: 0 20px 15px;
  }

  /* Generic image rules for mobile */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure no overflow on content sections */
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__category-card,
  .page-news__access-card,
  .page-news__news-card,
  .page-news__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific overrides to prevent padding issues on full-width elements */
  .page-news__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-news__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}