/* style/news.css */

/* General Page Styles */
.page-news {
  background-color: #0d0d0d; /* Body background from shared.css */
  color: #ffffff; /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  /* padding-top is handled by shared.css on body, or first section if not */
}

/* Hero Banner Section */
.page-news__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #002060; /* Dark blue background for hero content */
  overflow: hidden; /* Ensure image doesn't overflow */
  padding-top: 0; /* Important: if shared provides padding-top for body, hero must be 0 */
}

.page-news__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin-bottom: 40px;
}

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

.page-news__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-news__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #002060; /* Dark blue text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  text-align: center;
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
}

.page-news__hero-button:hover {
  background-color: #e0b800;
  transform: translateY(-3px);
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 1400px; /* Max width for the image */
  margin-top: 40px;
}

.page-news__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Section General Styles */
.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-news__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 20px;
}

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

/* Latest Articles Section */
.page-news__latest-articles {
  background-color: #1a1a1a;
  padding: 60px 0;
}

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

.page-news__article-card {
  background-color: #002060; /* Dark blue card */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}