.page-resources {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0F0F0F; /* Ensure consistency with body background */
}

.page-resources__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 50px; /* Adjust padding as needed, initial offset is handled by main */
}

.page-resources__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 30px;
  object-fit: cover;
}

.page-resources__hero-content {
  padding: 0 20px;
}

.page-resources__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.page-resources__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-resources__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources__button--secondary {
  background-color: #1A1A1A;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources__button--secondary:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-resources__button--link {
  color: #FFD700;
  background: none;
  border: none;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-resources__button--link:hover {
  color: #e6c200;
  text-decoration: none;
  transform: none;
}

.page-resources__button--inline {
  margin-top: 20px;
}

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

.page-resources__articles-section,
.page-resources__deep-dive-section {
  padding: 60px 0;
  background-color: #1A1A1A;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-resources__deep-dive-section {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-resources__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-resources__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-resources__sub-section-title {
  font-size: 2em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

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

.page-resources__article-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-resources__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-resources__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-resources__article-title {
  font-size: 1.5em;
  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: #e6c200;
}

.page-resources__article-summary {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-resources__list {
  list-style: disc inside;
  margin: 20px 0;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-resources__list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-resources__game-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.page-resources__game-item {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-resources__game-item:hover {
  transform: translateY(-5px);
}

.page-resources__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources__game-item h4 {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources__game-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }

  .page-resources__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.2em;
  }

  .page-resources__hero-description {
    font-size: 1em;
  }

  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__button {
    width: 100%;
    max-width: 300px;
  }

  .page-resources__section-title {
    font-size: 2em;
  }

  .page-resources__section-description {
    font-size: 0.95em;
  }

  .page-resources__sub-section-title {
    font-size: 1.8em;
  }

  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }

  .page-resources__article-image,
  .page-resources__content-image,
  .page-resources__game-image {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure images are not too small */
  }

  .page-resources__hero-section,
  .page-resources__articles-section,
  .page-resources__deep-dive-section {
    padding: 40px 0;
  }

  .page-resources__container {
    padding: 0 15px;
  }

  .page-resources__game-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }

  .page-resources__hero-description {
    font-size: 0.9em;
  }

  .page-resources__section-title {
    font-size: 1.8em;
  }

  .page-resources__sub-section-title {
    font-size: 1.5em;
  }

  .page-resources__article-title {
    font-size: 1.3em;
  }

  .page-resources__article-summary,
  .page-resources__game-item p {
    font-size: 0.85em;
  }
}

/* Ensure all content images within .page-resources are at least 200px wide in CSS */
.page-resources img:not(.page-resources__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

.page-resources__hero-image {
    width: 100%;
    height: auto;
}

.page-resources p, .page-resources ul, .page-resources ol {
    color: #f0f0f0; /* Ensure body text is light for dark background */
}