/* style/resources-online-cockfighting-sic-bo-strategy.css */

:root {
  --page-primary-color: #1A202C;
  --page-secondary-color: #FFD700;
  --page-text-light: #ffffff;
  --page-text-dark: #333333;
  --page-bg-light: #f8f9fa;
  --page-bg-dark: #121212; /* Adjusted slightly darker than primary for contrast */
  --page-card-bg: #ffffff;
  --page-border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-resources-online-cockfighting-sic-bo-strategy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-text-light); /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, assumed dark */
  padding-top: 120px; /* Spacing for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-resources-online-cockfighting-sic-bo-strategy {
    padding-top: 100px; /* Spacing for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
}

.page-resources-online-cockfighting-sic-bo-strategy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-online-cockfighting-sic-bo-strategy__section {
  padding: 60px 0;
}

.page-resources-online-cockfighting-sic-bo-strategy__dark-bg {
  background-color: var(--page-primary-color);
  color: var(--page-text-light);
}

.page-resources-online-cockfighting-sic-bo-strategy__light-bg {
  background-color: var(--page-bg-light);
  color: var(--page-text-dark);
}

.page-resources-online-cockfighting-sic-bo-strategy__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-secondary-color);
}

.page-resources-online-cockfighting-sic-bo-strategy__sub-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--page-secondary-color);
}

.page-resources-online-cockfighting-sic-bo-strategy__text-center {
  text-align: center;
  margin-bottom: 30px;
  font-size: 18px;
}

.page-resources-online-cockfighting-sic-bo-strategy__highlight {
  color: var(--page-secondary-color);
  font-weight: bold;
}

.page-resources-online-cockfighting-sic-bo-strategy a {
  color: var(--page-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-online-cockfighting-sic-bo-strategy a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Hero Banner */
.page-resources-online-cockfighting-sic-bo-strategy__hero-banner {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--page-primary-color), #343a40); /* Darker gradient */
  color: var(--page-text-light);
  border-bottom: 5px solid var(--page-secondary-color);
}

.page-resources-online-cockfighting-sic-bo-strategy__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--page-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-online-cockfighting-sic-bo-strategy__subtitle {
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-resources-online-cockfighting-sic-bo-strategy__btn-primary,
.page-resources-online-cockfighting-sic-bo-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.page-resources-online-cockfighting-sic-bo-strategy__btn-primary {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color); /* Ensure dark text on bright background */
  border: 2px solid var(--page-secondary-color);
}

.page-resources-online-cockfighting-sic-bo-strategy__btn-primary:hover {
  background-color: #ffd700;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-online-cockfighting-sic-bo-strategy__btn-secondary {
  background-color: var(--page-primary-color);
  color: var(--page-secondary-color);
  border: 2px solid var(--page-secondary-color);
}

.page-resources-online-cockfighting-sic-bo-strategy__btn-secondary:hover {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Content Wrapper with Image */
.page-resources-online-cockfighting-sic-bo-strategy__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-resources-online-cockfighting-sic-bo-strategy__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-resources-online-cockfighting-sic-bo-strategy__text-block {
  flex: 1;
  font-size: 17px;
}

.page-resources-online-cockfighting-sic-bo-strategy__text-block p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-resources-online-cockfighting-sic-bo-strategy__text-block ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-resources-online-cockfighting-sic-bo-strategy__text-block li {
  margin-bottom: 8px;
}

.page-resources-online-cockfighting-sic-bo-strategy__image-block {
  flex: 1;
  min-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-online-cockfighting-sic-bo-strategy__image-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Card Grid */
.page-resources-online-cockfighting-sic-bo-strategy__grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-online-cockfighting-sic-bo-strategy__card {
  background-color: var(--page-card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-text-dark); /* Dark text on light card background */
  padding-bottom: 20px;
}

.page-resources-online-cockfighting-sic-bo-strategy__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-cockfighting-sic-bo-strategy__card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-resources-online-cockfighting-sic-bo-strategy__card-title {
  font-size: 22px;
  font-weight: bold;
  margin: 0 20px 10px;
  color: var(--page-primary-color);
}

.page-resources-online-cockfighting-sic-bo-strategy__card-excerpt {
  font-size: 15px;
  margin: 0 20px 20px;
}

.page-resources-online-cockfighting-sic-bo-strategy__read-more {
  display: block;
  margin: 0 20px;
  color: var(--page-secondary-color);
  font-weight: bold;
  text-decoration: none;
}

.page-resources-online-cockfighting-sic-bo-strategy__card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-resources-online-cockfighting-sic-bo-strategy__card-link:hover .page-resources-online-cockfighting-sic-bo-strategy__card-title {
  color: var(--page-secondary-color);
}

/* FAQ Section */
.page-resources-online-cockfighting-sic-bo-strategy__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-online-cockfighting-sic-bo-strategy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--page-primary-color); /* Darker background for FAQ item */
  color: var(--page-text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-online-cockfighting-sic-bo-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--page-primary-color);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-resources-online-cockfighting-sic-bo-strategy__faq-question:hover {
  background: #2a3341;
}

.page-resources-online-cockfighting-sic-bo-strategy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--page-secondary-color);
  pointer-events: none;
}

.page-resources-online-cockfighting-sic-bo-strategy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--page-text-light);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-resources-online-cockfighting-sic-bo-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #2a3341; /* Slightly lighter dark background for answer */
  color: var(--page-text-light);
}

.page-resources-online-cockfighting-sic-bo-strategy__faq-item.active .page-resources-online-cockfighting-sic-bo-strategy__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-resources-online-cockfighting-sic-bo-strategy__faq-item.active .page-resources-online-cockfighting-sic-bo-strategy__faq-toggle {
  color: var(--page-secondary-color);
  transform: rotate(45deg); /* Change to X or rotate */
}

/* Call to Action */
.page-resources-online-cockfighting-sic-bo-strategy__call-to-action {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--page-primary-color), #000000);
  color: var(--page-text-light);
  border-top: 5px solid var(--page-secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-cockfighting-sic-bo-strategy__section-title {
    font-size: 32px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__main-title {
    font-size: 40px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__subtitle {
    font-size: 20px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__image-block {
    min-width: unset;
    width: 100%;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__card img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-resources-online-cockfighting-sic-bo-strategy__container {
    padding: 0 15px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__section {
    padding: 40px 0;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__main-title {
    font-size: 32px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__btn-primary,
  .page-resources-online-cockfighting-sic-bo-strategy__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__text-block {
    font-size: 16px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__sub-title {
    font-size: 20px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__card img {
    height: 200px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__card-title {
    font-size: 20px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__faq-question {
    padding: 15px 20px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__faq-question h3 {
    font-size: 16px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__faq-answer {
    padding: 0 20px;
  }

  .page-resources-online-cockfighting-sic-bo-strategy__faq-item.active .page-resources-online-cockfighting-sic-bo-strategy__faq-answer {
    padding: 15px 20px !important;
  }

  /* Ensure images within containers are fully responsive */
  .page-resources-online-cockfighting-sic-bo-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-online-cockfighting-sic-bo-strategy__section,
  .page-resources-online-cockfighting-sic-bo-strategy__card,
  .page-resources-online-cockfighting-sic-bo-strategy__container,
  .page-resources-online-cockfighting-sic-bo-strategy__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Reset padding for specific elements that might have it from larger screens */
  .page-resources-online-cockfighting-sic-bo-strategy__hero-banner,
  .page-resources-online-cockfighting-sic-bo-strategy__call-to-action {
    padding-left: 0;
    padding-right: 0;
  }
}