.page-resources-live-cockfighting-rules {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from body via shared.css */
}

.page-resources-live-cockfighting-rules__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-live-cockfighting-rules__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-resources-live-cockfighting-rules__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-resources-live-cockfighting-rules__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources-live-cockfighting-rules__content-section {
  padding: 60px 20px;
  background-color: #121212; /* Dark background for content sections */
  color: #f0f0f0;
}

.page-resources-live-cockfighting-rules__light-bg {
  background-color: #121212;
  color: #f0f0f0;
}

.page-resources-live-cockfighting-rules__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-live-cockfighting-rules__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-live-cockfighting-rules__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  font-weight: bold;
}

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

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

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

.page-resources-live-cockfighting-rules__list li,
.page-resources-live-cockfighting-rules__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-live-cockfighting-rules__sub-list {
  list-style-type: circle;
  margin-left: 20px;
  margin-top: 10px;
}

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

.page-resources-live-cockfighting-rules__center-button {
  display: block;
  margin: 30px auto;
  width: fit-content;
}

.page-resources-live-cockfighting-rules__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-resources-live-cockfighting-rules__image-left {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  object-fit: cover;
}

.page-resources-live-cockfighting-rules__image-right {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  object-fit: cover;
}

.page-resources-live-cockfighting-rules__text-content {
  flex: 2;
}

.page-resources-live-cockfighting-rules__reverse-layout {
  flex-direction: row-reverse;
}

.page-resources-live-cockfighting-rules__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-resources-live-cockfighting-rules__card {
  background-color: #1a1a1a; /* Darker background for cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #ffffff;
}

.page-resources-live-cockfighting-rules__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-live-cockfighting-rules__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-live-cockfighting-rules__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-resources-live-cockfighting-rules__feature-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #ffffff;
}

.page-resources-live-cockfighting-rules__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: invert(100%); /* Example of allowed filter for monochrome icons, if they are originally dark. If icons are color, this is forbidden. For this context, assuming icons are illustrative and should be visible on dark bg. */
  /* IMPORTANT: For content images, filter: invert is NOT allowed. This is for illustrative icons. */
  /* Re-evaluating based on strict rule: NO filter property for images. Removing. */
}

.page-resources-live-cockfighting-rules__feature-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-live-cockfighting-rules__feature-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-resources-live-cockfighting-rules__faq-container {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-live-cockfighting-rules__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #f0f0f0;
}

.page-resources-live-cockfighting-rules__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

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

.page-resources-live-cockfighting-rules__faq-item summary:hover {
  background-color: #222222;
}

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

.page-resources-live-cockfighting-rules__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-resources-live-cockfighting-rules__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1.05em;
  color: #f0f0f0;
  background-color: #222222;
  border-top: 1px solid #333333;
}

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

/* Global image responsiveness */
.page-resources-live-cockfighting-rules img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-resources-live-cockfighting-rules__hero-title {
    font-size: 2.4em;
  }
  .page-resources-live-cockfighting-rules__section-title {
    font-size: 2em;
  }
  .page-resources-live-cockfighting-rules__image-text-block {
    flex-direction: column;
    text-align: center;
  }
  .page-resources-live-cockfighting-rules__reverse-layout {
    flex-direction: column;
  }
  .page-resources-live-cockfighting-rules__image-left,
  .page-resources-live-cockfighting-rules__image-right {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources-live-cockfighting-rules {
    font-size: 15px;
    line-height: 1.6;
  }
  .page-resources-live-cockfighting-rules__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-resources-live-cockfighting-rules__hero-title {
    font-size: 2em;
  }
  .page-resources-live-cockfighting-rules__hero-description {
    font-size: 1em;
  }
  .page-resources-live-cockfighting-rules__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-live-cockfighting-rules__content-section {
    padding: 40px 15px;
  }
  .page-resources-live-cockfighting-rules__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-live-cockfighting-rules__text-block,
  .page-resources-live-cockfighting-rules__list li,
  .page-resources-live-cockfighting-rules__ordered-list li {
    font-size: 1em;
  }
  .page-resources-live-cockfighting-rules__btn-primary,
  .page-resources-live-cockfighting-rules__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-live-cockfighting-rules__center-button {
    width: 100% !important;
  }
  .page-resources-live-cockfighting-rules__card-grid,
  .page-resources-live-cockfighting-rules__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-live-cockfighting-rules__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-live-cockfighting-rules__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-resources-live-cockfighting-rules img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-live-cockfighting-rules__image-text-block,
  .page-resources-live-cockfighting-rules__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-live-cockfighting-rules__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
}