/* style/resources.css */

/* Base Styles */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text on light body background */
  background-color: #f4f4f4; /* Matches body background from shared.css */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-resources__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-resources__section-title {
  font-size: 36px;
  color: #8B0000; /* Dark red for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources__subsection-title {
  font-size: 24px;
  color: #FFD700; /* Gold for sub-titles */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-resources p {
  margin-bottom: 15px;
  font-size: 17px;
}

.page-resources__inline-link {
  color: #8B0000; /* Dark red for inline links */
  text-decoration: underline;
}

.page-resources__inline-link:hover {
  color: #FFD700; /* Gold on hover */
}

.page-resources__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding: 0;
}

.page-resources__list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-resources__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  object-fit: cover;
}

/* Hero Section */
.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #ffffff;
}

.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-wrapper {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Gold button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources__cta-button:hover {
  background: #e0b800; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Game Types Grid */
.page-resources__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-resources__game-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__game-card-title {
  font-size: 20px;
  color: #8B0000; /* Dark red for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__game-card-title a {
  color: #8B0000;
  text-decoration: none;
}

.page-resources__game-card-title a:hover {
  color: #FFD700;
}

/* Strategy Cards Grid */
.page-resources__game-strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-resources__strategy-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__strategy-card-title {
  font-size: 20px;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__strategy-card-title a {
  color: #8B0000;
  text-decoration: none;
}

.page-resources__strategy-card-title a:hover {
  color: #FFD700;
}

/* FAQ Section */
.page-resources__faq-section {
  background-color: #f9f9f9;
  padding: 60px 0;
  border-top: 1px solid #e0e0e0;
}

.page-resources__faq-list {
  margin-top: 40px;
}