/* style/cockfighting-rules-and-analysis.css */
.page-cockfighting-rules-and-analysis {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, explicit for clarity */
}

.page-cockfighting-rules-and-analysis__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.page-cockfighting-rules-and-analysis__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-cockfighting-rules-and-analysis__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-cockfighting-rules-and-analysis__hero-content {
  max-width: 900px;
  position: relative; /* Ensure text is above any potential background layers, but not overlapping image */
  z-index: 10;
}

.page-cockfighting-rules-and-analysis__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-cockfighting-rules-and-analysis__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting-rules-and-analysis__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting-rules-and-analysis__btn-primary,
.page-cockfighting-rules-and-analysis__btn-secondary,
.page-cockfighting-rules-and-analysis__card-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting-rules-and-analysis__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting-rules-and-analysis__btn-primary:hover {
  background-color: #d16b06;
}

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

.page-cockfighting-rules-and-analysis__btn-secondary:hover {
  background-color: #1e87bb;
}

.page-cockfighting-rules-and-analysis__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

.page-cockfighting-rules-and-analysis__content-area {
  max-width: 1200px;
  margin: 0 auto;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent;
}

.page-cockfighting-rules-and-analysis__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-cockfighting-rules-and-analysis__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-cockfighting-rules-and-analysis p {
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-cockfighting-rules-and-analysis__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-cockfighting-rules-and-analysis__list li {
  margin-bottom: 0.5em;
}

.page-cockfighting-rules-and-analysis__image-in-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting-rules-and-analysis__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-cockfighting-rules-and-analysis__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting-rules-and-analysis__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting-rules-and-analysis__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark theme */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting-rules-and-analysis__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card layout */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-cockfighting-rules-and-analysis__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting-rules-and-analysis__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting-rules-and-analysis__card-title a:hover {
  text-decoration: underline;
}

.page-cockfighting-rules-and-analysis__card p {
  font-size: 0.95em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-cockfighting-rules-and-analysis__card-button {
  margin-top: 20px;
  background-color: #EA7C07; /* Login color for card button */
  color: #ffffff;
  border: none;
}

.page-cockfighting-rules-and-analysis__card-button:hover {
  background-color: #d16b06;
}

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

.page-cockfighting-rules-and-analysis__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark theme */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting-rules-and-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting-rules-and-analysis__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting-rules-and-analysis__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #EA7C07;
}

.page-cockfighting-rules-and-analysis__faq-answer {
  padding: 0 25px 20px;
  color: #f0f0f0;
}

.page-cockfighting-rules-and-analysis__faq-item[open] .page-cockfighting-rules-and-analysis__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-rules-and-analysis__main-title {
    font-size: clamp(2em, 5vw, 2.5em);
  }
  .page-cockfighting-rules-and-analysis__section-title {
    font-size: 2em;
  }
  .page-cockfighting-rules-and-analysis__sub-title {
    font-size: 1.4em;
  }
  .page-cockfighting-rules-and-analysis__game-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting-rules-and-analysis {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting-rules-and-analysis__hero-section {
    padding: 10px 15px 40px 15px;
  }
  .page-cockfighting-rules-and-analysis__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 15px;
  }
  .page-cockfighting-rules-and-analysis__intro-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-cockfighting-rules-and-analysis__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-cockfighting-rules-and-analysis__btn-primary,
  .page-cockfighting-rules-and-analysis__btn-secondary,
  .page-cockfighting-rules-and-analysis__card-button {
    width: 100% !important;
    max-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-and-analysis__section {
    padding: 40px 15px;
  }
  .page-cockfighting-rules-and-analysis__content-area {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting-rules-and-analysis__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-cockfighting-rules-and-analysis__sub-title {
    font-size: 1.2em;
    margin-top: 30px;
    margin-bottom: 10px;
  }
  .page-cockfighting-rules-and-analysis__image-in-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }
  .page-cockfighting-rules-and-analysis__game-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting-rules-and-analysis__card {
    padding: 15px;
  }
  .page-cockfighting-rules-and-analysis__card-image {
    height: 180px;
  }
  .page-cockfighting-rules-and-analysis__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-cockfighting-rules-and-analysis__faq-answer {
    padding: 0 20px 15px;
  }
  .page-cockfighting-rules-and-analysis img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-rules-and-analysis__main-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }
  .page-cockfighting-rules-and-analysis__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting-rules-and-analysis__card-image {
    height: 150px;
  }
}