.page-news {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #F4F7FB; /* Body background color */
}

.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #F4F7FB;
}

.page-news__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

.page-news__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-news__main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1F2D3D;
  line-height: 1.2;
  margin-bottom: 15px;
}

.page-news__description {
  font-size: 1.1rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

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

.page-news__section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
}

.page-news__section-description {
  font-size: 1.05rem;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-news__latest-news-section {
  background-color: #ffffff;
  padding: 60px 0;
  border-radius: 8px;
  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;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-news__news-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.page-news__news-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

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

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

.page-news__news-summary {
  font-size: 1rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-block;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #1a4a9f;
  text-decoration: underline;
}

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

.page-news__categories-section {
  background-color: #F4F7FB;
  padding: 60px 0;
}

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

.page-news__category-card {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #1F2D3D;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 150px;
}

.page-news__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-news__category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-news__category-description {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.5;
}

.page-news__call-to-action-section {
  background-color: #2F6BFF;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  margin-top: 40px;
  border-radius: 8px;
}

.page-news__call-to-action-section .page-news__section-title {
  color: #ffffff;
}

.page-news__call-to-action-section .page-news__section-description {
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

/* Content area image CSS size lower bound (minimum 200px) */
.page-news__news-thumbnail img,
.page-news__hero-image img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 2.2rem;
  }
  .page-news__description {
    font-size: 1rem;
  }
  .page-news__section-title {
    font-size: 1.8rem;
  }
  .page-news__news-card {
    min-width: unset; /* Allow cards to shrink more */
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-news__hero-image img {
    border-radius: 4px;
  }
  
  .page-news__hero-content {
    padding: 0 15px;
  }
  
  .page-news__main-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .page-news__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .page-news__cta-button {
    padding: 12px 30px;
    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: auto;
    margin-right: auto;
  }
  
  .page-news__container {
    padding: 20px 15px;
  }
  
  .page-news__section-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .page-news__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }
  
  .page-news__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-news__news-card {
    min-width: unset;
  }
  
  .page-news__news-thumbnail {
    height: 180px;
  }
  
  .page-news__news-title {
    font-size: 1.1rem;
  }
  
  .page-news__news-summary {
    font-size: 0.9rem;
  }
  
  .page-news__categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-news__category-card {
    min-height: 120px;
  }
  
  .page-news__category-title {
    font-size: 1.1rem;
  }
  
  .page-news__call-to-action-section {
    padding: 60px 15px;
  }

  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-news__latest-news-section,
  .page-news__categories-section,
  .page-news__call-to-action-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-news__latest-news-section .page-news__container,
  .page-news__categories-section .page-news__container,
  .page-news__call-to-action-section .page-news__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}