/* style/news.css */
.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background: #F4F7FB; /* General Background */
  padding-bottom: 50px; /* Ensure some space before footer */
}

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

/* Hero Section */
.page-news__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #F4F7FB 0%, #E6EBF5 100%); /* Subtle gradient for hero background */
}

.page-news__hero-section .page-news__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-news__hero-content {
  flex: 1;
}

.page-news__main-title {
  font-size: 48px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 600px; /* Limit width for better readability */
}

.page-news__description {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 600px;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 160px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure responsiveness */
}

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

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

.page-news__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-news__btn-secondary:hover {
  background: #f0f5ff; /* Lighter shade of blue */
  color: #2F6BFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.page-news__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* News List Section */
.page-news__news-list-section {
  padding: 60px 0;
  background: #ffffff; /* Card BG */
}

.page-news__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
}

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

.page-news__news-card {
  background: #ffffff; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-news__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news__news-image-wrapper {
  width: 100%;
  height: 200px; /* Fixed height for image consistency */
  overflow: hidden;
}

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

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

.page-news__news-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__news-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-news__news-card-title a:hover {
  color: #2F6BFF; /* Main Color */
}

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

.page-news__news-summary {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #2F6BFF; /* Main Color */
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more-btn:hover {
  background: #4A8BFF; /* Lighter blue */
}

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

.page-news__view-all-btn {
  display: inline-block;
  padding: 15px 30px;
  background: #6FA3FF; /* Accent Color */
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(111, 163, 255, 0.3);
}

.page-news__view-all-btn:hover {
  background: #2F6BFF; /* Main Color */
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

/* CTA Section */
.page-news__cta-section {
  background: #2F6BFF; /* Main Color */
  padding: 80px 0;
  text-align: center;
}

.page-news__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

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

.page-news__cta-title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__cta-description {
  font-size: 18px;
  color: #f0f5ff; /* Lighter white */
  margin-bottom: 0;
}

.page-news__cta-buttons-bottom {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

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

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 12px; /* Increased border-radius for modern look */
  border: 1px solid #D6E2FF; /* Border */
  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 25px; /* Adjusted padding */
  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: #f9f9f9;
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger font */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}
.page-news__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Wider for better touch */
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 25px; /* Adjusted padding */
  background: #fdfdfd; /* Lighter background for answer */
  border-radius: 0 0 12px 12px;
  color: #1F2D3D; /* Text Main */
}
.page-news__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}


/* --- Responsive Styles --- */

/* General mobile styles */
@media (max-width: 768px) {
  .page-news {
    font-size: 15px;
    line-height: 1.55;
  }

  .page-news__container {
    padding: 0 15px; /* Smaller padding for mobile */
  }

  /* Hero Section */
  .page-news__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px;
  }

  .page-news__hero-section .page-news__container {
    flex-direction: column; /* Stack content vertically */
    gap: 30px;
  }

  .page-news__hero-content {
    order: 2; /* Content below image */
  }

  .page-news__hero-image-wrapper {
    order: 1; /* Image above content */
    justify-content: center;
  }

  .page-news__main-title {
    font-size: 32px; /* Smaller font size for mobile */
    text-align: center;
    max-width: 100%;
  }

  .page-news__description {
    font-size: 16px;
    text-align: center;
    max-width: 100%;
  }

  .page-news__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important; /* Full width buttons */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  /* News List Section */
  .page-news__news-list-section {
    padding: 40px 0;
  }

  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-news__news-grid {
    grid-template-columns: 1fr; /* Single column for news cards */
    gap: 20px;
  }

  .page-news__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__news-image-wrapper {
    height: 180px; /* Adjust image height for mobile */
  }

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

  .page-news__news-summary {
    font-size: 15px;
  }

  .page-news__read-more-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

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

  .page-news__view-all-btn {
    font-size: 16px;
    padding: 12px 25px;
  }

  /* CTA Section */
  .page-news__cta-section {
    padding: 50px 0;
  }

  .page-news__cta-title {
    font-size: 28px;
  }

  .page-news__cta-description {
    font-size: 16px;
  }

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

  /* FAQ Section */
  .page-news__faq-section {
    padding: 40px 0;
  }

  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px 20px; /* Adjust padding */
  }
  .page-news__faq-qtext {
    font-size: 16px; /* Adjust font size */
  }
  .page-news__faq-toggle {
    font-size: 24px; /* Adjust icon size */
    width: 25px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 20px 20px;
  }
  .page-news__faq-answer p {
    font-size: 15px;
  }

  /* Universal image and container responsiveness for mobile */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__news-card,
  .page-news__cta-container,
  .page-news__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Image color filter restriction - Must be explicitly stated */
.page-news img {
  filter: none !important; /* Ensure no filters are applied */
}