/* style/resources-latest-updates.css */

/* Base styles for the page content container */
.page-resources-latest-updates {
  color: #ffffff; /* Text color for dark body background */
  background-color: #222; /* Matches body background from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Space above footer */
}

/* Section general styles */
.page-resources-latest-updates__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-resources-latest-updates__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-latest-updates__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  color: #26A9E0; /* Primary color for titles */
  font-weight: bold;
}

.page-resources-latest-updates__subsection-title {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-resources-latest-updates__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-resources-latest-updates__text-block strong {
  color: #26A9E0; /* Highlight keywords */
}

.page-resources-latest-updates__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

/* Buttons general styles */
.page-resources-latest-updates__btn-primary,
.page-resources-latest-updates__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  margin: 10px;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box; /* Ensure padding/border included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-resources-latest-updates__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-resources-latest-updates__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

.page-resources-latest-updates__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-latest-updates__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Section */
.page-resources-latest-updates__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-resources-latest-updates__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

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

.page-resources-latest-updates__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-resources-latest-updates__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-latest-updates__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-latest-updates__hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
}