/* style/news-latest-updates.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */
.page-news-latest-updates {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Assuming body background from shared.css is light */
}

/* Hero Section */
.page-news-latest-updates__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #f8f8f8;
  overflow: hidden; /* Prevent image overflow */
}

.page-news-latest-updates__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-news-latest-updates__hero-title {
  font-size: 3em;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news-latest-updates__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

.page-news-latest-updates__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-news-latest-updates__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.1;
}

.page-news-latest-updates__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none; /* No CSS filter */
}

/* General Section Styles */
.page-news-latest-updates__section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-news-latest-updates__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-news-latest-updates__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
}

.page-news-latest-updates__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-news-latest-updates__section-text {
  font-size: 1em;
  color: #333333;
  max-width: 900px;
  margin: 40px auto;
  text-align: justify;
}

/* Buttons */
.page-news-latest-updates__btn-primary,
.page-news-latest-updates__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
}

.page-news-latest-updates__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}