/* style/news.css */

/* --- Base Styles --- */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* body background is handled by shared.css */
}

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

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

/* --- Hero Section --- */
.page-news__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:1920x1080:go8,news,banner,dynamic]') no-repeat center center/cover;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-news__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news__hero-title {
  font-size: 52px;
  font-weight: 700;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #CC0000; /* Primary brand red */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
  border: 2px solid transparent;
  white-space: nowrap; /* Prevent text wrapping inside button on desktop */
}

.page-news__cta-button:hover {
  background-color: #e60000; /* Slightly darker red on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.6);
}

.page-news__cta-button--secondary {
  background-color: transparent;
  border-color: #FFD700; /* Gold border */
  color: #FFD700;
  box-shadow: none;
}

.page-news__cta-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1); /* Light gold background on hover */
  border-color: #e6c200;
  color: #e6c200;
  box-shadow: none;
}

/* --- Intro Section --- */
.page-news__intro-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Dark background */
}

.page-news__intro-text {
  font-size: 17px;
  color: #b0b0b0;
  margin-bottom: 20px;
  text-align: justify;
}
.page-news__intro-text:last-child {
  margin-bottom: 0;
}


/* --- Latest Articles Section --- */
.page-news__latest-articles-section {
  padding: 80px 0;
  background-color: #000000; /* Even darker background for this section */
}
.page-news__section-description {
  font-size: 17px;
  color: #b0b0b0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news__article-card {
  background-color: #1a1a1a; /* Slightly lighter dark for card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-news__article-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-news__article-image {
  width: 100%;
  height: 200px; /* Fixed height for article images */
  object-fit: cover;
  border-bottom: 3px solid #CC0000; /* Red line below image */
  display: block;
}

.page-news__article-content {
  padding: 20px;
  flex-grow: 1; /* Allow content to grow and push date to bottom */
  display: flex;
  flex-direction: column;
}

.page-news__article-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700; /* Gold for article titles */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__article-excerpt {
  font-size: 15px;
  color: #b0b0b0;
  margin-bottom: 15px;
  flex-grow: 1; /* Allow excerpt to take available space */
}

.page-news__article-date {
  font-size: 14px;
  color: #888888;
  text-align: right;
  margin-top: auto; /* Push date to bottom */
}