/* style/cockfighting-rules-and-tips.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-dark: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Base styles for the page */
.page-cockfighting-rules-and-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page, assuming dark body background */
  background-color: var(--background-dark);
}

/* Hero Section */
.page-cockfighting-rules-and-tips__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-dark);
  overflow: hidden;
}

.page-cockfighting-rules-and-tips__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting-rules-and-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-rules-and-tips__hero-content {
  max-width: 900px;
  text-align: center;
  margin-top: 40px;
  padding: 0 20px;
}

.page-cockfighting-rules-and-tips__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--gold-color);
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
}

.page-cockfighting-rules-and-tips__subtitle {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting-rules-and-tips__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Content Area */
.page-cockfighting-rules-and-tips__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--background-dark);
  color: var(--text-main);
}

.page-cockfighting-rules-and-tips__section-title {
  font-size: 2.2em;
  color: var(--gold-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-cockfighting-rules-and-tips p {
  font-size: 1.05em;
  margin-bottom: 1em;
  color: var(--text-main);
}

.page-cockfighting-rules-and-tips a {
  color: var(--secondary-color);
  text-decoration: none;
}

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

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

.page-cockfighting-rules-and-tips__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-color);
}

.page-cockfighting-rules-and-tips__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-cockfighting-rules-and-tips__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-cockfighting-rules-and-tips__card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-cockfighting-rules-and-tips__card-text {
  font-size: 0.95em;
  color: var(--text-secondary);
  flex-grow: 1;
}

/* Rule and Tip Lists */
.page-cockfighting-rules-and-tips__rule-list,
.page-cockfighting-rules-and-tips__tip-list,
.page-cockfighting-rules-and-tips__safety-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-cockfighting-rules-and-tips__rule-item,
.page-cockfighting-rules-and-tips__tip-item,
.page-cockfighting-rules-and-tips__safety-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: var(--text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-and-tips__rule-item strong,
.page-cockfighting-rules-and-tips__tip-item strong,
.page-cockfighting-rules-and-tips__safety-item strong {
  color: var(--gold-color);
}

/* Process Steps */
.page-cockfighting-rules-and-tips__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-cockfighting-rules-and-tips__step-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-cockfighting-rules-and-tips__step-title {
  font-size: 1.6em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-cockfighting-rules-and-tips__step-text {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Buttons */
.page-cockfighting-rules-and-tips__btn-primary,
.page-cockfighting-rules-and-tips__btn-secondary,
.page-cockfighting-rules-and-tips__btn-small,
.page-cockfighting-rules-and-tips__btn-large {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
}

.page-cockfighting-rules-and-tips__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting-rules-and-tips__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-cockfighting-rules-and-tips__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--background-dark);
  transform: translateY(-2px);
}

.page-cockfighting-rules-and-tips__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-cockfighting-rules-and-tips__btn-large {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-cockfighting-rules-and-tips__cta-section {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

/* FAQ Section */
.page-cockfighting-rules-and-tips__faq-container {
  margin-top: 30px;
}

.page-cockfighting-rules-and-tips__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-and-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
  list-style: none; /* For details/summary */
}

.page-cockfighting-rules-and-tips__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-cockfighting-rules-and-tips__faq-question:hover {
  background-color: var(--primary-color);
}

.page-cockfighting-rules-and-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold-color);
}

.page-cockfighting-rules-and-tips__faq-item[open] .page-cockfighting-rules-and-tips__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting-rules-and-tips__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-rules-and-tips__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-cockfighting-rules-and-tips__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-rules-and-tips {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting-rules-and-tips__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting-rules-and-tips__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-cockfighting-rules-and-tips__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-cockfighting-rules-and-tips__subtitle {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-cockfighting-rules-and-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting-rules-and-tips__btn-primary,
  .page-cockfighting-rules-and-tips__btn-secondary,
  .page-cockfighting-rules-and-tips a[class*="button"],
  .page-cockfighting-rules-and-tips a[class*="btn"] {
    max-width: 100% !important;
    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-tips__content-area {
    padding: 30px 15px;
  }

  .page-cockfighting-rules-and-tips__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-cockfighting-rules-and-tips__card-grid,
  .page-cockfighting-rules-and-tips__process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-cockfighting-rules-and-tips__card,
  .page-cockfighting-rules-and-tips__step-card,
  .page-cockfighting-rules-and-tips__rule-item,
  .page-cockfighting-rules-and-tips__tip-item,
  .page-cockfighting-rules-and-tips__safety-item {
    padding: 20px;
  }

  .page-cockfighting-rules-and-tips__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting-rules-and-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting-rules-and-tips__section,
  .page-cockfighting-rules-and-tips__card,
  .page-cockfighting-rules-and-tips__container,
  .page-cockfighting-rules-and-tips__process-steps,
  .page-cockfighting-rules-and-tips__faq-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting-rules-and-tips__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }

  .page-cockfighting-rules-and-tips__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-rules-and-tips__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

  .page-cockfighting-rules-and-tips__section-title {
    font-size: 1.6em;
  }

  .page-cockfighting-rules-and-tips__btn-primary,
  .page-cockfighting-rules-and-tips__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}