/* style/cockfighting-rules-tips.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --button-login: #EA7C07;
  --bg-white: #FFFFFF;
  --black: #000000;
}

.page-cockfighting-rules-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text on assumed dark body background */
  background-color: transparent; /* Body handles the background */
}

.page-cockfighting-rules-tips__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  text-align: center;
}

.page-cockfighting-rules-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-cockfighting-rules-tips__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-cockfighting-rules-tips__main-title {
  font-size: clamp(2em, 5vw, 3.2em);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting-rules-tips__lead-text {
  font-size: 1.1em;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.page-cockfighting-rules-tips__btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid var(--primary-color);
}

.page-cockfighting-rules-tips__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-cockfighting-rules-tips__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: var(--text-dark); /* Dark text on light background for content */
  background-color: var(--bg-white);
}

.page-cockfighting-rules-tips__section-wrapper {
  padding: 0 15px;
}

.page-cockfighting-rules-tips__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-cockfighting-rules-tips__sub-title {
  font-size: 1.6em;
  color: var(--black);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting-rules-tips p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-cockfighting-rules-tips__feature-list,
.page-cockfighting-rules-tips__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-cockfighting-rules-tips__feature-item,
.page-cockfighting-rules-tips__list-item {
  background-color: #f8f8f8;
  border-left: 5px solid var(--primary-color);
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  color: var(--text-dark);
}

.page-cockfighting-rules-tips__feature-title {
  font-size: 1.2em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 5px;
}

.page-cockfighting-rules-tips__image-text-grid {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 30px;
}

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

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

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

.page-cockfighting-rules-tips__btn-secondary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid var(--primary-color);
  margin-top: 20px;
}

.page-cockfighting-rules-tips__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-cockfighting-rules-tips__step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-cockfighting-rules-tips__step-item {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-cockfighting-rules-tips__step-item .page-cockfighting-rules-tips__sub-title {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
}

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

.page-cockfighting-rules-tips__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-cockfighting-rules-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: var(--secondary-color);
  font-weight: bold;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-cockfighting-rules-tips__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting-rules-tips__faq-question:hover {
  background-color: #e6f7ff;
}

.page-cockfighting-rules-tips__faq-qtext {
  flex-grow: 1;
  color: var(--primary-color);
}

.page-cockfighting-rules-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: var(--primary-color);
}

.page-cockfighting-rules-tips__faq-answer {
  padding: 15px 20px;
  background-color: #ffffff;
  color: var(--text-dark);
}

.page-cockfighting-rules-tips__cta-section {
  text-align: center;
  background-color: var(--primary-color);
  padding: 40px 20px;
  border-radius: 8px;
  margin-top: 50px;
  color: var(--secondary-color);
}

.page-cockfighting-rules-tips__cta-text {
  font-size: 1.8em;
  margin-bottom: 25px;
  font-weight: 600;
  color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting-rules-tips__hero-content {
    max-width: 700px;
  }
  .page-cockfighting-rules-tips__image-text-grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-rules-tips__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-cockfighting-rules-tips__hero-content {
    padding: 15px;
  }
  .page-cockfighting-rules-tips__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-cockfighting-rules-tips__lead-text {
    font-size: 1em;
  }
  .page-cockfighting-rules-tips__content-area {
    padding: 30px 0;
  }
  .page-cockfighting-rules-tips__section-wrapper {
    padding: 0 15px;
  }
  .page-cockfighting-rules-tips__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting-rules-tips__sub-title {
    font-size: 1.4em;
  }
  
  /* Image Responsive */
  .page-cockfighting-rules-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-rules-tips__image-block,
  .page-cockfighting-rules-tips__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Video Responsive - No video element in HTML, but include for safety */
  .page-cockfighting-rules-tips video,
  .page-cockfighting-rules-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-rules-tips__video-section,
  .page-cockfighting-rules-tips__video-container,
  .page-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;
  }

  /* Button Responsive */
  .page-cockfighting-rules-tips__btn-primary,
  .page-cockfighting-rules-tips__btn-secondary,
  .page-cockfighting-rules-tips a[class*="button"],
  .page-cockfighting-rules-tips a[class*="btn"] {
    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;
    text-align: center;
    margin-bottom: 10px;
  }
  .page-cockfighting-rules-tips__cta-section .page-cockfighting-rules-tips__btn-primary {
    margin-bottom: 0;
  }

  .page-cockfighting-rules-tips__cta-buttons,
  .page-cockfighting-rules-tips__button-group,
  .page-cockfighting-rules-tips__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;
    display: flex;
    flex-direction: column;
  }

  .page-cockfighting-rules-tips__cta-text {
    font-size: 1.4em;
  }
  .page-cockfighting-rules-tips__step-by-step-guide {
    grid-template-columns: 1fr;
  }
}

/* Dark background for sections where primary color is background */
.page-cockfighting-rules-tips__dark-bg {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Light background for content sections */
.page-cockfighting-rules-tips__light-bg {
  background-color: var(--bg-white);
  color: var(--text-dark);
}