/* style/resources.css */

/* Custom CSS Variables */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #1a1a1a;
  --border-color: #e0e0e0;
}

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

.page-resources h1,
.page-resources h2,
.page-resources h3 {
  color: var(--secondary-color); /* Headings in dark red for emphasis */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--primary-color); /* Hero H1 in gold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-resources h3 {
  font-size: 1.5em;
  color: var(--secondary-color); /* Sub-headings in dark red */
}

.page-resources p {
  margin-bottom: 1em;
}

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

.page-resources__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #ffffff; /* Default section background */
  border-bottom: 1px solid var(--border-color);
}

.page-resources__section:last-of-type {
  border-bottom: none;
}

/* 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); /* Fixed header offset */
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(139, 0, 0, 0.8)), url('[GALLERY:bg:1920x1080:abstract_gold_red_pattern]') no-repeat center center/cover; /* Placeholder for background image to ensure contrast */
  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;
}

.page-resources__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1; /* Ensure image is behind content if content is overlaid */
}

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

.page-resources__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  margin-top: -80px; /* Overlap with image */
  padding-top: 100px; /* Adjust padding for overlap */
}

.page-resources__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}
}