/* style/cockfighting-rules-tips.css */
.page-cockfighting-rules-tips {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

.page-cockfighting-rules-tips__dark-bg {
  background-color: #26A9E0;
  color: #ffffff; /* Light text for dark background */
}

.page-cockfighting-rules-tips__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-cockfighting-rules-tips__light-text {
  color: #ffffff;
}

.page-cockfighting-rules-tips__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles top padding, this is for internal spacing */
  text-align: center;
}

.page-cockfighting-rules-tips__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
}

.page-cockfighting-rules-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting-rules-tips__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-cockfighting-rules-tips__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting-rules-tips__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #ffffff;
}

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

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

.page-cockfighting-rules-tips__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-cockfighting-rules-tips__dark-bg .page-cockfighting-rules-tips__section-title {
  color: #ffffff;
}

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

.page-cockfighting-rules-tips__dark-bg .page-cockfighting-rules-tips__sub-title {
  color: #ffffff;
}

.page-cockfighting-rules-tips p {
  margin-bottom: 15px;
}

.page-cockfighting-rules-tips__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-cockfighting-rules-tips__list--ordered {
  list-style: decimal;
}

.page-cockfighting-rules-tips__list--light li {
  color: #ffffff;
}

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

.page-cockfighting-rules-tips__image-content-flex--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting-rules-tips__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-rules-tips__content-image--bottom {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.page-cockfighting-rules-tips__content-image--center {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

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

.page-cockfighting-rules-tips__flex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-cockfighting-rules-tips__grid-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-rules-tips__grid-item .page-cockfighting-rules-tips__sub-title {
  margin-top: 0;
}

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

.page-cockfighting-rules-tips__faq-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  margin-bottom: 10px;
  border-radius: 8px;
}

.page-cockfighting-rules-tips__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  list-style: none;
  color: #333333;
}

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

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

.page-cockfighting-rules-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-cockfighting-rules-tips__faq-item[open] .page-cockfighting-rules-tips__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting-rules-tips__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.1em;
  color: #555555;
}

.page-cockfighting-rules-tips__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-cockfighting-rules-tips__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-cockfighting-rules-tips__btn-primary,
.page-cockfighting-rules-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-rules-tips__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cockfighting-rules-tips__btn-primary:hover {
  background-color: #d46a00;
  border-color: #d46a00;
}

.page-cockfighting-rules-tips__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting-rules-tips__image-content-flex {
    flex-direction: column;
    align-items: center;
  }

  .page-cockfighting-rules-tips__image-content-flex--reverse {
    flex-direction: column;
  }

  .page-cockfighting-rules-tips__content-image {
    max-width: 100%;
  }

  .page-cockfighting-rules-tips__hero-content {
    margin-top: 20px;
  }

  .page-cockfighting-rules-tips__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-cockfighting-rules-tips__section-title {
    font-size: 2em;
  }

  .page-cockfighting-rules-tips__sub-title {
    font-size: 1.5em;
  }
}

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

  .page-cockfighting-rules-tips__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-cockfighting-rules-tips__hero-image-wrapper {
    max-height: 50vh;
  }

  .page-cockfighting-rules-tips__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-cockfighting-rules-tips__intro-text {
    font-size: 1em;
  }

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

  .page-cockfighting-rules-tips__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-cockfighting-rules-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting-rules-tips__sub-title {
    font-size: 1.3em;
    margin-top: 20px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting-rules-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Mobile video responsiveness (general rules, though no video on this specific page) */
  .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;
  }
  .page-cockfighting-rules-tips__video-section {
    padding-top: 10px !important;
  }
  .page-cockfighting-rules-tips__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile button responsiveness */
  .page-cockfighting-rules-tips__cta-button,
  .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;
  }

  .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: 15px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-cockfighting-rules-tips__cta-section {
    padding: 60px 0;
  }

  .page-cockfighting-rules-tips__flex-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting-rules-tips__faq-item summary {
    font-size: 1.1em;
  }
}