/* style/news.css */

/* --- General Page Styles --- */
.page-news {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #f5f5f5; /* Light background for the page content */
  line-height: 1.6;
}

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

.page-news__section-title {
  font-size: 2.5em;
  color: #1A1A2E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Hero Section --- */
.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjusted for larger hero */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-news__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-news__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-news__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #E0B941; /* Gold for prominence */
}

.page-news__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-news__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* --- Buttons --- */
.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Ensure padding doesn't push width over */
}

.page-news__btn-primary {
  background-color: #E0B941; /* Gold */
  color: #1A1A2E; /* Dark blue text on gold for contrast */
  border: 2px solid #E0B941;
}

.page-news__btn-primary:hover {
  background-color: #f0c951;
  border-color: #f0c951;
}

.page-news__btn-secondary {
  background-color: transparent;
  color: #E0B941; /* Gold text */
  border: 2px solid #E0B941;
}