/* style/cockfighting-rules-tips.css */
:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000;
  --bg-light: #f8f8f8;
  --border-color: #333333;
}

.page-cockfighting-rules-tips {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text for dark body background */
  background-color: var(--bg-dark); /* Inherited from shared.css body */
}

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

/* --- Section Styles --- */
.page-cockfighting-rules-tips__hero-section {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.9), rgba(153, 0, 0, 0.9)), url('[GALLERY:bg:cockfighting_hero_pattern]') no-repeat center center/cover;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  padding-top: 120px; /* Adjust for fixed header */
}

.page-cockfighting-rules-tips__content-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-cockfighting-rules-tips__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Darker background for FAQ for contrast */
  color: var(--text-light);
}

.page-cockfighting-rules-tips__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* --- Typography --- */
.page-cockfighting-rules-tips__main-title {
  font-size: 3.2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-rules-tips__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-rules-tips__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-cockfighting-rules-tips__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-cockfighting-rules-tips__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-cockfighting-rules-tips__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: inherit;
}

.page-cockfighting-rules-tips__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: inherit;
}

.page-cockfighting-rules-tips__list-item strong {
  color: var(--primary-color);
}

.page-cockfighting-rules-tips__link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-cockfighting-rules-tips__link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* --- Buttons --- */
.page-cockfighting-rules-tips__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-cockfighting-rules-tips__cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting-rules-tips__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-cockfighting-rules-tips__btn-primary:hover {
  background-color: #a30000;
  border-color: #a30000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-tips__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border: 2px solid var(--secondary-color);
}

.page-cockfighting-rules-tips__btn-secondary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* --- Images --- */
.page-cockfighting-rules-tips__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);
}

/* --- FAQ Section Styles --- */
.page-cockfighting-rules-tips__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-cockfighting-rules-tips__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #333333; /* Darker background for FAQ items */
}

.page-cockfighting-rules-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  border: 1px solid #444444;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-cockfighting-rules-tips__faq-question:hover {
  background: #3a3a3a;
  border-color: #555555;
}

.page-cockfighting-rules-tips__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-cockfighting-rules-tips__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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: 28px;
  height: 28px;
}

.page-cockfighting-rules-tips__faq-item.active .page-cockfighting-rules-tips__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg);
}

.page-cockfighting-rules-tips__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 20px;
  opacity: 0;
  color: var(--text-light);
  background: #333333;
}

.page-cockfighting-rules-tips__faq-item.active .page-cockfighting-rules-tips__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-cockfighting-rules-tips__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting-rules-tips__section-title {
    font-size: 2em;
  }
  .page-cockfighting-rules-tips__hero-section {
    padding-top: 100px; /* Adjust for fixed header */
  }
}

@media (max-width: 768px) {
  .page-cockfighting-rules-tips__hero-section {
    padding: 100px 15px 60px; /* Adjust for fixed header */
    padding-top: 100px !important;
  }
  .page-cockfighting-rules-tips__content-section,
  .page-cockfighting-rules-tips__faq-section,
  .page-cockfighting-rules-tips__conclusion-section {
    padding: 50px 15px;
  }
  .page-cockfighting-rules-tips__main-title {
    font-size: 2.2em;
  }
  .page-cockfighting-rules-tips__hero-description {
    font-size: 1em;
  }
  .page-cockfighting-rules-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting-rules-tips__text-block,
  .page-cockfighting-rules-tips__list-item {
    font-size: 1em;
  }
  .page-cockfighting-rules-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting-rules-tips__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-cockfighting-rules-tips__image {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting-rules-tips__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* FAQ Mobile */
  .page-cockfighting-rules-tips__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-cockfighting-rules-tips__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }
  .page-cockfighting-rules-tips__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-cockfighting-rules-tips__faq-answer {
    padding: 0 15px;
  }
  .page-cockfighting-rules-tips__faq-item.active .page-cockfighting-rules-tips__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-rules-tips__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting-rules-tips__section-title {
    font-size: 1.5em;
  }
}