/* style/cockfighting-rules-tips.css */
:root {
  --primary-color: #E53E3E;
  --secondary-color: #F6AD55;
  --background-dark: #1A202C;
  --text-light: #ffffff;
  --text-grey: #CBD5E0;
  --card-bg: #2D3748;
  --border-color: #4A5568;
}

.page-cockfighting-rules-tips {
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  background-color: var(--background-dark);
  line-height: 1.6;
}

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

.page-cockfighting-rules-tips h1, .page-cockfighting-rules-tips h2, .page-cockfighting-rules-tips h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting-rules-tips h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--secondary-color);
}

.page-cockfighting-rules-tips h2 {
  font-size: 2.2em;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  margin-top: 40px;
  color: var(--text-light);
}

.page-cockfighting-rules-tips h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-top: 30px;
}

.page-cockfighting-rules-tips p {
  margin-bottom: 15px;
  color: var(--text-grey);
}

.page-cockfighting-rules-tips a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting-rules-tips a:hover {
  color: var(--secondary-color);
}

.page-cockfighting-rules-tips ul,
.page-cockfighting-rules-tips ol {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-grey);
}

.page-cockfighting-rules-tips ol {
  list-style-type: decimal;
}

.page-cockfighting-rules-tips li {
  margin-bottom: 8px;
}

/* Hero Section */
.page-cockfighting-rules-tips .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--background-dark);
  overflow: hidden;
}

.page-cockfighting-rules-tips .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting-rules-tips .hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 900px;
}

.page-cockfighting-rules-tips .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-rules-tips .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting-rules-tips .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 20px auto 30px auto;
  color: var(--text-light);
}

.page-cockfighting-rules-tips .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
}

.page-cockfighting-rules-tips .cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(246, 173, 85, 0.4);
}

/* Content Sections */
.page-cockfighting-rules-tips .content-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-cockfighting-rules-tips .content-section:last-of-type {
  border-bottom: none;
}

.page-cockfighting-rules-tips .introduction p {
  font-size: 1.1em;
}

/* Feature Grid */
.page-cockfighting-rules-tips .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting-rules-tips .feature-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-cockfighting-rules-tips .feature-item img {
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-rules-tips .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.8em;
  margin-top: 0;
}

.page-cockfighting-rules-tips .feature-item p {
  color: var(--text-grey);
}

.page-cockfighting-rules-tips .feature-item ul {
  text-align: left;
  list-style: none;
  padding-left: 0;
}

.page-cockfighting-rules-tips .feature-item ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-cockfighting-rules-tips .feature-item ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-cockfighting-rules-tips .btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--background-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(246, 173, 85, 0.3);
}

.page-cockfighting-rules-tips .btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 62, 62, 0.3);
}

/* Card Grid */
.page-cockfighting-rules-tips .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting-rules-tips .card-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-cockfighting-rules-tips .card-item img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-rules-tips .card-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 0;
}

.page-cockfighting-rules-tips .card-item p {
  color: var(--text-grey);
}

/* Tips Section */
.page-cockfighting-rules-tips .tip-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-tips .tip-item img {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
  max-width: 40%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-rules-tips .tip-item:nth-child(even) img {
  float: left;
  margin-right: 20px;
  margin-left: 0;
}

.page-cockfighting-rules-tips .tip-item h3 {
  color: var(--secondary-color);
  font-size: 1.7em;
  margin-top: 0;
}

.page-cockfighting-rules-tips .tip-item::after {
  content: '';
  display: table;
  clear: both;
}

/* Registration Section */
.page-cockfighting-rules-tips .step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting-rules-tips .step-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-cockfighting-rules-tips .step-item h3 {
  color: var(--primary-color);
  font-size: 1.8em;
  margin-top: 0;
}

.page-cockfighting-rules-tips .step-item p {
  color: var(--text-grey);
  margin-bottom: 20px;
}

.page-cockfighting-rules-tips .btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(229, 62, 62, 0.3);
}

.page-cockfighting-rules-tips .btn-primary:hover {
  background: var(--secondary-color);
  color: var(--background-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(246, 173, 85, 0.3);
}

/* FAQ Section */
.page-cockfighting-rules-tips .faq-list {
  margin-top: 30px;
}

.page-cockfighting-rules-tips .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-bg);
  box-shadow: 0 3px 10px 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: var(--background-dark);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-cockfighting-rules-tips .faq-question:hover {
  background-color: #2D3748;
}

.page-cockfighting-rules-tips .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--text-light);
}

.page-cockfighting-rules-tips .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-cockfighting-rules-tips .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-cockfighting-rules-tips .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  color: var(--text-grey);
}

.page-cockfighting-rules-tips .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  background: var(--card-bg);
}

.page-cockfighting-rules-tips .faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-cockfighting-rules-tips .conclusion {
  text-align: center;
  padding-bottom: 80px;
}

.page-cockfighting-rules-tips .conclusion p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 25px auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting-rules-tips h1 {
    font-size: 2.4em;
  }
  .page-cockfighting-rules-tips h2 {
    font-size: 1.8em;
  }
  .page-cockfighting-rules-tips h3 {
    font-size: 1.4em;
  }
  .page-cockfighting-rules-tips .tip-item img {
    max-width: 50%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-rules-tips .hero-section {
    padding: 40px 15px;
  }
  .page-cockfighting-rules-tips .hero-content p {
    font-size: 1em;
  }
  .page-cockfighting-rules-tips .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-cockfighting-rules-tips .feature-item img,
  .page-cockfighting-rules-tips .card-item img {
    height: 180px;
  }
  .page-cockfighting-rules-tips .tip-item img {
    float: none;
    margin: 0 auto 20px auto;
    max-width: 80%;
    height: auto;
  }
  .page-cockfighting-rules-tips .tip-item:nth-child(even) img {
    float: none;
    margin: 0 auto 20px auto;
  }
  .page-cockfighting-rules-tips .tip-item h3 {
    text-align: center;
  }
  .page-cockfighting-rules-tips .faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting-rules-tips .faq-question h3 {
    font-size: 1.1em;
  }
  .page-cockfighting-rules-tips .faq-toggle {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-rules-tips h1 {
    font-size: 2em;
  }
  .page-cockfighting-rules-tips h2 {
    font-size: 1.6em;
  }
  .page-cockfighting-rules-tips h3 {
    font-size: 1.3em;
  }
  .page-cockfighting-rules-tips .content-section {
    padding: 40px 0;
  }
  .page-cockfighting-rules-tips .feature-grid, .page-cockfighting-rules-tips .card-grid, .page-cockfighting-rules-tips .step-by-step {
    grid-template-columns: 1fr;
  }
  .page-cockfighting-rules-tips .feature-item, .page-cockfighting-rules-tips .card-item, .page-cockfighting-rules-tips .step-item {
    padding: 20px;
  }
  .page-cockfighting-rules-tips .faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting-rules-tips .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}