/* style/news-industry-updates.css */

/* Variables */
:root {
  --primary-color: #0A2342;
  --secondary-color: #E0B400;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f4f4; /* From body background */
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-news-industry-updates {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--bg-light);
}

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

.page-news-industry-updates__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-news-industry-updates__section-description {
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-news-industry-updates__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px; /* Base padding */
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background: linear-gradient(135deg, var(--primary-color) 0%, #0A2342c2 50%, var(--secondary-color) 100%);
  color: var(--text-light);
  min-height: 400px;
}

.page-news-industry-updates__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-news-industry-updates__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-news-industry-updates__intro-text {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-news-industry-updates__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color); /* Gold background with dark blue text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-news-industry-updates__cta-button:hover {
  background: #ffc107; /* Slightly brighter gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Latest News Section */
.page-news-industry-updates__latest-news-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

.page-news-industry-updates__news-card {
  background: var(--text-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-industry-updates__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news-industry-updates__news-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-news-industry-updates__card-content {
  padding: 25px;
}