/* style/resources-how-to-play-tongits-go.css */
.page-resources-how-to-play-tongits-go {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-how-to-play-tongits-go__hero-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex; /* Use flex to center content */
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-resources-how-to-play-tongits-go__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.5;
}

.page-resources-how-to-play-tongits-go__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-how-to-play-tongits-go__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-resources-how-to-play-tongits-go__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources-how-to-play-tongits-go__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-resources-how-to-play-tongits-go__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-how-to-play-tongits-go__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px; /* Ensure buttons are not too small */
  text-align: center;
  cursor: pointer;
}

.page-resources-how-to-play-tongits-go__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-how-to-play-tongits-go__button--register:hover {
  background-color: #f0f0f0;
}

.page-resources-how-to-play-tongits-go__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-how-to-play-tongits-go__button--login:hover {
  background-color: #e0a538;
}

.page-resources-how-to-play-tongits-go__article-content {
  padding: 40px 20px;
}

.page-resources-how-to-play-tongits-go__content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-how-to-play-tongits-go__section-title {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-how-to-play-tongits-go__subsection-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-how-to-play-tongits-go__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-resources-how-to-play-tongits-go__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-resources-how-to-play-tongits-go__list-item {
  margin-bottom: 8px;
}

.page-resources-how-to-play-tongits-go__image-container {
  text-align: center;
  margin: 30px 0;
}

.page-resources-how-to-play-tongits-go__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px;
}

.page-resources-how-to-play-tongits-go__quote {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  margin: 20px 0;
  padding: 15px 20px;
  font-style: italic;
  color: #555555;
}

.page-resources-how-to-play-tongits-go__cta-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-how-to-play-tongits-go__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-how-to-play-tongits-go__button--primary:hover {
  background-color: #e0a538;
}

.page-resources-how-to-play-tongits-go__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-how-to-play-tongits-go__button--secondary:hover {
  background-color: #333333;
}

.page-resources-how-to-play-tongits-go__related-resources {
  background-color: #f8f8f8;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.page-resources-how-to-play-tongits-go__resource-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-how-to-play-tongits-go__resource-item {
  margin-bottom: 10px;
}

.page-resources-how-to-play-tongits-go__resource-item a {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

.page-resources-how-to-play-tongits-go__resource-item a:hover {
  text-decoration: underline;
  color: #FCBC45;
}

.page-resources-how-to-play-tongits-go__back-link {
  text-align: center;
}

.page-resources-how-to-play-tongits-go__button--back {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-how-to-play-tongits-go__button--back:hover {
  background-color: #333333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-how-to-play-tongits-go__hero-title {
    font-size: 2em;
  }

  .page-resources-how-to-play-tongits-go__hero-description {
    font-size: 1em;
  }

  .page-resources-how-to-play-tongits-go__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-how-to-play-tongits-go__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-resources-how-to-play-tongits-go__section-title {
    font-size: 1.6em;
  }

  .page-resources-how-to-play-tongits-go__subsection-title {
    font-size: 1.3em;
  }

  .page-resources-how-to-play-tongits-go__image-container img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure content area images do not overflow */
  .page-resources-how-to-play-tongits-go__article-content img,
  .page-resources-how-to-play-tongits-go__related-resources img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-resources-how-to-play-tongits-go__cta-section {
    flex-direction: column;
    gap: 15px;
  }
}