/* style/resources.css */
/* 
  BEM Naming Convention: .page-resources__element-name
  All styles are scoped within .page-resources
  No descendant selectors like .page-resources .element
  No global selectors like body, html, *
*/

:root {
  --primary-color: #017439; /* mcw77 brand green */
  --secondary-color: #FFFFFF; /* mcw77 brand white */
  --accent-color-register: #C30808; /* Specific for register/login buttons */
  --accent-color-login: #C30808; /* Specific for register/login buttons */
  --text-color-register-login: #FFFF00; /* Specific for register/login font */
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-light: #e0e0e0;
  --bg-light: #f9f9f9;
}

.page-resources {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--secondary-color); /* Body background is white */
}

/* --- Hero Section --- */
.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%); /* Darker gradient for contrast with light text */
  color: var(--text-light);
}

.page-resources__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-resources__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources__hero-content h1 {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}