/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light grey for general text on dark background */
  background-color: #0F1D2E; /* Slightly lighter than main #1A2A40 for background */
}

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

.page-resources__hero-section {
  background: linear-gradient(135deg, #1A2A40 0%, #0F1D2E 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #FFD700;
}

.page-resources__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,geometric,dark_pattern]');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

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

.page-resources__hero-description {
  font-size: 1.3em;
  color: #C0C0C0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 1;
}

.page-resources__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.page-resources__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-resources__btn--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #1A2A40; /* Main color for text on auxiliary background */
  border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
  background-color: #E5C100;
  border-color: #E5C100;
  transform: translateY(-2px);
}

.page-resources__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A2A40;
  transform: translateY(-2px);
}

.page-resources__intro-section,
.page-resources__detail-list-section,
.page-resources__cta-section {
  padding: 60px 0;
  text-align: center;
}

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

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

.page-resources__section-title--light {
  color: #E0E0E0;
}

.page-resources__section-title--light::after {
  background-color: #E0E0E0;
}

.page-resources__section-description,
.page-resources__cta-description {
  font-size: 1.1em;
  color: #C0C0C0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-resources__feature-item {
  background-color: #1A2A40;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #334766;
}

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

.page-resources__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-resources__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources__feature-text {
  color: #E0E0E0;
  font-size: 1em;
}

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

.page-resources__article-card {
  background-color: #1A2A40;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #334766;
}

.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: 3px solid #FFD700;
}

.page-resources__article-title {
  font-size: 1.5em;
  margin: 20px 20px 10px 20px;
  line-height: 1.3;
}

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

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

.page-resources__article-excerpt {
  color: #C0C0C0;
  font-size: 0.95em;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-resources__btn--read-more {
  display: inline-block;
  background-color: #334766;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px 20px;
  border: 1px solid #334766;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-resources__btn--read-more:hover {
  background-color: #FFD700;
  color: #1A2A40;
  border-color: #FFD700;
}

.page-resources__cta-section {
  background: linear-gradient(90deg, #1A2A40, #334766);
  color: #E0E0E0;
  padding: 80px 0;
  border-top: 5px solid #FFD700;
}

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

/* Responsive Design */
@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__feature-grid,
  .page-resources__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 80px 0 60px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-resources__intro-section,
  .page-resources__detail-list-section,
  .page-resources__cta-section {
    padding: 40px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__article-title {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__btn {
    padding: 12px 20px;
    font-size: 1em;
    width: 90%;
  }
  .page-resources__feature-grid,
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__article-title {
    font-size: 1.2em;
  }
  .page-resources__article-image {
    height: 150px;
  }
}