/* style/cockfighting.css */
.page-cockfighting {
  background-color: var(--background);
  color: var(--text-secondary);
  font-family: Arial, sans-serif;
}

.page-cockfighting__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 */
  text-align: center;
  background-color: var(--deep-green);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  z-index: 1;
  color: var(--text-main);
  margin-top: 20px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__section {
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting__dark-bg {
  background-color: var(--background);
}

.page-cockfighting__deep-green-bg {
  background-color: var(--deep-green);
}

.page-cockfighting__card-bg {
  background-color: var(--card-bg);
}

.page-cockfighting__text-main {
  color: var(--text-main);
}

.page-cockfighting__text-secondary {
  color: var(--text-secondary);
}

.page-cockfighting__glow-text {
  color: var(--glow);
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__card {
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.page-cockfighting__step-number {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-cockfighting__step-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-cockfighting__small-btn {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: left;
}

.page-cockfighting__content-block {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
}

.page-cockfighting__content-heading {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__content-image {
  width: 100%;
  height: 250px; /* Larger image for content blocks */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__content-text {
  font-size: 1em;
  line-height: 1.7;
}

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

.page-cockfighting__tip-card {
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  height: 100%;
}

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

.page-cockfighting__promo-card {
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: var(--card-bg);
  font-weight: bold;
  font-size: 1.1em;
  list-style: none; /* For details tag */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details tag */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow);
}

.page-cockfighting__faq-answer {
  padding: 20px 30px;
  border-top: 1px solid var(--border);
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
}

.page-cockfighting__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-cockfighting__faq-link {
  color: var(--glow);
  text-decoration: underline;
  margin-top: 10px;
  display: inline-block;
}

.page-cockfighting__conclusion-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__conclusion-cta {
  margin-top: 20px;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-cockfighting__btn-secondary {
  background: none;
  color: var(--glow);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--glow);
  transition: all 0.3s ease;
  display: inline-block;
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--glow);
  color: var(--deep-green);
}

.page-cockfighting__large-btn {
  padding: 18px 40px;
  font-size: 1.1em;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-cockfighting__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting 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__section {
    padding: 30px 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting__grid-layout,
  .page-cockfighting__steps-grid,
  .page-cockfighting__content-grid,
  .page-cockfighting__tips-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__content-block,
  .page-cockfighting__tip-card,
  .page-cockfighting__promo-card {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__promo-image,
  .page-cockfighting__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__card-title {
    font-size: 1.3em;
  }

  .page-cockfighting__step-number {
    font-size: 2.5em;
  }

  .page-cockfighting__content-heading {
    font-size: 1.5em;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 0.9em;
  }

  .page-cockfighting__conclusion-text {
    font-size: 1em;
  }

  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure all image and video containers are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

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

/* Button specific color application */
.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Slightly reversed on hover */
}

.page-cockfighting__btn-secondary {
  border-color: var(--glow);
  color: var(--glow);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--glow);
  color: var(--deep-green);
}

/* Ensure contrast for text on card backgrounds */
.page-cockfighting__card,
.page-cockfighting__step-item,
.page-cockfighting__content-block,
.page-cockfighting__tip-card,
.page-cockfighting__promo-card,
.page-cockfighting__faq-item,
.page-cockfighting__faq-question,
.page-cockfighting__faq-answer {
  background-color: var(--card-bg);
  color: var(--text-secondary);
}

.page-cockfighting__card-title,
.page-cockfighting__step-title,
.page-cockfighting__content-heading,
.page-cockfighting__faq-qtext {
  color: var(--text-main);
}

.page-cockfighting__faq-toggle {
  color: var(--glow);
}

.page-cockfighting__faq-link {
  color: var(--glow);
}

/* Border color */
.page-cockfighting__faq-item {
  border-color: var(--border);
}
.page-cockfighting__faq-answer {
  border-top-color: var(--border);
}