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

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

.page-cockfighting-rules-tips__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-cockfighting-rules-tips__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-tips__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

.page-cockfighting-rules-tips__cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 18px;
  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);
  white-space: nowrap;
}

.page-cockfighting-rules-tips__btn-primary {
  background: var(--primary-color, #007bff);
  color: #ffffff;
  border: 2px solid var(--primary-color, #007bff);
}

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

.page-cockfighting-rules-tips__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

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

.page-cockfighting-rules-tips__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #ffc107; /* Highlight with auxiliary color */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-rules-tips__intro-section,
.page-cockfighting-rules-tips__tips-section,
.page-cockfighting-rules-tips__benefits-section,
.page-cockfighting-rules-tips__cta-final-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

.page-cockfighting-rules-tips__dark-bg {
  background-color: #0d0d0d; /* Darker background for contrast */
  color: #f0f0f0;
}

.page-cockfighting-rules-tips__rules-section,
.page-cockfighting-rules-tips__safety-section,
.page-cockfighting-rules-tips__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-cockfighting-rules-tips__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-cockfighting-rules-tips__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-cockfighting-rules-tips__text-block p a {
  color: #ffc107;
  text-decoration: underline;
}

.page-cockfighting-rules-tips__text-block p a:hover {
  color: #ffd700;
}

.page-cockfighting-rules-tips__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-cockfighting-rules-tips__rules-grid,
.page-cockfighting-rules-tips__tips-grid,
.page-cockfighting-rules-tips__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting-rules-tips__rule-item,
.page-cockfighting-rules-tips__tip-item,
.page-cockfighting-rules-tips__benefit-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-cockfighting-rules-tips__rule-item:hover,
.page-cockfighting-rules-tips__tip-item:hover,
.page-cockfighting-rules-tips__benefit-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-cockfighting-rules-tips__rule-title,
.page-cockfighting-rules-tips__tip-title,
.page-cockfighting-rules-tips__benefit-title {
  font-size: 24px;
  font-weight: bold;
  color: #ffc107;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-cockfighting-rules-tips__rule-item p,
.page-cockfighting-rules-tips__tip-item p,
.page-cockfighting-rules-tips__benefit-item p {
  font-size: 16px;
  color: #c0c0c0;
}

.page-cockfighting-rules-tips__safety-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-cockfighting-rules-tips__safety-list li {
  background-color: rgba(0, 123, 255, 0.15); /* Primary color tint */
  padding: 25px;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  font-size: 17px;
  color: #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-cockfighting-rules-tips__safety-list li:hover {
  background-color: rgba(0, 123, 255, 0.25);
}

.page-cockfighting-rules-tips__safety-list li a {
  color: #ffc107;
  text-decoration: underline;
}

.page-cockfighting-rules-tips__safety-list li a:hover {
  color: #ffd700;
}

/* FAQ Section */
.page-cockfighting-rules-tips__faq-list {
  margin-top: 40px;
}

.page-cockfighting-rules-tips__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-rules-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-cockfighting-rules-tips__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-cockfighting-rules-tips__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107;
  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: 32px;
  height: 32px;
}

.page-cockfighting-rules-tips__faq-item.active .page-cockfighting-rules-tips__faq-toggle {
  color: #007bff;
  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 25px;
  opacity: 0;
  background: #222222;
  border-top: 1px solid #3a3a3a;
  border-radius: 0 0 8px 8px;
}

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

.page-cockfighting-rules-tips__faq-answer p {
  font-size: 16px;
  color: #c0c0c0;
  margin-bottom: 10px;
}

.page-cockfighting-rules-tips__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-cockfighting-rules-tips__faq-answer a {
  color: #ffc107;
  text-decoration: underline;
}

.page-cockfighting-rules-tips__faq-answer a:hover {
  color: #ffd700;
}

.page-cockfighting-rules-tips__cta-final-section {
  text-align: center;
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-cockfighting-rules-tips__cta-final-section .page-cockfighting-rules-tips__section-title {
  color: #ffffff;
}

.page-cockfighting-rules-tips__cta-final-section .page-cockfighting-rules-tips__description {
  color: #e0e0e0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-rules-tips__main-title {
    font-size: 40px;
  }
  .page-cockfighting-rules-tips__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-rules-tips {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting-rules-tips__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
  }
  .page-cockfighting-rules-tips__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-cockfighting-rules-tips__description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-cockfighting-rules-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting-rules-tips__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting-rules-tips__intro-section,
  .page-cockfighting-rules-tips__rules-section,
  .page-cockfighting-rules-tips__tips-section,
  .page-cockfighting-rules-tips__safety-section,
  .page-cockfighting-rules-tips__benefits-section,
  .page-cockfighting-rules-tips__faq-section,
  .page-cockfighting-rules-tips__cta-final-section {
    padding: 60px 0;
  }
  .page-cockfighting-rules-tips__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-cockfighting-rules-tips__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-cockfighting-rules-tips__text-block p {
    font-size: 15px;
  }
  .page-cockfighting-rules-tips__rule-item,
  .page-cockfighting-rules-tips__tip-item,
  .page-cockfighting-rules-tips__benefit-item {
    padding: 25px;
  }
  .page-cockfighting-rules-tips__rule-title,
  .page-cockfighting-rules-tips__tip-title,
  .page-cockfighting-rules-tips__benefit-title {
    font-size: 20px;
  }
  .page-cockfighting-rules-tips__safety-list li {
    font-size: 15px;
    padding: 20px;
  }
  .page-cockfighting-rules-tips__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting-rules-tips__faq-question h3 {
    font-size: 16px;
  }
  .page-cockfighting-rules-tips__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-cockfighting-rules-tips__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting-rules-tips__faq-item.active .page-cockfighting-rules-tips__faq-answer {
    padding: 15px 20px !important;
  }
  .page-cockfighting-rules-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting-rules-tips__rules-grid,
  .page-cockfighting-rules-tips__tips-grid,
  .page-cockfighting-rules-tips__benefits-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-rules-tips__main-title {
    font-size: 28px;
  }
  .page-cockfighting-rules-tips__section-title {
    font-size: 24px;
  }
  .page-cockfighting-rules-tips__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-cockfighting-rules-tips__rule-title,
  .page-cockfighting-rules-tips__tip-title,
  .page-cockfighting-rules-tips__benefit-title {
    font-size: 18px;
  }
  .page-cockfighting-rules-tips__faq-question h3 {
    font-size: 15px;
  }
}