.page-cockfighting-rules-betting {
  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-cockfighting-rules-betting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting-rules-betting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting-rules-betting__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting-rules-betting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-cockfighting-rules-betting__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting-rules-betting p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-cockfighting-rules-betting__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-cockfighting-rules-betting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-cockfighting-rules-betting__main-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-cockfighting-rules-betting__intro-description {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-cockfighting-rules-betting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-cockfighting-rules-betting__btn-primary,
.page-cockfighting-rules-betting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-cockfighting-rules-betting__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-color: #26A9E0;
}

.page-cockfighting-rules-betting__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-cockfighting-rules-betting__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-cockfighting-rules-betting__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-cockfighting-rules-betting__btn-login {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-cockfighting-rules-betting__btn-login:hover {
  background-color: #c76706;
  border-color: #c76706;
}

.page-cockfighting-rules-betting__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-cockfighting-rules-betting__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting-rules-betting__text-block {
  flex: 1;
}

.page-cockfighting-rules-betting__image-wrapper {
  flex: 1;
  min-width: 200px; /* Minimum size for content images */
}

.page-cockfighting-rules-betting__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-rules-betting__list {
  list-style: disc inside;
  text-align: left;
  color: #f0f0f0;
  padding-left: 20px;
}

.page-cockfighting-rules-betting__list li {
  margin-bottom: 10px;
}

.page-cockfighting-rules-betting__numbered-list {
  list-style: none;
  counter-reset: step-counter;
  text-align: left;
  padding: 0;
}

.page-cockfighting-rules-betting__numbered-list li {
  counter-increment: step-counter;
  margin-bottom: 20px;
  position: relative;
  padding-left: 40px;
}

.page-cockfighting-rules-betting__numbered-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-cockfighting-rules-betting__list-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin-bottom: 5px;
}

.page-cockfighting-rules-betting__dark-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-cockfighting-rules-betting__video-section .page-cockfighting-rules-betting__section-title {
  margin-bottom: 20px;
}

.page-cockfighting-rules-betting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video container */
  margin: 0 auto 30px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-betting__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-cockfighting-rules-betting__video-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-rules-betting__faq-section {
  text-align: left;
}

.page-cockfighting-rules-betting__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-cockfighting-rules-betting__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting-rules-betting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-cockfighting-rules-betting__faq-question:hover {
  background-color: #1a8cc4;
}

.page-cockfighting-rules-betting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting-rules-betting__faq-item.active .page-cockfighting-rules-betting__faq-question {
  background-color: #1a8cc4;
}

.page-cockfighting-rules-betting__faq-item.active .page-cockfighting-rules-betting__faq-toggle {
  transform: rotate(0deg); /* Explicitly set for '-' */
}

.page-cockfighting-rules-betting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting-rules-betting__faq-item.active .page-cockfighting-rules-betting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
  padding-top: 10px;
}

.page-cockfighting-rules-betting__conclusion-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-cockfighting-rules-betting__conclusion-text {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting-rules-betting__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting-rules-betting__intro-description {
    font-size: 1.1em;
  }
  .page-cockfighting-rules-betting__section-title {
    font-size: 2em;
  }
  .page-cockfighting-rules-betting__content-grid {
    flex-direction: column;
    text-align: center;
  }
  .page-cockfighting-rules-betting__content-grid--reverse {
    flex-direction: column;
  }
  .page-cockfighting-rules-betting__text-block, .page-cockfighting-rules-betting__image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-rules-betting__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header spacing */
  }
  .page-cockfighting-rules-betting__main-title {
    font-size: 2.2em;
  }
  .page-cockfighting-rules-betting__intro-description {
    font-size: 1em;
  }
  .page-cockfighting-rules-betting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting-rules-betting__sub-title {
    font-size: 1.5em;
  }
  .page-cockfighting-rules-betting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting-rules-betting__btn-primary,
  .page-cockfighting-rules-betting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-cockfighting-rules-betting__section,
  .page-cockfighting-rules-betting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting-rules-betting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-rules-betting__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting-rules-betting video,
  .page-cockfighting-rules-betting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-rules-betting__video-section,
  .page-cockfighting-rules-betting__video-container,
  .page-cockfighting-rules-betting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting-rules-betting__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting-rules-betting__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-cockfighting-rules-betting__faq-answer {
    padding: 15px;
    padding-top: 5px;
  }
  .page-cockfighting-rules-betting__conclusion-section {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-rules-betting__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting-rules-betting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting-rules-betting__hero-section {
    min-height: 400px;
  }
  .page-cockfighting-rules-betting__intro-description {
    font-size: 0.9em;
  }
}