/* style/resources-789-sic-bo-game-strategy.css */

.page-resources-789-sic-bo-game-strategy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

.page-resources-789-sic-bo-game-strategy__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-789-sic-bo-game-strategy__light-bg {
  background-color: #0a0a0a; /* Ensure contrast on dark body, but use a slightly lighter dark for content sections */
  color: #ffffff;
}

.page-resources-789-sic-bo-game-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  overflow: hidden;
  background-color: #017439; /* Brand color for hero */
  color: #ffffff;
}

.page-resources-789-sic-bo-game-strategy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-top: 40px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-resources-789-sic-bo-game-strategy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-789-sic-bo-game-strategy__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-resources-789-sic-bo-game-strategy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-resources-789-sic-bo-game-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-789-sic-bo-game-strategy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-789-sic-bo-game-strategy__btn-primary,
.page-resources-789-sic-bo-game-strategy__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-789-sic-bo-game-strategy__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-789-sic-bo-game-strategy__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-789-sic-bo-game-strategy__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-789-sic-bo-game-strategy__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-resources-789-sic-bo-game-strategy__btn-center {
  display: block;
  margin: 30px auto;
  width: fit-content;
}

.page-resources-789-sic-bo-game-strategy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #0a0a0a; /* Dark background for content sections */
  color: #ffffff;
}

.page-resources-789-sic-bo-game-strategy__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-resources-789-sic-bo-game-strategy__sub-section-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 15px;
  border-left: 5px solid #017439;
  padding-left: 15px;
}

.page-resources-789-sic-bo-game-strategy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: #f0f0f0; /* Slightly off-white for body text on dark background */
}

.page-resources-789-sic-bo-game-strategy__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-789-sic-bo-game-strategy__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-789-sic-bo-game-strategy__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-resources-789-sic-bo-game-strategy__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-789-sic-bo-game-strategy__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-resources-789-sic-bo-game-strategy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-789-sic-bo-game-strategy__card-title {
  font-size: 1.5em;
  color: #017439; /* Brand color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-789-sic-bo-game-strategy__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-789-sic-bo-game-strategy__cta-section {
  background-color: rgba(1, 116, 57, 0.8); /* Darker brand color for CTA */
  padding: 50px;
  border-radius: 12px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-789-sic-bo-game-strategy__cta-title {
  font-size: 2.2em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-789-sic-bo-game-strategy__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-789-sic-bo-game-strategy__faq-section {
  padding: 60px 20px;
  background-color: #017439; /* Brand color for FAQ section */
  color: #ffffff;
  text-align: center;
}

.page-resources-789-sic-bo-game-strategy__faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-resources-789-sic-bo-game-strategy__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources-789-sic-bo-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-resources-789-sic-bo-game-strategy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-789-sic-bo-game-strategy__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-resources-789-sic-bo-game-strategy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFFF00; /* Yellow for toggle icon */
}

.page-resources-789-sic-bo-game-strategy__faq-item.active .page-resources-789-sic-bo-game-strategy__faq-toggle {
  transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-resources-789-sic-bo-game-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-789-sic-bo-game-strategy__faq-item.active .page-resources-789-sic-bo-game-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-789-sic-bo-game-strategy__hero-title {
    font-size: 2.8em;
  }

  .page-resources-789-sic-bo-game-strategy__section-title {
    font-size: 2em;
  }

  .page-resources-789-sic-bo-game-strategy__sub-section-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-789-sic-bo-game-strategy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-789-sic-bo-game-strategy__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  .page-resources-789-sic-bo-game-strategy__hero-title {
    font-size: 2.2em;
  }

  .page-resources-789-sic-bo-game-strategy__hero-description {
    font-size: 1em;
  }

  .page-resources-789-sic-bo-game-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-resources-789-sic-bo-game-strategy__btn-primary,
  .page-resources-789-sic-bo-game-strategy__btn-secondary,
  .page-resources-789-sic-bo-game-strategy a[class*="button"],
  .page-resources-789-sic-bo-game-strategy a[class*="btn"] {
    width: 100% !important;
    max-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-789-sic-bo-game-strategy__content-area,
  .page-resources-789-sic-bo-game-strategy__faq-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-789-sic-bo-game-strategy__section-title {
    font-size: 1.8em;
  }

  .page-resources-789-sic-bo-game-strategy__sub-section-title {
    font-size: 1.4em;
  }

  .page-resources-789-sic-bo-game-strategy__paragraph,
  .page-resources-789-sic-bo-game-strategy__list-item,
  .page-resources-789-sic-bo-game-strategy__card-text {
    font-size: 1em;
  }

  .page-resources-789-sic-bo-game-strategy__image-content,
  .page-resources-789-sic-bo-game-strategy__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-resources-789-sic-bo-game-strategy__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-789-sic-bo-game-strategy__cta-section {
    padding: 30px 20px;
  }

  .page-resources-789-sic-bo-game-strategy__cta-title {
    font-size: 1.8em;
  }

  .page-resources-789-sic-bo-game-strategy__cta-text {
    font-size: 1em;
  }

  .page-resources-789-sic-bo-game-strategy__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-resources-789-sic-bo-game-strategy__faq-item.active .page-resources-789-sic-bo-game-strategy__faq-answer {
    padding: 15px !important;
  }

  .page-resources-789-sic-bo-game-strategy__faq-answer {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-789-sic-bo-game-strategy__hero-title {
    font-size: 1.8em;
  }

  .page-resources-789-sic-bo-game-strategy__section-title {
    font-size: 1.5em;
  }

  .page-resources-789-sic-bo-game-strategy__sub-section-title {
    font-size: 1.2em;
  }
}