/* style/resources.css */
.page-resources {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A1931; /* Main dark blue background */
}

.page-resources strong {
  color: #FFD700; /* Gold for emphasis */
}

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

/* Hero Section */
.page-resources-hero {
  background: linear-gradient(135deg, #0A1931 0%, #2A3B5C 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_pattern,gaming,subtle]');
  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 title */
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  position: relative;
  z-index: 1;
}

.page-resources-hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

/* Buttons */
.page-resources-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 1;
  margin: 10px;
}

.page-resources-btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #0A1931; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-resources-btn-primary:hover {
  background-color: #E0B800;
  transform: translateY(-3px);
}

.page-resources-btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-resources-btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
  transform: translateY(-3px);
}

.page-resources-btn-gold {
  background-color: #FFD700; /* Gold button */
  color: #0A1931; /* Dark blue text */
  border: 1px solid #FFD700;
  padding: 10px 20px;
  font-size: 1em;
}

.page-resources-btn-gold:hover {
  background-color: #E0B800;
  transform: translateY(-2px);
}

/* Articles Section */
.page-resources-articles {
  padding: 60px 0;
  background-color: #0A1931;
}

.page-resources-section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-resources-section-subtitle {
  font-size: 1.1em;
  color: #B0B0B0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

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

.page-resources-article-card {
  background-color: #1A2B47; /* Slightly lighter dark blue */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px 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(-10px);
  box-shadow: 0 12px 25px 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-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources-article-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  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: #FFFFFF;
}

.page-resources-article-description {
  font-size: 1em;
  color: #C0C0C0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-article-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto; /* Push buttons to the bottom */
  flex-wrap: wrap;
  gap: 10px;
}

/* CTA Banner */
.page-resources-cta-banner {
  background: linear-gradient(90deg, #FFD700, #E0B800); /* Gold gradient */
  padding: 80px 0;
  text-align: center;
  color: #0A1931;
}

.page-resources-cta-content {
  max-width: 900px;
}

.page-resources-cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #0A1931;
}

.page-resources-cta-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #333333;
}

.page-resources-cta-buttons .page-resources-btn {
  margin: 0 15px;
}

.page-resources-cta-buttons .page-resources-btn-primary {
  background-color: #0A1931;
  color: #FFD700;
  border-color: #0A1931;
}

.page-resources-cta-buttons .page-resources-btn-primary:hover {
  background-color: #2A3B5C;
  border-color: #2A3B5C;
}

.page-resources-cta-buttons .page-resources-btn-secondary {
  background-color: transparent;
  color: #0A1931;
  border-color: #0A1931;
}

.page-resources-cta-buttons .page-resources-btn-secondary:hover {
  background-color: #0A1931;
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-hero-title {
    font-size: 3em;
  }
  .page-resources-section-title {
    font-size: 2.2em;
  }
  .page-resources-cta-title {
    font-size: 2.5em;
  }
  .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.5em;
  }
  .page-resources-hero-description {
    font-size: 1.1em;
  }
  .page-resources-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-articles {
    padding: 40px 0;
  }
  .page-resources-section-title {
    font-size: 2em;
  }
  .page-resources-section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-resources-article-content {
    padding: 20px;
  }
  .page-resources-article-title {
    font-size: 1.3em;
  }
  .page-resources-cta-banner {
    padding: 60px 0;
  }
  .page-resources-cta-title {
    font-size: 2em;
  }
  .page-resources-cta-description {
    font-size: 1.1em;
  }
  .page-resources-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-cta-buttons .page-resources-btn {
    margin: 0;
    width: 80%;
  }
}

@media (max-width: 480px) {
  .page-resources-hero {
    padding: 60px 0;
  }
  .page-resources-hero-title {
    font-size: 2em;
  }
  .page-resources-hero-description {
    font-size: 0.95em;
  }
  .page-resources-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources-article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-section-title {
    font-size: 1.8em;
  }
  .page-resources-cta-title {
    font-size: 1.8em;
  }
  .page-resources-cta-description {
    font-size: 1em;
  }
  .page-resources-cta-buttons .page-resources-btn {
    width: 100%;
  }
}