:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background-main: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;

  /* RGB values for rgba usage */
  --color-primary-rgb: 17, 168, 78;
  --color-background-main-rgb: 8, 22, 15;
}

.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-background-main);
  padding-bottom: 50px;
}

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

.page-news__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-news__section-description {
  font-size: 18px;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.page-news__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Adjust to place content slightly over the image if needed, but not overlap text */
  position: relative;
  z-index: 1;
  background: var(--color-card-bg);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border);
}

.page-news__main-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.page-news__hero-description {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  line-height: 1.7;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.6);
}

.page-news__btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.page-news__btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Latest News Section */
.page-news__latest-news-section {
  padding: 50px 0;
  background-color: var(--color-background-main);
}

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

.page-news__news-card {
  background: var(--color-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news__news-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.page-news__news-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  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: 22px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-news__news-date {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
}

.page-news__news-excerpt {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.page-news__read-more {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  position: relative;
  align-self: flex-start;
}

.page-news__read-more::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.page-news__read-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

/* Featured News Section */
.page-news__featured-news-section {
  padding: 50px 0;
  background-color: var(--color-deep-green);
}

.page-news__featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.page-news__featured-card {
  background: var(--color-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news__featured-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-news__featured-image {
  width: 100%;
  height: 281px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-news__featured-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__featured-date {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
}

.page-news__featured-excerpt {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* FAQ Section */
.page-news__faq-section {
  padding: 50px 0;
  background-color: var(--color-background-main);
}
}