/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A2342; /* Primary dark background */
}

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

.page-resources__hero {
  background: linear-gradient(135deg, #0A2342 0%, #1A3A60 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-resources__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract_geometric,dark_blue,gold_accents]'); /* Abstract background */
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-resources__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A2342; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.page-resources__cta-button:hover {
  background-color: #E6C200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-resources__section {
  padding: 60px 0;
  background-color: #0A2342;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-resources__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-resources__article-card {
  background-color: #1A3A60; /* Slightly lighter dark blue for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #FFD700;
}

.page-resources__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__article-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  min-height: 70px; /* Ensure consistent title height */
}

.page-resources__article-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #FFFFFF;
}

.page-resources__article-meta {
  font-size: 0.9em;
  color: #BBBBBB;
  margin-bottom: 15px;
}

.page-resources__article-summary {
  font-size: 1em;
  color: #E0E0E0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__read-more {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2342;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__read-more:hover {
  background-color: #E6C200;
}

.page-resources__in-depth-content {
  background-color: #0A2342;
  padding-bottom: 80px;
}

.page-resources__in-depth-content h2 {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 30px;
  text-align: center;
}

.page-resources__in-depth-content h3 {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 4px solid #FFD700;
  padding-left: 15px;
}

.page-resources__in-depth-content h4 {
  font-size: 1.5em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 5px;
}

.page-resources__in-depth-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #E0E0E0;
  line-height: 1.8;
}

.page-resources__in-depth-content ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-resources__in-depth-content ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources__in-depth-content ul li strong {
  color: #FFD700;
}

.page-resources__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

.page-resources__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.highlight-keyword {
  color: #FFD700;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 80px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__section {
    padding: 40px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__in-depth-content h3 {
    font-size: 1.6em;
  }
  .page-resources__in-depth-content h4 {
    font-size: 1.3em;
  }
  .page-resources__article-content {
    padding: 20px;
  }
  .page-resources__article-title {
    font-size: 1.3em;
    min-height: auto;
  }
  .page-resources__article-summary {
    font-size: 0.95em;
  }
  .page-resources__read-more {
    padding: 8px 15px;
    font-size: 0.9em;
  }
  .page-resources__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 0.9em;
  }
  .page-resources__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
    margin-bottom: 30px;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-image {
    height: 180px;
  }
  .page-resources__in-depth-content h3 {
    font-size: 1.4em;
  }
  .page-resources__in-depth-content h4 {
    font-size: 1.2em;
  }
  .page-resources__in-depth-content p, .page-resources__in-depth-content ul li {
    font-size: 0.95em;
  }
  .page-resources__cta-button--large {
    padding: 12px 25px;
    font-size: 1em;
  }
}