.page-resources-y8-2-player-community-and-tips {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources-y8-2-player-community-and-tips__hero-section {
  position: relative;
  background-color: #0A2463;
  color: #ffffff;
  padding: 0;
  overflow: hidden;
}

.page-resources-y8-2-player-community-and-tips__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-y8-2-player-community-and-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-resources-y8-2-player-community-and-tips__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 1;
}

.page-resources-y8-2-player-community-and-tips__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-y8-2-player-community-and-tips__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-y8-2-player-community-and-tips__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

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

.page-resources-y8-2-player-community-and-tips__button--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-resources-y8-2-player-community-and-tips__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-y8-2-player-community-and-tips__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-y8-2-player-community-and-tips__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-resources-y8-2-player-community-and-tips__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-resources-y8-2-player-community-and-tips__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-y8-2-player-community-and-tips__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-y8-2-player-community-and-tips__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-resources-y8-2-player-community-and-tips__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources-y8-2-player-community-and-tips__features-grid,
.page-resources-y8-2-player-community-and-tips__resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-y8-2-player-community-and-tips__feature-card,
.page-resources-y8-2-player-community-and-tips__resource-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-y8-2-player-community-and-tips__feature-card:hover,
.page-resources-y8-2-player-community-and-tips__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-resources-y8-2-player-community-and-tips__feature-image {
  width: 100%; /* Ensure images take full width of card */
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-y8-2-player-community-and-tips__feature-title,
.page-resources-y8-2-player-community-and-tips__resource-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-resources-y8-2-player-community-and-tips__resource-title a {
  color: #0A2463;
  text-decoration: none;
}

.page-resources-y8-2-player-community-and-tips__resource-title a:hover {
  text-decoration: underline;
}

.page-resources-y8-2-player-community-and-tips__feature-description,
.page-resources-y8-2-player-community-and-tips__resource-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-resources-y8-2-player-community-and-tips__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-y8-2-player-community-and-tips__text-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-resources-y8-2-player-community-and-tips__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-y8-2-player-community-and-tips__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-y8-2-player-community-and-tips__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  max-width: 800px; /* Constrain image width within content area */
}

.page-resources-y8-2-player-community-and-tips__testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.page-resources-y8-2-player-community-and-tips__testimonial-card {
  background-color: #0A2463;
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-y8-2-player-community-and-tips__testimonial-quote {
  font-style: italic;
  font-size: 1.2em;
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-resources-y8-2-player-community-and-tips__testimonial-author {
  font-weight: bold;
  text-align: right;
  color: #FFD700;
}

.page-resources-y8-2-player-community-and-tips__small-text {
  font-size: 0.9em;
  margin-top: 15px;
  color: #666666;
}

.page-resources-y8-2-player-community-and-tips__return-link-container {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-resources-y8-2-player-community-and-tips__testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-resources-y8-2-player-community-and-tips__hero-title {
    font-size: 2.2em;
  }

  .page-resources-y8-2-player-community-and-tips__hero-description {
    font-size: 1em;
  }

  .page-resources-y8-2-player-community-and-tips__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-y8-2-player-community-and-tips__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-resources-y8-2-player-community-and-tips__section-title {
    font-size: 2em;
  }

  .page-resources-y8-2-player-community-and-tips__paragraph,
  .page-resources-y8-2-player-community-and-tips__list-item,
  .page-resources-y8-2-player-community-and-tips__feature-description,
  .page-resources-y8-2-player-community-and-tips__resource-description,
  .page-resources-y8-2-player-community-and-tips__testimonial-quote {
    font-size: 1em;
  }

  .page-resources-y8-2-player-community-and-tips__content-area {
    margin: 20px auto;
    padding: 15px;
  }

  /* Ensure images in content area are responsive and don't overflow */
  .page-resources-y8-2-player-community-and-tips__content-area img,
  .page-resources-y8-2-player-community-and-tips__feature-card img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
  }
}

/* Additional rules to ensure all images within the content area are responsive and meet minimum size requirements */
.page-resources-y8-2-player-community-and-tips img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Specific rule for feature/resource card images to ensure they meet minimum size */
.page-resources-y8-2-player-community-and-tips__feature-image,
.page-resources-y8-2-player-community-and-tips__resource-card img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}