.page-cockfighting-rules {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Assuming body background is light */
}

.page-cockfighting-rules__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header-offset, this is for visual spacing */
  text-align: center;
  overflow: hidden;
  background-color: #f0f8ff; /* Light background for hero section */
}

.page-cockfighting-rules__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for hero image */
}

.page-cockfighting-rules__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-cockfighting-rules__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-rules__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #333333;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-cockfighting-rules__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-rules__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting-rules__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-cockfighting-rules__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-top: 15px;
}

.page-cockfighting-rules__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-cockfighting-rules__section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting-rules__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

.page-cockfighting-rules__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting-rules__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-cockfighting-rules__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting-rules__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-cockfighting-rules__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-cockfighting-rules__list-item {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.page-cockfighting-rules__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

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

.page-cockfighting-rules__faq-section {
  background-color: #f0f8ff;
}

.page-cockfighting-rules__faq-list {
  margin-top: 30px;
}

.page-cockfighting-rules__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333;
}

.page-cockfighting-rules__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #26A9E0;
  border-bottom: 1px solid #eee;
}

.page-cockfighting-rules__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting-rules__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting-rules__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting-rules__faq-item[open] .page-cockfighting-rules__faq-toggle {
  content: '−';
}

.page-cockfighting-rules__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-cockfighting-rules {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting-rules__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-cockfighting-rules__hero-content {
    padding: 15px;
  }

  .page-cockfighting-rules__main-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .page-cockfighting-rules__subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-cockfighting-rules__section {
    padding: 40px 0;
  }

  .page-cockfighting-rules__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting-rules__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-cockfighting-rules__sub-title {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-cockfighting-rules__text-block {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .page-cockfighting-rules__list {
    margin-left: 20px;
    margin-bottom: 15px;
  }

  .page-cockfighting-rules__list-item {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  /* Image responsiveness */
  .page-cockfighting-rules img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting-rules__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Button responsiveness */
  .page-cockfighting-rules__cta-button,
  .page-cockfighting-rules__btn-primary,
  .page-cockfighting-rules__btn-secondary {
    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-cockfighting-rules__cta-buttons,
  .page-cockfighting-rules__button-group,
  .page-cockfighting-rules__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-cockfighting-rules__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-cockfighting-rules__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-cockfighting-rules__faq-answer {
    padding: 10px 20px 15px 20px;
  }
}