/* style/resources-cockfighting-67-match-rules-and-faq.css */

/* Base Styles */
.page-resources-cockfighting-67-match-rules-and-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is #000 from shared.css */
}

.page-resources-cockfighting-67-match-rules-and-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Ensure the first section has padding-top to clear fixed header */
.page-resources-cockfighting-67-match-rules-and-faq__hero-content-section {
  padding-top: 70px; /* Adjusted to ensure content is not hidden by fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #CC3300, #992200); /* Darker gradient for hero */
  color: #ffffff;
  text-align: center;
}

.page-resources-cockfighting-67-match-rules-and-faq__main-title {
  font-size: 3.2em;
  color: #FFCC00; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-cockfighting-67-match-rules-and-faq__introduction-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-cockfighting-67-match-rules-and-faq__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-cockfighting-67-match-rules-and-faq__btn-primary,
.page-resources-cockfighting-67-match-rules-and-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-resources-cockfighting-67-match-rules-and-faq__btn-primary {
  background: #FFCC00;
  color: #333333; /* Dark text on gold button */
  border-color: #FFCC00;
}

.page-resources-cockfighting-67-match-rules-and-faq__btn-primary:hover {
  background: #e6b800;
  border-color: #e6b800;
  transform: translateY(-2px);
}

.page-resources-cockfighting-67-match-rules-and-faq__btn-secondary {
  background: transparent;
  color: #FFCC00; /* Gold text on dark background */
  border-color: #FFCC00;
}

.page-resources-cockfighting-67-match-rules-and-faq__btn-secondary:hover {
  background: rgba(255, 204, 0, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-resources-cockfighting-67-match-rules-and-faq__btn-primary--large,
.page-resources-cockfighting-67-match-rules-and-faq__btn-secondary--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-resources-cockfighting-67-match-rules-and-faq__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Section Styles */
.page-resources-cockfighting-67-match-rules-and-faq__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-cockfighting-67-match-rules-and-faq__section:last-of-type {
  border-bottom: none;
}

.page-resources-cockfighting-67-match-rules-and-faq__section--rules {
  background-color: #0d0d0d;
}

.page-resources-cockfighting-67-match-rules-and-faq__section--betting {
  background-color: #1a1a1a;
}

.page-resources-cockfighting-67-match-rules-and-faq__section--guide {
  background-color: #0d0d0d;
}

.page-resources-cockfighting-67-match-rules-and-faq__section--faq {
  background-color: #1a1a1a;
}

.page-resources-cockfighting-67-match-rules-and-faq__dark-section {
  background: #CC3300;
  color: #ffffff; /* Forced white text */
}

.page-resources-cockfighting-67-match-rules-and-faq__section-title {
  font-size: 2.5em;
  color: #FFCC00;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-resources-cockfighting-67-match-rules-and-faq__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

.page-resources-cockfighting-67-match-rules-and-faq__sub-title {
  font-size: 1.8em;
  color: #FFCC00;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-cockfighting-67-match-rules-and-faq__content-block {
  margin-bottom: 40px;
}

.page-resources-cockfighting-67-match-rules-and-faq__list {
  list-style: disc inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-resources-cockfighting-67-match-rules-and-faq__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #e0e0e0;
}

.page-resources-cockfighting-67-match-rules-and-faq__list-item strong {
  color: #FFCC00;
}

.page-resources-cockfighting-67-match-rules-and-faq__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Betting Types Grid */
.page-resources-cockfighting-67-match-rules-and-faq__bet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-cockfighting-67-match-rules-and-faq__card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-resources-cockfighting-67-match-rules-and-faq__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-cockfighting-67-match-rules-and-faq__card-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-resources-cockfighting-67-match-rules-and-faq__card-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-resources-cockfighting-67-match-rules-and-faq__card-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

/* Steps Grid */
.page-resources-cockfighting-67-match-rules-and-faq__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-resources-cockfighting-67-match-rules-and-faq__step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 204, 0, 0.4);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-cockfighting-67-match-rules-and-faq__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFCC00;
  color: #333333;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-resources-cockfighting-67-match-rules-and-faq__step-title {
  font-size: 1.5em;
  color: #FFCC00;
  margin-bottom: 10px;
}

.page-resources-cockfighting-67-match-rules-and-faq__step-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* FAQ Section */
.page-resources-cockfighting-67-match-rules-and-faq__faq-list {
  margin-top: 40px;
}

.page-resources-cockfighting-67-match-rules-and-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Card background for FAQ items */
  border: 1px solid rgba(255, 204, 0, 0.2);
}

.page-resources-cockfighting-67-match-rules-and-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08); /* Slightly lighter for question header */
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-resources-cockfighting-67-match-rules-and-faq__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-resources-cockfighting-67-match-rules-and-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFCC00; /* Gold for FAQ questions */
  pointer-events: none;
}

.page-resources-cockfighting-67-match-rules-and-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFCC00;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-resources-cockfighting-67-match-rules-and-faq__faq-item.active .page-resources-cockfighting-67-match-rules-and-faq__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
  color: #ffffff;
}

.page-resources-cockfighting-67-match-rules-and-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.03); /* Slightly darker background for answers */
}

.page-resources-cockfighting-67-match-rules-and-faq__faq-item.active .page-resources-cockfighting-67-match-rules-and-faq__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 204, 0, 0.1);
}

.page-resources-cockfighting-67-match-rules-and-faq__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-cockfighting-67-match-rules-and-faq__main-title {
    font-size: 2.8em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__section-title {
    font-size: 2em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__sub-title {
    font-size: 1.6em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__bet-types-grid,
  .page-resources-cockfighting-67-match-rules-and-faq__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-cockfighting-67-match-rules-and-faq__hero-content-section {
    padding-top: 70px !important; /* Ensure mobile padding-top */
    padding-bottom: 40px;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__main-title {
    font-size: 2.2em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__introduction-text {
    font-size: 1em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__btn-primary,
  .page-resources-cockfighting-67-match-rules-and-faq__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__section {
    padding: 40px 0;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__section-title {
    font-size: 1.8em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__sub-title {
    font-size: 1.4em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__list {
    padding-left: 15px;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__list-item {
    font-size: 0.95em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__card,
  .page-resources-cockfighting-67-match-rules-and-faq__step-card {
    padding: 20px;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__card-title {
    font-size: 1.4em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__card-text {
    font-size: 0.9em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__step-title {
    font-size: 1.3em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__step-text {
    font-size: 0.9em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__faq-question {
    padding: 15px 20px;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__faq-question h3 {
    font-size: 1em;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__faq-answer {
    padding: 0 20px;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__faq-item.active .page-resources-cockfighting-67-match-rules-and-faq__faq-answer {
    padding: 15px 20px !important;
  }
  /* Mobile image specific rules */
  .page-resources-cockfighting-67-match-rules-and-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-cockfighting-67-match-rules-and-faq__section,
  .page-resources-cockfighting-67-match-rules-and-faq__card,
  .page-resources-cockfighting-67-match-rules-and-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}