/* style/resources-hit-clud-game-guide.css */
.page-resources-hit-clud-game-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-resources-hit-clud-game-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-hit-clud-game-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-hit-clud-game-guide__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-hit-clud-game-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-hit-clud-game-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-resources-hit-clud-game-guide__section-subtitle {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #cccccc;
}

.page-resources-hit-clud-game-guide__light-bg .page-resources-hit-clud-game-guide__section-subtitle {
  color: #555555;
}

/* Hero Section */
.page-resources-hit-clud-game-guide__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-hit-clud-game-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-hit-clud-game-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-hit-clud-game-guide__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-resources-hit-clud-game-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-resources-hit-clud-game-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-resources-hit-clud-game-guide__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-resources-hit-clud-game-guide__btn-primary,
.page-resources-hit-clud-game-guide__btn-secondary,
.page-resources-hit-clud-game-guide__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-resources-hit-clud-game-guide__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-hit-clud-game-guide__btn-primary:hover {
  background-color: #1e87b3;
  border-color: #1e87b3;
}

.page-resources-hit-clud-game-guide__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-hit-clud-game-guide__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-resources-hit-clud-game-guide__btn-tertiary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-hit-clud-game-guide__btn-tertiary:hover {
  background-color: #bf6606;
  border-color: #bf6606;
}

/* Introduction Section */
.page-resources-hit-clud-game-guide__introduction-section .page-resources-hit-clud-game-guide__section-title {
  color: #26A9E0;
}

.page-resources-hit-clud-game-guide__introduction-section .page-resources-hit-clud-game-guide__section-subtitle {
  color: #555555;
}

.page-resources-hit-clud-game-guide__content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-resources-hit-clud-game-guide__image-left {
  flex: 0 0 40%;
  max-width: 40%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-hit-clud-game-guide__text-block {
  flex: 1;
  color: #333333;
}

.page-resources-hit-clud-game-guide__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-hit-clud-game-guide__text-block .page-resources-hit-clud-game-guide__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-hit-clud-game-guide__text-block .page-resources-hit-clud-game-guide__link:hover {
  text-decoration: underline;
}

/* Game Types Section */
.page-resources-hit-clud-game-guide__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-hit-clud-game-guide__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources-hit-clud-game-guide__game-card .page-resources-hit-clud-game-guide__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-hit-clud-game-guide__game-card .page-resources-hit-clud-game-guide__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-resources-hit-clud-game-guide__game-card .page-resources-hit-clud-game-guide__card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-hit-clud-game-guide__game-card .page-resources-hit-clud-game-guide__card-title a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-resources-hit-clud-game-guide__game-card .page-resources-hit-clud-game-guide__card-description {
  color: #f0f0f0;
  font-size: 1em;
  flex-grow: 1;
}

/* How to Play Section */
.page-resources-hit-clud-game-guide__how-to-play-section .page-resources-hit-clud-game-guide__section-title {
  color: #26A9E0;
}

.page-resources-hit-clud-game-guide__how-to-play-section .page-resources-hit-clud-game-guide__section-subtitle {
  color: #555555;
}

.page-resources-hit-clud-game-guide__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-hit-clud-game-guide__step-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources-hit-clud-game-guide__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-hit-clud-game-guide__step-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-hit-clud-game-guide__full-width-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Tips Section */
.page-resources-hit-clud-game-guide__tips-section .page-resources-hit-clud-game-guide__section-title {
  color: #ffffff;
}

.page-resources-hit-clud-game-guide__tips-section .page-resources-hit-clud-game-guide__section-subtitle {
  color: #cccccc;
}

.page-resources-hit-clud-game-guide__tips-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-resources-hit-clud-game-guide__tips-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-hit-clud-game-guide__tips-list li strong {
  color: #26A9E0;
}

.page-resources-hit-clud-game-guide__responsible-gambling-note {
  margin-top: 30px;
  font-size: 1em;
  color: #cccccc;
}

.page-resources-hit-clud-game-guide__responsible-gambling-note .page-resources-hit-clud-game-guide__link {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-hit-clud-game-guide__responsible-gambling-note .page-resources-hit-clud-game-guide__link:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-resources-hit-clud-game-guide__promotions-section .page-resources-hit-clud-game-guide__section-title {
  color: #26A9E0;
}

.page-resources-hit-clud-game-guide__promotions-section .page-resources-hit-clud-game-guide__section-subtitle {
  color: #555555;
}

.page-resources-hit-clud-game-guide__promotion-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-hit-clud-game-guide__promotion-content .page-resources-hit-clud-game-guide__text-block {
  flex: 1;
  color: #333333;
}

.page-resources-hit-clud-game-guide__promotion-content .page-resources-hit-clud-game-guide__image-right {
  flex: 0 0 40%;
  max-width: 40%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Video Section */
.page-resources-hit-clud-game-guide__video-section {
  background-color: #0a0a0a;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure video section has header offset */
}

.page-resources-hit-clud-game-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-hit-clud-game-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

/* FAQ Section */
.page-resources-hit-clud-game-guide__faq-section .page-resources-hit-clud-game-guide__section-title {
  color: #26A9E0;
}

.page-resources-hit-clud-game-guide__faq-section .page-resources-hit-clud-game-guide__section-subtitle {
  color: #555555;
}

.page-resources-hit-clud-game-guide__faq-list {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-resources-hit-clud-game-guide__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-hit-clud-game-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-resources-hit-clud-game-guide__faq-question:hover {
  background-color: #e0e0e0;
}

.page-resources-hit-clud-game-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-resources-hit-clud-game-guide__faq-item.active .page-resources-hit-clud-game-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-hit-clud-game-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-hit-clud-game-guide__faq-item.active .page-resources-hit-clud-game-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

/* CTA Section */
.page-resources-hit-clud-game-guide__cta-section {
  padding-bottom: 80px;
}

.page-resources-hit-clud-game-guide__cta-section .page-resources-hit-clud-game-guide__section-title {
  color: #ffffff;
}

.page-resources-hit-clud-game-guide__cta-section .page-resources-hit-clud-game-guide__section-subtitle {
  color: #cccccc;
}

.page-resources-hit-clud-game-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Image styles */
.page-resources-hit-clud-game-guide img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure images fill their space without distortion */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources-hit-clud-game-guide__hero-title {
    font-size: 2.8em;
  }
  .page-resources-hit-clud-game-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-hit-clud-game-guide__section-title {
    font-size: 2em;
  }
  .page-resources-hit-clud-game-guide__content-wrapper,
  .page-resources-hit-clud-game-guide__promotion-content {
    flex-direction: column;
  }
  .page-resources-hit-clud-game-guide__image-left,
  .page-resources-hit-clud-game-guide__image-right {
    max-width: 100%;
    width: 100%;
    margin-bottom: 20px;
  }
  .page-resources-hit-clud-game-guide__promotion-content .page-resources-hit-clud-game-guide__image-right {
    order: -1; /* Move image above text on mobile */
  }
}

@media (max-width: 768px) {
  .page-resources-hit-clud-game-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-hit-clud-game-guide__section {
    padding: 40px 0;
  }
  .page-resources-hit-clud-game-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-hit-clud-game-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-hit-clud-game-guide__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-hit-clud-game-guide__btn-primary,
  .page-resources-hit-clud-game-guide__btn-secondary,
  .page-resources-hit-clud-game-guide__btn-tertiary,
  .page-resources-hit-clud-game-guide a[class*="button"],
  .page-resources-hit-clud-game-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-hit-clud-game-guide__cta-buttons,
  .page-resources-hit-clud-game-guide__button-group,
  .page-resources-hit-clud-game-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-resources-hit-clud-game-guide__cta-buttons {
    flex-direction: column;
  }
  .page-resources-hit-clud-game-guide__container {
    padding: 0 15px;
  }
  .page-resources-hit-clud-game-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-hit-clud-game-guide__section,
  .page-resources-hit-clud-game-guide__card,
  .page-resources-hit-clud-game-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-hit-clud-game-guide__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-hit-clud-game-guide video,
  .page-resources-hit-clud-game-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-hit-clud-game-guide__video-section,
  .page-resources-hit-clud-game-guide__video-container,
  .page-resources-hit-clud-game-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-hit-clud-game-guide__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    height: auto !important; /* Allow height to be auto */
  }
}

/* Ensure all content area images are at least 200px wide */
.page-resources-hit-clud-game-guide__section img, 
.page-resources-hit-clud-game-guide__card img, 
.page-resources-hit-clud-game-guide__content-wrapper img, 
.page-resources-hit-clud-game-guide__full-width-image {
  min-width: 200px; /* Enforce minimum width */
  min-height: 200px; /* Enforce minimum height */
}

/* Content area images CSS dimensions lower bound (by scope, not by class) */
.page-resources-hit-clud-game-guide__image-left, 
.page-resources-hit-clud-game-guide__image-right, 
.page-resources-hit-clud-game-guide__card-image, 
.page-resources-hit-clud-game-guide__full-width-image {
  width: auto; /* Allow width to be determined by flex/grid or max-width */
  height: auto; /* Allow height to be auto */
}

/* Specific overrides to ensure min-size and responsive behavior */
@media (max-width: 768px) {
  .page-resources-hit-clud-game-guide__image-left,
  .page-resources-hit-clud-game-guide__image-right,
  .page-resources-hit-clud-game-guide__card-image,
  .page-resources-hit-clud-game-guide__full-width-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}