/* style/resources-live-cockfighting-rules.css */

.page-resources-live-cockfighting-rules {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000; /* Ensuring content area also has dark background as body */
}

.page-resources-live-cockfighting-rules__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), #017439;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.page-resources-live-cockfighting-rules__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Dim the image for text readability */
}

.page-resources-live-cockfighting-rules__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-live-cockfighting-rules__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-live-cockfighting-rules__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-resources-live-cockfighting-rules__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-live-cockfighting-rules__btn-primary,
.page-resources-live-cockfighting-rules__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-live-cockfighting-rules__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-resources-live-cockfighting-rules__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-live-cockfighting-rules__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-live-cockfighting-rules__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

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

.page-resources-live-cockfighting-rules__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-live-cockfighting-rules__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast with pure black body */
  color: #ffffff;
}

.page-resources-live-cockfighting-rules__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439;
}

.page-resources-live-cockfighting-rules__dark-bg .page-resources-live-cockfighting-rules__section-title {
  color: #ffffff;
}

.page-resources-live-cockfighting-rules__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439;
}

.page-resources-live-cockfighting-rules__dark-bg .page-resources-live-cockfighting-rules__sub-title {
  color: #ffffff;
}

.page-resources-live-cockfighting-rules__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-resources-live-cockfighting-rules__list,
.page-resources-live-cockfighting-rules__numbered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-live-cockfighting-rules__numbered-list {
  list-style-type: decimal;
}

.page-resources-live-cockfighting-rules__list-item {
  margin-bottom: 10px;
}

.page-resources-live-cockfighting-rules__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-live-cockfighting-rules__video-section {
  padding: 60px 20px;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-resources-live-cockfighting-rules__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 8px;
}

.page-resources-live-cockfighting-rules__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-resources-live-cockfighting-rules__faq-section {
  padding: 60px 20px;
}

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

.page-resources-live-cockfighting-rules__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-live-cockfighting-rules__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-resources-live-cockfighting-rules__faq-item[open] > .page-resources-live-cockfighting-rules__faq-question {
  border-bottom: none;
}

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

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

.page-resources-live-cockfighting-rules__faq-item[open] .page-resources-live-cockfighting-rules__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-live-cockfighting-rules__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-resources-live-cockfighting-rules__faq-item[open] .page-resources-live-cockfighting-rules__faq-answer {
  max-height: 1000px; /* Sufficiently large to show content */
  transition: max-height 0.5s ease-in;
}

.page-resources-live-cockfighting-rules__cta-section {
  padding: 60px 20px;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-resources-live-cockfighting-rules__cta-section .page-resources-live-cockfighting-rules__section-title {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-live-cockfighting-rules__main-title {
    font-size: 3em;
  }
  .page-resources-live-cockfighting-rules__section-title {
    font-size: 2em;
  }
  .page-resources-live-cockfighting-rules__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-live-cockfighting-rules {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-live-cockfighting-rules__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-live-cockfighting-rules__main-title {
    font-size: 2.2em;
  }
  .page-resources-live-cockfighting-rules__description {
    font-size: 1em;
  }
  .page-resources-live-cockfighting-rules__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-live-cockfighting-rules__btn-primary,
  .page-resources-live-cockfighting-rules__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }
  .page-resources-live-cockfighting-rules__content-area,
  .page-resources-live-cockfighting-rules__video-section,
  .page-resources-live-cockfighting-rules__faq-section,
  .page-resources-live-cockfighting-rules__cta-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-live-cockfighting-rules__section-title {
    font-size: 1.8em;
  }
  .page-resources-live-cockfighting-rules__sub-title {
    font-size: 1.4em;
  }
  .page-resources-live-cockfighting-rules__paragraph,
  .page-resources-live-cockfighting-rules__list-item {
    font-size: 1em;
  }
  /* Mobile image and video responsiveness */
  .page-resources-live-cockfighting-rules img {
    max-width: 100% !important;
    height: auto !important;
    min-width: unset; /* Allow smaller images on mobile if needed for layout, but still >=200px by content */
    min-height: unset;
  }
  .page-resources-live-cockfighting-rules video,
  .page-resources-live-cockfighting-rules__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-live-cockfighting-rules__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-live-cockfighting-rules__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-resources-live-cockfighting-rules__faq-answer {
    font-size: 1em;
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-live-cockfighting-rules__main-title {
    font-size: 1.8em;
  }
  .page-resources-live-cockfighting-rules__section-title {
    font-size: 1.5em;
  }
  .page-resources-live-cockfighting-rules__sub-title {
    font-size: 1.2em;
  }
}