/* style/resources-m8winwin-cockfighting-rules-tips.css */
.page-resources-m8winwin-cockfighting-rules-tips {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from body, ensure consistency */
}

.page-resources-m8winwin-cockfighting-rules-tips__hero-section {
  position: relative;
  padding: 100px 20px 60px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-m8winwin-cockfighting-rules-tips__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources-m8winwin-cockfighting-rules-tips__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-m8winwin-cockfighting-rules-tips__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-m8winwin-cockfighting-rules-tips__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources-m8winwin-cockfighting-rules-tips__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources-m8winwin-cockfighting-rules-tips__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-m8winwin-cockfighting-rules-tips__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-m8winwin-cockfighting-rules-tips__sub-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-m8winwin-cockfighting-rules-tips__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-m8winwin-cockfighting-rules-tips__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-m8winwin-cockfighting-rules-tips__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-m8winwin-cockfighting-rules-tips__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.page-resources-m8winwin-cockfighting-rules-tips__btn-primary,
.page-resources-m8winwin-cockfighting-rules-tips__btn-secondary {
  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-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-m8winwin-cockfighting-rules-tips__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #1a1a1a; /* Dark text on gold */
  border: 2px solid #FFD700;
}

.page-resources-m8winwin-cockfighting-rules-tips__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-m8winwin-cockfighting-rules-tips__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-resources-m8winwin-cockfighting-rules-tips__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a; /* Dark text on gold */
  transform: translateY(-2px);
}

.page-resources-m8winwin-cockfighting-rules-tips__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-resources-m8winwin-cockfighting-rules-tips__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

.page-resources-m8winwin-cockfighting-rules-tips__card:hover {
  transform: translateY(-5px);
}

.page-resources-m8winwin-cockfighting-rules-tips__card-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
}

.page-resources-m8winwin-cockfighting-rules-tips__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-resources-m8winwin-cockfighting-rules-tips__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-m8winwin-cockfighting-rules-tips__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-resources-m8winwin-cockfighting-rules-tips__cta-section .page-resources-m8winwin-cockfighting-rules-tips__section-title {
  color: #FFD700;
}

.page-resources-m8winwin-cockfighting-rules-tips__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-resources-m8winwin-cockfighting-rules-tips__cta-section .page-resources-m8winwin-cockfighting-rules-tips__text-block {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-m8winwin-cockfighting-rules-tips__faq-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-resources-m8winwin-cockfighting-rules-tips__faq-container {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-resources-m8winwin-cockfighting-rules-tips__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-m8winwin-cockfighting-rules-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #2a2a2a; /* Slightly lighter dark */
  color: #FFD700; /* Gold */
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-m8winwin-cockfighting-rules-tips__faq-question:hover {
  background-color: #3a3a3a;
}

.page-resources-m8winwin-cockfighting-rules-tips__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-resources-m8winwin-cockfighting-rules-tips__faq-item.active .page-resources-m8winwin-cockfighting-rules-tips__faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* Changed by JS */
}

.page-resources-m8winwin-cockfighting-rules-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

.page-resources-m8winwin-cockfighting-rules-tips__faq-item.active .page-resources-m8winwin-cockfighting-rules-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px 25px;
}

.page-resources-m8winwin-cockfighting-rules-tips__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

.page-resources-m8winwin-cockfighting-rules-tips__conclusion-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
}

.page-resources-m8winwin-cockfighting-rules-tips__conclusion-section .page-resources-m8winwin-cockfighting-rules-tips__section-title {
  color: #FFD700;
}

.page-resources-m8winwin-cockfighting-rules-tips__text-link {
  color: #FFD700; /* Gold link */
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-m8winwin-cockfighting-rules-tips__text-link:hover {
  color: #e6c200;
}

/* Video Section */
.page-resources-m8winwin-cockfighting-rules-tips__video-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-m8winwin-cockfighting-rules-tips__video-wrapper {
  max-width: 1000px;
  margin: 30px auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.page-resources-m8winwin-cockfighting-rules-tips__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  z-index: 1;
}

.page-resources-m8winwin-cockfighting-rules-tips__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

/* Color contrast classes */
.page-resources-m8winwin-cockfighting-rules-tips__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources-m8winwin-cockfighting-rules-tips__light-bg {
  background-color: #2a2a2a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-m8winwin-cockfighting-rules-tips__main-title {
    font-size: 2.8em;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__section-title {
    font-size: 2.2em;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__sub-title {
    font-size: 1.6em;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__intro-text,
  .page-resources-m8winwin-cockfighting-rules-tips__text-block,
  .page-resources-m8winwin-cockfighting-rules-tips__list-item,
  .page-resources-m8winwin-cockfighting-rules-tips__card-text {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-m8winwin-cockfighting-rules-tips {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__hero-section {
    padding: 80px 15px 40px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-resources-m8winwin-cockfighting-rules-tips__hero-content {
    margin-bottom: 20px;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__main-title {
    font-size: 2.2em;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__intro-text {
    font-size: 1em;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__btn-primary,
  .page-resources-m8winwin-cockfighting-rules-tips__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__content-area,
  .page-resources-m8winwin-cockfighting-rules-tips__faq-section,
  .page-resources-m8winwin-cockfighting-rules-tips__conclusion-section {
    padding: 40px 15px;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__sub-title {
    font-size: 1.4em;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__card {
    padding: 20px;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__content-image {
    margin: 20px auto;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__cta-section {
    padding: 60px 15px;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__faq-answer {
    padding: 0 20px;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__faq-item.active .page-resources-m8winwin-cockfighting-rules-tips__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-resources-m8winwin-cockfighting-rules-tips img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-m8winwin-cockfighting-rules-tips__section,
  .page-resources-m8winwin-cockfighting-rules-tips__card,
  .page-resources-m8winwin-cockfighting-rules-tips__container,
  .page-resources-m8winwin-cockfighting-rules-tips__video-section,
  .page-resources-m8winwin-cockfighting-rules-tips__video-container,
  .page-resources-m8winwin-cockfighting-rules-tips__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-m8winwin-cockfighting-rules-tips__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-m8winwin-cockfighting-rules-tips video,
  .page-resources-m8winwin-cockfighting-rules-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-resources-m8winwin-cockfighting-rules-tips__main-title {
    font-size: 1.8em;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__section-title {
    font-size: 1.6em;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__sub-title {
    font-size: 1.2em;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__hero-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-resources-m8winwin-cockfighting-rules-tips__content-area,
  .page-resources-m8winwin-cockfighting-rules-tips__faq-section,
  .page-resources-m8winwin-cockfighting-rules-tips__conclusion-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}