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

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

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

.page-news__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
  max-height: 600px;
  display: block;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  background: rgba(47, 107, 255, 0.85); /* Main color with transparency */
  color: #ffffff;
  margin-top: -100px; /* Overlap with image slightly for visual effect */
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-50px); /* Lift content slightly */
  box-sizing: border-box;
}

.page-news__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-news__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f8ff;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  margin-left: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-news__btn-secondary:hover {
  background: #f0f8ff;
  color: #255ad9;
  border-color: #255ad9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Section Titles */
.page-news__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-news__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2F6BFF; /* Main color */
  border-radius: 2px;
}

.page-news__sub-title {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
  color: #1F2D3D;
  margin-top: 40px;
  margin-bottom: 25px;
  line-height: 1.4;
}

/* Text Blocks */
.page-news__text-block {
  font-size: 17px;
  line-height: 1.7;
  color: #1F2D3D;
  margin-bottom: 20px;
  text-align: justify;
}

.page-news__text-block strong {
  color: #2F6BFF;
}

/* Latest Articles Grid */
.page-news__latest-articles {
  padding: 60px 0;
  background-color: #F4F7FB;
}

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

.page-news__article-card {
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  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 8px 30px rgba(0, 0, 0, 0.15);
}

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

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

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

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

.page-news__card-title a:hover {
  color: #2F6BFF;
}

.page-news__card-meta {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 15px;
}

.page-news__card-description {
  font-size: 16px;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 20px;
}

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

/* In-depth Content */
.page-news__in-depth-content {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-news__article-body {
  max-width: 900px;
  margin: 0 auto;
  color: #1F2D3D;
}

.page-news__article-body p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
  text-align: justify;
}

.page-news__article-body ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
}

.page-news__article-body ul li {
  margin-bottom: 10px;
}

.page-news__article-figure {
  margin: 30px 0;
  text-align: center;
}

.page-news__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-news__article-figure figcaption {
  font-size: 15px;
  color: #6c757d;
  margin-top: 10px;
  text-align: center;
}

/* CTA Section */
.page-news__cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%); /* Main and Aux color gradient */
  color: #ffffff;
  text-align: center;
}

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

.page-news__cta-section .page-news__section-title::after {
  background-color: #ffffff;
}

.page-news__cta-section .page-news__text-block {
  color: #f0f8ff;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-news__cta-buttons .page-news__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border-color: #ffffff;
}

.page-news__cta-buttons .page-news__btn-secondary:hover {
  background: #e0e0e0;
  color: #2F6BFF;
  border-color: #e0e0e0;
}

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

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

details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-news__faq-item summary.page-news__faq-question:hover {
  background: #f5f5f5;
}

.page-news__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}

.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
  font-size: 16px;
  line-height: 1.6;
}

/* All images responsive base */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-news__hero-content {
    padding: 30px 15px;
    margin-top: -80px;
    transform: translateY(-40px);
  }

  .page-news__main-title {
    font-size: clamp(26px, 4.5vw, 40px);
  }

  .page-news__subtitle {
    font-size: clamp(15px, 2.2vw, 18px);
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-news__section-title {
    font-size: clamp(22px, 4vw, 36px);
    margin-bottom: 30px;
  }

  .page-news__sub-title {
    font-size: clamp(18px, 2.8vw, 26px);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-news__text-block,
  .page-news__article-body p,
  .page-news__article-body ul li {
    font-size: 16px;
  }

  .page-news__article-card {
    margin-bottom: 20px;
  }

  .page-news__card-title {
    font-size: 18px;
  }

  .page-news__card-description {
    font-size: 15px;
  }

  .page-news__faq-qtext {
    font-size: 16px;
  }

  details.page-news__faq-item .page-news__faq-answer {
    font-size: 15px;
  }
}

@media (max-width: 849px) {
  .page-news__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-height: 400px; /* Adjust max-height for better visibility on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    min-height: auto;
    padding-top: 10px; /* Ensure small top padding */
  }

  .page-news__hero-content {
    padding: 25px 15px;
    margin-top: -60px;
    transform: translateY(-30px);
    max-width: 95%;
  }

  .page-news__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-news__subtitle {
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 25px;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
  }

  .page-news__btn-primary:not(:last-child),
  .page-news__btn-secondary:not(:last-child) {
    margin-bottom: 15px;
  }

  .page-news__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__section-title {
    font-size: clamp(20px, 6vw, 32px);
    margin-bottom: 25px;
    text-align: center;
  }

  .page-news__section-title::after {
    width: 60px;
  }

  .page-news__sub-title {
    font-size: clamp(18px, 5vw, 24px);
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
  }

  .page-news__text-block,
  .page-news__article-body p,
  .page-news__article-body ul li {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
  }

  .page-news__articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    overflow-x: hidden; /* Ensure no horizontal scroll */
  }

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

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

  .page-news__card-title {
    font-size: 18px;
  }

  .page-news__card-description {
    font-size: 14px;
  }

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

  .page-news__in-depth-content,
  .page-news__latest-articles,
  .page-news__introduction-section,
  .page-news__cta-section,
  .page-news__faq-section {
    padding: 40px 0;
  }

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

  .page-news__article-body {
    padding: 0;
  }

  .page-news__article-figure {
    margin: 20px 0;
  }

  .page-news__article-figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px;
  }

  .page-news__faq-qtext {
    font-size: 15px;
  }

  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
    font-size: 14px;
  }

  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-news__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}